Inactive [MISC] HeroSneak 1.2.4 - The Auto Sneak plugin to hide your name! [302~1337]

Discussion in 'Inactive/Unsupported Plugins' started by SquallSeeD31, Feb 19, 2011.

  1. Offline

    SquallSeeD31

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    HeroSneak - The Auto Sneak plugin to hide your name! (v1.2.4)
    Download HeroSneak 1.2.4 [CraftBukkit 561+]
    Download HeroSneak 1.0.4 [CraftBukkit 560-]
    Latest Jar Only
    Source


    COMPATIBILITY UPDATE: Due to recent changes in CraftBukkit version 561, all server admins upgrading to this version of CraftBukkit or higher will need to download HeroSneak 1.0.5 or higher. Server admins running CraftBukkit 560 and below should download HeroSneak 1.0.4, thank you for your understanding.

    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





    1. Download latest .ZIP archive from the link at the top
    2. Extract the archive into your plugins directory
    3. Open /plugins/HeroSneak/config.yml and configure to taste
    4. 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:
    Show Spoiler
    Code (Text):
    1.  
    2. ##Set colors with &[0-F], so &7 would be grey
    3. messages:
    4.     sneakOn: '&4You are now sneaking.'
    5.     sneakOff: '&5You are no longer sneaking.'
    6.     sneakCooldown: '&4You must wait <time> seconds before you may sneak again.'
    7. permissions:
    8.     sneak:
    9.     - kaliven
    10.     - bargraphics
    11.     autosneak:
    12.     - squallseed31
    13.     - kaliven
    14.     - bargraphics
    15. ##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!
    16. ##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.
    17. ##timers: How often (in seconds) for each action to occur, set 0 to disable.
    18. ###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)
    19. ###duration: How long sneak should last before being toggled off automatically
    20. ###cooldown: How long to wait after turning sneak on before it can be activated again
    21. options:
    22.     timers:
    23.         duration: 0
    24.         cooldown: 0
    25.         refresh: 5
    26.     permissions: config
    27.     opsAutoSneak: false
    28.  


    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)


    Changelog (Download Full Changelog)
    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
    • Fixed Permissions failsafe to not overwrite the permission system in config.yml
     
    kahlilnc and Phaedrus like this.
  2. Offline

    zingzam

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    cool but is there a way to make admins not sneak automatically ?
     
  3. Offline

    Snowl

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Clever :p It doesn't hide it completely but its still pretty cool :D
     
  4. Offline

    unrivaledneo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i was using vanish plugin for something like this which was pretty cool making a stealthy job but never worked gotta try this out.
     
  5. Offline

    SquallSeeD31

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Still trying to think of a good way to implement this option with the Permissions plugin. Most server admins grant themselves '*', which would naturally pass the "herosneak.auto" test, but may not necessarily want themselves to autosneak.

    I can't rely on them to be in ops.txt, so I can't just use the opsAutoSneak option to cover that.

    So I'm still thinking about it, but in the meantime, it may be easier to simply instruct admins to type /sneak once when they log in, and it'll turn it off.
     
  6. Offline

    Kainzo

    My BukkitDev Profile
    My Plugins (8)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yet another addition to our coding team! Hoorah!
     
  7. Offline

    SquallSeeD31

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Updated to 1.0.1 to remove the nag-message about using a stupidly-long constructor for later versions of CraftBukkit.
     
  8. Offline

    General_Zero

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Erm, the plugin isn't loading up.
     
  9. Offline

    SquallSeeD31

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Which version of HeroSneak, which version of CraftBukkit, and are you getting any error messages?
     
  10. Offline

    RagingMonocle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I am not using the permissions plugin.
    How do you configure it so everyone can use /sneak, and not only the ops without using permissions?
     
  11. Offline

    phaed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    link not working for me
     
  12. Offline

    SquallSeeD31

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hmm... is there any error message, or just 404?

    I was able to get it to work, but it's just a Dropbox. If I had better hosting available on the cheap, I'd use it. Either way, could you try again and let me know?
     
  13. Offline

    phaed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ah working now, thanks
     
  14. Offline

    Kainzo

    My BukkitDev Profile
    My Plugins (8)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Tested against build 432
     
  15. Offline

    Juze

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Done before, but this still seems great. Thanks for yet another useful plugin!
     
  16. Offline

    RagingMonocle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sorry for reposting, but I really want an answer :)

    I am not using the permissions plugin.
    How do you configure it so everyone can use /sneak, and not only the ops without using permissions?
     
  17. Offline

    SquallSeeD31

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sorry; I had seen that and meant to respond, but got busy outside of the Minecraft community. Interestingly enough, I had thought about whether or not a server admin would want to allow everyone to use /sneak, but I decided against explicit support because "they can just grant herosneak.sneak to default"... unless you don't use "Permissions".

    So I added support in v1.0.2 (compatible with 432!) for you to specify "none" as your "permissions:" in the config.yml (in the /plugins/HeroSneak directory), which will allow everyone to use /sneak. If you want them to autosneak on top of that, set "opsAutoSneak: true".
     
  18. Offline

    Marsunpaisti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    For some reason my config resets whenever I try to edit it
     
  19. Offline

    SquallSeeD31

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    When HeroSneak is enabled (either by starting the server or using the reload command), it loads all of its configuration variables into memory from the file. Then, it immediately saves the file with all the variables it just read. This is done so that if the admin doesn't have a config.yml, or if I add new configuration options in the future, default values will be saved to the file. If the option exists, its current value will be saved, so it is only overwriting the file with what's already there.

    So I guess it depends on when you're trying to edit the file. As long as you save the file before you start or reload the server, it should just read your file and save it as-is.
     
  20. Offline

    phondeux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm seeing the same thing;
    • Edit file prior to loading server, it resets itself to permissions: ops on server stop.
    • Edit file during server running, it resets itself to permissions: ops on server stop.
    Pretty much the config.yml is uneditable.
    craftbukkit build 439 and whatever build of HeroSneak is available up there.
     
  21. Offline

    Abrupt

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    you can make all users have sneak on by default, and a permissions value disables it.

    edit: shit, nevermind, will result in the same problem in reverse =/
     
  22. Offline

    SquallSeeD31

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    If the only value that gets reset is permissions:, that's actually intended as a safeguard to allow the plugin to load at all. What's happening is the Permissions plugin you're using isn't detected by HeroSneak, so it defaults to ops so it can continue loading.

    So if that's your issue, I'd recommend updating Permissions, or setting permissions: to "config" and setting it up manually via config.yml
     
  23. Offline

    RagingMonocle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    That's awesome. Thanks alot!
     
  24. Offline

    phondeux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm not using the Permissions plugin - I'm just using your plugin and want all players to be able to sneak by default. How do I do that in your configs Permission section, [*] instead of null?

    [edit] - Nope, that didn't work; it choked on the asterix. :(
     
  25. Offline

    SquallSeeD31

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    If you want everyone to be able to sneak, set options.permissions to "none". If you want everyone to also autosneak (be sneaking when they log in), set opsAutoSneak to "true"

    Code (Text):
    1. options:
    2.     refreshInterval: 5
    3.     permissions: none
    4.     opsAutoSneak: false
     
  26. Offline

    phondeux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm saying that doesn't work; your plugin resets permissions to Ops and nobody is able to use it.
     
  27. Offline

    SquallSeeD31

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sorry to ask so many questions, but which CraftBukkit build is this? I'm testing against 432, but I'm going to look into it deeper and see if I can figure out what--precisely--is causing the issue you're observing.
     
  28. Offline

    SquallSeeD31

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nevermind, I found it; download v1.0.3 and it should work just fine for you with the "none" permission.
     
  29. Offline

    phondeux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Whatever you did, solved it! Thank you!
     
  30. Offline

    AbNox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Could you possilby upload it for version 1.2 please ?
     

Share This Page