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

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

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

    TE5LA

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I
    Had 1.5.0 but I installed 1.5.2 and it does the same thing. Yes, I have world2 inventory as if I didn't die.
  2. Offline

    Revenger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have some weird messages in logs.

    Were getting this message about non existent worlds on a restart or server load and the thing is they do exist and multiinv is working fine on the worlds.


    Code:
    2011-04-10 03:11:59 [INFO] [MultiInv] shares.txt contains minor non-existant world nether
    2011-04-10 03:11:59 [INFO] [MultiInv] shares.txt contains minor non-existant world mining
    2011-04-10 03:11:59 [INFO] [MultiInv] shares.txt contains major non-existant world creative
    2011-04-10 03:11:59 [INFO] [MultiInv] Failed to load shared worlds
    2011-04-10 03:11:59 [INFO] [MultiInv] Plugin on standby until new worl
    Shares.txt

    Code:
    test, nether, mining
    creative
    survival
    main
    entry
    In our main bukkit folder we have these world directories.

    creative
    entry
    main
    mining
    nether
    survival
    test

    This is my multiverse worlds file.yml

    Code:
    worlds:
        test:
            animals: false
            spawn: 363:67:177:-178.25043:15.99999
            price: 0.0
            mobs: false
            environment: NORMAL
            pvp: false
            alias: ''
            worldBlacklist: ''
            playerBlacklist: ''
            playerWhitelist: ''
        nether:
            animals: true
            spawn: 0:68:6:-1.9500011:5.4000006
            price: 0.0
            mobs: true
            environment: NETHER
            pvp: true
            alias: ''
            worldBlacklist: ''
            playerBlacklist: ''
            playerWhitelist: ''
        survival:
            animals: true
            spawn: 309:64:73:36.44996:2.400001
            price: 0.0
            mobs: true
            environment: NORMAL
            pvp: true
            alias: ''
            worldBlacklist: ''
            playerBlacklist: ''
            playerWhitelist: ''
        creative:
            animals: false
            spawn: 14:64:15:115.923805:8.434978
            price: 0.0
            mobs: false
            environment: NORMAL
            pvp: false
            alias: ''
            worldBlacklist: ''
            playerBlacklist: ''
            playerWhitelist: ''
        mining:
            animals: true
            spawn: -166:65:-134:13.499907:4.9500074
            price: 0.0
            mobs: false
            environment: NORMAL
            pvp: false
            alias: ''
            worldBlacklist: ''
            playerBlacklist: ''
            playerWhitelist: ''
        main:
            animals: false
            spawn: -311:64:226:-808.5003:6.750011
            price: 0.0
            mobs: false
            environment: NORMAL
            pvp: false
            alias: ''
            worldBlacklist: ''
            playerBlacklist: ''
            playerWhitelist: ''
        entry:
            animals: false
            spawn: -101:66:-90:-3420.437:0.30000377
            price: 0.0
            mobs: false
            environment: NORMAL
            pvp: false
            alias: ''
            worldBlacklist: ''
            playerBlacklist: ''
            playerWhitelist: ''
    This appears to be a bug and it is spamming console abit with the failed to load shares messages.

    Dunno if its addressed in the latest version we haven't installed yet, if not I hope this helps.
  3. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hm... I see the problem if you have a lot of worlds.... the problem is that I can only spot them once worlds load. So after each world loads it checks and outputs this status. I'll try and remove it for the next version using a timer for world loading.

    Note: Later on it probably says "Shares.txt loaded"
    I'll have to look into this. It's been a long running bug (respawning in a different world that you die in). And I've had to try a hackish way to overcome it (as there's no proper bukkit method from what I know). A temp set-up is to respawn in the world you die in, but I don't like asking people to change their server so I'll look into this.

    Edit: Which plugin do you use for spawning? I need to look into that and see how they set spawning across worlds.
  4. Offline

    HajdaM

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi,
    sorry if it was already discussed, but could you please also add independent health levels for each group of worlds, so healing in creative world won't heal you in survival? Or would you recommend me any other plugin to do the job?

    Btw, thanks for this plugin...
  5. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I can't see another plugin that does it... I think I'll add this actually... Just need to do some working making sure that converting from the old inventories files works... I think I'll make it so each player has a data folder... would work much better that way I think. You've given me a reason to do this as well. Nice idea.
  6. Offline

    TE5LA

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I changed my spawning so people respawn in the same world and that fixes it for me.

    Good enough.

    Thanks for the plugin.
  7. Offline

    Revenger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Look at Slow Health this will do what you want as it supports multiworld health settings and is fully customisable even though its still on 566 works fine on the 600 series builds.

    If you wanted to turn off health degrading on a world basis use the latest WorldGuard along with it.
  8. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Does that separate health on different worlds though? Or does it just affect health different on different worlds? If it doesn't it may be better if you ask them to implement it. I'll probably still add it though as it adds to the idea of separation between worlds.
  9. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Flenix about your chests across worlds. Recently released was a plugin called RemoteChests. See if that can do what you want.
  10. Offline

    sillyrosster

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey the Inventory shares.txt isn't doing anything for me. It does not work when i put the names of the world in like:
    No errors, nothing.
  11. Offline

    skawke

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Where does MultiInv save the inventories? I tried deleting all the files in world/players, but it didn't reset their inventory. How do I reset everyone's inventory? I'm getting this odd bug where if they store something in a chest, log out, log back in, they will have their original items in their inventory, as well as the chest, enabling them to duplicate items.
  12. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It's under plugins/MultiInv/inventory/inventories.data but that's changing eventually. If you want a complete reset you'll also have to delete the player data files again in the world file. That's an interesting problem you're describing though... it seems like my plugin isn't saving the inventory properly... might be my problem or might be a bukkit problem... I don't know.
    On server start it will either say shares.txt loaded successfully or error. If it loaded successfully (and the file is in the right place) then it means it found the worlds "world" and "item" so I don't know what the problem would be...
    Do the worlds just act as if they were never shared? Or is something else happening?
  13. Offline

    BaconFace

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm using essentials and MultiVerse. I have MultiInv installed, latest version. We have two worlds, normal and survival. In survival, no player can spawn items (I have multiworld permissions set up with groupmanager). When people use /mvtp survival to go to the survival world, they DO get a fresh inventory. But I have a few glitches:

    1. When a player in the normal world /tp's to a player in survival, they do NOT switch to their survival inventory.
    2. When a player in the survival world logs out, then logs back in, their inventory is gone.

    Is this an issue with MultiVerse or MultiInv? Thank you very much for your time!
  14. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Erm... interesting issues. Which plugin do you use to tp to a player (is it essentials)? If that plugin does certain things (which it shouldn't do) my plugin may not recognise the change in world.

    However, the logging out problem is odd. When they log out the return back to where they logged out right? You don't have some plugin that causes all logins to be at the spawn point? Otherwise you could try removing inventories.data from my plugins folder and letting it reset. See if that helps.

    But I'm changing a lot in how the information is stored for the future update so it may help these problems because it should be more robust.
  15. Offline

    krnel

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello,

    Great plugin, extremely valuable.

    Is this compatible with craftbukkit b670? I'm ready to go to b670 if this plugin will work on it (i've collected most of my other necessary b670 plugins). Please let me know anyone out there :)

    Peace.
  16. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    There's no reason that this shouldn't be compatible with b670. I believe others have got it to work fine on it and it works fine for me. Every now and then someone comes up with a strange strange problem though.... but that's in general and not related to a particular version of craftbukkit.
  17. Offline

    Jdbye

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It seems to be working fine with b670 for me.


    Feature request time:
    Could you add a command to make someone's inventory temporarily persistent across worlds (after which changes are saved to the original world when you disable it or disconnect)?

    Additionally, could you add a command to make someone's inventory persistent when they die? (Is that even possible? And it can't conflict with Tombstone either) And optionally an additional permission for making it apply automatically upon login/world change. This could be useful on the creative world on my server.
  18. Offline

    thecoolwolf

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thx!! i love it! this made my day!^^
  19. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yay things to do. First should be possible. I'm working on the new method of storing data which will make this much easier as I'll be able to store some more information on inventories if I choose to.

    But the second request confuses me... doesn't that just mean not lose items on death? I can't really work out what you were doing.
  20. Offline

    Hiramas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Greetings, your plugin looks really good and we want to use it to block people of bringing items from the creative world.
    But when your plugin is loaded it says that 2 of 4 worlds are non-existant (they work perfectly for any other plugin) and the two other worlds seem ok, but won't share their inventory.
    The config file looks like this:
    Code:
    world, faraway, nether,
    wildnorth,
  21. Offline

    rustybroomhandle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm going to guess that your problem is the trailing commas on each line. I suspect it's making the plugin look for two worlds named (blank)

    Edit: Oh, and you don't need to list the world using its own inventory, just the ones sharing. So your shares.txt would look like this:

    Code:
    world, faraway, nether
  22. Offline

    Hiramas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    sry, that wasn't the problem.
    The plugin still claims the worlds wouldn't exist.
  23. Offline

    ouyso

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I installed this plugin yesterday, but for whatever reason; it doesn't work.

    Whenever I enter another world by portal or by command, I still keep my items.
    I use MultiVerse.
  24. Offline

    nobotious

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i've been getting a null pointer error every time a user disconnects. it doesnt seem like its really affecting anything, as it's caused no real trouble. however i get
    "Could not pass event PLAYER_QUIT to multiInv."
    i'm running craftbukkit 670, multiInv 1.5.2, and quite a few other mods. might it just be a change in the "player_quit" event? if you'de like me to i can post a log etc.
  25. Offline

    Pluckerpluck

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Which two worlds are they? Are you sure you've spelt them correctly... and does it later say that shares.txt loaded?

    Doesn't work at all? That seems very odd... it should work with MultiVerse as well. Are there any errors at all in the console when you start the server?

    You may have discovered an important error here... some people have had trouble with inventories not saving properly when people log out and back on in a short time.

    Can you post the entire stack trace to me? As in the entire error.
  26. Offline

    Hiramas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I post the complete log:

    Code:
    2011-04-12 13:56:35 [INFO] [MultiInv] shares.txt contains minor non-existant world faraway
    2011-04-12 13:56:35 [INFO] [MultiInv] shares.txt contains minor non-existant world nether
    2011-04-12 13:56:35 [INFO] [MultiInv] Shared worlds loaded succesfully
    2011-04-12 13:56:35 [INFO] [MultiInv] version 1.5.2 is enabled!
  27. Offline

    nobotious

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i've tested a bit, i get this whenever i log out, but only if my inventory has changed. if i log in, and log out without changing anything, i dont get the error, but if i drop something or add something, i get this.
    i'll post you all my addons and versions if you need them in a little bit, going out to get lunch so i'll be back later.
  28. Offline

    Don Redhorse

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    there is a plugin for that... linked chest or similar iirc which will link chest via signs
  29. Offline

    nobotious

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hiramas, attach your shares.txt, and tell me the names of the worlds your server currently has running. i could give you a quick hand with this.
  30. Offline

    ouyso

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This is the error I get
    Code:
    2011-04-11 18:57:04 [SEVERE] Could not pass event PLAYER_TELEPORT to MultiInv
    java.lang.NullPointerException
        at uk.co.tggl.Pluckerpluck.MultiInv.MultiInvPlayerData.itemStackToObject(MultiInvPlayerData.java:21)
        at uk.co.tggl.Pluckerpluck.MultiInv.MultiInvPlayerData.inventorySlotsToObject(MultiInvPlayerData.java:49)
        at uk.co.tggl.Pluckerpluck.MultiInv.MultiInvPlayerData.saveInventory(MultiInvPlayerData.java:62)
        at uk.co.tggl.Pluckerpluck.MultiInv.MultiInvPlayerData.storeWorldInventory(MultiInvPlayerData.java:98)
        at uk.co.tggl.Pluckerpluck.MultiInv.MultiInvPlayerListener.onPlayerTeleport(MultiInvPlayerListener.java:46)
        at org.bukkit.plugin.java.JavaPluginLoader$8.execute(JavaPluginLoader.java:246)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.NetServerHandler.teleport(NetServerHandler.java:286)
        at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:171)
        at com.onarandombox.Rigby.MultiVerse.MVPlayerListener.onPlayerMove(MVPlayerListener.java:344)
        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:240)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:128)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    By the way, I use cb670.
Thread Status:
Not open for further replies.

Share This Page