Problem/Bug PerWorldInventory don't work

Discussion in 'General Help' started by Topsmoks, Jan 1, 2019.

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

    Topsmoks

    hey guys can you help me with the config is this right?

    Code:
    worlds.yml:
    # # In this file you define your groups and the worlds in them.
    # # Follow this format:
    # # groups:
    # #   default:
    # #     worlds:
    # #     - world
    # #     - world_nether
    # #     - world_the_end
    # #     default-gamemode: SURVIVAL
    # #   creative:
    # #     worlds:
    # #     - creative
    # #     default-gamemode: CREATIVE
    # #
    # # 'default' and 'creative' are the names of the groups
    # # worlds: is a list of all worlds in the group
    # # If you have 'manage-gamemodes' set to true in the main config, the server
    # # will use the 'default-gamemode' here to know what gamemode to put users in.
    groups:
      Group1:
        worlds:
        - kitpvp
        default-gamemode: SURVIVAL
      Group2:
        worlds:
        - lobby
        default-gamemode: SURVIVAL
      Group3:
        worlds:
        - factions
        default-gamemode: SURVIVAL
    
    config.yml:
    Code:
    ##########################################
    #  PerWorldInventory configuration file  #
    ##########################################
    # If true, the server will change player's gamemodes when entering a world
    # The gamemode set is configured in the worlds.yml file
    manage-gamemodes: false
    # If true, players will have different inventories for each gamemode
    separate-gamemode-inventories: true
    # If true, any worlds that are not in the worlds.yml configuration file will share the same inventory
    share-if-unconfigured: false
    # True if PWI should set the respawn world when a player dies
    manage-death-respawn: false
    # Disables the nagging message when a world is created on the fly
    # Intended for users who know what their doing, and don't need to have worlds configured
    disable-nag-message: false
    metrics:
      # Choose whether or not to enable metrics sending.
      # See [URL]https://bstats.org/getting-started[/URL] for details.
      enable: true
      # Send the number of configured groups.
      # No group names will be sent!
      send-number-of-groups: true
      # Send the total number of worlds on the server.
      send-number-of-worlds: true
    # All settings for players are here:
    player:
      # Save and Load players' economy balances. Requires Vault!
      economy: false
      # Load players' ender chests
      ender-chest: true
      # Load players' inventory
      inventory: true
      # All options for player stats are here:
      stats:
        # Load if a player is able to fly
        can-fly: true
        # Load the player's display name
        display-name: false
        # Load a player's exhaustion level
        exhaustion: true
        # Load how much exp a player has
        exp: true
        # Load a player's hunger level
        food: true
        # Load if a player is flying
        flying: true
        # Load how much health a player has
        health: true
        # Load what level the player is
        level: true
        # Load all the potion effects of the player
        potion-effects: true
        # Load the saturation level of the player
        saturation: true
        # Load a player's fall distance
        fall-distance: true
        # Load the fire ticks a player has
        fire-ticks: true
        # Load the maximum amount of air a player can have
        max-air: true
        # Load the current remaining air a player has
        remaining-air: true
    # Attempt to figure out which world a player last logged off in
    # and save/load the correct data if that world is different.
    # REQUIRES MC 1.9.2 OR NEWER
    load-data-on-join: false
    # Set the level of debug messages shown by PWI.
    # INFO: Print general messages
    # FINE: Print more detailed messages about what the plugin is doing
    # DEBUG: Print detailed messages about everything
    logging-level: 'INFO'
    # Disables bypass regardless of permission
    # Defaults to false
    disable-bypass: false
    # Set the duration in minutes for player profile information to be cached
    cache-duration: 10
    # Set the maximum number of player profiles that can be cached at any given time
    cache-maximum-limit: 1000
     
  2. As long as you have not edited the 'worlds.yml', that should be configured just fine. Just avoid editing the file itself if you do not know what you are doing, and use the commands of the plugin instead:
    (Source: https://github.com/EbonJaeger/perworldinventory-kt/wiki/Configuration)

    As for both files, I can't seem to spot any incorrectly defined fields. They look like the default versions of themselves.

    If you're having problems with the plugin, please specify what the problem is, and include error logs if possible. This way we can help you a lot better! :)
     
Thread Status:
Not open for further replies.

Share This Page