Threw this together tonight. Definitely rough, but maybe it will kick start others.
Will be adding more stuff over the next few days. Suggestions welcome.
Please report any bugs on Github.
Logging (to console):
- All commands entered / attempted
- All chat messages with date
Commands:
- /ban <player> <duration in minutes (-1 permanent)> <reason>
Extends built-in by allowing offline players to be banned. - /unban <player>
- /setmotd <message> (admin only)
- /setwelcome <message> (admin only)
- /yell <message> (admin only)
- /last [player]
- /whisper <to> <message>
- /help
System notifications:
- player connect (player is connecting)
- player spawn (player joined the world)
- player disconnect (player disconnected)
- player died
- player banned
Other
- Prefix chat message with player names
- Colorise messages / chat
- Date / time prefix for chat and most messages