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 Dec 10, 2013Thanks nether, I think it's time to throw some money at you again :D
Edit: 2.1 Not approved yet? Still compatible with 1.6.X I would guess?
-
View User Profile
-
Send Message
Posted Dec 10, 2013@Nikkolo94
You're asking me to write a command so that players can be removed from the list on /dupeip, that's hiding information. If you want to disable the auto-dupeip, do so in the configuration (auto-dupeip: false)
-
View User Profile
-
Send Message
Posted Dec 10, 2013@netherfoam
yeah it working now :)
what about my other question ? i didnt mean hide info to moderators
-
View User Profile
-
Send Message
Posted Dec 10, 2013@Nikkolo94
Alright, a new version has been uploaded with a fix! Cheers.
-
View User Profile
-
Send Message
Posted Dec 9, 2013@Nikkolo94
Thanks, I'll get to fixing it when I get a chance.
-
View User Profile
-
Send Message
Posted Dec 9, 2013maxbans 2.1 /ipreport error:
http://pastebin.com/kvHNNrDj
-
View User Profile
-
Send Message
Posted Dec 9, 2013@netherfoam
example: i have 3 accounts, and i made them all for testing something, and now everytime i join it broadcast i have 3 accounts :P
i mean if you can add one command for OP/admin for remove specified player from dupeip
-
View User Profile
-
Send Message
Posted Dec 8, 2013@Nikkolo94
Removing a player from /dupeip? I'm not going to do that, on the basis that it's hiding information from moderators.
-
View User Profile
-
Send Message
Posted Dec 8, 2013you plant to add one command for remove:
Scanning player ....
3 account: 1 2 3 ?
-
View User Profile
-
Send Message
Posted Dec 8, 2013@YiveMe
Well I'll be damned, the first person to report a legitimate problem with java. What version of java are you running on your machine?
If Windows -> Cmd -> 'java /version' If Linux -> Terminal -> 'java -version',
Then send me what it prints out, eg:
"java version "1.7.0_25" OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)"
Cheers
-
View User Profile
-
Send Message
Posted Dec 7, 2013Since nobody has reported this yet.
http://pastebin.com/raw.php?i=kvf5RdHJ
Using spigot build #1171
-
View User Profile
-
Send Message
Posted Dec 7, 2013@moneykid777
That's a strange issue, I personally thought Bukkit had protection against that. I'll have a look into it when I get a chance.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@moneykid777 So microblocks should be added to a known caveat list or conflicting plugin list.
-
View User Profile
-
Send Message
Posted Dec 7, 2013never mind. Disabled microblocks and it all of the sudden worked
-
View User Profile
-
Send Message
Posted Dec 6, 2013Ok this is my configuration. I will try to disable other plugins in about a couple of hours because I have players on my server right not. The only thing I changed was the database, that was about it.
For my syntax, I am using, for example, /ban moneykid777 test. I used /mbban and that did not work either. There is another plugin that I use for certain stuff, it is called microblocks, and it does use /mb but I can still use that plugin by doing /microblocks. /mb just tells me to do /mb
http://pastebin.com/81wTTgLN
-
View User Profile
-
Send Message
Posted Dec 5, 2013@moneykid777
Errors in server.log during boot? Errors while processing the command? Does /mute, /ban, /tempban, /dupeip still work? Lets see your config.
Possible causes:
The plugin works fine with 1.7.2.
-
View User Profile
-
Send Message
Posted Dec 5, 2013For some reason, this does not work with 1.7.2. I try to do a command (I did the exact things it told me to do) and it tells me how to do the command
-
View User Profile
-
Send Message
Posted Nov 26, 2013@gaz1812
@Nikkolo94
What Nikkolo94 said - You can prevent bans/effects on certain players totally (But it's not a ranking system! I HIGHLY ADVISE AGAINST THIS SYSTEM. You *will* shoot yourself in the foot)
To prevent bans/etc effecting a player:
-
View User Profile
-
Send Message
Posted Nov 26, 2013@gaz1812
Features that I will NEVER implement
Fines (Use your economy to do this!)
Jails
Regional bans
Ban weightings
-
View User Profile
-
Send Message
Posted Nov 26, 2013How to prevent users with ban & kick permissions from kicking/banning higher ranks like op's and admins etc.