Inactive [MECH] MultiInv V2.4.1 - Per World Inventories [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Pluckerpluck, Feb 17, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Znerox

    How do i convert old .dat into the new format? When i run "Convert Inventories.jar" i only got the option to open .data files.
     
  2. My server conversion to 1060 went badly so I haven't had time to test it with the nether (dying in different worlds) yet.
    Just noticed you can now clean up the OP (going on holiday and so on).
     
  3. Offline

    Xordaii

    Hey all, trying to test this, but sometimes my linked worlds don't seem to know they should be linked:

    Sidhe = Aria
    Sidhe = Maere
    Sidhe = Sehnall
    Sidhe = Vres
    Sandbox = nether
    There is also a tutorial world that is separated from both sets of worlds.

    Maere and nether are both nethers. Reloading the server, and was forced to fix the world spawns on each world. As I was going through each, I noticed that Sidhe has its own inventory, as it should, but it isn't sharing with the others. I want Sandbox to have its own nether (nether) and inventory separate from everything else. Any advice?

    Also, a different issue; any know if you can set up Scavenger or something like it to work with this? I would like some of my people to have protected inventories, but still be able to separate them by the two sets of worlds. If it doesn't exist, is the author of MultiInv willing to add something like that? Restoring inventory on the world you die in on death? If not, no big deal, would just be very useful to have both features.

    Thanks for the plugin!
     
  4. Aria= Sidhe
    Maere= Sidhe
    Sehnall= Sidhe
    Vres= Sidhe
    Sandbox = nether

    Try that... minorWorld = majorWorld
    where the minorWorld copies the inventory from the majorWorld (it doesn't actually copy but notices they're the same "world". Hence it won't work the other way around)

    About the protected inventories... I think I could add it but it wouldn't have near the amount of control as Scavenger.

    ... was the file called inventories.dat? I thought I named it inventories.data...
    If that's the case just rename the file to .data... that being said if you're not talking about inventories.dat I'm not sure what you're referring to as I don't remember using .dat files.

    ... That shouldn't error there...
    String worldTo = event.getTo().getWorld().getName(); <-- this line
    nothing there should be null... can you tell me the exact scenario and any other plugins you have installed
     
  5. Offline

    GyD

    I think the error come from MultiVerse 2.0 when a user use a nether portal… I'll do some test this night after work.
     
  6. Offline

    ScottSpittle

    CB 1060

    2.3.1

    Show Spoiler
    22:52:12 [SEVERE] Could not pass event PLAYER_PORTAL to MultiInv
    java.lang.NullPointerException
    at uk.co.tggl.pluckerpluck.multiinv.MultiInvPlayerListener.onPlayerPortal(MultiInvPlayerListener.java:79)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.ServerConfigurationManager.f(ServerConfigurationManager.java:295)
    at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:244)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:299)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:527)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:435)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  7. Offline

    Znerox

    @Pluckerpluck My bad, I was thinking of the playername.dat files that are in the "world" folder.
     
  8. Offline

    Xordaii

    Thanks for catching that. I apparently made a lot of face palm mistakes the other day when reloading stuff and putting in the plugins.
    No worries. Thanks for thinking about it!

    I know it could get more complex, but honestly, I like simplicity. I would just like to be able to use this plugin and also not lose players stuff. If I put in the other plugin, however, wasn't sure it would remember WHICH world's inventory to restore.
     
  9. Offline

    Jacek

    Open source is great
     
  10. I'd try testing it on a test server to see if it works. Depending how the system works there's about a 50% chance it will continue working. You see there's a delay in my plugin before it fixes the inventory system after death. If items are restored then my plugin will save those items as the inventory for the world you died in. It will then load the inventory of the world you're in. So as long as Scavengers fix works before mine it should continue working.

    :D
     
  11. Offline

    seventoes

    Errrr.... Is there any way you could build the conversion automatically into the plugin? The GUI doesn't seem to be able to convert files in bulk, and I have a couple thousand player inventory files. There's no way I could do them all manually.
     
  12. Offline

    Celtic Minstrel

    Um, what... why are you requesting that rather than an upgrade to the GUI to allow it to convert files in bulk?
     
  13. Offline

    Jacek

    Would you consider having a config file a bit like this ?
    Code:
    public: 1
    public_nether: 1
    skylands: 1
    survival: 1
    survival_nether: 1
    creative: 2
    creative_nether: 2
    Then any worlds that have the same number will use the same inventory slot.

    I made a plugin to do this on my public server but don't want to release it because this on is so similar. I first tried adapting your source but the method you used for storing inventories was a bit above me in terms of Java ability.
     
    DaddyCool64 likes this.
  14. Offline

    seventoes

    I'm requesting that the file upgrade be built into the plugin and done automatically.
     
  15. Offline

    Jacek

    You already did.
     
  16. Offline

    seventoes

    Errrr.... I know. "Celtic Ministrel" asked for clarification, and I provided it.
     
  17. The reason I didn't include it in the actual plugin was because it was inefficient to check for old versions on every server start. Though I suppose I could add it if you really want.

    Although you can't do multiple folders at a time you realize the GUI should let you shift-click multiple files to convert at once. It SHOULD work because I'm sure I've done that myself but some things go wrong...

    I suppose I could, and I guess it could make it a bit clearer... though it seems a bit redundant as this config would perform the exact same function. If many people support the change I'll do it though.
    Code:
    public_nether = public
    skylands = public
    survival = public
    survival_nether = public
    creative_nether = nether
    So... people who read this:
    Vote now! Number system or Current system?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 9, 2016
  18. Offline

    Jacek

    Oh, I didn't think you could use the same world multiple times ?
    Code:
    # Currently you can not have a minorWorld mapping to many major worlds
    what does that mean you can't do ?
     
  19. I guess he meant something like this:
    Code:
    public = world1
    public = world2
    public = world3
    .
    .
    .
     
  20. Offline

    Celtic Minstrel

    I don't see a problem with the current system, but I don't much like the number system. In my opinion, the best choice would be something more like this (assuming you're using YAML):
    Code:
    groups:
     - [public_nether, skylands, survival, survival_nether]
     - [creative_nether, nether]
    (For this example I converted the one in your post.)

    I'm not sure this would be possible without the use of Configuration.getProperty though; Configuration.getNodeList might be able to handle it, but I suspect not since I believe ConfigurationNodes are required to be a mapping.
     
    DaddyCool64 likes this.
  21. Offline

    handyplayer13

    How can I disable, that the text "You are on the master ignore list" doesn´t come everytime?
     
  22. I'll add that into config so it's possible to remove the message.

    @Celtic Minstrel I'll look into using the group method in config.
     
  23. Offline

    handyplayer13

    Thanks!
     
  24. Offline

    seventoes

    What about adding a 'version' field to each player file? That way all you'd have to do is check each file as a player logs in for the version. If one doesn't exist, update it to the newest version and put it in.
     
  25. I could... could you give me a couple of the old inventory files if you REALLY want it to auto update (as I need a few test files).

    It's just because I don't plan on changing the system any time really soon... and any future changes would be automatic...

    fine... I'll add the auto update. But it won't work from the inventories.data file
     
  26. Offline

    rockraven500

    I have a bit of an issue, as of now i have my world, and it's nether, and several other world, but what is happening, is that world1 will share it's inventory to world1_nether, but whatever i collect in the nether doesnt come back with me. My current config is "world1_nether = world1" could you tell me what's wrong?
     
  27. Hm... very strange. That should work fine. Are you sure you only have 1 version of MultiInv installed? And are you using the latest version?

    They're the only questions I can think of... if you answer the correct answer both of those question I'll want to visit your server to witness the problem myself. But it's very strange that the share would only work one way...

    P.S. Ensure case sensitivity is correct.
     
  28. Offline

    Bhikku

    Give us the Number-System, its easier.

    And somehow my Inventory doesnt work longer. 1-2 Weeks ago, everything was fine. Using c1000, 2.3 Multiinv.
    Config:
    Code:
    world_nether = world
    world_nether = Adventure
    Somehow i have 2 nethers ... one called "nether" the other"nether_world"
    I have 2 other normal worlds "world" and "Adventure".

    I dont know why it stopped working share inventories from nether to normal/Adventure and from normal/Adventure to nether, its all time a world seperated inventory. grr
     
  29. Offline

    Celtic Minstrel

    No it's not. It's not harder, true, but it's not easier either.
     
  30. I'd prefer the number system, if it wasn't too much of a hassle (it would probably also be easier to explain to people new to the plugin).
     
Thread Status:
Not open for further replies.

Share This Page