Capital icon indicating copy to clipboard operation
Capital copied to clipboard

/checkmoney gets an unknown amount

Open Nerahikada opened this issue 3 years ago • 3 comments

If you run the /checkmoney command immediately after installing the plugin, an unknown value will be displayed.

Nerahikada avatar Sep 17 '22 15:09 Nerahikada

yes, because the player doesn't have an account yet. you have to spend or get money the first time to actually initialize the account.

SOF3 avatar Sep 17 '22 16:09 SOF3

Why is the account not initialized when a player joins?

Nerahikada avatar Sep 17 '22 17:09 Nerahikada

Why is the account not initialized when a player joins?

because players may have multiple accounts. For example, if the world schema (#10) is used, the player accounts do not exist until they join the world.

perhaps it would be useful to try to trigger account initialization regularly to avoid confusion indeed.

SOF3 avatar Sep 18 '22 09:09 SOF3