Repository navigation
Admin Commands
Complete reference for all administrative commands.
All admin commands require one of:
-
chestlocklite.admin.*- All admin commands - Specific permission (see each command)
- OP status (default permission)
/cl clear
/cl override
/cl forceunlock
chestlocklite.admin.clear
- Look at the locked chest
- Run
/cl clear - Lock is removed from database
- Chest becomes unlocked
- Previous owner information logged to console
- Useful for abandoned chests or griefing cleanup
/cl clearall <player>
chestlocklite.admin.clearall
/cl clearall PlayerName
Works with online or offline players. Looks up player by name in database.
- All chests owned by that player are unlocked
- Count of cleared locks is shown
- Useful when removing players or cleaning up
Press TAB after clearall to see online player names.
/cl cleararea [radius]
chestlocklite.admin.cleararea
/cl cleararea 20
Clears all locks within radius blocks. Default radius is 10 if not specified. Maximum radius is 100.
- All locked chests in area are unlocked
- Count of cleared locks is shown
- Useful for region cleanup or map resets
Press TAB after cleararea to see suggested radius values (5, 10, 15, 20, 25, 50, 100).
/cl reload
chestlocklite.admin.reload
- Edit
config.ymlfile - Run
/cl reload - Configuration is reloaded without restart
- Configuration reloaded from disk
- No need to restart server
- Useful for testing config changes
Some changes (like database settings) may require a server restart.
Admins with chestlocklite.bypass permission can:
- Open any chest without unlocking
- No need to use admin commands for access
- Useful for inspections and moderation
All admin actions are logged to console:
- Clear operations show previous owner
- Clear all operations show player and count
- Clear area operations show radius and count
- Only grant admin permissions to trusted staff
- Review logs regularly for unauthorized actions
- Use specific permissions instead of
chestlocklite.admin.* - Document all admin actions for audit trail
Junior Admins:
chestlocklite.admin.clear
Senior Admins:
chestlocklite.admin.*
Moderators (read-only):
chestlocklite.bypass
All commands support these aliases:
| Command | Aliases |
|---|---|
/cl clear |
/cl override, /cl forceunlock
|
/cl clearall |
None |
/cl cleararea |
None |
/cl reload |
None |
Clear abandoned chest:
/cl clear
Remove all locks from banned player:
/cl clearall BannedPlayer
Clear locks in spawn area:
/cl cleararea 50
Reload config after changes:
/cl reload
Command not working?
- Check admin permissions
- Verify you're looking at a chest (for clear command)
- Check server console for error messages
- Ensure plugin is enabled
Can't find player?
- Use exact player name (case-sensitive)
- Try online players first with TAB completion
- Check database if player is offline
Clear area not working?
- Verify radius is within max (100 blocks)
- Make sure you're in the correct world
- Check console for error messages
See also: Permissions Guide