Tartarus Punishments
Installation
How to install Tartarus Punishments.
- Place the jar in your server
plugins/folder. - Start/restart the server.
- Edit
plugins/TartarusPunishments/config.ymlto match your rules. - Set the prison location in-game (recommended):
/setprison
How it works (Mental Model)
Startup
On enable (tartarus.punishments.Punishments#onEnable):
- Loads and potentially auto-migrates config defaults (
ConfigManager#loadConfig) - Initializes
DatabaseManager(SQLite + schema migrations) - Initializes:
FreezeManager(prison/screen-share freeze mechanics)PlayerJoinListener(ban checks + applying prison state on join)ScreenshareManager(screenshare state tracking + reject ban)MuteListener(chat/command blocking)
- Registers commands and listeners
Where punishment data lives
- Persistent state: SQLite file at
plugins/TartarusPunishments/bans.db- Primary tables:
bans(stores all punishment types: ban/mute/prison)ip_bans(optional IP bans)last_seen_ip(tracks last IP for offline bans)
- Primary tables:
Was this page helpful?
Last updated Jan 16, 2026
Built with Documentation.AI