- Tested Minecraft Versions:
- Source Code:
Are there going to be any future updates?
Yes, I'm going to continue working on this resource on my summer vacation which starts in about 2 Weeks
WAIT there is a bug that you NEED to fix in the new version!
Please check if it's not already posted on GitHub https://github.com/DevLeoko/AdvancedBan/issues
If it's not there feel free to create a new issue for it
WAIT there is an important feature that you NEED to add in the new version!
Check if it is listed in the poll you can find below, if not post in on GitHub
Can I do something to support the development?
Ya there are some things that you can do:
1. Keep using the plugin to show me support
2. Help me with the Support in the thread or on GitHub as I will have more time on development if I don't need to answer the same questions over and over again. Thanks to @BillyGalbreath, @geo4574 and @GazpachoYT for already doing so c:
3. If you are good in any other language than English I'd love to get some translations for the message file (#AwesomeFeatureIncoming)
4. I always appreciate donations as they show me that someone does really appreciate the work I'm doing and the time I'm investing in this project also programming makes more fun with some chips and a beer ;D (Thanks for the most recent donator @Siuan )
Will the update be extremely awesome?
Yep, it will.
Not only will I fix all these annoying bugs and improve the overall performance of this plugin.
But there will be a completely new UUID-Fetching system which will be more dynamic to prevent all those Mojang restrictions, a web panel to set up the Message file with ease and without any problems and maybe even support for Redis bungee.
Here is a poll so I can see which features you would like the most to be added in the next version:
Do you want your own Plugin or Website? Visit our Dev-Page: http://dev.skamps.eu
AdvancedBan is an All-In-One Punishment-System with warns, tempwarns, mutes, tempmutes, bans, tempbans, ipbans and kicks.
There is also a PlayerHistory so you can see the players past punishments and
the plugin has configurable Time & Message-Layouts which automatically calculate and increase the Punishment-Time for certain reasons.
AdvancedBan provides also a full Message-File so you can change and translate all messages & a detailed config file with a lot of useful settings.
This is a BungeeCord & Bukkit/Spigot-Plugin in one and it supports MySQL and Local-File-Storage.
1. Download the Plugin
2. Put it in your Plugin folder. [either in the one of your BungeeCord-Server or in the one of the Bukkit/Spigot]
3. Reload/Restart your Server [if BungeeCord you have to restart it with /end]
4. Check with /advancedban if the plugin is loaded.
5. Configure it like you want & have fun.
NOTE: If you have a cracked server set UUID-Fetcher>Enabled to false!
| = or
/kick [PLAYER] <REASON | @LAYOUT>
Kick a player
To use the command - ab.kick.use
To not be able to get kicked - ab.kick.exempt
To get notified - ab.kick.notify
/ban /mute /warn [PLAYER] <REASON | @LAYOUT>
Ban/Mute/Warn a player
To use the command - ab.ban/mute/warn.perma
To not be able to get banned/muted/warned - ab.ban/mute/warn.exempt
To get notified - ab.ban/mute/warn.notify
/banip [PLAYER/IP] <REASON | @LAYOUT>
Ban a player's IP. If you enter a name it will use the cached IP
To use the command - ab.ban.ip
To not be able to get IP banned - ab.ipban.exempt
To get notified - ab.ipban.notify
/tempban /tempmute /tempwarn [PLAYER] [Xmo|Xd|Xh|Xm|Xs|#TIMELAYOUT] <REASON | @LAYOUT>
Tempban/mute/warn a player for a given time or with a time-layout for automatic-time-calcualtion
To use the command - ab.ban/mute/warn.temp
To not be able to get (temp-)banned/muted/warned - ab.tempban/tempmute/tempwarn.exempt
To get notified - ab.tempban/tempmute/tempwarn.notify
By default the user will be able to punish an infinite amount of time if he has the perms to use the command.
You can set the max-punishment-time with ab.tempban/tempmute/tempwarn.dur.X
In the config, there is a section called "TempPerms".
There you can configure how long which ID will be able to punish
for example, you set
the player with the perms ab.tempban.dur.1 will only be able to ban 3600s -> 1h
The amount is entered in SEC and if a player has more than one perms the higher numbers override.
There is a second explanation in the config.yml.
/unban /unmute [PLAYER]
Unban/mute a player
To use the command - ab.ban/mute.undo
Delete a warn
To use the command - ab.warn.undo
Delete a punishment
To use the command - ab.all.undo
See your own or a player's warnings.
To see your own warns - ab.warns.own
To see your others' warns - ab.warns.other
Get player-status: UUID/IP/Country/Ban-Status/Mute-Status/Warn-Count
To use the command - ab.check
To see the players ip - ab.check.ip
See all currently active punishments
To use the command - ab.banlist
/history [PLAYER] <PAGE>
See all currently active punishments
To use the command - ab.history
Reloads the messages from file and "some" settings
To use the command - ab.reload
Shows a list of all commands and a brief explanation
To use the command - ab.help
Displays some System-Information which are useful for the configuration
To use the command - ab.systemprefs
NOTE: If you use the plugin as a BungeeCord-Plugin please remember that you need to enter the perms in the config.yml of the bungeecord server and not on the separate bukkit/spigot servers.
Permissions Example Bungeecord [config.yml in the BungeeFolder]:
Tempban with Message-Layout:
Check: [No country because it's a localhost-ip]
The config.yml should be self-explaining and there are also explanations in the config.yml
Code (Text):# AdvancedBan v2 - Coded by Leoko
# For each setting there is a small description
# please read it carefully before changing anything
# For more information visit: https://www.spigotmc.org/resources/advancedban.8695/
# Do you want your own Plugin or Website, check out our Dev-Page: http://dev.skamps.eu
# If set to false all bans will be saved locally in the data.yml
# Set to false if you want to have only short messages in the console
# on startup and on the shutdown.
# Change this if your server has a different time that your users.
# eg.: ServerTime: 16:43 | Your Time: 13:43 | TimeDiff has to be set to -3
# You can check the server time with /systemPerfs
# This commands will be disabled for muted players
# A player woun't be able to bypass with eg "/minectaft:me"
# The date-format which will be used for the %DATE% variable
# If you use extern REST-APIs they will have to response in JSON
# The given APIs will only be used for NAME -> UUID
# For UUID -> NAME will either the official MojangAPI or the InternFetcher be used!
# To check if you can use the intern fetcher do /systemPerfs and compare your uuid
# to the one you can see online on http://NamesMC.com
# if they are similar we recommend using the InternFetcher
# Disable for cracked servers
# This are the commands that will be performed on warns
# If you skip a number the command from before will be performed
# You can also use not-AdvancedBan-Commands like 'broadcast' or 'clear %PLAYER%'
# Variables: %PLAYER%, %REASON%, %COUNT%
3: "kick %PLAYER% &c&oYou received the 3th warning!"
4: "tempban %PLAYER% 30m &c&oYou receivedthe 4th warning!"
5: "tempban %PLAYER% 5h &c&oYou receivedthe 5th warning!"
6: "tempban %PLAYER% 7d &c&oYou receivedthe 6th warning!"
7: "tempban %PLAYER% 1mo &c&oYou received the %COUNT%th warning!"
10: "ban %PLAYER% &c&oYou received the 10th warning!"
# Here you can create permission-nodes for max-punishment-duration.
# The permission "ab.tempban.dur.1" would allow the player to ban max. for 600sec = 10min
# The permission "ab.tempwarn.dur.2" would allow the player to warn max. for 3600sec = 1h
# You can only create up to 10 perms. The perms can be overridden with "ab.COMMAND.dur.max"
Here you can enter your MySQL-Data if you have enabled MySQL in the config.yml
Here you can change every message. All Message-Variables that are available are used in the default-settings.
Here you can define predefined reasons which can be used for (temp-)banning/muting/warning & kicking.
You can use them by just typing @LAYOUT-NAME instead of the reason. So you can have different layouts with different information for different reasons.
And once you have defined them you done have to type the whole reason.
Here you can define timelayouts which can be used for temporary-punishments.
You can use them by just typing #LAYOUT-NAME instead of the duration. The time increases every time a player gets punished with the same layout.
Code (Text):# The default layouts are in the Message.yml file!
# Message-Layouts can not only be used for bans but also for mutes and warns
# Varibales: %OPERATOR%, %REASON%, %PREFIX%, %DURATION%
# For warns you have also the variable %COUNT% which will be
# replaced with the current amount of warns the player already resived
# Example usage: /ban Leoko @ExampleLayout
- '%PREFIX% &7Banned for Hacking'
- '&c&oBannd by %OPERATOR%'
- "&cIt seems like you are using a"
- "&chacked client please disabled it!"
- "&cUnban in &8\xbb &7%DURATION%"
- '&8Unban application in TS or forum'
- "&eTS-Ip &8\xbb &c&ncoming soon"
- "&eForum &8\xbb &c&ncoming soon"
# You would use this time-layout for example like this: "/tempban Leoko #ExampleLayout Hacking in FFA"
# Or with "/tempwarn Leoko #ExampleLayout Advertising" or with "/tempwarn Leoko #ExampleLayout No capslock please"
# You can also combine this with MessageLayouts like "/tempban Leoko #ExampleLayout @Hacking"
- Ban-, Kick-, Mute- and Warn-System
- BungeeCord & Bukkit/Spigot-Plugin in one
- Easy to use API
- Intern or Extern UUID-Fetcher
- Backup-UUID-Fetcher if Mojang-Servers are offline
- Change UUID-Fetcher REST-API
- MySQL or File
- Full costumizeable
- Multiple lines in Kick- and Ban-Messages
- Pre-Defined Reasons
- Automatic time calculation [1th-tempban -> 1h | 2th-tempban -> 6h ...]
- Custome Time-Offset [Change the timezone if the server has a wrong time]
- Automatic-Warn actions
- Check-Command [UUID, IP, COUNTRY, BAN/MUTE/WARNS]
If you have made one just send me the link per PM.
A webserver is not required
- AdvancedBan version 2.0.0 or higher
- MySQL-Server that is reachable from outside (not just localhost)
- Enabled MySQL not file
The webpanel is not something to download like the first one.
It's a website where you can register your server and the website will generate your own banpanel.
Also the panel does only display things it is not for administration just for monitoring.
BPlaced is not working
Here is a live DEMO:
- Secure login-system (sha1 & no-SQLInjections)
- Mobile optimized
- Flat design
- Own subdomain [NAME.banpanel.eu]
- Own messages & design [coming soon]
- Able to integrate into your webside
Thanks to @mathhulk there is a web interface which you can download and place on your own WebServer this can be great if...
... your MySQL is only accessible for localhost
... you want to make major changes in the layout
This web interface does not include all features listed above, like the player-search or advanced mobile optimization.
Finally please note that all credits of this web interface got to @mathhulk and that we won't provide any support for it.
I don NOT vouch for the security of this web panel!
If you have any more ideas feel free to PM me or post them into the discuss area
- AutoMute/Warn for spamming , advertising, blocked-words
- /ipban Aliases on BungeeCord
- Ability to display the Punishment ID in the Ban-Screen
- Level Based Exempt-Perms (e.g. Mods can't ban an Admin but the Owner will be abel to ban an Admin)
- Silent-Mode (-s)
- ID-Variable for bans / kicks / mutes in banlist & check
- /alt <NAME> - ip lookup for different accs with the same ip
- /check also shows online time
- /check also shows punishment-reason
- Command to edit a ban /editban [player] [newtime] [newreason]
- /notify - to toggle notifications
- disable mute- & warn- & kick-command
- History clear
- Old name lookup based on UUID
- Warning if a different player joins with the same IP [Doubble account]
- Custom commands on kick / ban / mute / warn
If you have any problems with the Plugin make sure the first check the console for any error messages with instructions how to solve the issue and to read the Known-Issues-Section below
If you still have the problem you just post your problem into the discuss area or on GitHub
5 Downloads ✔
10 Downloads ✔
50 Downloads ✔
100 Downloads ✔
250 Downloads ✔
500 Downloads ✔
1000 Downloads ✔
10000 Downloads ✔
25000 Downloads ✔
50000 Downloads ✘
75000 Downloads ✘
100000 Downloads ✘
If you have any ideas for plugins you can tell me them per PM
The new Version of AdvancedBan was a lot of work for and I spend a lot of time and efford on it.
So if you aprecheate my work I'd be very thankfull aout every donation ^^
MC-Stats is a public Stats-System that traces information about your server
eg. Player, Bit-System, MC-Version, Server-System ect.
More information about MC-Stats can be found here: http:mcstats.org/learn-more/
My MCStats page: http:mcstats.org/plugin/AdvancedBan
How to disable this?
More information about this on the official MCStast page.
Beside McStats there is also my private data collection RestAPI which does only track your player count of online players each 15min.
Also, there is an update checker which connects to my web server to check what the current Version of this resource is.
- By downloading and installing the plugin you agree to this kind of data collection
- By checking the current version or reporting the player count your IP address is automatically logged by the web server
- None of this can be disabled
- I've no interest in doing anything bad with your data it just helps me to see how many people actually use my plugin and it helps you to always keep up to date ;D
FAQ / Known Issues
To use the API just add the AdvnacedBan.jar to your BuildPath and as a depency in your Plugin.yml
You can use this API in Bukkit/Spigot-Plugins but also in Bungee-Plugins.
The API-Methods can be accessed trough PuishmentManager.get()
Here are the correnty availbable methods:
//To get a PlayerUUID use:
// Returns a list of active punishments
// checkExpired - If it should check for expired punishments & remove them | should be on true
PunishmentManager.get().getPunishments(uuid, type, current);
// Returns a list of Punishments
// uuid - Players uuid | null = all players
// type - Type of the punishemtn PunishmentType-Enum | null = all types
// current - If only currently active punishemnts should be displaid | true = currently active | false = all
PunishmentManager.get().getPunishments(UUIDManager.get().getUUID("Leoko"), PunishmentType.WARNING, true);
// Would return all active Warnings for the player Leoko
// Returns a Punishment of the type Ban, IPBan or Tempban | returns null if player is not banned
// Returns a Punishment of the type Mute or Tempmute | returns null if player is not muted
// Returns a Punishment of the type Warn or Tempwarn | returns null if there is no warn with that id
// Returns wether a player is banned or muted
// Returns the count of a players current warnings
//Create a new Punishment:
new Punishment(name, uuid, reason, operator, type, start, end, clculation, id).create();
// name - The users name
// uuid - The users uuid
// reason - The punishment reason | Can be null or a layout like "#LayoutName" or a basic reason "Hacking in FFA"
// operator - The one who banned | You can just use "CONSOLE"
// type - The Type of the Punishment from the PunishmentType-Enum
// start - The current time | use TimeManager.getTime()
// end - The end of the punishment | -1 for perma or TimeManager.getTime() + millisecs for temp
// calculation - TimeLayout | Can just be set to null
// id - has to be set to -1
AdvancedBan is a ban plugin for singel servers and server networks with a great looking ban message