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 Nov 14, 2013More like 2.0 to the power of 10 :D, every time I would go to update my servers a new 2.0 would be out :D, can't complain about progress though and no hassle so far for bungee/sync. Seems your re-write worked well.
-
View User Profile
-
Send Message
Posted Nov 14, 2013@Nikkolo94
Yeah.. there were half a dozen bug fixes before I successfully uploaded 2.0!
-
View User Profile
-
Send Message
Posted Nov 14, 2013xD dont forgot about some bug i reported when first 2.0 was out XD
-
View User Profile
-
Send Message
Posted Nov 14, 2013Incredible, released a new version and no bug reports in a week.
Win.
-
View User Profile
-
Send Message
Posted Nov 7, 2013@bloxParadise_
Sent, it should be approved soon.
-
View User Profile
-
Send Message
Posted Nov 7, 2013Can you send me it? Thanks.
-
View User Profile
-
Send Message
Posted Nov 5, 2013@fashizzles
PM'ed you it :)
-
View User Profile
-
Send Message
Posted Nov 5, 2013@netherfoam
Mind if I get this link or is this a private file?
-
View User Profile
-
Send Message
Posted Nov 3, 2013@Chalkie19
Must be the fourth or fifth by now, I'll PM you it.
-
View User Profile
-
Send Message
Posted Nov 3, 2013@netherfoam
Well that sucks, I have been a on your server a bit, the tutorial part was really nice. Let me know if I can help with anything.
Is there a third 2.0 link yet? :D
-
View User Profile
-
Send Message
Posted Nov 3, 2013@fashizzles
In v2.0, Syncing works with Bungee a lot better. I've reworked most of the syncer too so it should fix your connection issues. I've also added a fix corrects Bungee IP addresses
EDIT: If I ever stop finding little bugs and delaying Bukkit's approval process, the download link should be there in two days or I can PM it to you (I think that's allowed, @BukkitStaff?)
-
View User Profile
-
Send Message
Posted Nov 3, 2013Is the Sync system fully functional for a BungeeCord system? It seems that my consoles get spammed with Connecting to sync server, and then terminating connection and connects again aka spamming my console. Similar to wikids' past comment. If you can somehow show me what a connected correctly Sync configuration is I'd greatly appreciate it. Thanks.
-
View User Profile
-
Send Message
Posted Nov 3, 2013ok thank you it worked :)
-
View User Profile
-
Send Message
Posted Nov 3, 2013@Nikkolo94
If you want to disable history expiry, you can set it to 0 or -1, but I seriously recommend you set it to expire within a few months at most. The more history you have stored, the more loading time you have.
Fixed the command dupe, if it's bothering you the link is the same as the previous one I PM'ed you. Thanks again :)
-
View User Profile
-
Send Message
Posted Nov 3, 2013Thank you now i have no error about database.
But command dupe is still here xD i do /mbreload and it dupe all commands.
How i can disable history expire ? -1 will make infinite?
-
View User Profile
-
Send Message
Posted Nov 3, 2013@Nikkolo94
Thanks, I've fixed it and PM'ed you a link to a fixed version. I'll upload the new version ASAP to Bukkit :)
-
View User Profile
-
Send Message
Posted Nov 3, 2013@netherfoam
http://pastebin.com/2h8czuPa
-
View User Profile
-
Send Message
Posted Nov 3, 2013@Nikkolo94
Can you do '/mbdebug file' and send me the output? It generates a summary of your config, bukkit version, plugins, and your databases.
The command stores the file in YourServerFolder\plugins\MaxBans\debug.txt
-
View User Profile
-
Send Message
Posted Nov 3, 2013It is already fresh
-
View User Profile
-
Send Message
Posted Nov 2, 2013@Chalkie19
System had some freezes, performed a reformat, and now I'm trying to run Bungee. Having some extra trouble since we were an offline server, I have to find/write a quick auth plugin again. All the while I have a university exam block looming lol.