ChestFix
ChestFix
The Issue
Players can use a hack known as 'Freecamming' or use lag to break a wall and quickly access a Chest/Crafting Table/Furnace without actually being able to see it. It's quite common on my server and very annoying. An example of these griefers & hackers: here.
The Solution
This plugin stops players from interacting with blocks they aren't looking at. It allows additional blocks to be added to the config if necessary, and you can add any blocks I've missed that are partially transparent (Or whatever you wish to call it).
See it in action here: http://youtu.be/2Ci-FKQzJGs
Download
Sourcecode
Players with the permission node chestfix.notify will be notified whenever a player attempts to use an object they can't see.
Players with the permission node chestfix.bypass will be able to bypass this plugins protection.
It automatically protects:
- Chests
- Furnaces
- Cooking Furnaces
- Brewing Stands
- Dispensers
- JukeBoxes
And is configurable to protect more!
Checkout the config over here http://dev.bukkit.org/server-mods/chestfix/pages/config/
http://pastebin.com/6AjQzDdN
@xGh0sTkiLLeRx
Added the bypass permission :)
I've added it as a default to config.yml, I won't upload it til there's a reasonable change though :)
Can confirm that this works good.
Maybe add an enderchest (even if it's a personal chest, just to stop this hack) to the defaults.
Also the bypass permission isn't mentioned in the thread ;)
Still working great.
@noxturno
An update for what? It already works on the latest dev builds.
Need update please :) this is a must have
Its befen functioning perfectly on mine so far, may have to edit some of the transparent blocks but you can do that with the config anyway without having to update
Will you be updating this for 1.4.2? I have been using this on my servers and love it. Keeps some of the cheaters from cheating on our pvp servers.
@boardingamer
Thanks! :D
Alright that's good. I was just making sure because I will recomend this to people who run there own server. Great plugin!!
@boardingamer
Yes, I handle this appropriately from the start. The last person to make a plugin like this did that and was the reason I wrote my own.
I can't actually test this plugin since I don't have any free cam mods or what ever but I do have something to say that you may or may not have thought about.
You cant access a chest threw a wall because you aren't looking at it...but what if the player puts a chest down looks at that chest and then opens the other one they are trying to get into. going by what it looks like, it checks what block your looking at but does it check location of that block as well?
If this isn't a problem then sorry but if it is I hope you fix it :D
@Big
Ive coded my own fix for enderpearls and ncp fixes any clipping issues.
To do a permission system like that would just be to rewrite lwc etc so far as i know. Besides, my server is a pvp raiding server and we want people to be able to steal from others, but not glitch through walls and steal.
Wouldn't it be better to outright prevent them from using another player's chests/switches/buttons without permission, regardless of whether they can see it or not?
There are other cheats, for example standing on a player's roof and breaking the block under you until you fall through it (due to client/server latency), which would allow a player entry into a house he shouldn't be in. So he could still access the player's stuff that way. There are also the enderpearls, which permit a player to "walk through" a door due to a current bug, and also they generally allow players to fit through tiny openings that other players don't usually consider passable.
@LordKainzo
Okay, I've uploaded a new version with that fixed.
God that took me a while.
Ill look into it lord :)
@netherfoam
Thanks for that, you were right, Hawkeye failed to start.
Also - my players are getting the error mesage that they tried to look at achest but looked at STONE instead.
But here's my config
Is something making it send even though the message = false?
@dotapurex1
Screenshot how you did it, that bug report it totally useless
if a player is 4 blocks near a: Chests Furnaces Cooking Furnaces Brewing Stands Dispensers JukeBoxes then can still use freecam to open it... please fix
@LordKainzo
Your hawkeye is crashing. Same error for me whenever hawkeye can't connect.
Just disable hawkeye in the config.