MaxBans Plus
MaxBans Plus
Urgent Notice
I have been accused of writing a malicious plugin. Since all of my comments are now being marked as Spam, I'm placing this to show I've been falsely accused.
Kingie07Gaming's comment:
DO NOT USE THIS PLUGIN! V2 HAS MALWARE! REMOVE IT ASAP IF YOU HAVE IT INSTALLED
Here's my response:
False positive detected because Antlr is included as a Hibernate dependency (MaxBans Plus depends on Hibernate). I'm told the next update will disable the false positive. Link https://github.com/OpticFusion1/MCAntiMalware/issues/376.
This is a shame and I'm quite frustrated because of it:
- I have had my plugin scanned for potentially malicious code by a tool someone wrote
- A very quick check of my source code shows why: Hibernate depends on Antlr, and Antlr trips the malicious code warning
- Not even an actual positive, just a warning
- I have had my Spigot plugin removed, without so much as a notification email
- I have had my Spigot account banned
- Without any notification
- Without any process for appeal other than 'email us'
- On the word of an amateur accusing half the plugin base of being malicious
- Notifications have been sent to anyone who starred my plugin, accusing the plugin of being malicious. This really bashes my reputability and I highly doubt Spigot will be publishing a notification declaring my innocence when the newest version of MCAntiMalware declares my plugin safe.
This is not fair.
Anyhow: if you don't trust me and want to use the plugin anyway, compile it yourself from GitHub. The source code is all there. https://github.com/netherfoam/MaxBans-Plus
Thanks for understanding.
Furthermore, I'm now being declared to be spamming my own plugin page. Can you imagine?
Welcome to MaxBans Plus. This is a rewrite of the original MaxBans project, which is still available here.
If you've got questions or feel that I've missed anything, feel free to raise an issue through the GitHub Interface. If you're looking for documentation, check out the GitHub Wiki. it might be able to help you with:
- Commands
- Configuration
- Permissions
Notice: This is not MaxBans, this is MaxBans Plus -- it is a rewrite of the original project. If you want the old project maintained by Fabio12, check it out here.
Documentation
Here's a brief overview of the usage of the plugin
Installation
The short version of installing the plugin is like so:
- Download the JAR from here
- Place the JAR in plugins/
- Start your server
- Optional:
- Stop the server
- Edit the config files in plugins/MaxBansPlus/
The configuration explanation can be found here.
Commands
These are the commands available to anyone with permission. The permission convention is maxbans.COMMAND_NAME. For example, to allow a user to unmute someone, it's maxbans.unmute.
Here's the most common commands you'll be using:
- /ban [duration] [message]
- /mute [duration] [message]
- /ipban <user|address> [duration] [message]
- /ipmute <user|address> [duration] [message]
- /warn [message]
- /unban <user|address>
- /unmute <user|address>
- /kick [message]
- /iplookup
- /lockdown <ALL|JOIN|NEW|OFF> [message]
- /history [page] [user]
Note: Arguments inside <> are required, while ones outside [] are optional.
Examples
Some examples of the above commands:
- /ban Merlin 5 hours Wizards are not allowed
- /mute Harry Silencio!
- /ipban Circe No witches, either!
- /warn Witch You look like a witch!
Permissions
Here's a comprehensive list of permissions:
Permission | Description |
---|---|
maxbans.ban | Ban and unban commands |
maxbans.mute | Mute and unmute commands |
maxbans.ipban | IP ban command |
maxbans.ipmute | IP mute command |
maxbans.warn | Warn command |
maxbans.kick | Kick command |
maxbans.iplookup | Lookup command |
maxbans.broadcast | See broadcast messages, eg. User was banned. This is given by default. |
maxbans.mod | See alerts when players try to join / chat but are denied because they're not allowed to |
maxbans.silent | See when players use silent maxbans commands. |
maxbans.history |
View recent punishments dealt |
Notifications
MaxBans will notify you when things occur via chat. There are three types of permissions to control this:
Broadcast: maxbans.broadcast is the permission node required to see server-wide messages from MaxBans. For example, if a user was banned, everyone with this permission who is currently online will be told that the user was banned. Broadcasting can be disabled by using the -s (s for silent) flag in your command. This is given to players by default, but can be taken away through permission setup.
Silent: maxbans.silent is the permission node required to see hidden messages whenever a command with -s is run. Moderators usually want this.
Mod: maxbans.mod is the permission to alert moderators when activity occurs on the server. For example, it will notify moderators when a banned player tries to join, or when a muted player tries to chat. This does its best not to spam moderators, and discards similar messages which are generated frequently.
Privacy Notice: This plugin uses bStats to track plugin metrics over here at https://bstats.org/plugin/bukkit/MaxBansPlus - The standard information is tracked (geography, mode, version, system specs) as well as activity (bans, mutes, warnings, kicks) and the locale used. This can be disabled by configuring plugins/bStats/config.yml
Great plugin, I've used it for years and then decided to switch to LiteBans. (Not sure why I switched, now that I think about it.)
It's a shame that people think there's malicious code, just because Spigot falsely deleting the plugin, and banning your account. This is an amazing plugin, and I highly fricken doubt you'd purposely release a jar that contains malware.
Right, so I've spoken with OpticFusion over at Spigot. The actual plugin had a false positive due to Hibernate including Antlr as a dependency. OpticFusion has informed me that my Spigot account has been breached that a malicious version had also been uploaded to Spigot. So there's likely a malicious version out there that was uploaded to Spigot in the past. This'll only affect anyone downloading the plugin from Spigot. If you've used the Spigot version and updated between March-2021 and April-2021, follow the instructions here: https://www.spigotmc.org/threads/be-careful-compromised-spigot-accounts-might-be-posting-plugin-updates-with-malware.496738/
The Bukkit version is safe (has been always) since Bukkit uses Twitch and that enforces 2FA.
In reply to netherfoam:
Well, that's definitely interesting, and a shame that you have to deal with this.
DO NOT USE THIS PLUGIN! V2 HAS MALWARE! REMOVE IT ASAP IF YOU HAVE IT INSTALLED
In reply to Kingie07Gaming:
Since Bukkit won't allow me to respond to your comment with links, read the plugin description.
This resource was deleted on spigotmc.org with the reason: "Malware in version 2.0, remove immediately". Please, fix this, because now I am scared to use your resource.
Image to explain what I am talking about:
(3rd from the top in message box)
In reply to namerpro:
Thanks for letting me know. I've replied to Kingie07Gaming about it to explain the situation.
I would like to be able to replace / tempban with / tban or change / ban to / pban but otherwise it's the best ban plugin I've ever had
I don't know how to add permissions on my server and therefore can't kick or ban anyone. How do I get permissions.
In reply to elixzr_end:
To give yourself all permissions on your own server, go to your console and do
If you want to customize your permissions more, I recommend using a plugin like LuckPerms.
how do i give myself perms im the owner of the server
In reply to chrisyp00p:
I've had the same problem
In reply to chrisyp00p:
To give yourself all permissions on your own server, go to your console and do
If you want to customize your permissions more, I recommend using a plugin like LuckPerms.
i try to ban someone for 1 minute but the plug-in say expires never.
the reason is '1m test'. he takes the time as a reason
In reply to BoemieGamesNL:
Add a space between 1 and m. Like "/ban netherfoam 1 m test" or "/ban netherfoam 1 minute test"
In reply to netherfoam:
okay tnx.
now i make a ban for 1 m test and he say "expired never " and no reason. but you can join the server before the minute is over.
In reply to BoemieGamesNL:
Try disabling all other plugins. And if that doesn't work, can you send me: A screenshot of the chat log in-game, the plugin version you're using and any messages that appear in console?
Hallo,
ich möchte folgendes tun, gibt es hierfür die Möglichkeit
- Zeitformat auf Deutsch umstellen
- Die eigenen Verwarnungen für Spieler sichtbar machen z.B. mit "/warns"
- Die Dauer für Verwarnungen verändern.
- Vielen Dank im Voraus -
Hi, When trying to mute players in minutes it just says it Expires: never and doesn't actually mute them? is there a way for me to fix this?
Hi, I have installed your plugin, but I saw that it is not possible to ban a "UUID" if the player is not on the server at that time, It is possible to implement the "UUID" ban even if the player is not present on the server ?
Otherwise the plugin is not useful, it often happens that some games have been damaged, but they are no longer on the server.