EssentialsX

EssentialsX

2M Downloads

Userdata loss when using reload confirm command

mannyseete opened this issue ยท 1 comments

commented

Type of bug

Data loss, Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=3c5c15a48c984c72827ae8229e463f36

Error log (if applicable)

No response

Bug description

Tried reloading the server using /reload confirm command then when the reload finished, all the userdata are wiped, literally blank.
I'm using /reload confirm for development purposes, though it will be an issue if there's really big userdata in there.

image

Steps to reproduce

Example:

  1. Start the server fresh with minimal plugins/dependencies.
  2. /eco give <PLAYER> <AMOUNT>
  3. /balance - For debug purposes, check if there's a userdata.
  4. 2x /reload confirm - Reload the server, I use this command for development purposes.
  5. /balance - Tried the command again and it shows 0 balance. Userdata yml file is also empty.

Expected behaviour

Userdata yml file should remain and must not be blank on server reload.

Actual behaviour

Userdata yml file resets/blank when reloading the server two times.

commented

"No support for those who uses the reload command"