Installation and configuration
Downloading the bundle
You can find the latest version of the bundle in the files list.
Installing
Extract the bundle into the Bukkit plugins directory. If you don't want SpyerAdmin, remove SpyerAdminCommands.jar and SpyerAdmin.jar. If you don't want SpyerFun, remove SpyerFun.jar. Download and install Spout for Bukkit (no client mod needed).
Further installation for SpyerAdmin
Now, take note of what plugin is responsible for your msg(message), r(eply) and who(player list) commands.
- If it is Essentials, then you have to download the old SpyerInstaller.
- If it is is CommandBook, download CommandBook commands jar and put it in the plugins directory, replacing the old one. Customise CraftBook by removing the msg, reply and who commands.
- If you are not using any commands plugin, open Spyer/repo.conf and replace everything in it with "http://dl.dropbox.com/u/16258042/SpyerAdminRepos/Vanilla/" (without quotes)
Configuring
List of permissions:
You will need a bukkit permissions system compatible permissions provider plugin.
- spyer.spy (Players who have this have access to the /spy and /quit commands, without permissions checks for op powers)
- spyer.seeAll (Players who have this can see people who are hidden, without permissions checks for op powers)
- spyer.fun (Players who have this can use SpyerFun, without permissions defaults to true)
- spyer.stopmobs.admin (Stops moderators from being attacked by mobs while hidden)
- 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. Use chatPriority to configure chat event priority. Bukkit Priority enum names are used.
- 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:
- Comment out all the lines in repo.conf.
- Modify the script.
- If you want to update the script, you can get it from [repopath]/script.js
Comments