Skip to main content
NxShards ships with two player-facing features beyond AFK earning: an interactive GUI shop where players spend Shards, and a server-wide leaderboard that ranks the wealthiest accounts.

The Shop

Open the shop with:
The shop is defined in its own shop.yml file inside plugins/NxShards/. Each item declares its icon, lore, slot, and a list of actions that execute in order when a player clicks it. The [shards] action charges the buyer; the rest of the actions handle item delivery, feedback, and effects.
Reload the shop after editing shop.yml:

Item Fields

Available Actions

Purchase Flow

  1. Player runs /shards shop.
  2. The GUI opens with each item placed in its configured slot.
  3. Clicking an item runs its actions list in order — [shards] first deducts the price, then the remaining actions deliver the reward and feedback.
  4. If the balance is insufficient at the [shards] step, the action chain is aborted and the buyer is notified.

Leaderboard

Display the top earners with:
The command lists players ranked by their current Shards balance. The same data is exposed to PlaceholderAPI so you can render the leaderboard in scoreboards, tab lists, or holograms — see Placeholders for the variable names.

Player Transfers

Players move Shards between accounts with:
Transfers respect the transfer.max-amount cap in config.yml, blocking abuse and protecting the economy. Both sender and receiver get a confirmation message defined under messages.pay-sent and messages.pay-received.