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.Documentation Index
Fetch the complete documentation index at: https://pumpkings.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The Shop
Open the shop with: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.
Item Fields
| Field | Description |
|---|---|
material | Any valid Bukkit material name (e.g. DIAMOND, ELYTRA). |
name | Display name shown in the GUI. Supports & color codes. |
lore | List of lore lines shown under the item name. |
slot | Inventory slot index inside the shop GUI. |
actions | Ordered list of actions executed on click (see below). |
Available Actions
| Action | Description |
|---|---|
[shards] <amount> | Charges the player the given number of Shards. Aborts the chain if the balance is insufficient. |
[console] <command> | Runs a command from the console. %player% is replaced with the buyer’s name. |
[player] <command> | Forces the player to run a command. |
[message] <text> | Sends a chat message to the buyer. Supports & color codes. |
[title] <title>;<subtitle> | Shows a title and subtitle, separated by ;. |
[sound] <SOUND_NAME> | Plays a Bukkit sound to the buyer. |
Purchase Flow
- Player runs
/shards shop. - The GUI opens with each item placed in its configured slot.
- Clicking an item runs its
actionslist in order —[shards]first deducts the price, then the remaining actions deliver the reward and feedback. - 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:Player Transfers
Players move Shards between accounts with: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.