[INACTIVE][FUN/ADMN] Spyer 1.5_1 - invisibility for moderating and pvp!(alternative to Vanish) SPOUT

Discussion in 'Inactive/Unsupported Plugins' started by nickguletskii, Feb 27, 2011.

  1. Offline



    Hotfixed SpyerFun on 16th of August. Version number of the jar didn't change. Fixed a bunch of bugs.
    SpyerFun - a plugin that allows playersto become invisible for some time. Each second the player "eats" one item out of the stack he is holding (hider item, sugar by default). While invisible, mob can and will still attack the player, although other players (exceptions are implemented) can not. The player will reappear when he either runs out of the hider item or switches to another item in his action bar, e.g. a sword.
    SpyerAdmin - a plugin that allows moderators to hide themselves for an unlimited amount of time, as well as simulating them leaving. This is a constantly updated alternative to Vanish, with much more features and configurations!
    Thanks to brafenschlug for this hilarious video of moderators playing pranks on players!

    • Now uses Spout! This plugin is no longer CPU heavy!
    • Allows players to become invisible for a set amount of time!
    • Adds more fun to PVP.
    • Allows administrators to hide themselves and simulate them quitting! Overrides msg,r and list.
    • Stops players from picking things up while using SpyerAdmin (see the configuration section)
    • Knocks players out from invisibility (SpyerFun) when they get damaged (see the configuration section)
    • Knocks players out from invisibility (SpyerFun) when they left-click a block (see the configuration section)
    • Now reload friendly!
    How to use (SpyerAdmin):
    • Use /spy to become and stop being invisible (toggled).
    • Use /quit to simulate you quitting/joining (toggled).
    • Place 1 piece of the indicator item into your quickbar. It will indicate if you are hidden or not. By default it is glowstone that turns into sulphur. You can configure that in plugins/Spyer/SpyerAdmin.conf.
    How to use (SpyerFun):
    • Right click with the "hider" item, every second it will eat up one item from the stack.
    • To add/change "hider" items, go to plugins/Spyer/items.yml. You'll see something like this:
      {352: 3000, 353: 1000}
      Items are separated by commas. The ID is the right value, and the time of usage (per block) in milliseconds(HAS to be dividable by 50!). So if I want to add clay to work for 10 seconds per piece, I will do something like
      {352: 3000, 353: 1000, 337: 10000}
      Note: by default, bones and sugar are used.
    Installation instructions, downloads:

    Install server-side Spout. No Spout client required.
    Extract the contents of the bundle(Spyer.zip) into the plugins folder.
    Bundle downloads:
    Download command line installer
    jars (open)

    Instructions for different setups:
    • Essentials: Download SpyerInstaller, put it in the server directory and run it from terminal(console). Go to configuration->4.
    • Vanilla Bukkit: go to (server directory)/plugins/Spyer. Open repo.conf, replace everything with
    • CommandBook: Special version for you! semi-direct Replace SpyerAdminConmmands.jar with this version!

    List of permissions:
    1. spyer.spy (Players who have this have access to the /spy and /quit commands, without permissions checks for op powers)
    2. spyer.seeAll (Players who have this can see people who are hidden, without permissions checks for op powers)
    3. spyer.fun (Players who have this can use SpyerFun, without permissions defaults to true)
    4. spyer.stopmobs.admin (Stops moderators from being attacked by mobs while hidden)
    5. spyer.stopmobs.fun (Stops players from being attacked by mobs while hidden)
    • spyer.yml - responsible for holding timing data. If syncWithScheduler is true, the plugin will use the bukkit's scheduler (recommended). If false, use Java timers. refreshRate defines the time in ticks (in milliseconds if syncWithScheduler = false). Add the optional field coolDown and set its value to your cooldown time in milliseconds (for SpyerFun, time in between invisibility uses). Add pickUp: true to allow picking up items while hidden in SpyerAdmin. To knock out people from SpyerFun when they damage an entity, add "onDamage: true". To knock out people from SpyerFun when they left click a block, add "onBlock: true". To stop invisible players (SpyerFun) from damaging other living entities, add "noDamage: true". Boolean "wait" allows/disallows the plugin to delay reloading to give them time to hide.
    • repo.conf - holds the url of the repository from which SpyerAdmin will update the script.
    • script.js - compatibility layer between plugins. e.g. Essentials script will simulate Essentials commands, Vanilla script will simulate the normal minecraft commands.
    • items.yml - holds the list of items used in SpyerFun
    • SpyerAdmin.conf - holds indicator item ids for SpyerAdmin
    Modifying scripts:
    1. Comment out all the lines in repo.conf.
    2. Modify the script.
    3. If you want to update the script, you can get it from [repopath]/script.js
    Version: v1.5_1

    Known issues
    • If you get a NullPointer when enabled (that contains something like "at nickguletskii200.SpyerAdmin.CustomHandling.<init>(Unknown Source)", then download this and put it into your jre's lib directory. You might also need to install Rhino. Disclaimer: this file is a part of the OpenJDK package.
    Changelog (open)

    Version 1.5
    • Migrated to Spout packet filtering. Timers are now only used for indicators(admin) and item deduction(fun). You can decrease the tick rate now if you want.
    • 1.5_1 Fixed the whole bundle. Nasty bug didn't appear in testing!
    Version 1.4
    • Separated SpyerAdmin into two modules.
    • July 17th - now using bukkit permissions API. Blind update. If you got this plugin before build 1000, then you have the old version. If you got it after build 1000, new version.
    Version 1.3
    • Made plugins reload friendly.
    • _1 Essentials 2.3 compatibility added through autoupdate.
    • _2 Fixed default item pickup. Now doesn't pick up items by default.
    • _3 Added noDamage property for SpyerFun.
    Version 1.2
    • Improved performance.
    • Added position checks.
    Version 1.1
    • Some little customisation upgrades.
    • Some hotfixes.
    • Improved SpyerFun's invisibility system.
    Version 1.0
    • Added mob targeting control.
    • Hotfix: fixed(hopefully) the log spam!
    • Small feature added (13/05/11): cooldown times for SpyerFun.
    Version 0.9
    • Permissions support!
    • Cleaned up code.
    Version 0.8
    • Added indicators.
    • You can now do /spy [on|off] to force.
    • Invisibility persists when you reconnect.
    • Fixed updater to work with Windows.
    • 0.8_1 fixed some problems with commands.
    • 0.8_2 major fixes.
    Version 0.7 (SpyerAdmin only for now)
    • Automatic script updating.
    • Better logging (will help me get rid of bugs) (coming soon)
    Version 0.6
    • Scripting support! That means no more compile-time library linking and more compatibility!
    • Multiple item support for SpyerFun added!
    Version 0.5
    • Added refreshrate and sync method variables. See the usage instructions to learn how to cofnigure them.
    Version 0.4

    • Extended functionality of /quit. Overrides msg and list commands of essentials.
    Version 0.3
    • A rewrite, separated packages. Hopefully removed all known bugs.
    • 0.3_1 Separated in-game configurations into another package.
    • 0.3_2 Fixed some bugs.
    • 0.3_21 Fixed some exceptions, small fix.
    Version 0.2
    • Shadow moderation ("addspy <player>" - allows player to hide with "spy" and "quit", "removespy <player>" - opposite. "addseeall <player>" - allows player to see hidden players, "removeseeall <player>" - oppiste. "spy" - hides you until called again. "quit" - hides and removes you from the list of players.
    • Click in the air now works
    • Migrated to SnakeYaml, no more jars!
    • 0.2_1 upgraded to remove double invisibility, quit now fully simulates player leaving.
    • 0.2_2 fixed player reappearing after "spying".
    • 0.2_3 huuuuuuuge bugfixes!
    • 0.2_4 fixed some bugs, one known: you have to say "/spy" twice to hide after using sugar/other hider item.
    Version 0.1
    • Release

    • Some technical cleanups
    • Suggest more!
    Credits (no particular order)
    These people helped me by posting a lot of descriptive bug reports, removing bugs from scripts, making videos, cooperating with debugging and helping other users understand my horrible documentation ;)
    • The PC Tech Guy
    • Sparx
    • Tim Yong
    • Greylocke
    • KevinHouse
    • aidan matzko
    • brafenschlug
    • Nelien
  2. Offline


    does this work with 1000?
  3. Offline


    Can you post a link for SpyerAdmin 1.4. I updated to 1.5 and it no longer works, I have installed Spout and all but still nothing, I would just like to revert back to 1.4
  4. Offline


    I tryed using
    - spyer.*
    - spyer.spy
    - spyer.seeAll
    - spyer.stopmods.admin

    And its still not working only ops can spy.
  5. Offline


    ^------- same
  6. Offline


    My SpyerAdmin.jar won't work :(
  7. Offline


    Are there any errors in the spyer.log? Do you use a Bukkit permissions compatible permissions plugin? Do you see "You are now invisible"?

    What permissions system do you use?
    Unfortunately, I don't have backups. Please help me find out the causes of the issues you are having. It is really hard to test on a computer with integrated graphics - I can barely run a single Minecraft instance.
    What permissions system do you use?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 17, 2016
  8. Offline


    groupmanager from essentials
  9. Offline


    Having a similar problem here with still being visible after doing /spy or /quit with 1.5. I have spout installed and I get all the usual in game messages when using the command. (I had no idea anything was wrong until I tried to sneak up on someone and got smacked with a pickaxe!) Nothing in the logs unfortunately to suggest why this is happening though.
  10. Offline


    can u make it so ops cant see u
    :) and can u make it so if u want to be hidden but not invisible
    u can type /hidename or /hidnam to hide your name and type it again
    to reappear your name :)
  11. Offline


    There is nothing unusual in the spyeradmin.log (sorry!)
    Yes, I am using PEX 1.13.
    I do see "You are now invisible"

    Silly part is that users decided not to tell my admin staff right away ..... sigh I tested personally and I saw em. Although one of my admins told me that while a user could see him another op without the permission to see invis ppl could NOT see him. Strange...

    I've verified all my permissions.... when I replaced the 1.5 files with 1.4 everything works again :S
  12. Offline


    Could you please upload a copy of your setup (permissions(groups, but not users) and Spyer)?
  13. Offline


    I use the same

    only ops are able to use the command, not moderators

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 17, 2016
  14. Offline


    Same. Derp derp.
  15. Offline



    @MJE I still can't replicate the issue. I tested with me and Player, me being the admin and Player being the player, everything works... Really weird.
  16. Offline


  17. Offline


    Hi your plugin looks sweet! thank you for sharing!
    Im having a little problem
    [INFO] SpyerAdmin has completed updating the script successfully.
    2011-08-24 10:22:13 [SEVERE] Error occurred while enabling SpyerAdminCommands v1.5 stable (Is it up to date?): null
        at nickguletskii200.SpyerAdmin.CustomHandling.<init>(Unknown Source)
        at nickguletskii200.SpyerAdmin.SpyerAdminCommands.onEnable(Unknown Source)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    I looked though the thread and didnt see a firm fix.
    Could you help me?
  18. Offline


    I'm getting the same problem as the other person. Everything is working fine, no errors, i'm getting the you are now invisible message. Players can still see me though :/ I have the latest recommended Spout.
  19. Offline


    Hmm I have to export my sql permissions out, funny thing is that with only changing the jar files it works fine with 1.4 but not with 1.5. (No permissions were harmed in this testing) :)
    Maybe it's the permissions mod I'm using. I will setup a quick server with just spyer and see what happens with the same permissions mod but using flat files instead of sql.
    I'll let ya know, thanks!
  20. Offline


    Sorry if I'm being dense, but .. the first thing I do when I want to download a plug-in is look for the big DOWNLOAD link. I did that .. and .. nothing happens. It just reloads this page.

    There are two download links (above) labelled "Download", and the other "Download command-line installer". I'm going to assume that's what I'm supposed to click on in order to download. Neither works for me. Both just take me back to this bukkit forum/thread.

    After more looking, I noticed a buton that says jars. Okay .. I'm not sure why it's hidden like that. 99% of the plug-in's that I download provide the .jar first - seems to be the easiest way to package the plug-in. Just download and save the .jar file directly in to the plug-in's folder and restart server. Poof - done.

    Now I'm confused because there are 3 .jar files to choose from.

    Do I need all 3? I just want to be able to go invisible as an admin. Simple. Doesn't seem to be any clear instructions on what do download.

    Thanks in advance.
  21. Offline


    now this is my issue lol
  22. Offline


    It is in the known issues section. Are you using CentOS/some BSD by any chance?
    Eeeh, could you please make me a copy of your configuration? Everything works fine on my testing server...
    That is weird... The download links work fine for me.
  23. Offline


    I'm using MineOS+ (Microcore)

    I installed rhino.jar
  24. Offline


  25. Offline


    Link to my files: <Edit by Moderator: Redacted mediafire url>
    Last edited by a moderator: Dec 15, 2016
  26. Offline


    Last edited by a moderator: Dec 15, 2016
  27. Offline


    this plugin is good i mean awesome but can u tell
    me how to make it so ops can't see u
  28. Offline


    Apparently users can see me, but with the default skin. No errors or anything.
  29. Offline


    I am going to throw an extremely stupid but logical fix. Every time I deny the sending of a packet, I send an entity destroy packet.

    EDIT: Wait, I see something fishy about my code...
    EDIT 2: Found it. Turns out my code is always throwing exceptions. Researching the cause. What confuses me the most is that it only doesn't work in some cases.
  30. Offline


    I use permissions 2.7 but presumably that doesn't matter because i'm op and admin so i get all commands?

    Worked fine before the spout version.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 17, 2016
  31. Offline


    Okay okay, I found the issue. It is fixed now, the fix will be deployed soon.

    Fix released!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 17, 2016

Share This Page