ferrybig / multiworld

5 stars 16 forks source link

[Enhancement] Make CreativeModeInv option independent of CreativeMode option #17

Open ghost opened 5 years ago

ghost commented 5 years ago

Right now, CreativeModeInv option will only work when CreativeMode option is enabled.

It would be great if this feature could be independent so that creative mode could be permission controlled for players, but inventory would still change.

Currently using Spigot 1.14.2

ghost commented 5 years ago

I'm curious how MultiWorld is handling the inventory switching between normal and creative. Is it storing and comparing inventory files from somewhere - allowing normal to overwrite creative but not allow creative to overwrite normal? Are these normal minecraft player dat files?

-edit- After doing some testing with the plugin, and using NBTExplorer to inspect the player.dat files before, during, and after usage, I believe I understand a little more of what is going on.