Skip to main content

Player values

Player values show players a number an automation keeps on them โ€” experience, points, a rank. They are player variables (player.set_variable) you declare visible, with a label and a unit. Wallets stay money: an XP counter in a wallet would be added to every player's balance.

Navigation path:

  • Server Admin โ†’ Player values

Where players see a valueโ€‹

  • Profile โ€” always: one tile per value under "Your numbers".
  • Sidebar โ€” when Show in the sidebar is on: under the balance, on every page.
  • Leaderboard โ€” when Rank on the leaderboard is on: an extra board with the ten highest values. It shows current values, so the period selector does not change it. Linked accounts share one entry (their highest value), banned players are left out, and only values above zero rank.

Numbers are shown grouped in the player's language (3400 โ†’ "3,400"). A variable that holds text is shown as text and never ranks. A player without the variable sees "โ€”".

Adding a valueโ€‹

  1. Choose whether it is for the whole organization or only for this server.
  2. Give it a label players see, exactly as written โ€” e.g. "ะžะฟั‹ั‚" or "Experience" โ€” and optionally a unit, e.g. "XP".
  3. Enter the variable: the name your automation passes to player.set_variable.
  4. Turn on Kept on this server only when the automation stores it with serverOnly = true.
  5. Choose sidebar and leaderboard.

Store numbers as plain digits (tostring(xp)), so they format and rank.

Changing and deletingโ€‹

Everything can be changed at any time. Deleting a value only stops showing it: the variable and what automations stored in it stay.

Permissions and access rightsโ€‹

The same rights as wallets:

  • Organization values need org.wallets.manage, this server's values wallets.manage.
  • Viewing the list is also allowed with settings.view or transactions.view.