Anti Glowstone Xray
Anti Glowstone Xray
This lightweight plugin fixes and prevents the exploit with glowstone that allows players to see through blocks. This prevents an unfair advantage commonly used in factions to find secret parts of bases or in survival to scout out caves. It can allow the exploiter to find minerals such as gold far faster than it would take them normally. Faction servers can benefit from this too, as secret parts of bases will actually be hidden.
How it works
A check is run every 25 ticks on each player to check if there is a glowstone/TnT/Redstone Block 1 block above them (their head). If a player has glowstone a block above them, they will be killed to prevent the player from cheating.
Installation
ticks: the amount of tick before the server checks for player punishment: Blindness or death to the player that uses the exploit
No more of this!

As you can see by the picture, I found a dungeon and a large cave system with gold. Players will no longer be able to cheat their way to wealthiness.
-
View User Profile
-
Send Message
Posted Nov 17, 2013not working (latest)
You forgot ".AntiGlowstoneXray" in your main (plugin.yml
-
View User Profile
-
Send Message
Posted Oct 25, 2013This plugin can makes server lag with a lot of players online?
-
View User Profile
-
Send Message
Posted Oct 24, 2013@BillyGalbreath
Thanks for the idea, I'll implement this
-
View User Profile
-
Send Message
Posted Oct 24, 2013@ct63960
@CommodoreAlpha
I make blindness a different option
-
View User Profile
-
Send Message
Posted Oct 23, 2013Better idea: give blineness effect.
-
View User Profile
-
Send Message
Posted Oct 23, 2013Isn't instantly killing players a bit too harsh? I could imagine THIS being exploited to make insta-death piston traps. You could try a punishment based on running a command (basically, let another plugin deal the punishment). It would be more configurable that way without you actually having to add lots of configurability.
-
View User Profile
-
Send Message
Posted Oct 23, 2013Would be lovely if you included TNT and Redstone Blocks to this exploit fix. Also, could you make the task delay configurable? 25 ticks seems kinda high for small servers and too low for big servers. ;)
-
View User Profile
-
Send Message
Posted Oct 22, 2013@Maximvdw
@RemyPas
I think that this has to do with the older version. Ill update it now
-
View User Profile
-
Send Message
Posted Oct 14, 2013Same issue as below.
-
View User Profile
-
Send Message
Posted Oct 13, 2013I get this error: 2013-10-13 19:14:31 [SEVERE] Could not load 'plugins/AntiGlowstoneXray.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.ClassNotFoundException: com.gmail.birchyboy.s.AntiGlowstoneXray 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_6_R3.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_6_R3.PlayerList.<init>(PlayerList.java:56) at net.minecraft.server.v1_6_R3.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:107) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:393) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.ClassNotFoundException: com.gmail.birchyboy.s.AntiGlowstoneXray at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 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:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more
-
View User Profile
-
Send Message
Posted Oct 4, 2013@NinjaAssassin864
Thats what it does, you just read it wrong
-
View User Profile
-
Send Message
Posted Oct 4, 2013This is stupid though. 1 block above their head. What if your in the nether mining glowstone like most of the ppl do on my server. Then u will get killed for no reason. :/ Make change it to where they should be killed if the player is IN a block that can produce "xray"?
-
View User Profile
-
Send Message
Posted Sep 17, 2013@FireBreath15
I'll fix this
-
View User Profile
-
Send Message
Posted Sep 16, 2013Have a piston push you into TNT - you get the same issue. It also works with fences
-
View User Profile
-
Send Message
Posted Sep 12, 2013@orodai
No, that doesn't work with TNT when I tried
-
View User Profile
-
Send Message
Posted Sep 11, 2013Awesome but cant you still do ti with tnt blocks? I seem to remember pushing myself into tnt blocks and it working quite the same fashion though dangerous.