Skip to content

Commands.md

Fragmer2 edited this page Apr 8, 2026 · 4 revisions

Commands Reference

Player Commands

/nextchest

Aliases: /nc
Permission: spawnchest.use

Shows time remaining until the next chest spawns.

Next chest in 5m 23s.

/mystats

Aliases: /stats
Permission: spawnchest.use

Displays your personal statistics.

--- Your Statistics ---
Chests opened  ·  47
  Common  ·  25
  Rare  ·  18
  Legendary  ·  4
Legendary items  ·  3
Guardians killed  ·  12
Apples used  ·  2
-------------------

/leaderboard

Aliases: /lb, /top
Permission: spawnchest.use

Shows the top 10 players by chests opened.


/cooldowns

Aliases: /cd
Permission: spawnchest.use

Shows current cooldown status for all legendary items.

--- Cooldowns ---
Dragon Slayer  ·  ready
Master Pickaxe  ·  12s
Titan Axe  ·  ready
Tree Cutting  ·  4s
Guardian Bow  ·  ready
--------------

Admin Commands

/chestnow

Aliases: /spawnchestnow
Permission: spawnchest.admin

Spawns a chest immediately. Respects chest-count-per-interval — if set to 3, spawns 3 chests. Resets the spawn timer and clears all countdown warnings.


/setchesttimer <seconds>

Permission: spawnchest.setchesttimer

Changes the spawn interval in seconds.

/setchesttimer 300    # 5 minutes
/setchesttimer 3600   # 1 hour
/setchesttimer 60     # 1 minute (testing)

/resettimer

Permission: spawnchest.resettimer

Resets the timer so a chest spawns in approximately 10 seconds. Useful for quick testing without touching the interval.


/putintothechest

Aliases: /customloot, /chestloot, /editloot
Permission: spawnchest.admin

Opens the custom loot GUI editor. See the Custom Loot wiki page for full details.


/giveapple <type> <player> [amount]

Permission: spawnchest.giveapple

Gives a Summoner Apple to a player. Four types are available, each forcing a specific chest tier.

Type Result
random Spawns a random-tier chest
common Always spawns a Common chest
rare Always spawns a Rare chest
legendary Always spawns a Legendary chest

Tab Completion

All commands support tab completion for subcommands, player names, config paths, feature names, item names, and apple types.

# Commands Reference

Player Commands

/nextchest

Aliases: /nc
Permission: spawnchest.use

Shows time remaining until the next chest spawns.

Next chest in 5m 23s.

/mystats

Aliases: /stats
Permission: spawnchest.use

Displays your personal statistics.

--- Your Statistics ---
Chests opened  ·  47
  Common  ·  25
  Rare  ·  18
  Legendary  ·  4
Legendary items  ·  3
Guardians killed  ·  12
Apples used  ·  2
-------------------

/leaderboard

Aliases: /lb, /top
Permission: spawnchest.use

Shows the top 10 players by chests opened.


/cooldowns

Aliases: /cd
Permission: spawnchest.use

Shows current cooldown status for all legendary items.

--- Cooldowns ---
Dragon Slayer  ·  ready
Master Pickaxe  ·  12s
Titan Axe  ·  ready
Tree Cutting  ·  4s
Guardian Bow  ·  ready
--------------

Admin Commands

/chestnow

Aliases: /spawnchestnow
Permission: spawnchest.admin

Spawns a chest immediately. Respects chest-count-per-interval — if set to 3, spawns 3 chests. Resets the spawn timer and clears all countdown warnings.


/setchesttimer <seconds>

Permission: spawnchest.setchesttimer

Changes the spawn interval in seconds.

/setchesttimer 300    # 5 minutes
/setchesttimer 3600   # 1 hour
/setchesttimer 60     # 1 minute (testing)

/resettimer

Permission: spawnchest.resettimer

Resets the timer so a chest spawns in approximately 10 seconds. Useful for quick testing without touching the interval.


/putintothechest

Aliases: /customloot, /chestloot, /editloot
Permission: spawnchest.admin

Opens the custom loot GUI editor. See the Custom Loot wiki page for full details.


/giveapple <type> <player> [amount]

Permission: spawnchest.giveapple

Gives a Summoner Apple to a player. Four types are available, each forcing a specific chest tier.

Type Result
random Spawns a random-tier chest
common Always spawns a Common chest
rare Always spawns a Rare chest
legendary Always spawns a Legendary chest
/giveapple random Steve 1
/giveapple legendary Alex 3
/giveapple common Steve 5

/getlegendaryitems

Aliases: /getlegendary, /gli
Permission: spawnchest.getlegendaryitems

Gives you all enabled legendary items plus one of each summoner apple type and 64 arrows.

Gives:

  • Dragon Slayer Sword
  • Master Pickaxe
  • Titan Axe
  • Void Shovel
  • Storm Hammer
  • Guardian Bow
  • Book of Ancient Wisdom
  • Phoenix Feather
  • Poseidon's Trident
  • Random Summoner Apple
  • Common Summoner Apple
  • Rare Summoner Apple
  • Legendary Summoner Apple
  • 64 Arrows

/chestconfig <action> [args]

Aliases: /cc
Permission: spawnchest.config

Live configuration management. Changes take effect immediately without restarting.

Get a value

/chestconfig get <path>

/chestconfig get settings.spawn-interval-seconds
→ settings.spawn-interval-seconds: 600

Set a value

/chestconfig set <path> <value>

/chestconfig set settings.spawn-interval-seconds 1200
/chestconfig set features.guardians.enabled true
/chestconfig set legendary-items.dragon-slayer-sword.bonus-damage 6.0
/chestconfig set settings.chest-count-per-interval 3

Toggle a boolean

/chestconfig toggle <path>

/chestconfig toggle features.effects.particles
/chestconfig toggle legendary-items.enabled
/chestconfig toggle chest-protection-zone.enabled

List settings for a section

/chestconfig list <section>

Sections: features  legendary-items  loot  abilities  statistics

Reload config

/chestconfig reload

/togglelegendary [item]

Permission: spawnchest.config

Toggles legendary items on or off. Without an argument, toggles the master switch for all items at once.

/togglelegendary                       # Toggle all legendary items
/togglelegendary dragon-slayer-sword
/togglelegendary master-pickaxe
/togglelegendary phoenix-feather

Available items:
dragon-slayer-sword · master-pickaxe · titan-axe · void-shovel · storm-hammer · guardian-bow · wisdom-book · phoenix-feather · poseidon-trident


/togglefeature <feature>

Permission: spawnchest.config

Toggles a named feature on or off.

Available features:

Feature Config Path
guardians features.guardians.enabled
particles features.effects.particles
sounds features.effects.sounds
lightning features.effects.lightning-on-legendary
announcements features.broadcasts.chest-spawn-announcement
titles features.broadcasts.title-on-spawn
pvp-protection abilities.pvp-protection
cooldown-messages abilities.show-cooldown-messages
activation-messages abilities.show-activation-messages
statistics statistics.enabled
/togglefeature particles
/togglefeature guardians
/togglefeature pvp-protection

/cheststats

Permission: spawnchest.admin

Shows the current status of all plugin features.

--- Chest Status ---
Common  ·  50.0%
Rare  ·  35.0%
Legendary  ·  15.0%
Guardians  ·  on
Legendary items  ·  on
PvP protection  ·  on
Particles  ·  on
Sounds  ·  on
Statistics  ·  on
Active chests  ·  1

/reloadchestconfig

Permission: spawnchest.reloadchestconfig

Reloads all configuration files and language files. Also restarts the BossBar task if enabled.

Reloads:

  • config.yml
  • All language files in lang/
  • Spawn interval
  • BossBar settings

/testchestzone

Permission: spawnchest.testchestzone

Prints five sample spawn coordinates based on current zone settings. Useful for verifying distance and world settings before a live event.

--- Spawn Zone Test ---
Distance  ·  400 – 2000
Bury in ground  ·  false
Worlds  ·  [world]

#1  ·  X=825 Z=-1456 (1685 blocks)
#2  ·  X=-423 Z=1002 (1086 blocks)
#3  ·  X=1789 Z=245 (1806 blocks)
#4  ·  X=-1102 Z=-887 (1416 blocks)
#5  ·  X=350 Z=1670 (1706 blocks)

Command Summary

Command Permission Description
/nextchest spawnchest.use Time until next spawn
/mystats spawnchest.use Your statistics
/leaderboard spawnchest.use Top players
/cooldowns spawnchest.use Legendary item cooldowns
/chestnow spawnchest.admin Spawn chest(s) immediately
/setchesttimer <s> spawnchest.setchesttimer Set spawn interval
/resettimer spawnchest.resettimer Reset timer (10s)
/putintothechest spawnchest.admin Custom loot GUI
/giveapple <type> <player> [n] spawnchest.giveapple Give Summoner Apple
/getlegendaryitems spawnchest.getlegendaryitems Get all legendary items
/chestconfig spawnchest.config Live config management
/togglelegendary [item] spawnchest.config Toggle legendary items
/togglefeature <feature> spawnchest.config Toggle features
/cheststats spawnchest.admin Plugin status
/reloadchestconfig spawnchest.reloadchestconfig Reload all configs
/testchestzone spawnchest.testchestzone Preview spawn coordinates

Tab Completion

All commands support tab completion for subcommands, player names, config paths, feature names, item names, and apple types.

Clone this wiki locally