Moderation Tools
Temporary bans, mutes, warnings and a history for every player. Hytale's own commands have bans with no time limit and nothing for chat; this adds the rest. Server-side only.
Features
/tempban <player> <duration> [reason]bans for10m,2h,7dor2w, and the ban ends by itself./mute <player> [duration] [reason]stops public chat. The player is told why and when it ends./warn <player> <reason>records a warning and shows it to them, at their next login if they are offline./history <player>shows any ban or mute in force, then everything on record, newest first.- Works on offline players by name, or by UUID.
- Bans go in the server's own ban list, so they stay in force if you ever remove the mod.
Replaces /ban and /unban
The server's /ban and /unban are replaced by versions that use the same ban list and add a history entry. Bans you already have keep working, and the built-in commands return if you remove the mod. /kick is untouched.
Settings
moderation.properties in the mod's data directory (created on first start):
| Key | Default | Meaning |
|---|---|---|
defaultReason |
No reason given |
Used when no reason is typed |
defaultMuteDuration |
empty | Length of /mute with no duration; empty means no end date |
banMessage |
You are permanently banned. Reason: {reason} |
Shown to a banned player |
tempBanMessage |
You are banned for {remaining}. Reason: {reason} |
Shown to a temporarily banned player |
appealText |
empty | Added after either ban message |
muteMessage |
You are muted. Reason: {reason} |
Reply to a muted player's chat |
tempMuteMessage |
You are muted for {remaining}. Reason: {reason} |
Reply when the mute has an end |
muteEndedMessage |
Your mute has ended. |
Shown when a mute ends |
warnMessage |
Warning from staff: {reason} |
Shown to a warned player |
protectOps |
true |
Stops players acting on operators; the console still can |
broadcast |
false |
Also announce actions in public chat |
logExpiry |
true |
Log when a mute or temporary ban ends |
historyPageSize |
10 |
Entries per /history page |
sweepSeconds |
30 |
How often ended mutes and bans are noted |
joinNoticeDelaySeconds |
3 |
Wait before showing a waiting warning at login |
prefix |
[Moderation] |
Text in front of chat lines |
color |
#FF7777 |
Chat line colour |
Commands are for operators and the console. To give a staff group a command, grant dev.playerbase.moderation.command.<name>. A mute covers public chat only.
Install: drop the jar into the server's mods/ folder and restart. Licence: MIT.
Need something custom? I build small server plugins to order from $15 (fixes) and $29 (a new one-feature plugin): actuallyop.com/services. More free tools: actuallyop.com.
Updating Hytale? Run the free Update-Ready Check first to see which of your mods will break: https://molonlav3.itch.io/hytale-update-check

