Note: Projects can only be accepted from June 25, 2026.
Back to the blog
1 min read

BanHammer 4.0: moderation with MySQL & Discord integration

MinecraftMySQLDiscord API

BanHammer is my moderation plugin for Paper and Folia servers. The 4.0 "Enhanced Edition" focuses on traceable, team-friendly moderation instead of just a simple /ban.

Everything persisted in MySQL

Every action – bans, temp bans, mutes, warnings – is stored in a MySQL database. The history survives restarts and even spans multiple servers, so the team can always see who did what, when and why.

Discord as a second pair of eyes

Each moderation action can be mirrored into a Discord channel. The team sees what's happening on the server in real time without even logging in.

Folia-ready

  • Runs on Paper and Folia (26.1.x)
  • Temporary punishments with automatic expiry
  • Clean permission structure for the team

The goal: on a serious server, moderation shouldn't be a gut feeling – it should be documented and reproducible.