[WIP] Multiverse-Inventories

Discussion in 'WIP and Development Status' started by dumptruckman, Jan 19, 2012.

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

    dumptruckman

    That's right folks, it's finally here. An official per world-group inventory plugin from the Multiverse team! It's already available and needs your help with testing! There's not a whole lot of documentation yet as I'm waiting on a dev.bukkit.org page to post that all up on.

    Try a development build today: http://ci.onarandombox.com/job/Multiverse-Inventories/
    Check the wiki here: https://github.com/Multiverse/Multiverse-Inventories/wiki

    There is support for importing your inventories/settings from WorldInventories and MultiInv. You must be running either WorldInventories 1.0.2+ or MultiInv 3.0.0. Check the wiki for command information. These commands are still largely untested but so far seem to be working.

    So what does it do exactly? Well, you set up a group of worlds, tell it what to share between those worlds and voila, suddenly, you only have those things when you're in those worlds. When you travel to a world outside the group, you get a whole new set of stats and inventory.

    What can you share?
    • Inventories
    • Hunger
    • Health
    • Exp
    • Bed spawns! (sharing bed spawn only works with CB 1.1-R1 dev builds.)
     
  2. Offline

    MrCPU

    Hi,
    I have tested it basically on the last 10 minutes and the import from WorldInventories and inventory, exp, hunger change on entering a new world seem to work like a charm.

    Thx for the good work and I will keep on testing.
     
  3. Offline

    VlperX

    This is bloody brilliant! I currently have a system set up where the only way to get to the survival world is to right-click a sign which runs three commands that TP them there, clears their inv and their armour.

    This eliminates the need for such a system!

    Thanks again!
     
  4. Offline

    Zomis

    I really like this plugin but I can't get it to work.

    This is the config file:
    Show Spoiler
    # ===[ Multiverse Inventories Config ]===
    settings:
    # This is the locale you wish to use.
    locale: en
    # Level of debugging information to display.
    # 0 = off, 1-3 increasing amount of debug spam.
    debug_level: 3
    # If this is true it will generate world groups for you based on MV worlds.
    first_run: false
    # This is where you configure your world groups
    # example below:
    # groups:
    # example_group:
    # worlds:
    # - world1
    # - world2
    # shares:
    # - all
    # In this example, world1 and world2 will share everything sharable.
    # When things are shared this means they are the SAME for each world listed in the group.
    # Options for shares: inventory, exp, health, hunger, beds
    # Worlds not listed in a group will have a separate personal inventory/stats/bed.
    groups:
    default:
    worlds:
    - aihard_nether
    - maxmordor
    - Skylands_Nether
    - Skylands
    - kpworld_the_end
    - test42
    - AI_Hard
    shares:
    - '*'
    - all
    toWorld:
    worlds:
    - kpworld_nether
    - world_nether
    - world
    - kpworld
    shares:
    - '*'
    - all


    As it is right now, I have different inventories in all the worlds. I can't even go from "world" to "world_nether" without the inventory changing, which makes it quite hard to survive in the nether, because I can't bring my pickaxe!

    The reason I'm using both '*' and all on "shares" is that the wiki says two different things on this page.

    I'm using the latest Multiverse-Inventories beta build, on CraftBukkit 1.2.3-R0.2 beta build.

    I'm also using the PermissionsBukkit plugin, but have not specified any permissions for the Multiverse plugins.

    And this is the debug-result from one player: (with the mvinv.bypass.* specifically set to false - this user is op)
    Show Spoiler
    20:07:48 [INFO] [Multiverse-Inventories-Debug] === Simon_86 traveling from world: kpworld to world: world ===
    20:07:48 [INFO] [Multiverse-Inventories-Debug] Profile for Simon_86 not cached, loading from disk...
    20:07:48 [INFO] [Multiverse-Inventories-Debug] got data folder: plugins/Multiverse-Inventories/worlds/kpworld from type: WORLD
    20:07:48 [INFO] [Multiverse-Inventories-Debug] Created player profile from map for 'Simon_86'.
    20:07:48 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.world.world...
    20:07:48 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.world.*...
    20:07:48 [INFO] [Multiverse-Inventories-Debug] Profile for Simon_86 not cached, loading from disk...
    20:07:48 [INFO] [Multiverse-Inventories-Debug] got data folder: plugins/Multiverse-Inventories/groups/toWorld from type: GROUP
    20:07:48 [INFO] [Multiverse-Inventories-Debug] Created player profile from map for 'Simon_86'.
    20:07:48 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.group.toWorld...
    20:07:48 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.group.*...
    20:07:48 [INFO] [Multiverse-Inventories-Debug] No groups for toWorld.
    20:07:48 [INFO] [Multiverse-Inventories-Debug] Profile for Simon_86 not cached, loading from disk...
    20:07:48 [INFO] [Multiverse-Inventories-Debug] got data folder: plugins/Multiverse-Inventories/worlds/world from type: WORLD
    20:07:48 [INFO] [Multiverse-Inventories-Debug] Created player profile from map for 'Simon_86'.
    20:07:48 [INFO] [Multiverse-Inventories-Debug] Travel affected by 1 fromProfiles and 1 toProfiles
    20:07:48 [INFO] [Multiverse-Inventories-Debug] Persisting: inventory, health, experience, hunger, bed_spawn to WORLD:kpworld for player Simon_86
    20:07:48 [INFO] [Multiverse-Inventories-Debug] got data folder: plugins/Multiverse-Inventories/worlds/kpworld from type: WORLD
    20:07:48 [INFO] [Multiverse-Inventories-Debug] Updating inventory, health, experience, hunger, bed_spawn for Simon_86for WORLD:world
    20:07:48 [INFO] [Multiverse-Inventories-Debug] === Simon_86's travel handling complete! ===
    20:08:01 [INFO] [Multiverse-Inventories-Debug] === Simon_86 traveling from world: world to world: kpworld ===
    20:08:01 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.world.kpworld...
    20:08:01 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.world.*...
    20:08:01 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.group.toWorld...
    20:08:01 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.group.*...
    20:08:01 [INFO] [Multiverse-Inventories-Debug] No groups for toWorld.
    20:08:01 [INFO] [Multiverse-Inventories-Debug] Travel affected by 1 fromProfiles and 1 toProfiles
    20:08:01 [INFO] [Multiverse-Inventories-Debug] Persisting: inventory, health, experience, hunger, bed_spawn to WORLD:world for player Simon_86
    20:08:01 [INFO] [Multiverse-Inventories-Debug] got data folder: plugins/Multiverse-Inventories/worlds/world from type: WORLD
    20:08:01 [INFO] [Multiverse-Inventories-Debug] Updating inventory, health, experience, hunger, bed_spawn for Simon_86for WORLD:kpworld
    20:08:01 [INFO] [Multiverse-Inventories-Debug] === Simon_86's travel handling complete! ===


    And this is the result from another player: (without any specific permissions, which seems to default to true - this user is op)
    Show Spoiler
    20:11:11 [INFO] [Multiverse-Inventories-Debug] === Minken008 traveling from world: world to world: kpworld ===
    20:11:11 [INFO] [Multiverse-Inventories-Debug] Profile for Minken008 not cached, loading from disk...
    20:11:11 [INFO] [Multiverse-Inventories-Debug] got data folder: plugins/Multiverse-Inventories/worlds/world from type: WORLD
    20:11:11 [INFO] [Multiverse-Inventories-Debug] Created player profile from map for 'Minken008'.
    20:11:11 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.world.kpworld...
    20:11:11 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.world.*...
    20:11:11 [INFO] [Multiverse-Inventories-Debug] Profile for Minken008 not cached, loading from disk...
    20:11:11 [INFO] [Multiverse-Inventories-Debug] got data folder: plugins/Multiverse-Inventories/groups/toWorld from type: GROUP
    20:11:11 [INFO] [Multiverse-Inventories-Debug] Created player profile from map for 'Minken008'.
    20:11:11 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.group.toWorld...
    20:11:11 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.group.*...
    20:11:11 [INFO] [Multiverse-Inventories-Debug] No groups for toWorld.
    20:11:11 [INFO] [Multiverse-Inventories-Debug] Profile for Minken008 not cached, loading from disk...
    20:11:11 [INFO] [Multiverse-Inventories-Debug] got data folder: plugins/Multiverse-Inventories/worlds/kpworld from type: WORLD
    20:11:11 [INFO] [Multiverse-Inventories-Debug] Created player profile from map for 'Minken008'.
    20:11:11 [INFO] [Multiverse-Inventories-Debug] Travel affected by 1 fromProfiles and 1 toProfiles
    20:11:11 [INFO] [Multiverse-Inventories-Debug] Persisting: inventory, health, experience, hunger, bed_spawn to WORLD:world for player Minken008
    20:11:11 [INFO] [Multiverse-Inventories-Debug] got data folder: plugins/Multiverse-Inventories/worlds/world from type: WORLD
    20:11:11 [INFO] [Multiverse-Inventories-Debug] Updating inventory, health, experience, hunger, bed_spawn for Minken008for WORLD:kpworld
    20:11:11 [INFO] [Multiverse-Inventories-Debug] === Minken008's travel handling complete! ===
    20:11:38 [INFO] [Multiverse-Inventories-Debug] === Minken008 traveling from world: kpworld to world: world ===
    20:11:38 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.world.world...
    20:11:38 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.world.*...
    20:11:38 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.group.toWorld...
    20:11:38 [INFO] [Multiverse-Inventories-Debug] Checking node mvinv.bypass.group.*...
    20:11:38 [INFO] [Multiverse-Inventories-Debug] No groups for toWorld.
    20:11:38 [INFO] [Multiverse-Inventories-Debug] Travel affected by 1 fromProfiles and 1 toProfiles
    20:11:38 [INFO] [Multiverse-Inventories-Debug] Persisting: inventory, health, experience, hunger, bed_spawn to WORLD:kpworld for player Minken008
    20:11:38 [INFO] [Multiverse-Inventories-Debug] got data folder: plugins/Multiverse-Inventories/worlds/kpworld from type: WORLD
    20:11:38 [INFO] [Multiverse-Inventories-Debug] Updating inventory, health, experience, hunger, bed_spawn for Minken008for WORLD:world
    20:11:38 [INFO] [Multiverse-Inventories-Debug] === Minken008's travel handling complete! ===


    I also tried this command:
    >mvinv info toWorld
    20:28:56 [INFO] ===[ Info for world: toWorld ]===
    20:28:56 [INFO] There is no world player for the world: toWorld
    20:28:56 [INFO] ===[ Info for group: toWorld ]===
    20:28:56 [INFO] Worlds: kpworld_nether, world_nether, world, kpworld
    20:28:56 [INFO] Shares: inventory, health, experience, hunger, bed_spawn

    So I don't know what's wrong at all...
     
  5. Offline

    dumptruckman

  6. Offline

    Zomis

    dumptruckman
    I thought I did say that....
    Anyways, I've updated to the latest jenkins-build and it seems to work. Thanks a lot!
     
  7. Offline

    Nox13last

    So, what does this offer over something like, say, MultiInv?
    This is intriguing, but without incentive, it's unlikely that I'm going to move from something that does sufficiently what I need.
     
  8. Offline

    Nox13last

    No answer? *tsk* That is unfortunate. MultiInv still works, and I don't need to go through the setup process a second time; I nearly bashed my head against a wall while setting it up. I can't see a need for a second headache.
     
  9. Offline

    dumptruckman

    Oh, sorry, read the original message at a time I couldn't respond then forgot :(

    Multiverse-Inventories feature list grows regularly. Currently the only thing it doesn't have vs MultiInv is a separate creative inventory/stats. The only reason being that I'm working on a much more robust system for handling that particular feature.

    As far as what it does have...
    • Stores just about every stat a player has (from memory: hp, all three exp values, all three hunger values, bed spawns, fire ticks, fall distance, inventory, armor and there's a new special one for economy balances.)
    • Offers in game commands for managing the plugin. Still working on filling out commands, one to come is being able to view/edit inventories.
    • Resets inventories for Multiverse-Adventure worlds when they reset.
    • Offers the ability for 3rd party plugins to hook in to very easily offer new Sharables (for instance, something could be made to switch mcmmo stats per world/group)
    • Offers a group spawn so you can have a spawn for each world group.
     
    Nox13last likes this.
  10. Offline

    AcADIeN

    doing help multiverse-inventories is really not helpful (Generic Multiverse-Inventories command for all command does not describe anything...)

    anyway, doing mvinv info on my normal world does show that my world use the default group and going in the nether, all the inventories is linked, that's fairly easy.

    this is where thing get complicated, I have the skyblock map which I don't want to share with my normal world, and the skyblock map have skyblock and skyblock_nether, I'm able to portal from one to the other, but the inventories is not linked, when I do mvinv info, it show that it does not have any group, but how can we link a group to his world ? mvinv group add doesn't work
     
  11. Offline

    dumptruckman

    "/mvinv group" command is still a work in progress... If it does not work properly, you may need to simply create a new group in the config by hand. just copy the default group and change it's name to something else and change the worlds for it. Once you edit config you can "/mvinv reload" to use the changed config.
     
  12. Offline

    AcADIeN

    this is what I have since the beginning in my config.

    Code:
    groups:
      default:
        worlds:
        - world_nether
        - world
        - world_the_end
        shares:
        - all
      skyblocks:
        worlds:
        - SkyBlock
        - SkyBlock_nether
        shares:
        - all
    

    Code:
    14:53:51 [INFO] [Multiverse-Inventories] Checking for conflicts in groups...
    14:53:51 [INFO] [Multiverse-Inventories] No group conflicts found!
    14:53:51 [INFO] [Multiverse-Inventories 2.4-b121] enabled.
    

    when I log on my skyblock world, and I do mvinv info

    ===[Info for world: Skyblock]===
    Groups: N/A
    ===[Info for group: Skyblock]===
    There is no group with the name Skyblock


    when I try to set the group the same name as the world, I still can't get skyblock to be in a groups.

    nevermind, Skyblock with "b" and Skyblock with "B" is not the same, I was sure it was something very simple, thanks

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

    rosedragon

    Hi!
    i use version 2.5 of all multiverse plugins and I encounter a difficulty. I setup my groups on the config but everytime i stop my server and restart it, it says that no world groups have been configured :( . CB 1.3.1-R2
     
Thread Status:
Not open for further replies.

Share This Page