EbonJaeger / perworldinventory-kt

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

bug on creative plotsquared and authme server #128

Open cicatrice74 opened 5 years ago

cicatrice74 commented 5 years ago

I have a survival + creative server I use authme to let sp players enter the server and auto teleport to spawn on join in the survival side, and i have plotsquared to manage the creative side i configured survival and creative inventories on pwi config so when i login and go to creative and i return to survival i have separated inventory. The problem is that if i go to the creative world then i logout, when i login again (and i am in the survival spawn) i have the creative inventory.. any clue ?

cicatrice74 commented 4 years ago

Still having the issue, my players can "hack" my server entering creative world then logging out, on re log in they have the creative inventory, can u please tell me how to solve the problem ? I have a paper 1.15.2 with authme offline server, having this worlds.yml to separate my worlds and this config, please tell me how to fix this asap.

config.yml

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

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: true

If true, players will have different inventories for each gamemode

separate-gamemode-inventories: false

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: false
# Load the player's display name
display-name: true
# 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: false
# 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: true

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

worlds.yml

groups: default: worlds: