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 Feb 13, 2014Still having some problems with sycing... I will try to get more info other than "not working pls fix!!!".
When it's not in sync, I can do /mbreload from the un-sync server and I get the "Connection Authenticated" in the Syncer server but still not data is transferred (Either way) :( but if you mbreload the syncer than the sync server it starts working again -_-
Only error I got was this when reloading was on the syncer server. When it happens again ill put them into debug mode and see if I can get more info.
-
View User Profile
-
Send Message
Posted Feb 7, 2014Using this plug-in from the initial release, really like it.
Is there any way to set custom table prefix?
-
View User Profile
-
Send Message
Posted Feb 6, 2014Video Tutorial on the Plugin
https://www.youtube.com/watch?v=-G1EX_DwEaY
Credits: (AbsintoJ/MaxBans)
-
View User Profile
-
Send Message
Posted Feb 4, 2014@xXEnderKillerXx
Yeah, /history [name] [amount] will show you the actions done by or dealt to the given username in the last week. The timeframe is configurable (history expirey in the config) but more history means a chunkier database. If you're using SQLite and have a big database, may Jeb have mercy on your soul.
-
View User Profile
-
Send Message
Posted Feb 4, 2014Is there any possible way to implement a way to check passed bans or current bans on players ingame?
-
View User Profile
-
Send Message
Posted Jan 27, 2014Really love this plugin, keep up the great work.
Pros:
I like kittens
Cons:
I use this on my server! Come check it out sometime, i'd appreciate it: le-pvp.com:25567
-
View User Profile
-
Send Message
Posted Jan 23, 2014@qaman6
Yeah, added it a few moments after, thanks :)
-
View User Profile
-
Send Message
Posted Jan 23, 2014@netherfoam
Thank you! I would highly suggest adding that to the config :D
-
View User Profile
-
Send Message
Posted Jan 23, 2014@qaman6
You'll want to use a port that is not already in use for syncing (You've listed 25565, which is probably used by your MC Server itself. I suggest finding another port (It doesn't matter what number you choose, as long as your firewall doesn't block it and it's not in use by another program, range is generally 1024 to 65500ish)
Aside from that, the configs look correct.
-
View User Profile
-
Send Message
Posted Jan 23, 2014@netherfoam
Also, I own a network, and I'm currently trying to use the HUB as the syncserver, and all others as syncers. I have set up the sync using the instructions provided, and I have read it numerous times carefully. Is there anything I'm doing wrong? Here is a copy of the two configs that I am using.
Syncserver (I used hashtags to block out my information.):
http://hastebin.com/bupomugeka.vhdl
Syncer:
http://hastebin.com/yapodefimu.vhdl
-
View User Profile
-
Send Message
Posted Jan 23, 2014@qaman6
It'll be there in the settings area.
-
View User Profile
-
Send Message
Posted Jan 23, 2014@netherfoam
I don't see that in spigot.yml... :o
-
View User Profile
-
Send Message
Posted Jan 22, 2014@Legokid184
You will want to use the Syncer, there's some information here:
http://dev.bukkit.org/bukkit-plugins/maxbans/pages/ban-syncing/
And an example config here:
http://dev.bukkit.org/bukkit-plugins/maxbans/pages/sync-example-config/
You should absolutely be using Spigot if you're using Bungee. So in your spigot.yml, you must add your proxy server's address as a proxy server, like this:
This'll cause your servers to correctly register the players IP, and thus MaxBans will handle IP's (and bans, etc) fine.
-
View User Profile
-
Send Message
Posted Jan 22, 2014I am using bungee cord to connect multiple servers. I have two questions regarding this. 1) Is there a way to sync the servers together. 2) Connecting to the server requires a proxy to connect. Will this effect it? Is their a way to black list an Ip?
-
View User Profile
-
Send Message
Posted Jan 21, 2014As some of you have seen, I've been working on a ban listing page. It was originally just going to be for my server, but I decided to contact netherfoam about it and a possible release of it to the public. I realised soon after that I did a poor job at coding the list so I decided to remake it this year.
@netherfoam Posted the old version of the list. I've recently started on a new system and nearly finished it in 24 hours even though my first attempt took me like two days. Here is the demo of the new listings that will be released soon to the public in multiple colours of choice. Default will be blue. http://tempestnetwork.ca/sites/maxbans/
If you guys have any suggestions on what I should add to it before the release then I'd be happy to get in contact with you over the PM system.
-
View User Profile
-
Send Message
Posted Jan 20, 2014@crysis992
Do you possibly have debug set to true? That would cause the message to be printed to console.
@Gamebuster19901
Thanks! :)
-
View User Profile
-
Send Message
Posted Jan 20, 2014Very nice plugin.
-
View User Profile
-
Send Message
Posted Jan 17, 2014You know what you really are so rude to people that make this plugin what it is like quickshop for example you said no more requests well that plugin could top chest shop (in my opinion it has)
-
View User Profile
-
Send Message
Posted Jan 17, 2014Bug:
When using synced Servers, and one server is losing connection (example shutdown) the sync server is getting a small exception.
http://pastebin.com/tsAjHjzb
And another one:
When stopping the server, it also throws a Exception.
http://pastebin.com/MFtgd5ge
-
View User Profile
-
Send Message
Posted Jan 15, 2014I re downloaded the db link that you sent and made sure auto update was off it seems fine now.