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 11, 2014Is there away to get like a web interface? Almost like BanManagement? Or only with mySql? What is mySql
-
View User Profile
-
Send Message
Posted Jul 8, 2014I hope to see this support Bungee, not sure if it does yet. But honestly this is a really great plugin!
-
View User Profile
-
Send Message
Posted Jul 7, 2014How to make two or more players can come from one IP?
-
View User Profile
-
Send Message
Posted Jun 26, 2014@omon23
Notifying of certain people is already possible by giving them maxbans.notify:
http://dev.bukkit.org/bukkit-plugins/maxbans/pages/config-tutorial/#w-notifications-name-filtering
-
View User Profile
-
Send Message
Posted Jun 3, 2014Hey, i'm french, I have a french server, i'd like to modifiy 'hours' , 'minutes' , 'weeks' into french words, is it possible ?
Thanks for reading.
Sorry for my bad english..
-
View User Profile
-
Send Message
Posted May 30, 2014Hello,
I'm wondering if you could make a function where when someone is banned, only people with the correct permission will be notified about it, and not the whole server. Also, could you make a permission like maxbans.exempt which exempts a player from being banned, because at the moment, it's possible for mods to ban me, and I'm the owner. I don't particularly want to be banned from my own server.
-
View User Profile
-
Send Message
Posted May 28, 2014I often see the following in the console and i don't know how to solve it (not using MySQL but SQLite):
complete error: http://dev.bukkit.org/paste/10129/
-
View User Profile
-
Send Message
Posted May 24, 2014what shoud do "bungeecord: false" in the config?
becuse there isnt explain on http://dev.bukkit.org/server-mods/maxbans/pages/config-tutorial/
-
View User Profile
-
Send Message
Posted May 23, 2014@netherfoam
Is there some way to import bans from mysql tables of http://dev.bukkit.org/bukkit-plugins/ban-management/ or convert ban data?
-
View User Profile
-
Send Message
Posted May 20, 2014Hi nether. I know you don't have much time these days. But an 1.7.5 would be awesome! :D
-
View User Profile
-
Send Message
Posted May 13, 2014Any chance at re-looking at the syncing nether or creating a bungee plugin for syncing. Has gotten bad enough that I have all my servers reloading MB every hour just to re-sync and re-connect to the syncer server and even than I get reports of ban, kicks, warns disappearing as it does not sync.
Let me know what information I can provide to help.
-
View User Profile
-
Send Message
Posted May 9, 2014Can you add UUID support for 1.7.9? Thanks!
-
View User Profile
-
Send Message
Posted May 7, 2014Is it possible to add an exempt permission for mute/kick/ban?
-
View User Profile
-
Send Message
Posted May 4, 2014Maby make a disable thiny that you can disable some furteres becose i have olrady a warning plugin and i want this plugin but this plugin has olso a warning thing
Sorry for my bad english i am dutch
- eagleshooter
-
View User Profile
-
Send Message
Posted Apr 29, 2014@netherfoam
Hello again netherfoam. We need UUID support for MaxBans. I don't know how to stress this enough. I do understand that this server was written for an offline mode server, however, if you somehow could check the statistics, you can see the majority of the users of this plugin using an online-mode server.
The most easiest way of making this plugin flexible for both online and offline mode server is to have an option in the config called UUID-mode: <true/false>. The people who choose true, get UUID support and their current database gets converted. The people who choose false, have the same thing they have currently.
Please consider this, because without this plugin, my server will go poop.
Thank you,
Odie
-
View User Profile
-
Send Message
Posted Apr 28, 2014@alphaxrice
It does say that, yes.
-
View User Profile
-
Send Message
Posted Apr 25, 2014@netherfoam
it works for mysql?
-
View User Profile
-
Send Message
Posted Apr 24, 2014@omon23
Yeah, maybe with a bit of a delay though.
@ThisUsernameIsMine
Ugh yeah, if you have an SQL editor you can add a reason column (varchar/string type) column to the mutes table
@alphaxrice
Delete bans.db to reset it.
-
View User Profile
-
Send Message
Posted Apr 24, 2014how do i reset ban list
-
View User Profile
-
Send Message
Posted Apr 22, 2014With 2.3, i occasionally see the following console error when a banned player tries to join:
java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such column: reason)
http://dev.bukkit.org/paste/9809/
This occurs under Spigot 1.7.9-R0.1 build #1443