Sneaker
Sneaker - Now for 1.6.X & 1.7.X!
This server plugin will allow for the name-tags above players' heads to vanish. Well not entirely, but you can only be seen by another player if you have a direct line of sight to him/her, you are withing a few blocks, and there are no walls between you. You will appear to other players as if you are sneaking, yet be able to move at the normal speed of walking or running and also be able to jump. This means if you are outside someone's house or in a cave, nobody will know you are there because they wont be able to see your name-tag. No name tags!
Features
- Effectively hide your name-tag from others
- Can be hidden using a command, or automatically when you enter a certain light level
- Torches break when hit with an arrow (configurable)
Usage
- /sneak This will toggle whether or not you yourself are sneaking
- /forbidsneak <Player Name> This will not allow the player to use sneak at all. Overrides permissions, not able to auto-sneak, not able to use /sneak, not able to sneak in dim light.
- /allowsneak <Player Name> This will undo what /forbidsneak does to a player
Permissions
- sneaker.sneak for /sneak
- sneaker.forbid.sneak for /forbidsneak
- sneaker.allow.sneak for /allowsneak
Plans
- Anything you suggest
Config:
#set this to true if you want everybody who logs into your server to be sneaking auto-sneak-all: false #set this to true if you want everybody to be able to use /sneak sneak-allowed-for-all: false #set this to true of you want torches to break when hit with an arrow arrows-break-torches: true #At what light level and lower would you like players to automatically sneak? set to -1 to disable sneak-at-light-level: 5 #Set false to disable the messages show-message-when-sneaking-in-dark: true #A list of players who cannot /sneak. Overrides permissions forbidden-to-sneak: - Username
sneak-at-light-level is definitely not working in 1.5.2 server.
It seems that the level stays at 5 no matter what I put in the config. Perhaps the java error is stopping code from being run stopping the variable from being picked up properly?
Would love to see this plugin working 100%, it definitely the best sneak plugin available.
We are waiting :-)
I have been very busy lately so I haven't been keeping my plugins up-to-date. As far as I know, this plugin still works even though it hasn't been updated. The only issue is the errors spammed onto the console which is just annoying. I will try to make time to fix this in a few weeks once I'm done with graduation and my schedule frees up. Until then, thank you for using my plugin.
Troy
This is the best plugin ever. I say this because the idea is so simple it should be built into a core plugin such as essentials. Thank you thank you.
I am getting a LOT of errors in console though. http://pastie.org/7745159
@bratpitt
That was probably the MOST helpful link anyone has ever posted for a bug report lol Thank You! I have looked into it and i have NO clue why it does that. I think the redstone provides light in the air blocks but doesn't technically light up the blocks you are on which would be the problem. I can't think of a way to fix this if it is the problem tough. And ignore the error on the console, Its just a bug that it shows all those errors, but doesn't actually do anything negative except spam the console. When I have more time I will fix the minor bugs in this plugin and try to fix the redstone thing.
Strange, for test purpose I started a new clean local server with only your plug-in.
Result is not hidden when light comes from red stone torch, and level is set to 8.
Here is link that shows it.link...
@bratpitt
Well 1.4.7 plugin is compatible with 1.5.1 I just checked. I'm not sure what the problem is. are you using version 1.2 or 1.2.1
Hi
Yes at loggin it says your sneaking. I missunderstod auto-sneak-all, well i disable it now, but same issue.
Craftbukkit: 1.5.1-R0.1 Plugins: Extrahardmode,Griefprevention.
Oh its for 1.4.7, well that could explain why its broken. :)
@bratpitt
What version are you using? Because if you have auto-sneak-all: true then people should automatically be sneaking when they join your server and light levels should not matter. When you log in does it say "you are auto-sneaking"?
auto-sneak-all: true sneak-at-light-level: 8
Made a long digged tunnel redtourch on wall every 5 block. Result is no auto sneaking.
Digged a hole 1x1 put block above head result "your now hidden", placed redtourch result "not longer hidden".
So something is not right i think.
Would love if this plugin also had the option in config to enable movement penalty like "no run when sneak", for who can run in darkness?
@bratpitt
If you set it to 8 then they should automatically sneak when they enter light level 8 or lower. Are you saying they don't?
Love this plugin, but log is litle spammed with error, no crashes.
One Question, if i set sneak-at-light-level 8 shoulden player be able to sneak in mines lighten with red tourches that has luminance 7? Dosent work even if i set 8.
@Curttron
Unfortunately not. You cannot simply remove the name tag without a server mod. Even then it would be hard. A plugin definitely can't.
Can you make it so other players don't actually look like they're sneaking, but only have their name effected? (Like, not have the actual sneak animation happen) It makes my server look like a server of hunchbacks, but the name not being able to be seen through walls helps a lot.
@crumpins
I am aware of this bug now and it will be removed next update.
@Tstop
Awesome! Its working now but every so often I'm getting spammed with an error, no crashes though.
http://pastebin.com/zH8TduNd
@crumpins
I will look into this
EDIT: I think I fixed it actually
I'm unable to get the plugin to start as I keep getting errors about an Unsupported major.minor version 51.0
Here is the pastebin of the entire error as well as the version of bukkit my server is running at the bottom.
http://pastebin.com/Kh7CF2CN
@matthiasvd2
Yeah, I know. No matter what I do I can't get them working yet. They are under the Images tab though.
Screenshots are failed :(