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 17, 2013"immune" to punishment? no i have not used the whitelist commands.. Or mbimmune..
Although I am and "op"
No errors in the console on banning people.
We do use "spigot" http://www.spigotmc.org/ But as i said all works fine on a windows server.. but im paying for a vpn linux.
So you're banning toxictroop and you can rejoin, by the looks of this. Well.. theres others i have banned as you mentioned and.. it wont ban them, they can also just rejoin.
-
View User Profile
-
Send Message
Posted Jul 16, 2013@toxictroop
So you're banning toxictroop and you can rejoin, by the looks of this.
Okay, try ban a different username and see if that user can come back (Preferably a totally new one). If they CANNOT:
1) Are you (ToxicTroop) "immune" to punishment? (Eg, if you did /mbimmune toxictroop, you would become immune to punishment such as bans... You could still be technically banned though) - Easy way to find out, see if mutes & kicks affect you.
2) Are you (ToxicTroop) whitelisted using /mbwhitelist toxictroop, if so possibly disable it?
Looking at this ban data, your ban doesn't exist in the database for whatever reason. Two other bans are there, seen by:
Map: java.util.HashMap, Size: 2
zub142 | Ban ID:zub142, R:Hacks, B:tometjuh, C:1373928720079
kaptenkandy | Ban ID:kaptenkandy, R:Advertise, B:kella171, C:1373967647600
From the debug.txt file.
Are there any errors in console when you /ban toxictroop? Do mutes affect you?
Sorry about the wall of text, but if you disabled all the other plugins and tried and it still didn't ban you properly, then an override won't fix the issue.
-
View User Profile
-
Send Message
Posted Jul 16, 2013@netherfoam
Im typing and banning the correct usernames it bans and kicks them then they can rejoin..
DEBUG:https://dl.dropboxusercontent.com/u/89784586/debug.txt
-
View User Profile
-
Send Message
Posted Jul 16, 2013@netherfoam
Im typing and banning the correct usernames it bans and kicks them they they can rejoin..
-
View User Profile
-
Send Message
Posted Jul 16, 2013@toxictroop
Can you run the command "/mbdebug file" from the console and send me the debug.txt file it generates (It'll be located in the Server\plugins\MaxBans folder), and what's the name of the player you are banning?
-
View User Profile
-
Send Message
Posted Jul 16, 2013@netherfoam
Disabled plugins, broken on linux.
-
View User Profile
-
Send Message
Posted Jul 15, 2013Works fine on my windows server, but fails on my main Linux server..
-
View User Profile
-
Send Message
Posted Jul 14, 2013@toxictroop
It's not essentials. Find out which one is causing it first.
-
View User Profile
-
Send Message
Posted Jul 14, 2013@netherfoam
But i think its essentials?? and we need that plugin.. We are on linux, please could you edit a override version for us or something?
-
View User Profile
-
Send Message
Posted Jul 14, 2013@toxictroop
Disable them all. See if its fixed.
-
View User Profile
-
Send Message
Posted Jul 14, 2013@netherfoam
Cant you make your plugin (OVERRIDE) the plugin stopping the ban please we use very complicated plugins and dont know which one to delete, i love your plugin but may have to switch if the problem can not be solved.
-
View User Profile
-
Send Message
Posted Jul 13, 2013@pimsserver
Some servers would be viewing 1000's of bans, which doesn't really work. If you want to see any recent bans, use the /history command (You can configure it to store history for more than a week if needed)
If you really need a list of all bans, do /mbdebug file from the console, go to the MaxBans folder, and there will be a text file containing all data MaxBans has stored.
-
View User Profile
-
Send Message
Posted Jul 13, 2013Could you add a /banlist command?
-
View User Profile
-
Send Message
Posted Jul 13, 2013@toxictroop
Probably another plugin interfering. Try disable all other plugins, and then try join. Otherwise, make sure you're spelling the name right.
-
View User Profile
-
Send Message
Posted Jul 13, 2013@exclupl
there are other plugins that give warnings for swearing.
-
View User Profile
-
Send Message
Posted Jul 13, 2013when i ban a player they seem to rejoin?
even with an ipban i need some help with this?? anyone!?
-
View User Profile
-
Send Message
Posted Jul 12, 2013@exclupl
I don't understand, you want to warn the player after they swear? You can't do it automatically.
-
View User Profile
-
Send Message
Posted Jul 12, 2013I have a question, can you add to the player after writing the curse of getting a warn?
Sorry for my weak English :|
-
View User Profile
-
Send Message
Posted Jul 12, 2013@exclupl
Uhh, it works fine on 1.6.2.
-
View User Profile
-
Send Message
Posted Jul 12, 2013Please update to 1.6.2