EbonJaeger / perworldinventory-kt

Multi-world inventory plugin for Spigot written in Kotlin.
MIT License
46 stars 32 forks source link

same inventory on warp. #198

Closed MindOfModz closed 4 years ago

MindOfModz commented 4 years ago

I use multiverse core and i have a survival world and a hub world. When i go to the survival world and get a block then go back to the hub i have the same inventory.

I did put survival in a different group.

CONFIG:

##########################################

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 https://bstats.org/getting-started 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