EbonJaeger / perworldinventory-kt

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

Gamemode Glitch #74

Closed ConnorFranta closed 6 years ago

ConnorFranta commented 6 years ago

1) Go into gamemode creative image

2) Logout

3) Login (Default is in survival) image

The server is on Spigot 1.12.2

Plugin info: perworldinventory-kt-2.1.0-legacy

Debug info: https://pastebin.com/cRjB2D4L

config.yml - https://pastebin.com/WhQpxGR1 worlds.yml - https://pastebin.com/J6m0b1KV data - https://www.dropbox.com/sh/7fqsmfn9xp3gjqe/AABmgLAWg6_NsMjhR8-mby8Ja?dl=0

EbonJaeger commented 6 years ago

Sounds like there is another plugin setting the player's GameMode on join.

ConnorFranta commented 6 years ago

I take that back. Found another bug making this unusable... true, false and false, false on world changes to another group world 🙄

1.) image

2.) image

3.) image

Debug: https://pastebin.com/XfK40aKy

EbonJaeger commented 6 years ago

...What is the issue there? To me it looks like things are changing correctly when going to another world. Gonna need more context here.

ConnorFranta commented 6 years ago

3rd image is going back to the main world I started in (in the first image) It doesn't save the inventory.

worldFrom='MSEcoSpire', worldTo='BuilderWorld' Ryohn changed worlds worldFrom='BuilderWorld', worldTo='MSEcoSpire' Ryohn changed worlds

ConnorFranta commented 6 years ago

Sounds like there is another plugin setting the player's GameMode on join.

Yes, back to survival. The world is survival and PWI is set as survival.
You're in gms, you go into /gmc - pick blocks, log out. Login - it sets back to survival, but you have blocks from creative.

ConnorFranta commented 6 years ago

Found the cause after removing every single plugin one by one. It's a vanilla setting.

H0w 2 fix: Stop the server, open server.properties (with ftp or notepad++) find and set force-gamemode=true to false, save file, start the server.

/gm, log out from gm, gm inv changes and world changes should work as normal. If not, check the above setting again to make sure it updated. ;p

EbonJaeger commented 6 years ago

I had forgotten that that setting was a thing. Will have to keep this in mind in the future! :D