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/
C'mon guys, Joe isn't gonna update any of his plugins. Look at his signature "Pretty much left Bukkit. If anyone wants to take over my plugins, tell me!"... This is never gonna have full UUID support unless Iversen takes over...
WARNING Do not use 2.6, 2.5, 2.4, That versions are to buggy to use for ur server. Use 2.3 or else NOT
Please, help! When I'm trying to tempban a player - /tempban player 2 day Griefing, plugin says "Reducing to ban limit! (1,432,476,756,788)". Also, changing the max tempban time in config doesn't work.
Sorry, if I make mistakes, I'm from Ukraine. :)
Please update this to have UUID storage and full support! It's the only good ban plugin out there!
@dart2112
-.- I did read that. In fact I read even more than the main page and so I commented. In the upcoming in 3.0 section it says "Full UUID support".
Don't accuse people of things when you don't know what's going on.
Can you help me? When i do /warn (name) (reason), the name is always lowercase. Is there anyway to make the name match the IGN exactly, caps and all?
It says it has full UUID support, but the SQL file says otherwise. I don't see any UUIDs. Also, I would like the mute message to be able to be changed. Thank god for the API though, I was able to handle the chat event myself and check for the mute.
@dart2112
No. MaxBans have NOT UUID Support. Also is 2.6, 2.5 and 2.4 buggy as fuck because BETA. I recommend anyone use this to use version 2.3. Or otherwise not . 2.3+ is really buggie
Trying to temp ban, writes Ban time is too long! Reducing to ban limit! (1,432,476,756,788) I change the time in the configuration does not help
Does this plugin work with UUIDs? So the player will be banned and stored by UUIDs and not names?
@hdglife_zach
You need to set it in the config...
@Iversen0 You said the bug of "Ban time is too long! Reducing to ban limit!" was fixed but no matter what I do the ban is never longer then 10 minutes and 5 seconds!
Instead of using the three {'s for the configuration section, use
<<code yaml>> <</code>>
!Would be:
And if you need help with documentation on Bukkit, I'm really good at it. Let me know if you need help!
@netherfoam
We haven't modified the Permissions. We have added maxbans.immune that's all :3
@PluginErrorsSuck
That's a pretty funny typo, but it does say pretty clearly at the top "All permissions are maxbans.<commandName>". Eg maxbans.ban, maxbans.tempban, maxbans.mute. Unless Joehot/iversen have modified them for some reason.
@chris_61
Yes, but it takes a bit of configuring. http://dev.bukkit.org/bukkit-plugins/maxbans/pages/notes-on-bungee/
The permissions need to be redone. I want to be able to give separated permissions but its not defined on the perms page. Redo this shit.
"These are the only exceptions:
maxbans.kick.* - kill all" "Kill all" ffs.
Is this plugin compatible with Bungee?
@ItsLemonmelon
Just do the -s thing man :p
@KPWVDD
Joe is working on it now :)
@PixealCarftOwner
^
@Henaminator
Joe: I personally really don't think that would work. A config for blocked commands might be better.
@zachup100
Having too much trouble making that work - we're revoming the command for now.
Hello i got an weird thing. when i tempban someone then it says:
Ban time is too long! Reducing to ban limit!
i don`t know how to change it. Can someone help me pleas?
I have more times delete the whole config files and reinstall. but it doesnt work...
@PixealCarftOwner
When Joe gets time *for real* :/
http://dev.bukkit.org/bukkit-plugins/maxbans/#c734
Yeah, user names being converted to lower cases needs to be fixed. Because with Mojang, Paxination is not the same as paxination. Both can exist.