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/
In reply to Forge_User_92613743:
does this work with bugeecord and can i use it like bans.skycade.net? (this is the plugin the owner uses)
In reply to Forge_User_95817337:
will there be a way to make an online bans list for my website?
like bans.skycade.net ?
In reply to Forge_User_70576431:
Hello, I am from China. Your plugin is excellent. Can I issue it to China Forum www.mcbbs.net?
In reply to 15171328446:
Not sure what im doing wrong to get my SQL database to work.
Prism and Bettershops work for me using something like this:
Both look for 6 settings:
hostname: my-host-goes-here
username: my-username
password: my-password
database: my-database-name (same as user name)
prefix: prism_ <--- This is how its listed
port: 3306
Example of my SQL:
p110_1011 <----My database name and username Everything below this is a drop-down inside it
bettershops_Blacklist
bettershops_Items
bettershops_Keepers
bettershops_Shops
bettershops_Trades
bettershops_Transactions
prism_actions
prism_data
prism_data_extra
prism_meta
prism_players
prism_worlds
In maxbans i dont understand how i point it to the database inside my SQL ?
database:
mysql: true
user: my-username
pass: my-password
host: my-host-goes-here
port: 3306
name: maxbans <--- i dont actually understand whats been looked for here im assuming its the prefix?
THANKS IN ADVANCE! Also i left a comment in your maxbansplus about 1.7.10 support
In reply to RawrMaoster:
In reply to netherfoam:
"maxbans_bans" instead of just "bans". Just so it can be organised like my last post above containing prism and bettershops
In reply to RawrMaoster:
Is there a way to keep bans stored in the Database? Im using the Ban Listing website and i want all bans to stay, not be deleted.
In reply to Forge_User_13084491:
In reply to netherfoam:
Hi folks,
I've begun work on a rewrite of this plugin over here: https://dev.bukkit.org/projects/maxbans-plus
This solves the tempban issue a lot of people are having, as well as hopefully a few database issues some of you are having.
There have been a few features that I haven't put in yet though:
* Importing and exporting bans
* DNS Blacklist Lookups
* Force Spawn
* Clear warnings / Unwarn
* Range bans
If you can live without those, you'll find the new version is actively supported. The features will eventually make their way into MaxBans Plus slowly -- it's a hobby, not a job after all :P
No bad, well done. But we have some errors with tempban
Found a problem, i did /tempban kategamerz11 1 month -s speed/ and it says thats too long and gets reduced to 1 week.PLEASE HELP
In reply to Forge_User_28630905:
In reply to AustinFRGl:
In reply to xCaveSlimeYT: