rutgerkok / BetterEnderChest

Spigot plugin that adds functionality for both players and admins to the Ender Chest.
http://www.spigotmc.org/resources/betterenderchest.2073/
Other
14 stars 10 forks source link

Bungee questions and setup #50

Closed ehetteNandaYo closed 3 years ago

ehetteNandaYo commented 4 years ago

I'm trying to setup two server, one with some player data and one which has tons of player data.

If I setup bec in both server with mysql, which server will be the one imported ?

If server crashes what happens with enderchests that were being used at the moment?

If I only want the vanilla enderchest connected in both server by bec, which is the ideal setup? I dont need the other features I just want vanilla enderchest to be shareable between both servers.

Thanks!

rutgerkok commented 4 years ago

When BetterEnderChest cannot find an Enderchest in the database, it will import it from Minecraft. So it will be imported from the first server the player open an Enderchest on. If you want to be sure, you can install BetterEnderChest on just one server for a week or so, so that all active players have their items moved to the database, and then install the plugin on the other server.

Chests are autosaved every few seconds (provided the player has changed the contents), so a crash shouldn't cause data loss. MySQL is very careful about writing things to the database table, so it is not possible that half of a chest gets written, saving either fully succeeds or nothing happens at all.

As long as you don't allow Ender Chests to be claimed in BlockLocker/Lockette/LWC, and don't hand out permissions for the /enderchest command, everything should function as it would in vanilla.

ehetteNandaYo commented 4 years ago

I guess there is no way to select which server is the main server, which could be a nice feature like, if there is no data at the sql database do not import and wait for other server to add this data or basically, deny access to the enderchest until data is added.

rutgerkok commented 4 years ago

Would be nice to have indeed. However, I'm not going to add it myself. (I'm still fixing bugs in this plugin, but I'm not adding features that I have no interest in myself.)