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/
How long we must wait for UUID support you think?
Greetz, VocalWolf
@Manic_Kaval
Ok, I see & checked, and yes, doesn't seem like it has a permission. I will make sure that is added in the future MaxBans update.
@iversen0
Glad to see a UUID update will be in the future.
I tried maxbans.immune and maxbans.immunity just now on my server to test and neither worked. Perhaps something implemented in the update to come with it would be nice, such as an immunity to checks/kicks/bans,
@Icabash
I have "JOEHOT200" working on it. The plans are currently:
-/dupeip will display a (UUID) after the playername, displaying the players' UUID in a spoiler - working and tested.
-/checkip to have a "UUID" line, simply displaying the users UUID....
-/uuid, also just displaying the UUID. (maxbans.uuid)
-/checkip added line: "Previous username: OldUsername - DateOfChange
-/Dupeip, hover over any of the names displays their UUID in a spoiler.
All this is being worked on, and I will hopefully be able to get the update released in a week or two from now.
But please, suggestions are very welcome. Joe is a talented developer, I am sure he and I can figure out some more stuff if needed :)
@Icabash
On it as you see ^ :)
@iversen0
The plugin runs in 1.8, but without UUID support I would not call it "working".
Add UUID Support cause someone can change they're name and be unbanned
Hello. I am currently adminstrating Maxgamer (netherfoams' server) and MaxBans should still be working all fine in 1.8+. I am working on getting some other developers to make it support UUID, and to add the feature "Previous username: username" in /dupeip.
@Thepom360
There kind of is, MYSQL? But /history or /history [playername] should work just fine. Doing it in console will display it all.
@Sojcice
Tried maxbans.immune or maxbans.immunity? It might just be a permission for OP's.
@MyzelYam
^ @Hiddencloud
MaxBans are still being worked on. As said, I am working on getting another developer on the plugin, as netherfoam is quite busy at the moment.
@Hiddencloud
^ @ThisUsernameIsMine
Not abandonned. As said, should still work fine for 1.8.
anyone got a working ban listing webpage the one given doesnt seem to work and gives me errors on my pages
can you Make this so it logs in a text file?
What is a permission for immunitet I mean I make for MOD and Admins ban cmd but I dont know how to make Mod cant ban Admin whati is a perm for immunitet?
Does this plugin support UUIDs?
Hi, i have a big network, i have 4 servers, hub. pve, pvp and skyblock, i conected the MySQL and Sync in pve, pvp, hub, and skyblock, but it does not work on PvP. What can i do?
@Hiddencloud
It's paid, so don't even post this here.
Abandoned or not, i'm sure Netherfoam has a good reason for it.
Time to move on...
Just letting people know, in case you want to use this on multiple servers... DON'T.
I've been having this annoying bug in my servers, where suddenyl they would start consumming an entire cpu out of nowhere, for no apparent reason. It seems to be the sync function of maxbans, which for some reason does this. As the plugin is a little bit abandoned, I just leave the suggestion to only use it on single servers, and not on bungee networks. It's a shame, I've used this plugin for years, but I don't have too much choice with an issue like this :(
UUID support please...
We really need UUID support for this now, since name changes are being implemented on the 4th feb. This is a great plugin, and is the best banning plugin I have used.
This needs to be updated ASAP, Name changes are being released on Feb. 4, if this plugin doesn't update before that, I will have no choice to find find an alternative.
netherfoam move to spigot, make this a premium plugin, set a low price, this way you will get money to help pay your University get rewarded for your hardwork, and have time to update the plugin. If people are too cheap to spend 3 or 4 $USD in such a great banning system well... they can use other free alternatives. Please consider this.
Hi can u add UIDD support and that it is possible to change the translation for the time
i mean hours minutes seconds weeks.....
Tiippex