MaxBans
Support Spigot from 1.7.x to 1.12.x
MaxBans is a project I've been writing for my server, MaxGamer. I struggled to find a banning plugin that wasn't a joke, and the good plugins were all designed for Premium servers anyway. Nothing gave us the tools that SHOULD have been out there - Like temp mutes, temp IP bans, duplicate IP lookups, and good autocompletion!
It is thoroughly tested on an Offline-Mode server, so you can bet it's rock solid and feather light!
Databases
- MySQL
- SQLite (Flatfile)
Best Features
Here are the top ten features of MaxBans over other banning plugins:
- Full UUID support
- Ability to view players' previous username(s) - date of change
- Full server lockdown - Prevent anyone from joining with a custom message (Such as bot attacks)
- Offline player name auto completion
- Warnings system
- Duplicate IP detection
- DNSBL lookups to stop proxys!
- Multiline kick messages! No more running off the screen!
- Notifications when a banned player tries to join!
- All times are relative! (Eg. "You're banned for 4 minutes 6 seconds", not "You're banned til 5:43pm CST")
- Customize every colour!
- Block commands like /me when muted!
Commands
- /unban <name, IP or UUID>
- /ban <name, IP or UUID> <reason>
- /ipban <name, IP or UUID> <reason>
- /tempban <name, IP or UUID> <number> <minutes|hours|days|weeks|etc> <reason>
- /tempipban <name, IP or UUID> <number> <minutes|hours|days|weeks|etc> <reason>
- /mute <name or UUID>
- /tempmute <name or UUID> <number> <minutes|hours|days|weeks|etc>
- /kick <name, * for everyone or UUID>
- /checkip <name or UUID>
- /uuid
- /togglechat
- /dupeip <name, IP or UUID>
- /checkban <name, IP or UUID>
- /warn <name or UUID> <reason>
- /clearwarnings <name or UUID> <reason>
- /unwarn <name or UUID> - Removes a players most recent warning
- /unmute <name or UUID>
- /history [name] [number of records] - Displays a history of bans, kicks, mutes & more dealt
- /mbreload - Reloads the plugin
- /mbdebug - Outputs debug information for me if you're having issues!
- /mbwhitelist <name or UUID> - Allows the given user to bypass IP bans (Not regular bans! Eg, use for players with siblings who need to be IP banned)
- /ipreport - Basically, a mass /dupeip, on everyone who is online
- /lockdown [reason]
- /forcespawn - Teleports someone to the spawn (Twice, so /back won't work)
- /mbreload - Reloads maxbans
- /mbimport - Imports vanilla minecraft (And others) bans.
- /mbexport - Export bans to vanilla, MySQL or SQLite databases. (Allows swapping SQLite <-> MySQL), and others ban plugins.
- /rangeban <ip1-ip2> [reason] - Bans the IP range from ip1 to ip2 for the supplied reason.
- /temprangeban <ip1-ip2> <time> <hours/min/sec> [reason] - Temporary variant of above
- /unrangeban <ip> - Removes any RangeBan which overlaps with the given IP. Eg, if 127.0.0.1-127.0.0.5 is banned, unbanning 127.0.0.3 will lift the whole ban on 127.0.0.1-127.0.0.5.
Almost any command may have -s added in it to prevent announcing it, for example:
/tempban NewGuy101 -s 1 hour MaxBans is Awesome!
- Nobody will see the announcement that NewGuy101 was temp banned, just the fact he "has left the game."
If you want an in-depth analysis of each command, try here:
http://dev.bukkit.org/server-mods/maxbans/pages/command-tutorial/
Configuration Guide
http://dev.bukkit.org/server-mods/maxbans/pages/config-tutorial/
This is an in-depth guide on how to configure MaxBans :) If I've missed anything, ask in the comments!
Common Issues
http://dev.bukkit.org/server-mods/maxbans/pages/common-issues/
This is a list of common issues people have with MaxBans, such as plugin conflicts.
Features that will never implement
- Fines (Use your economy to do this!)
- Jails
- Regional bans
- Ban weightings
Ban Listing Webpage
Check out this guy's work for an amazing webpage setup to view MaxBans while using MySQL.
Demo (dont download from here): http://yive.me/maxbans/.
Its updated and is working on latest version of MaxBans!
You can download the updated version from here: https://github.com/FabioZumbi12/maxbans-php
- Added pagination;
- Fixed other ban pages not loading;
Metrics
This plugin uses Hidendra's plugin metrics system (http://mcstats.org/plugin/maxbans) which tracks server information including:
- A unique ID
- Java version
- Online/Offline mode
- Plugin & Server version
- OS name, version, architecture
- Number of CPU cores
- Players online
- Metrics version
These stats can be disabled using the PluginMetrics config file (BukkitServer/plugins/PluginMetrics/config.yml).
GeoIP Lookup
MaxBans will download a GeoIP.csv file, which allows it to look up the country of origin for IP addresses. The file is downloaded directly from maxmind GeopIP site. The file is only downloaded once (Unless it is renamed/removed).
FabioZumbi12:
Hello all. I am other dev and now i assuming the Project for bugfixes and possible improvements.
Netherfoam still busy but still online on comunity. I have a lot of time to code (i have a home work) and i can maintain this plugin (and my others) Always updated ;)
See ya o/




-
View User Profile
-
Send Message
Posted Jul 9, 2013@stantaone
Seems I broke something when I changed how I handle kicking. I thought it was the autocompletion you were having issues with, but it was something else. This version should work as intended.
https://dl.dropboxusercontent.com/u/72835893/Plugins/MaxBans.jar
-
View User Profile
-
Send Message
Posted Jul 8, 2013@netherfoam
/kick Santa, Santa would be kicked if he is online. Otherwise, Santaclaus.
Well. Santa is offline and has never joined the server. Santaclaus is online.
/kick Santa will say; Santa was kicked by .. for .. and Santaclaus is still online.
Idk if its just me :/
-
View User Profile
-
Send Message
Posted Jul 7, 2013@stantaone
Not sure, but I think you have your facts wrong. If you did:
/kick Santa, Santa would be kicked if he is online. Otherwise, Santaclaus.
/ban Santa, Santa would be banned if santa has ever played. Otherwise, Santaclaus would be banned.
@Regablith
Did you reboot after changing the messages?
-
View User Profile
-
Send Message
Posted Jul 7, 2013I just got this plugin, and for my server I wanted to edit the color of the messages, and I did so successfully, then it randomly changed back to the Green and White, though the messages.yml still has the colors I wanted to use (Red and Gray)
-
View User Profile
-
Send Message
Posted Jul 7, 2013@netherfoam
But why is Santaclaus still in the server when i type /kick Santa. And when i do /ban Santa, Santaclaus is banned and gets kicked from the server.
-
View User Profile
-
Send Message
Posted Jul 6, 2013@stantaone
It does. Kick will only search online players though. It uses bukkits method of finding the player though.
-
View User Profile
-
Send Message
Posted Jul 6, 2013Awesome plugin!
But,
Lets say a player named; Santaclaus.
/kick Santa
Server says; Santa was kicked by Stan for no reason
Santaclaus is still in the server
/ban Santa
Server says; Santaclaus was banned by Stan for no reason
Santaclaus left
Shouldnt /kick search for the fullname? Just like ban does?
-
View User Profile
-
Send Message
Posted Jul 5, 2013@joshua2013007
Should work fine on 1.6
-
View User Profile
-
Send Message
Posted Jul 5, 2013does this plug-in support 1.6?
-
View User Profile
-
Send Message
Posted Jul 4, 2013@Mr_H4mm3r
Me too.. when I have time for it. The most annoying part is updating everyones databases.
-
View User Profile
-
Send Message
Posted Jul 4, 2013@netherfoam
I support the mute reason feature! :)
-
View User Profile
-
Send Message
Posted Jul 1, 2013@DarkMinecrafter
Not sure which one, but MaxBans isn't the plugin banning players after they log in 5 times. Possibly NoCheatPlus? The only automated bans from MB are the proxy ones.
-
View User Profile
-
Send Message
Posted Jun 30, 2013Can you add a whitelist for IPs to connect with the sync server that not getting banned when they connect 5 times ?
-
View User Profile
-
Send Message
Posted Jun 28, 2013@baksovic
Maybe.
@courske
http://dev.bukkit.org/bukkit-plugins/maxbans/pages/ban-syncing/
-
View User Profile
-
Send Message
Posted Jun 28, 2013what does the sync option?
sync: use: false server: false host: 127.0.0.1 port: 2711 pass: ChangeMeNow tries: 120
-
View User Profile
-
Send Message
Posted Jun 28, 2013Add please support reason for mute
/tempmute <name> <number> <minutes|hours|days|weeks|etc> <reason>
-
View User Profile
-
Send Message
Posted Jun 28, 2013@courske
Disable the DNSBL option then
-
View User Profile
-
Send Message
Posted Jun 28, 2013if I or someone else my server joind says maxbans that we join with a proxy
-
View User Profile
-
Send Message
Posted Jun 23, 2013@toxictroop
Tempbans are temporary. What command are you using to ban them? (Eg the whole thing), Does the same happen if you use /mbtempban instead? And, does the same thing happen if you disable your other plugins?
-
View User Profile
-
Send Message
Posted Jun 23, 2013after a ban people can rejoin back.. -_- usually temp bans.