ToggleSneak
Toggle Sneak
IMPORTANT
The latest file (1.8+ compatible) was completely redone. I tried to make it as similar to the old versions as possible. If there are any things you would like me to change feel free to leave a comment or PM me.
New Development
I am currently working on a slightly larger project that includes toggle sneak, toggle fly, toggle run, etc.. Once it is released this plugin will be discontinued seeing as this plugin will merely be a feature in the other one.
Plugin Description
This plugin allows you to toggle sneaking on and off with one command. While your player appears to be sneaking to other players it can still move at the same pace as you would walk normally. This plugin is ideal for a hide and seek server, or a more realistic server. it is completely configurable and easy to use. If you have any suggestions please let me know, I would be willing to add in some new features if suggested. Any feedback would be greatly appreciated! Please Donate by clicking here :)
Command/Permission
Command | Description | Permission |
---|---|---|
sneak | Toggles sneaking on and off | - autosneak.cansneak |
sneak (playername) | Toggles sneaking on and off | - autosneak.cansneak.others |
It supports PermissionsEx (Testing other permission plugins)
Config:
The config file can be found here
Features:
- Single command use.
- Can toggle sneaking on for other players as well as yourself
Configurable messages.- Permissions compatible.
- Holds command on log out
To - Do:
- Add Configurable Messages
- Add Configurable Command
Hold sneaking after sneak button is pressed
Installation:
- Download Plugin
- Drag downloaded plugin into the plugins folder
- Reload/Restart the server
- Edit Config to your liking
- Donate :P
The Sneak function does not play well with Crackshot guns. When you have sneak installed you can not hold shift to stop the KB from your guns. This is normal for CS to use shift to stop Bullet recoil. Could you please allow us CS users to have compatibility. :)
@VenamousV
R: ToggleSneak V4.1
When you try and stack chest or put item frames on chest you pretty much have to turn sneak on. Its a bug with that build. I made a video if you dont get what I'm saying.
Example: place a double chest. Hold Shift to set a chest on top and it goes into your inventory and does not set the chest. You can get it to set with timing. All in all something is different on this build.
It would be nice when you /sneak, your name fades out like in vanilla minecraft
Fixed in the latest build, thanks
@FCAL
Sorry for the late reply, I have fixed the issue and now it works with the latest bukkit dev version, it is just waiting approval at the moment. Thank you for informing me of this problem!
Not working with: CraftBukkit version git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHOT)
I installed the plugin and added - autosneak.cansneak and - autosneak.cansneak.others to my PEX file.
Started server, Stopper Server, Restarted Server. When I run "sneak" from the console, it throws java exceptions.
>sneak
[12:46:19 WARN]: Unexpected exception while parsing console command "sneak"
org.bukkit.command.CommandException Unhandled exception executing command 'sneak' in plugin ToggleSneak v4.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit-1.7.9-R0.3-20140705.002733-4.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[craftbukkit-1.7.9-R0.3-20140705.002733-4.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:740) ~[craftbukkit-1.7.9-R0.3-20140705.002733-4.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchServerCommand(CraftServer.java:726) [craftbukkit-1.7.9-R0.3-20140705.002733-4.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
at net.minecraft.server.v1_7_R3.DedicatedServer.aB(DedicatedServer.java:296) [craftbukkit-1.7.9-R0.3-20140705.002733-4.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:261) [craftbukkit-1.7.9-R0.3-20140705.002733-4.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit-1.7.9-R0.3-20140705.002733-4.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit-1.7.9-R0.3-20140705.002733-4.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit-1.7.9-R0.3-20140705.002733-4.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
Caused by: java.lang.ClassCastException org.bukkit.craftbukkit.v1_7_R3.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
at com.TCStudios.toggleSneak.togglesneak.onCommand(togglesneak.java:153) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit-1.7.9-R0.3-20140705.002733-4.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks]
... 8 more
>
Not working for me. I'm using the most recent bukkit dev version. Everything is acting like it's ok, but /sneak only gives the info that it was turned on yet the player moves with the same speed.
@BloodFuryZombie
I have now made sneaking staying enabled even after logout part of the plugin
@Lord_Cuddles
I will work on that, thanks!
Does work well :)
Any way of disabling the feature that unsneaks you when you press the sneak button?
Thank you! You're a server style saver. I await your future updates such as keeping sneak on when you login. :D
Great work.
I would like to have auto sneaking under certain light level and a toggle for it
This feature is in Sneaker but config auto-sneak-all seems broken (already true even when config is false) http://dev.bukkit.org/bukkit-plugins/sneaker/
Thank you for your work :)
Thanks! Always searched for a way to disable those Playernames
Works great !!!
No features that I would like to be added, simple, and just works :)
BTW I'm using 1.6.2 and works just fine :)