EssentialsX

EssentialsX

2M Downloads

EssentialsX suggestion.

DoubleThePsycho opened this issue ยท 3 comments

commented

A great idea (in my opinion) is to allow sharing certain elements over a database, if you run a Bungeecord network. Allowing nicknames or other player information to be shared across servers would seem pretty cool! (Plez add this, my dev dont wanna ;-;)

commented

Regarding the database element, this is a duplicate of #241. A good summary of why using a database is not feasible can be found here and here. In short, it would introduce either major lag on the server or heavy delays in EssentialsX commands, and would generally lead to a poor user experience, and for this reason, drtshock decided against it.

Regarding BungeeCord, this is a duplicate of #912. It may be done in the future, but I doubt that it will happen any time soon (unless someone is willing to contribute a BungeeCord sync module to the plugin).

commented

Why would it cause such lag to only sync nicknames tho?

commented

Because every single time that EssentialsX does anything at all to users, it would require a call to the database to get the current player data, which would require waiting for it to respond before doing anything and could in theory take anywhere from milliseconds to minutes, since we don't control the database or how long it takes to respond.

Anything at all includes:

  • Running any command
  • Formatting every single chat message
  • Sending AFK messages
  • Informing users when they receive mail
  • Getting users' balances for EssentialsX
  • Returning users' balances to another plugin (which could happen hundreds of times a second for poorly-written plugins)