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 2, 2013@netherfoam
Thanks, much love.
Off topic, what happened to your server, seems to be offline in your sig.
-
View User Profile
-
Send Message
Posted Nov 2, 2013@Nikkolo94
Looks like something nasty has happened to your database... Try remove it and start fresh?
@Chalkie19
A Bukkit Mod removed the link - Not sure if you have access but here it is, awaiting approval: Staff edit: Removed link.
Edit: Apparently I can't even link you to files on Bukkit awaiting approval.
-
View User Profile
-
Send Message
Posted Nov 2, 2013@netherfoam
What happened to the link?
Was about to try it out.
-
View User Profile
-
Send Message
Posted Nov 2, 2013i just runned maxbans 2.0
and when it load i get this
http://pastebin.com/Z1X9DUgp.
history-expirey-minutes: -1 will disable expire?
-
View User Profile
-
Send Message
Posted Nov 1, 2013@wikids
Okay, I've reworked the syncer a lot. The next version is submitted to Bukkit, but if you can't wait for it, here's a version: Link Removed
Beware that Bukkit hasn't approved the Dropbox link above, and you use it at your own risk.
EDIT: Damn, they caught me. You'll have to wait for the approval then. :)
@Nikkolo94
Once the latest version is out, try that one :) Should be fixed.
-
View User Profile
-
Send Message
Posted Oct 30, 2013@netherfoam
im using 1.8
-
View User Profile
-
Send Message
Posted Oct 28, 2013@wikids
Not entirely sure.
-
View User Profile
-
Send Message
Posted Oct 28, 2013So the servers are syncing correctly with that message?
-
View User Profile
-
Send Message
Posted Oct 27, 2013@wikids
Yeah the syncer core needs a bit of a rework. Hopefully some time in the following weeks I'll be able to get around to it.
@Nikkolo94
Possibly try updating to the latest version, I think I fixed a bug like this at some point. Otherwise, it'll be fixed in the next version.
-
View User Profile
-
Send Message
Posted Oct 27, 201327.10 23:16:06 [Server] INFO [MaxBans-Sync] Created connection #3 27.10 23:16:06 [Server] INFO [MaxBans-Sync] Starting... 27.10 23:16:06 [Server] INFO [MaxBans-Sync] Stopping syncer. 27.10 23:16:06 [Server] INFO [MaxBans-Sync] ServerConnection was closed... 27.10 23:16:06 [Server] INFO [MaxBans-Sync] Connection closed. 27.10 23:16:06 [Server] INFO §7Console§7 unbanned §7alphawolvez§7 27.10 23:16:06 [Server] INFO unban alphawolvez 27.10 23:15:40 [Server] INFO [MaxBans-Sync] Created connection #2 27.10 23:15:40 [Server] INFO [MaxBans-Sync] Starting... 27.10 23:15:40 [Server] INFO [MaxBans-Sync] Stopping syncer. 27.10 23:15:40 [Server] INFO [MaxBans-Sync] ServerConnection was closed... 27.10 23:15:40 [Server] INFO [MaxBans-Sync] Connection closed. 27.10 23:15:40 [Server] INFO [MaxBans-Sync] Connection hard terminated by remote.
This normal to have multiple connections?
-
View User Profile
-
Send Message
Posted Oct 26, 2013one problem with /mbreload
when i do /mb i get this:
http://i.imgur.com/DraAyLT.png
and when i do /mbreload i get this:
http://i.imgur.com/33rlTzd.png
-
View User Profile
-
Send Message
Posted Oct 20, 2013@niklon
Works fine already
@niklon
Yeah it was uploaded, though apparently I've been gone too long and Bukkit's changed their rules about update checking. Apparently, I have to use Bukkit to CHECK for updates too now (A total crock of shit, to be honest. Downloading updates, yes, that's dangerous. But checking for updates is perfectly safe -_-)
So 1.9 exists, I just haven't uploaded it yet because I haven't had the time to rewrite the entire update checking portion. 1.8 will still work nicely.
-
View User Profile
-
Send Message
Posted Oct 20, 2013Update to 1.6.4?
-
View User Profile
-
Send Message
Posted Oct 18, 2013Is the 1.9 #Beta (8-7-2013 @ 6:23pm) i found between the comments still the latest version that's available?
I noticed you've uploaded 1.9 but the page doesn't exist anymore (file No. 13).
Should i use the 1.8 release or??
-
View User Profile
-
Send Message
Posted Sep 29, 2013I post one ticket when you come back check it ty
-
View User Profile
-
Send Message
Posted Sep 18, 2013Is there bungeecord support?
-
View User Profile
-
Send Message
Posted Sep 17, 2013If you have time this week can I get an update on my issue please Nether. Thanks :D
-
View User Profile
-
Send Message
Posted Sep 10, 2013in the config "'3': /ban {name} 3 Warns" = ban with the reason for 3 warns... but it doenst work it the player offline and he can join with 3 warns .... can you fix it please (I have the version with the message data)
-
View User Profile
-
Send Message
Posted Sep 8, 2013Has been about 5 scheduled restarts now with the same error.
-
View User Profile
-
Send Message
Posted Sep 6, 2013@netherfoam
Same ip http://img821.imageshack.us/img821/4244/v90m.png
test: http://www.youtube.com/watch?v=U4XcK55OMbI