HeroSneak - The Auto Sneak plugin to hide your name! (v 1.2.4 )

HeroSneak allows players to persistently turn on "sneaking", making them appear to other players to be crouching and making their name transparent. This project was originally developed for the HeroCraft SMP server based on demand for a port of the "AutoSneak" hey0 plugin by SirApropos.

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!

Support for Permissions plugin, defining your own list of players or just using Server Ops

Doesn't interfere with the Minecraft sneak mechanic, which still allows players to slow their movement speed and not fall!

Installation

Download latest .ZIP archive from the link at the top Extract the archive into your plugins directory Open /plugins/HeroSneak/config.yml and configure to taste 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:

Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler Code: ##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.' permissions: sneak: - kaliven - bargraphics autosneak: - squallseed31 - kaliven - bargraphics ##permissions: Which permission system to use. "permissions" for Nijikokun's plugin; "config" to define your own permissions above; "ops" to only let server ops sneak; "none" to let everybody sneak! ##opsAutoSneak: For "permissions" permission system, decide whether or not users with '*' permissions should autosneak. For "ops" or "config", decide whether or not MC ops should autosneak. For "none", decide whether or not everyone should autosneak. ##timers: How often (in seconds) for each action to occur, set 0 to disable. ###refresh: How often sneak status should be refreshed (players who are not near you when you type /sneak won't see you sneaking unless you're refreshed) ###duration: How long sneak should last before being toggled off automatically ###cooldown: How long to wait after turning sneak on before it can be activated again options: timers: duration: 0 cooldown: 0 refresh: 5 permissions: config opsAutoSneak: false

Permissions

herosneak.sneak (Use /sneak to toggle sneaking status)

herosneak.auto (Sneak will automatically be set on login)

herosneak.exempt (User is exempt from cooldown/duration)

Version 1.2.4

Fixed/added Multi-World support lost on teleport

Version 1.2.3

Added "herosneak.off" permission to remove sneak upon world change if present

Version 1.2.2

Finally, at long last, fixed players losing sneak on teleport/respawn.

Version 1.2.1