Sueta

LightBans

2.2.2

Advanced Moderation & Punishment plugin for a Minecraft server. Discord webhooks for easy access to check punishments.

·Plugin
Tested MC versions
1.19, 1.20, 1.21, 26.1, 26.2, 26.3

⚡ What is LightBans?

LightBans is a Paper moderation plugin for managing punishments, investigating linked accounts, and keeping a clear record of moderation actions. It stores punishment and player history in a local SQLite database, with database work handled off the main server thread.

🛡️ Features

Punishments

  • Ban and tempban players, with configurable duration formats
  • IP ban accounts to block connections from a shared IP
  • Mute and tempmute players, with remaining-time messages
  • IP mute accounts sharing an IP
  • Kick and warn players
  • Configure commands that muted players cannot use, such as /msg

Evasion alerts and linked accounts

  • See accounts linked by IP with /alts
  • Check duplicate IP history with /dupeip from the console
  • Receive ban or mute evasion alerts when a linked account connects
  • Alerts show linked account names colored by online/offline and punishment status
  • Alerts are sent to online staff with the relevant ban or mute permissions

History and moderation menus

  • Ban history and mute history menus show active punishments and let staff confirm revocations
  • User history shows a player's recorded punishment history
  • /mod <player> opens a moderation menu with teleport, kill, freeze, kick, and mute actions

Discord webhooks

  • Send punishment, kick, and revocation notifications to Discord
  • Use clean embeds with structured player, moderator, reason, expiry, and case fields
  • Configure one shared embed color and customizable field labels

Customization

  • Customize player-facing messages, broadcasts, staff alerts, and punishment screens in messages.yml
  • Configure duration suffixes and mute-blocked commands in config.yml
  • Configure webhook URL, color, and embed titles in discord.yml
  • Configure automatic warning mutes and their durations

⏱️ Duration formats

Durations can use short or long suffixes, including s, min, hour, day, week, month, and year, with plural forms supported.

Examples: 30s, 10minutes, 2weeks, 1month. Multiple units can be combined, such as 1week2days.

📎 Commands

CommandDescriptionPermission
/ban <player> [duration] <reason>Ban a player, permanently or for a set durationlightbans.ban
/tempban <player> <duration> <reason>Temporarily ban a playerlightbans.tempban
/ipban <player> [duration] <reason>IP ban a playerlightbans.ipban
/mute <player> [duration] <reason>Mute a player, permanently or for a set durationlightbans.mute
/tempmute <player> <duration> <reason>Temporarily mute a playerlightbans.tempmute
/muteip <player> [duration] <reason>IP mute a playerlightbans.muteip
/kick <player> <reason>Kick an online playerlightbans.kick
/warn <player> <reason>Warn a playerlightbans.warn
/unban <player> [reason]Revoke bans for a playerlightbans.unban
/unbanip <player> [reason]Revoke IP bans associated with a player or their recorded IPlightbans.unbanip
/unmute <player> [reason]Revoke mutes for a playerlightbans.unmute
/unmuteip <player> [reason]Revoke IP mutes associated with a player or their recorded IPlightbans.unmuteip
/unwarn <player> [reason]Revoke a player's warningslightbans.unwarn
/alts <player>List accounts recorded on the same IPlightbans.alts
/dupeip <player>Show duplicate-IP history; console onlylightbans.dupeip
/history <player> [page]View a player's punishment historylightbans.history
/check <player> [page]Check a player's active punishmentslightbans.check
/banhistory [page]Open active ban historylightbans.banhistory
/mutehistory [page]Open active mute historylightbans.mutehistory
/userhistory <player> [page]Open a player's history menulightbans.userhistory
/mod <player>Open the moderation menulightbans.mod
/lightbans reloadReload the plugin configurationlightbans.admin

🔑 Permission nodes

LightBans provides separate permission nodes for each command, listed in the command table above. The lightbans.mod permission grants access to the moderation menu, and lightbans.admin grants access to /lightbans reload.

📦 Compatibility

Built for Paper 1.21 and newer. The server must run a compatible Java version.

Similar projects

Plugin →