π¨ Ban Stick
Ban Stick is a lightweight PaperMC moderation plugin that lets staff ban players quickly, cleanly, and dramatically β‘
Right-click a player with the Ban Stick, or use /banmenu, to open a full GUI menu for choosing a duration and reason β
or simply left-click to instantly smite them with lightning and a permanent ban.
No need to type long commands ever again β it's fast, visual, and fun.
βοΈ Features
β
Quick & visual ban GUI (no commands needed)
β
Instant left-click ban β knocks back, strikes lightning, perm bans with a funny broadcast
β
Ban durations: 1h, 1d, 7d, custom hours, permanent
β
Preset reasons (Hacking, Griefing, Spam, etc.)
β
Custom reason via chat
β
/banmenu test dry-run mode (safe GUI testing)
β
All temp bans saved to bans.yml
β
All bans (temp + perm) logged to banlog.txt with timestamp, staff, and reason
β
Auto-unban for expired temp bans
β
Fully integrated with the Paper API β zero dependencies
π¬ Commands
| Command | Description | Permission | Default |
|---|---|---|---|
/banstick |
Gives you the Ban Stick item | banstick.get |
OP |
/banmenu <player> |
Opens the Ban Menu GUI for the target player | banstick.use |
OP |
/banmenu test <player> |
Opens the dry-run Ban Menu (no bans applied, for testing) | banstick.use |
OP |
π§° Permissions
| Permission | Description | Default |
|---|---|---|
banstick.get |
Allows giving yourself the Ban Stick via /banstick |
OP |
banstick.use |
Allows using the Ban Stick or /banmenu |
OP |
π§ How to Use
- Make sure you're OP or have the required permissions.
- Run
/banstickto get your Ban Stick (a Blaze Rod). - Right-click a player β opens the Ban Menu GUI.
- Choose a duration and reason to confirm.
- Left-click a player β immediately strikes lightning β‘ and permanently bans them with a funny global message.
- Use
/banmenu test <player>to safely test the menus β no bans applied.
π File Structure
| File | Purpose |
|---|---|
plugins/BanStick/bans.yml |
Active temporary bans with expiry time and reason |
plugins/BanStick/banlog.txt |
Permanent log of all bans (temp + perm), including timestamps and staff |
Expired temp bans are automatically removed when the player rejoins.
π§ͺ Testing Mode
For testing menus or configuration without banning anyone:
/banmenu test <yourname>
You'll see [DRY RUN] messages in chat and console β no bans are saved or applied.
β‘ Instant Lightning Ban
Hit a player (left-click) while holding the Ban Stick to:
- Knock them back slightly
- Strike them with lightning (effect only)
- Announce a funny broadcast message
- Permanently ban them instantly
All lightning bans are also written to banlog.txt.
π§© Compatibility
- Minecraft 1.20.x β 1.21.x
- Paper / Purpur compatible
- No external dependencies
- Works fine with LuckPerms or any other permission plugin
π§± Building from Source
Requirements:
- Java 17+
- Maven 3.8+
Steps:
git clone https://github.com/panda-lr/ban-stick.git
cd ban-stick
mvn package
The compiled plugin will appear at:
target/banstick-1.0.0.jar
Drop it into your Paper server's /plugins folder and restart.
β€οΈ Credits
This project was inspired by the original Ban Stick (SpigotMC) by HuganicFirtic, created for older Minecraft versions. This plugin is a modern re-imagining built from scratch for Paper 1.20+ with new GUI menus, temp bans, logging, and instant lightning smites.
π License
MIT License
(c) 2025 [panda-lr]
Feel free to fork, modify, and use this in your own projects.