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/
@Paxination Please enlighten us as to where it is located in the config... I am unable to find it anywhere. My tempban time is limited to 10 minutes and 5 seconds. Even the console can't tempban for longer than that...
@DMANX00
Its in the config....
@PolskiRiko
Yo...its in the config!
@united_craft
/immune playername TRUE
Geez you guys need to read up on the docs. My staff can tempban for any amount of time. No issues at all.
Why does this limit tempbans to 10 min.... Please remove this -_-
How can i make Moderator not able to mute or ban Admin?
Why does this limit tempbans to 10 min.... Honestly if your going to limit tempbans, put it in the config for owners to set themselves.
Kicks mysql table!! ;D
For some reason, tempban doesn't work. Was going to use it until I discovered it.
If you do for instance '/ban DoggyCode test', will it automatically ban the UUID as well?
Removed
@Drobberz
Try, maxbans.*
Is there a permission for all commands?
@Gweedo358
True. My reaction was not good. I apologize for that. But....how you reacted is like....Are You Mad bro?
But anyway. What I recommend to people Do not use 2.6 / 2.5 / 2.4 Version 2.6 have the N / A error still. And yes,The say that its fixed but is not. This is also known to report to the team that the error is still there. The solution? There is not. Also they do not support UUID. Why does it say? The plugin probably uses local data. How do I know this? Because I have tested it myself.
Using: Google Translate. My engels is not very good :(
@ PixealCarftOwner If you are calling me stupid well I have some news for you idiot... If you click the latest build you will see a comment that says the N/A bug is fixed. Well wrong its not. Read the whole page here Jerk.... Your name is not anywhere on this plugin as a developer or helper or any thing so why don't you just shut your frigging mouth. I asked the developer a question not you. I see from all your posts you think the other versions work. Wrong again idiot. Next time instead of treating this guys page as a common forums be a part of the solution not a part of the problem. Until the developer puts your name on this page you and your comments are meaningless, the entire bukkit forums is full of people like you, post whore.
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? This problem is happening with all commands not just /warn
...lol. Are people so stupid? LOOK FIRDST BEFORE POST
Running Spigot 1.8.6. Still getting the "for n/a for Misconduct" error when using the /tempban command. Have the config time set to a month in seconds as required. Any help on this would be great.
@Peter234
What about that there is not an fix for that? And so as i so in my other message. USE 2.3 OR ELSE NOT VERSION 2.6 2.5. 2.4 ARE BUGGY AS FUCK AND HAVE NOT AN UUID SUPPORT
The time for tempbans seems to be stuck at 10 minutes, does anyone know how to fix this?
@tristplaysMC
No. Maxbans 2.3 works fine with not any problem also on 1.8.x What MrEminent42 say is about UUID. Because if somebody is warned banned whatever he lose everything if hes change his name. That why is plugin MUST have an UUID support system. Otherwise is not working at all. (my opinion) also is it that the last versions (2.6 2.5 2.4) have so mutch bugs that is it not working at all
Greetz,
he has it 1.8.1 thats updated it works for 1.8 - 1.8.6 and further 1.8 versions