Logging & Spy Troubleshooting
Diagnostic Flow — "Commands/transactions not being logged"
- For commands: check
Command_Log.Enabled: true, verify regex inCommand_Listmatches, check player doesn't haveprotect.bypass.command - For transactions: check
Transaction_Log.Enabled: true— requires full server restart (not reload) - For Discord: verify DiscordSRV installed and channel name matches exactly
Common Mistakes
- 8 specific shop plugins supported — BlueShop 3, ChestShop, EconomyShopGUI, ExcellentShop, QuickShop, ShopGUI+, Shop, SignShop. Other shops won't log transactions
- Command spy auto-escapes leading
/— the initial/or//is automatically handled in regex patterns. Users don't need to escape it manually Transaction_Logrequires full restart — not just reload. Users report "transactions not logging after changing config" — they need to restart/protect exportand/protect importrequire modern MC — needsBukkit.getUnsafe().serializeItemAsJson()support. Older MC versions will error- Hacked items with corrupt NBT components no longer crash DB loading —
JsonItemStack.fromJsonnow broadly catches anyThrowablefromBukkit.getUnsafe().deserializeItemFromJson()(includingIllegalArgumentException"Not a number",NullPointerExceptionfrom nested entity_data parsing, etc.), sanitizes Infinity/NaN tokens (Infinityd,-Infinityd,Infinityf,NaNd, …), and falls back to returningnull(skip the item) instead of throwing. A missingid/typelegacy fallback also returnsnullinstead of throwingFoException. Fixed in Foundation v6+ for crashes likeFoException: Report: Missing 'type' in JSON item: {"id":"minecraft:..."}(Protect issue #105).