AntiPub

Description
AntiPub is a light-weight, effective plugin dedicated to blocking un-wanted spam from your server's chat.
Disclaimer
Note: There's no way to prevent everything (yet); however, this should to block most of any issues that it is meant to. Any issues / errors left in the comments will be IGNORED. (See known issues for more information on properly reporting issues.)
Developers are people too, and although both of our time is quite precious, it would help tremendously to keep track of errors so they don't go unfixed. So, for both our sakes, report it correctly or forever let it go unfixed (which is a bad thing for me AND you!)
NEW: Mailing List
For immediate updates on the latest builds, as well as updates on progress of where the team is at on development, join the mailing list!
Features
- Immediately detects and takes action towards any unapproved URL's or IP's.
- Configurable exceptions to the built-in rules by command or manually in the config.yml.
Permissions
- antipub.* - Wildcard; Gives all permissions.
- antipub.admin - Synonymous to the wildcard permission.
- antipub.mod - Gives some permissions, such as: bypass, notify, help, and debug.
- antipub.bypass - Bypass checks for IPv4 and domains being posted in the chat.
- antipub.notify - Notifications of when a user is blocked, including Host/IP.
- antipub.reload - Reloads the configuration.
- antipub.toggle - Toggle values in the configuration.
- antipub.addx - Adds an exception in the configuration.
- antipub.remx - Removes an exception in the configuration.
- antipub.debug - Access the debug interface and its features.
Permissions Preview (v0.4)
- Development has not yet started on v0.4.
How To Install
- Download the latest build of AntiPub at the top right of this page.
- Place the downloaded *.jar into your server plugins folder.
- Optional: Configure the produced config.yml file inside of plugins\AntiPub. Some of these values can be changed from in-game.
Known Issues
- To review known issues, please consult: https://github.com/Wolfy9247/AntiPub/issues/
Upcoming Plans
- Fixing known issues.
- Updating code-base for changes in v0.4 that will include:
- Blocking of duplicate messages.
- Blocking of messages in between millisecond intervals to prevent flood.
- Other back-end changes.
FAQ (Frequently Asked Questions)
FAQ will be populated as questions are either asked and/or whenever it is deemed necessary as a general question.
- Q: Why is my console displaying the following after upgrading to v0.3.1?
[INFO] DataSourcePool autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20] [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader] [INFO] Entities enhanced[0] subclassed[1]
- Answer: This is caused by the plugin utilizing Bukkit's database, and is simply debug code that cannot be removed at this time. Sorry!
Statistics
To view more statistics information, visit http://mcstats.org/plugin/AntiPub.



-
View User Profile
-
Send Message
Posted Mar 5, 2014Serveur PvpFaction/MiniJeux/Vanilla ! [1.7.4]
-> RofreeCraft.whhosting.fr:25465 <- /!\ ACCEPTE LES CRACKS /!\-
View User Profile
-
Send Message
Posted Jun 26, 2013Seen this a few times while running this plugin:
http://pastebin.com/TQyZyNPW
Looks like at some point in the code, your doing a substring that somehow ended up as -1. Could you take a look and see if you can implement something to avoid/fix this.
-
View User Profile
-
Send Message
Posted May 17, 2013@shmkane
Hm, good suggestion! I think I'll look into adding a functionality similar to this soon.
-
View User Profile
-
Send Message
Posted May 5, 2013Here's a nifty idea for you, replace the Advertised IP address with &kIpAddress, so it's blurred out. OR, just replace it with your own server IP or a website like http://google.com.
It'll look pretty stupid on their half when it shows in chat:
"Join http://google.com/"
-
View User Profile
-
Send Message
Posted Apr 30, 2013Hi can you please add so that when Ips made of letters are blocked Example:
example.com
you see so its blocks letters please add this thanks
-
View User Profile
-
Send Message
Posted Apr 23, 2013@Soledge777 I've honestly been procrastinating lately. Rest assured, it'll be soon. I'm still unsure why you have the error constantly; however, the issue was identified and yes, it is already fixed in the next build whenever it's pushed out. I'll possibly do a smaller bug-fix build sometime.
@Mortalsinn 1. I'll look into solutions and try and get it into the next build.
2. If CommandBook has API I'll possibly be able to hook into it. Again, I'll look into it.
Thanks for your feedback!
-
View User Profile
-
Send Message
Posted Apr 22, 2013How is the build coming along? im still dealing with errors causing issues with the AsyncPlayerChatEvent
-
View User Profile
-
Send Message
Posted Apr 19, 2013Two things I noticed
1) people can put commas instead of periods like JOIN 192,168,1,1 like that and it will by pass the filter. Is there anyway to add some tolerance level with commas?
2) I use Commandbook to handle my /tells aka private messaging. Your plugin does not catch this. Anyway to catch this?
-
View User Profile
-
Send Message
Posted Apr 10, 2013@Mortalsinn
If you could please submit a bug report here I'd be glad to take a look at the error more in-depth.
If possible, please also include the action taken for the error to occur. Thanks.
-
View User Profile
-
Send Message
Posted Apr 9, 2013-
View User Profile
-
Send Message
Posted Apr 7, 2013@Soledge777
Ask, and you shall receive. v0.3.1 is currently in the approval queue.
-
View User Profile
-
Send Message
Posted Mar 21, 2013@Wolfy9247
Thanks for the update. hoping to have a feature rich 1.5.1 version soon =)
-
View User Profile
-
Send Message
Posted Mar 13, 2013@Soledge777
I'll be able to make a proper release closer to this weekend. It will have only the base features (adding/removing exceptions and filters are excluded for now). I've been on break all week, which means I've had insufficient access to anywhere I've been able to continue progress on it. Rest assured, it is currently about 90% there.
-
View User Profile
-
Send Message
Posted Mar 4, 2013@Wolfy9247
March 4th. Still waiting. my server depends on this plugin to not be bombarded with IP addresses!
-
View User Profile
-
Send Message
Posted Feb 25, 2013Projected ETA for AntiPub v0.3 is either this week or next week. I'm working hard to get out another release after a long hiatus.
-
View User Profile
-
Send Message
Posted Nov 26, 2012UPDATE PLEASE
-
View User Profile
-
Send Message
Posted Sep 11, 2012Please update! and also add what iProCombine said
-
View User Profile
-
Send Message
Posted Aug 20, 2012Please update we all love this plugin. When you update add /msg blocked ips and please make a option in config to allow certain urls like it could be:
-
View User Profile
-
Send Message
Posted Aug 6, 2012You need to update this plugin for 1.3.1 CraftBukkit and add a feature to filter all messages, like "/msg", hope you update and fix this error:
CraftBukkit Version:
git-Bukkit-1.2.5-R5.0-41-gd62c42c-b2312jnks (MC: 1.3.1) (Implementing API version 1.3.1-R0.1-SNAPSHOT)
Error:
2012-08-06 22:07:21 [WARNING] [AntiPub] "AntiPub v0.2.3" has registered a listener for org.bukkit.event.player.PlayerChatEvent on method "public void com.wolfy9247.AntiPub.AntiPubListener.onPlayerChat(org.bukkit.event.player.PlayerChatEvent)", but the event is Deprecated. Server performance will be affected; please notify the authors []. org.bukkit.plugin.AuthorNagException at org.bukkit.plugin.java.JavaPluginLoader.createRegisteredListeners(JavaPluginLoader.java:302) at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:507) at com.wolfy9247.AntiPub.Main.onEnable(Main.java:38) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:357) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:263) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:245) at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
-
View User Profile
-
Send Message
Posted May 26, 2012Not work on 1.2.5-R2.0