MaxBans

Logo

MaxBans

http://i.imgur.com/1oUe2e4.png
http://i.imgur.com/HiTU0mJ.pnghttp://i.imgur.com/kqBVLIY.png http://i.imgur.com/Or43IA9.png

24-03-2015
UUID support. Read changelog for more

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:

  1. Full UUID support
  2. Ability to view players' previous username(s) - date of change
  3. Full server lockdown - Prevent anyone from joining with a custom message (Such as bot attacks)
  4. Offline player name auto completion
  5. Warnings system
  6. Duplicate IP detection
  7. DNSBL lookups to stop proxys!
  8. Multiline kick messages! No more running off the screen!
  9. Notifications when a banned player tries to join!
  10. All times are relative! (Eg. "You're banned for 4 minutes 6 seconds", not "You're banned til 5:43pm CST")
  11. Customize every colour!
  12. 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. Link: http://yive.me/maxbans/. I haven't personally set it up, but the page looks quite sleek and well done!

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 approx. 1.7MB and is downloaded from http://maxgamer.org/plugins/maxbans/geoip.csv automatically on the first run. 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/

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of GodlyNuk3s GodlyNuk3s Sep 26, 2016 at 15:55 UTC - 0 likes

    Can you make it so when a player gets warned a message shows on their screen like.

    - You resived a warning - Reason Spam

  • Avatar of netherfoam netherfoam Sep 26, 2016 at 10:13 UTC - 0 likes

    @TheHadDad: Go

    One of your plugins is interfering with MaxBans. Ask them to fix their issue.

    @AntZaro: Go

    Pretty sure there's a permission node like maxbans.seebroadcast - Have a look at the configuration page. It's given to everyone by default, but if you negate the permissions from regular players without negating it for staff, you should be fine. permissions documented here: https://dev.bukkit.org/bukkit-plugins/maxbans/pages/permissions/

    @xRoyalFeeds: Go

    Okay, so you can sort through 10,000 bans that you've handed out in the lifetime of your server? No.

    You most likely want the /history command

    @AtomMitte: Go

    Yes, if you configure Spigot and Bungee correctly with IP forwarding. Get started with https://dev.bukkit.org/bukkit-plugins/maxbans/pages/notes-on-bungee/

    http://topg.org/image/521213/48267.jpg

  • Avatar of AntZaro AntZaro Sep 25, 2016 at 22:26 UTC - 0 likes

    We currently just use essentials commands for banning. What we really want is a feature to see punishment history, which your plugin offers. However, it seemed to me when I was reading about it that all players can see bans unless you specific silent? That just wouldn't work for us. We have essentials notify permissions that are set up to only notify certain people (staff) about bans and kicks and such. If that's not how this plugin works, I don't know if we could use this.

  • Avatar of TheHadDad TheHadDad Sep 24, 2016 at 04:46 UTC - 0 likes

    I don't mean to be rude, but this had a few let downs.... I banned a player on my server, and he still managed to join back somehow?! It said {Player} tried to join but was banned. But he still joined?! You might need to fix this. Or it's a problem in the config or on my server... But really, I would have loved this plugin until I needed to remove it.

  • Avatar of xRoyalFeeds xRoyalFeeds Sep 15, 2016 at 19:07 UTC - 0 likes

    You should add a /banlist

    Last edited Sep 15, 2016 by xRoyalFeeds
  • Avatar of AtomMitte AtomMitte Sep 14, 2016 at 15:03 UTC - 0 likes

    Can i use the Plugin for a BungeeCord Network

  • Avatar of netherfoam netherfoam Sep 14, 2016 at 02:02 UTC - 0 likes

    @xRoyalFeeds: Go

    permission node: maxbans.notify

    Except I think that when a banned player tries to join, it also generates a notification for everyone with that permission node

  • Avatar of xRoyalFeeds xRoyalFeeds Sep 14, 2016 at 01:59 UTC - 0 likes

    @netherfoam: Go

    is there a perm where people have to have to see the proxy msg?

  • Avatar of netherfoam netherfoam Sep 14, 2016 at 01:38 UTC - 0 likes

    @xRoyalFeeds: Go There's a setting called 'notify' in the dnsbl config... set it to false.

  • Avatar of xRoyalFeeds xRoyalFeeds Sep 14, 2016 at 01:34 UTC - 0 likes

    is there a way where you can disable the proxy ip msg when some 1 joins

Do you use BungeeCord?

  1. Choice:

  1. Results
  2. 3 comments

Facts

Date created
Dec 26, 2012
Categories
Last update
Sep 07, 2016
Development stage
Beta
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
MaxBans
Downloads
200,812
Recent files

Authors