-
Notifications
You must be signed in to change notification settings - Fork 1
Troubleshooting.md
Check Java version — must be 17 or newer:
java -version
Error UnsupportedClassVersionError → upgrade Java. Download from Adoptium.
Check server software — Vanilla does not support plugins. Use Spigot, Paper, or Purpur.
Corrupted JAR — if file is 0 KB or download was interrupted, delete and re-download.
Linux permissions:
chmod 644 plugins/SpawnChestPlugin*.jar
chmod 755 plugins/SpawnChestPlugin/
Run these in order:
/nextchest # is the timer still counting?
/chestnow # force spawn — does it work?
/testchestzone # do the sample coordinates look valid?
/chestconfig get settings.enabled-worlds
World not in list — add it:
/chestconfig set settings.enabled-worlds [world,your_world]
No valid location found — spawn zone may be too small or all surfaces excluded:
settings:
spawn-zone:
min-distance: 200
max-distance: 5000
exclude-surfaces:
water: true
lava: true
YAML error — malformed config prevents loading. Validate at yamllint.com, fix the reported line, then /reloadchestconfig.
Common YAML mistakes:
# Wrong — tab indentation
spawn-interval-seconds: 600
Wrong — missing space after colon
enabled:true
Correct
enabled: true
spawn-interval-seconds: 600
Check chest-count-per-interval:
/chestconfig get settings.chest-count-per-interval
If the second or third chest shows "Spawn in progress" warning in console, the batch queue is competing with itself. This is fixed in 4.4 — update if using an older version.
/chestconfig get legendary-items.enabled
/chestconfig get legendary-items.<item>.enabled
/cooldowns
/chestconfig get abilities.pvp-protection
If pvp-protection: true, abilities do not trigger against other players — this is intentional.
Phoenix Feather not resurrecting — must be in inventory when death occurs. Killed by /kill is not protected.
Master Pickaxe not smelting — works on Iron, Gold, Copper, Ancient Debris only. Diamond/Emerald/Coal drop normally.
Void Shovel not digging 3×3 — must hold Shift while breaking a diggable block.
Guardian Bow not homing — targets must be within homing-range blocks of the arrow, and homing-arrows: true must be set.
- Run
/putintothechest— is the tier shown as enabled (green)? - Are there items saved? Check the item count in the main menu.
- Is the fraction too low? 1/10 of 5 items = 0–1 items per chest.
- Is the correct tier spawning? Configure all three tiers or adjust chest chances.
Chest can be opened immediately — check pre-open-timer.enabled: true.
Countdown messages not visible to nearby players — check notify-radius in config (default 20 blocks).
Timer messages sent to entire server — update to 4.4. Messages are now radius-limited.
Blocks can still be broken near chest:
- Check
chest-protection-zone.enabled: true - If
use-worldguard: truebut WorldGuard isn't installed, the plugin falls back to built-in blocking — check console for errors
Zone not removed after chest opens:
- This is a bug — report with server version and console output
Players with default permissions on restricted servers (all permissions denied) won't see announcements. Grant:
/lp group default permission set spawnchest.notify.spawn true
/lp group default permission set spawnchest.notify.coordinates true
/lp group default permission set spawnchest.notify.countdown true
/lp group default permission set spawnchest.notify.disappear true
/lp group default permission set spawnchest.notify.bossbar true
-
features.bossbar.enabled: truein config - Player has
spawnchest.notify.bossbarpermission - Run
/reloadchestconfigafter enabling
BossBar visible when it should be hidden — fixed in 4.4. Both show-countdown and show-active-chest must be false to hide it.
/chestconfig get statistics.enabled
Check write permissions for statistics.yml:
chmod 644 plugins/SpawnChestPlugin/statistics.yml
Check disk space: df -h
TPS drops on chest spawn:
features:
effects:
particles: false
chest-beacon-beam: false
guardians:
common-count: 1
rare-count: 2
legendary-count: 3
Increase spawn interval: /setchesttimer 1800
Particle error in console:
IllegalArgumentException: missing required data class java.lang.Float
This is fixed in 4.4 — update to resolve.
Weird characters (æ, â, ë) — language file not saved as UTF-8. Open in VS Code or Notepad++ and convert encoding before saving.
Message shows key instead of text (e.g. gui.save-button) — key is missing from your language file. Add it manually or delete the file and let the plugin regenerate it.
Wrong language showing:
/chestconfig set language ru
/reloadchestconfig
"Unknown command" — another plugin may have the same command. Try the namespaced version:
/spawnchestplugin:chestnow
Permission denied — check with LuckPerms:
/lp user <player> permission check spawnchest.admin
/lp user <player> permission set spawnchest.admin true
| Error | Cause | Fix |
|---|---|---|
| UnsupportedClassVersionError | Java too old | Upgrade to Java 17+ |
| NoClassDefFoundError | Corrupted JAR | Re-download |
| InvalidConfigurationException | YAML syntax error | Validate config at yamllint.com |
| IllegalArgumentException: missing required data class Float | Particle API change in 1.21.10+ | Update to 4.4 |
| OutOfMemoryError | Server out of RAM | Increase -Xmx in startup script |
Before asking, gather:
- Plugin version — check
plugins/SpawnChestPlugin/folder name or startup log - Server version —
/version - Full console error including stack trace (not a screenshot)
- Relevant config section
Support channels:
- Discord — quick help
- GitHub Issues — bug reports
Good bug report:
Plugin: SpawnChestPlugin 4.4
Server: Paper 1.21.11
Java: 21
Issue: /chestnow spawns only 1 chest when chest-count-per-interval is set to 3
Steps:
- /chestconfig set settings.chest-count-per-interval 3
- /chestnow
- Only 1 chest spawns
Console output:
[SpawnChest] Batch spawn: 3 chest(s), 5s apart.
[SpawnChest] Spawn in progress (4s ago) ← appears for chest 2 and 3
Check Java version — must be 17 or newer:
java -versionError UnsupportedClassVersionError → upgrade Java. Download from Adoptium.
Check server software — Vanilla does not support plugins. Use Spigot, Paper, or Purpur.
Corrupted JAR — if file is 0 KB or download was interrupted, delete and re-download.
Linux permissions:
chmod 644 plugins/SpawnChestPlugin*.jar
chmod 755 plugins/SpawnChestPlugin/Run these in order:
/nextchest # is the timer still counting?
/chestnow # force spawn — does it work?
/testchestzone # do the sample coordinates look valid?
/chestconfig get settings.enabled-worlds
World not in list — add it:
/chestconfig set settings.enabled-worlds [world,your_world]
No valid location found — spawn zone may be too small or all surfaces excluded:
settings:
spawn-zone:
min-distance: 200
max-distance: 5000
exclude-surfaces:
water: true
lava: trueYAML error — malformed config prevents loading. Validate at yamllint.com, fix the reported line, then /reloadchestconfig.
Common YAML mistakes:
# Wrong — tab indentation
spawn-interval-seconds: 600
# Wrong — missing space after colon
enabled:true
# Correct
enabled: true
spawn-interval-seconds: 600Check chest-count-per-interval:
/chestconfig get settings.chest-count-per-interval
If the second or third chest shows "Spawn in progress" warning in console, the batch queue is competing with itself. This is fixed in 4.4 — update if using an older version.
/chestconfig get legendary-items.enabled
/chestconfig get legendary-items.<item>.enabled
/cooldowns
/chestconfig get abilities.pvp-protection
If pvp-protection: true, abilities do not trigger against other players — this is intentional.
Phoenix Feather not resurrecting — must be in inventory when death occurs. Killed by /kill is not protected.
Master Pickaxe not smelting — works on Iron, Gold, Copper, Ancient Debris only. Diamond/Emerald/Coal drop normally.
Void Shovel not digging 3×3 — must hold Shift while breaking a diggable block.
Guardian Bow not homing — targets must be within homing-range blocks of the arrow, and homing-arrows: true must be set.
- Run
/putintothechest— is the tier shown as enabled (green)? - Are there items saved? Check the item count in the main menu.
- Is the fraction too low? 1/10 of 5 items = 0–1 items per chest.
- Is the correct tier spawning? Configure all three tiers or adjust chest chances.
Chest can be opened immediately — check pre-open-timer.enabled: true.
Countdown messages not visible to nearby players — check notify-radius in config (default 20 blocks).
Timer messages sent to entire server — update to 4.4. Messages are now radius-limited.
Blocks can still be broken near chest:
- Check
chest-protection-zone.enabled: true - If
use-worldguard: truebut WorldGuard isn't installed, the plugin falls back to built-in blocking — check console for errors
Zone not removed after chest opens:
- This is a bug — report with server version and console output
Players with default permissions on restricted servers (all permissions denied) won't see announcements. Grant:
/lp group default permission set spawnchest.notify.spawn true
/lp group default permission set spawnchest.notify.coordinates true
/lp group default permission set spawnchest.notify.countdown true
/lp group default permission set spawnchest.notify.disappear true
/lp group default permission set spawnchest.notify.bossbar true
-
features.bossbar.enabled: truein config - Player has
spawnchest.notify.bossbarpermission - Run
/reloadchestconfigafter enabling
BossBar visible when it should be hidden — fixed in 4.4. Both show-countdown and show-active-chest must be false to hide it.
/chestconfig get statistics.enabled
Check write permissions for statistics.yml:
chmod 644 plugins/SpawnChestPlugin/statistics.ymlCheck disk space: df -h
TPS drops on chest spawn:
features:
effects:
particles: false
chest-beacon-beam: false
guardians:
common-count: 1
rare-count: 2
legendary-count: 3Increase spawn interval: /setchesttimer 1800
Particle error in console:
IllegalArgumentException: missing required data class java.lang.Float
This is fixed in 4.4 — update to resolve.
Weird characters (æ, â, ë) — language file not saved as UTF-8. Open in VS Code or Notepad++ and convert encoding before saving.
Message shows key instead of text (e.g. gui.save-button) — key is missing from your language file. Add it manually or delete the file and let the plugin regenerate it.
Wrong language showing:
/chestconfig set language ru
/reloadchestconfig
"Unknown command" — another plugin may have the same command. Try the namespaced version:
/spawnchestplugin:chestnow
Permission denied — check with LuckPerms:
/lp user <player> permission check spawnchest.admin
/lp user <player> permission set spawnchest.admin true
| Error | Cause | Fix |
|---|---|---|
UnsupportedClassVersionError |
Java too old | Upgrade to Java 17+ |
NoClassDefFoundError |
Corrupted JAR | Re-download |
InvalidConfigurationException |
YAML syntax error | Validate config at yamllint.com |
IllegalArgumentException: missing required data class Float |
Particle API change in 1.21.10+ | Update to 4.4 |
OutOfMemoryError |
Server out of RAM | Increase -Xmx in startup script |
Before asking, gather:
- Plugin version — check
plugins/SpawnChestPlugin/folder name or startup log - Server version —
/version - Full console error including stack trace (not a screenshot)
- Relevant config section
Support channels:
- Discord — quick help
- GitHub Issues — bug reports
Good bug report:
Plugin: SpawnChestPlugin 4.4
Server: Paper 1.21.11
Java: 21
Issue: /chestnow spawns only 1 chest when chest-count-per-interval is set to 3
Steps:
1. /chestconfig set settings.chest-count-per-interval 3
2. /chestnow
3. Only 1 chest spawns
Console output:
[SpawnChest] Batch spawn: 3 chest(s), 5s apart.
[SpawnChest] Spawn in progress (4s ago) ← appears for chest 2 and 3