Censorship IP
I'm so sorry to everyone who wants to use this plugin but I abandoned it's development. Plugin sources are available here. (Project is now Public Domain !)
cIP <small>by P_S</small>
Description
This plugin give you way to censorship IPs and web pages in your chat, on your signs and in your commands (/tell Come on [IP] ...). Plugin blocks IPs <small>(XXX.XXX.XXX.XXX / XXX.XXX.XXX.XXX:XXXXX)</small>, IPv6 IPs and domain-IPs (with web pages) <small>(XXXXXXXXX.XX / XXXXXXXXXX.XX:XXXXXX)</small>. Plugin replace IP with text which you can set in config file like lot of more settings like whitelist, ...
I hope you will choose my plugin :)
Ingame commands
- /cIP reload - Reload plugin config
- /cIP version - Shows plugin version
- /cIP config - Shows plugin loaded config
Permissions
- cIP.main - Main acces to plugin (reload, version, etc)
- cIP.bypass.IP - Bypass of IP censorship
- cIP.bypass.DomIP - Bypass of Domain IP censorship
Links
Development builds of this project can be acquired at the provided continuous integration server.These builds have not been approved by the BukkitDev staff. Use them at your own risk.
- CI - Page which contains development builds of this project ...
- How to use MySQL whitelist - Page which contains all information about MySQL whitelist ...
- Change Log - Page which contains all information about changes ...
- Domain extinsions - List of domain extinsions which plugin is able to detect ...
- Contact form - Page where you can send an email to me ...
- P_S, Bred02 - Servers - My web pages ...</small>
To do
- Add translations
Known bugs
- Feel free to report bugs ;)
Special thanks
- Marco / TheFarmerNL - Donation
- Bred02 - Translation into German
- Scruplup - Translation into Dutch
Available translations
- [EN] English - Default implemented to plugin - DL
- [CS] Czech - Implemented to plugin - DL
- [DE] German - Implemented to plugin - DL
- [NL] Dutch - Implemented to plugin - DL
![](http://metrics.griefcraft.com/signature/cip.png)
<small>
![Creative Commons License](http://i.creativecommons.org/l/by-nc-nd/3.0/88x31.png)
cIP by P_S is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.</small>
@sgcsim
thanks this works great :D
@levisn1 Hi, I'm so sorry in version 0.4.3 is bug "If player write more things then IP". Try use 0.5 Beta i fixed it. It's available http://ci.ps-bred02.eu/job/cIP/lastSuccessfulBuild/ ;)
im using the 0.4.3 on linux with java -version java version "1.7.0_10" Java(TM) SE Runtime Environment (build 1.7.0_10-b18) Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
04:10:19 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.6-R0.3-b2586jnks (MC: 1.4.6) (Implementing API version 1.4.6-R0.3)
04:10:36 [INFO] Plugins (37): AntiInvisible, WorldBorder, WorldEdit, NoCheatPlus, EpicBoss, SimpleFly, Simple-AutoSave, tce, Buycraft, ShowHeal, SaveItems, Vault, Multiverse-Core, PermissionsEx, CombatTag, WorldGuard, CasinoSlots, Parkour, cIP, AuthMe, ZombieSurvival, WhatIsIt, VirtualPlayers, ProtocolLib, StealthLogin, Essentials, KillsPay, floAuction, AntiCommandTab, EssentialsProtect, ServerSigns, EssentialsSpawn, PluginsBaker, EssentialsAntiBuild, iGates, EssentialsChat, Factions
Doesn't works if players try to spam a common ip or domain like mc.testserver.net..just the commands config and reload.../cip version doesn't works.
http://pastebin.com/ynxL33Bi
@seiterseiter Whitelist of IPs is aleardy done in beta of cIP 0.5. It's available on CI Jenkins [http://lab.ps-bred02.eu/]
Could you also make a exception in the config so we can set ips and domains that will not get blocked. like if the servers website.
@gv1222 Ok i can try add some more futures
@Dommbringer Try it on clean installed server on your PC if it will run ... it's your server problem
@sgcsim
its 0.4.2 yup :L still can't load
@sgcsim
Looking good, could you make it so that when somebody advertises you can run a command(s)? If it just changes the text it is pretty easy to get around it with signs, etc.
@Dommbringer And witch version you think whit latest ? If is it 0.4.2 I totally don't know why its do not load sry :(
@sgcsim
can't :P I was using the latest, still wouldn't even load
@Dommbringer Ok try install java if you can
or try install plugin from lastest build on www.ci.ps-bred02.eu
2012-12-25 18:34:15 [SEVERE] Could not load 'plugins/cIP.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/PS/cIP/cIP : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugins(CraftServer.java:235) at org.bukkit.craftbukkit.v1_4_6.CraftServer.<init>(CraftServer.java:213) at net.minecraft.server.v1_4_6.PlayerList.<init>(PlayerList.java:52) at net.minecraft.server.v1_4_6.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:104) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.UnsupportedClassVersionError: me/PS/cIP/cIP : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more
Running newest java 6 version of the plugin, but it is still trying to load as a java 7 plugin. ubuntu server running java 6, newest craftbukkit, but the problem is that even though I have the java 6 build of this plugin, it is still compiled in java 7. please fix :(
@levisn1 So try 0.4.1 then check your Java version and choose right version of plugin then try reinstall whole this plugin else report me your server version (Windows, Linux, ...) and server Java version ...
@sgcsim
0.4 still doesn't work in my server...people can spam without problems..
04:04:42 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.6-R0.1-7-g64fb12a-b2565jnks (MC: 1.4.6) (Implementing API version 1.4.6-R0.2-SNAPSHOT)
WorldBorder, PTweaksDEV, WorldEdit, NoCheatPlus, SimpleFly, tce, Buycraft, SaveItems, Vault, PermissionsEx, Multiverse-Core, CombatTag, WorldGuard, cIP, AuthMe, ZArena, AutoBroadcast, WhatIsIt, VirtualPlayers, StealthLogin, CleanroomGenerator, Essentials, KillsPay, floAuction, EssentialsProtect, EssentialsSpawn, EssentialsAntiBuild, EssentialsChat, Factions
I can do /cip config, so it is loaded, but people are still able to spam ip's
@levisn1 Try update cIp to 0.4-Beta. You can find it in my CI Jenkins and later in files.
06:27:36 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.5-R0.2-b2488jnks (MC: 1.4.5) (Implementing API version 1.4.5-R0.2)
In my server seems doesn't work, i can spam ip and domain this is my cfg.
#################################################
##---------------------------------------------##
##- Default configuration cIP plugin by P_S -##
##- www.ps-bred02.eu -##
##---------------------------------------------##
#################################################
###### Prefix for chat info
###### string with chat prefix (color codes are enabled)
###### default: '&f[&acIP&f]'
chatPrefix: '&4[&aAntiSpammoni&4]'
###### Text which replace IP
###### string with text replacement (color codes are enabled)
###### default: '&f(&cCensored&f)'
chatReplacement: '&4CENSURATO'
###### Replace numeric IP (XXX.XXX.XXX.XXX / XXX.XXX.XXX.XXX:XXXXX
###### false = disabled, true = enbaled
###### default: true
numericIP: true
###### Replace domain IP (xxxxxxxx.xx:XXXXX
###### false = disabled, true = enbaled
###### default: true
domainIP: true
###### Replace domain IP include no port (xxxxxxxx.xx
###### false = disabled, true = enbaled
###### default: true
domainIPNoPort: true
###### Replace domain with these domain name endings
###### string whit domain name endings separated with |
###### default: "com|org|net|co|cc|de|cz|eu|sk"
countryCodes: "com|org|net|co|cc|de|cz|eu|sk"
###### Plugin version | Provides info for plugin and auto update system
###### number string X.X.X
######
###### Do not edit !!!
######
version: 0.3
@TheFarmerNL Ok I'll add domain|ip whitelist in next release ;). Expect it in few days.
@seiterseiter
I don't exactly follow what you mean, but we might share the same idea.
It would be nice to add a domain whitelist in the config, so you can allow certain domains to be typed in chat (like the server's own IP or sub-IP's, or the website domain).
You should add a feature to the config that allows anyone to edit what can and cant be censored so like if you only want 1 kind of ip to be posted you delete that part out of the config but if someone starts advertising a server/link that is not stopped by the plugin the op could just edit the config with that ip but instead of using the ip you put "x" and "."
I have a request, maybe add it to where anyone with the permission node cIP.bypass can post links?