[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

    nickguletskii

    SPYER HAS A NEW HOME!

    WARNING! THIS PLUGIN REQUIRES SERVER SIDE SPOUT! CLIENTS DO NOT HAVE TO DOWNLOAD ANYTHING!
    WARNING! OLD PERMISSION SYSTEM IS NOT SUPPORTED! YOU WILL NEED A BUKKIT PERMISSIONS STANDARD COMPLIANT PERMISSIONS SYSTEM!
    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!

    Features:
    • 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:
      Code:
      {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
      Code:
      {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
    Download command line installer
    Github
    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
      Code:
      http://dl.dropbox.com/u/16258042/SpyerAdminRepos/Vanilla/
    • CommandBook: Special version for you! semi-direct Replace SpyerAdminConmmands.jar with this version!
    Configuring:

    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)
    Files:
    • 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



    TODO
    • 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

    nickguletskii

    I don't see the start. And please, do NOT give me screenshots of your terminal, copy the text!
    @PsychoRobot explained it pretty well, follow his instructions :)
    Then they are absolute idiots and you should install manually.
    Thank you for a detailed explanation :)
     
  3. Offline

    Lunar Delta

    I can't copy the text out of the McMyAdmin terminal, sorry. A screenshot will have to do, because I am not retyping the text word-for-word.

    Also, the beginning of the error is there. It's the "java.lang.numberformatexception" part. It begins with that line and just keeps looping and looping and looping.
     
  4. Offline

    orrico

    This suddenly stopped working for me. Tt says that i'm invisible but still people can see me :/ why?
     
  5. Offline

    Bivertz

    oh great.. '*' means they got all commands but if i use '-spyer.*' they dont got the spyer?? sry im really newbie to this xD one thing more... if i give them '*' can they then use "normal" admin commands?? or does i need something like commandbook =) and does they have to be in "ops"?
     
  6. Offline

    robbert

    when i try to hide with /spy the console says:
    TheOnEyedDude (<- me) attempred to hide.
    Build 953
    plugins:
    AlwaysSunshine, Blockdispenser, Craftbukkituptodate, essentials, essentialsSpawnFenceStack, MagicCarpet, PaintingSwitch, PortalStick, SpawnMob, Speedball, Spyer, Superpowers, ThunderTools, WorldEdit.
     
  7. Offline

    nickguletskii

    Aaah, check your configuration (regarding the indicator item).
    Incorrect configuration.
    That is correct.
     
  8. Offline

    robbert

    but it doesn't make me invincible :p, sorry forgot to add that :p. the most important part.
     
  9. Offline

    nickguletskii

    Check your configuration, again.
     
  10. Offline

    Psycho Robot

    the "normal" admin commands, known more commonly as op-commands, are only avaliable to people specified as op in op.txt. So if you want people to access those commands, but don't want to make them ops, you need to get a plugin which replicates those commands. Command book is a good bet, since it has lots of useful features as well. However there's also DefaultPermissions, which mimics the op-commands and nothing else. However it is not, as far as I know, compatible with this plugin, which is to say, people who use the DefaultPermissions /list command will see you listed as online even when you've "quit"
     
  11. Offline

    eagle198

    How do I use a permission node??
     
  12. Offline

    Psycho Robot

    Permission node refers to the Permissions plugin.
     
  13. Offline

    robbert

    ooo, i know what i did wrong. everybody is op. can i change that?
     
  14. Offline

    WhyYouEatMe

    Hey nickguletskii can I add this plugin to Clanforge. There is no plugin of this type on there from what I can find, and your's look's the most user friendly and contains what might be the best command ever made. faking that you left the game.
     
  15. Getting the following error:
    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'who' in plugin SpyerAdmin v1.3_2 stable
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchMethodError: nickguletskii200.SpyerAdmin.CustomHandling.who(Lorg/bukkit/command/CommandSender;)V
            at nickguletskii200.SpyerAdmin.SpyerAdmin.onCommand(Unknown Source)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    Looks to be conflicting with essentials.. any ideas?
     
  16. Offline

    MunsOsl

    Is there still a conflict with essentials?
     
  17. Offline

    nickguletskii

    Make sure you have both SpyerAdmin jars.
    There wasn't any in the first place.
     

  18. Okay, both jars in the plugins directory. I ran the installer from the server directory.. now I'm getting these errors:

    Code:
    2011-07-08 23:12:28 [SEVERE] Error occurred while enabling SpyerAdminCommands v1.4 stable (Is it up to date?): nickguletskii200.SpyerAdmin.SpyerAdmin cannot be cast to nickguletskii200.SpyerAdminShared.ISpyerAdmin
    java.lang.ClassCastException: nickguletskii200.SpyerAdmin.SpyerAdmin cannot be cast to nickguletskii200.SpyerAdminShared.ISpyerAdmin
        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:864)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:358)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:290)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Then when I use the /who or /list command from essentials, the console says this:

    Code:
    2011-07-08 23:12:53 [SEVERE] Exception caught in SpyerAdmin! Exception ID CMD1310191973655. Please upload spyeradmin.log and notify the author (nickguletskii200).
    This is the best plugin I've used on the server for spying, please make it work for me <:(
     
  19. Offline

    nickguletskii

    You are using wring versions. Download the latest version... -_-
     
  20. Offline

    MunsOsl

    Why does it require a script to run on the server? Most plugins are just drag and drop.
     
  21. Offline

    nickguletskii

    This plugin doesn't fit under the "most plugins" category.
     
  22. Is there another place to grab the jar files? I'm using the links in the OP.
     
  23. Offline

    nickguletskii

    No, there isn't. Download and extract the jars from the bundle.
     
  24. Okay, thanks for your help and quick responses. It's clearly something on my end, perhaps a conflict with another plugin that I can't pinpoint. I'll go with an alternative that's working for now and watch the progress of this plugin for future consideration.
     
  25. Offline

    pazdowg

    um hi there, i cant get the invisibility thing to work..... the items dont get picked up but others say they can see me, im probably just an idiot but i can tfind a compatibility list of other mods. either that or i just dont know how to configure..... anyway can you please help cus i rly want to be invisible!
     
  26. Offline

    nickguletskii

    Check the permissions.
     
  27. Offline

    pazdowg

    do you mean in the permissions folder (as in the plugin?). cus if you do its worth letting you know that i have (*) meaning i have every perrmission.....
     
  28. Offline

    nickguletskii

    And other players?
     
  29. Offline

    pazdowg

    they have the same... is that the problem??
     
  30. Offline

    Nitnelave

    Could you be a bit clearer as how to setup the rhino lib in ubuntu? I couldn't get it to work...
     
  31. Offline

    nickguletskii

    Yes.
    You don't need to do it on Ubuntu if you installed Java from the repos.
     

Share This Page