Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Sneaky

Sneaky is a small but versatile plugin that simply allows players to appear to be sneaking at all times, without having to hold down the sneaking key.

Many plugins offer a similar ability, but they may cause glitchy movement or trigger anti-cheating measures as they modify the player state on the server-side. To avoid these problems, Sneaky applies this effect on outgoing packets destined for each player, ensuring that any modification is purely a client-side illusion. This approach also permit us to selectively disable the sneaking effect, allowing (for instance) your operators or superusers to see through it completely.

Dependencies

This plugin requires ProtocolLib to function! Some features also require Vault.

Features

  • Toggle persistant sneaking on and off by calling /sneak
  • Operators can toggle the sneaking of other players by calling /sneak [player]
  • Operators are (by default) not affected by the sneak effect.
  • Set the maximum duration a player can be sneaking in a single go, and a cooldown time until the sneak command is available after a use.
  • Customize the duration and cooldown on a per player or per group basis. Requires Vault.

Commands

There is presently only one command - /sneak.

If no parameters are specified, the sneaking of the sender will be toggled provided the permission sneaky.sneak.self is set.

Operators, or players with the permission sneaky.sneak.other, can specify a player in the second parameter other than themselves. The last parameter sets the desired state - either on or off. If not included, the state will be toggled.

Permissions

Permission Description Default
sneaky.sneak.self Toggle automatic sneaking for your own player. false
sneaky.sneak.other Toggle automatic sneaking of other players. op
sneaky.hide.autosneak Whether or not to hide all automatic sneaking for this player. false
sneaky.exempt If set, the player is not bound by any cooldown or duration limit. op

It is also possible to customize the duration or cooldown of a player by setting the permission info nodes (see the documentation of your permission plugin of choice) sneaky_duration and sneaky_cooldown respectively.

For PermissionsEx, this can be done like so:

users:
  Player:
    group:
     - Members
    options:
      sneaky_duration: 15
      sneaky_cooldown: 5

Building

You can compile this project yourself by using the latest version of Maven.

About

A simple plugin that allows players to toggle automatic sneaking.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages