AutoSneak
AutoSneak- The Auto Sneak plugin to hide your name!
AutoSneak allows players to persistently turn on "sneaking", making them appear to other players to be crouching and making their name transparent. I'll carry this plugin upĀ²date, because HeroSneak is abandoned. The new version only works with TagAPI
Features
- Type /sneak to hide your name while still moving at full speed!
- Optionally specify a duration (in seconds) for how long the sneak should last, and a cooldown (in seconds) to prevent casting /sneak again too soon!
- Grant Autosneak permission to sneak automatically on login - great for maintaining stealth even through a disconnect!
- Use /sneak give [player] to let other people sneak.
- Support for Permissions plugin, defining your own list of players
- Doesn't interfere with the Minecraft sneak mechanic, which still allows players to slow their movement speed and not fall!
Installation
- Download latest .jar from this site
- Download TagAPI from BukkitDev
- Move both into your plugins directory
- Start server and edit the config.yml
- Save configuration file and reload your server
Configuration
config.yml
The config file contains default messages (use "&#" notation to define colors), options, and designated players to use sneak/autosneak (if not using the Permissions plugin).
This file is saved in the YAML format, so please be sure to maintain the formatting and change only the element values. It will be created automatically with default values if it doesn't exist.
Configuration Example:
##Set colors with &[0-F], so &7 would be grey messages: sneakOn: '&4You are now sneaking.' sneakOff: '&5You are no longer sneaking.' sneakCooldown: '&4You must wait <time> seconds before you may sneak again.' options: timers: duration: 0 cooldown: 0 refresh: 5
Permissions
autosneak.sneak (Use /sneak to toggle sneaking status)
autosneak.auto (Sneak will automatically be set on login)
autosneak.exempt (User is exempt from cooldown/duration)
autosneak.give (Force other ppl to sneak with /sneak give [player])
Source
I noticed that your person is constantly in sneak position. Is there a way to make it to where it only affects your name? and not your player?
@andrewkm
tried the thing that @SmashCraft said?
@manniL
Any ideas?
@andrewkm
Probably because you did not take away the auto sneak permissions - The op autosneak option is meant for servers without permission systems.
@andrewkm
Ill look :)
@manniL
Using 1.6.1 Upon joining as OP I am always auto sneaking.... anyway to change this? OPAutoSneak is false in config...
@ThisUsernameIsMine
It does if you are behind an obstacle :)
I was hoping to see my name disappear ;-(
Thanks though!
thank you a lot for this plugin! it is an essential feature for our server!
@HaydenCappadona
Forgot a : in the plugin.yml
If you don't want to wait till the new version is approved just open it and place a : behind commands.
Version 1.6 error with CB 1.2.5-R1.0
18:01:29 [SEVERE] Could not load 'plugins\AutoSneak.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:203) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: while scanning a simple key in "<reader>", line 6, column 1: commands ^ could not found expected ':' in "<reader>", line 7, column 8: sneak: ^
at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:398) at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:229) at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:178) at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) at org.yaml.snakeyaml.Yaml.load(Yaml.java:411) at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:42) at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:198) ... 7 more
Plz fix :D Thanks for all your work on this plugin :D
New version waiting for approval
Hey, I love the plugin. It's great for PvP events. However I think I found a bug. When a player uses /sneak he will go into sneak mode. That's normal. but when he says /sneak off and it says "you are no longer sneaking", then he taps the sneak button (shift), he permanently enters sneak mode again.
This makes it very hard for players to use voxel sniper where, if you are sneaking, you will do a different function.
Thanks, keep up the awesome work -fros
I'll do ASAP, but my laptop is damaged ^^
In ~ 1 or 2 weeks I'll do!
@xbg101
Agree. Can you update this.
Hi, can you please update this to 1.2.5? I would really appreciate it, its the last addition for my hunger games server.
Same probleme here. Please Update
Using this for 1.2.4 and every time I type /sneak I get the message "You are no longer sneaking" I never get the message "You are now sneaking" also sometimes when I type /sneak I start sneaking but then shortly after I will stop sneaking.
if the players are near each other, the name appears while "sneaked"? because ...
no names = WHO THE HELL ARE YOU?
And anything about next update?
Please ignore this if it's already a feature (it's not listed) but it would be cool if attacking something would break sneak