Commands

Work in progress...still need to put required permissions node(s) for each command for better clarity.

  • /turrets save - Saves all turrets to database
  • /turrets reload - Reloads just the turrets plugin
  • /turrets addAmmoBox - Links an ammo box (chest) to the turret.
    • Usage: Type the command, then click the turret, followed by the chest to link the two. The chest must be one block away in any of the 8 surrounding positions (the four cardinal and four ordinal directions).
    • Note: All newly created turrets require an ammo box with ammo to fire by default. This can be changed with a command.
  • /turrets removeAmmoBox - Removes the link between a turret and ammo box. Same usage as addAmmoBox. Turret and chest must currently be linked.
  • /turrets setAmmoUsage <unlimited/useAmmoBox> [all] - Sets how the turret uses ammo. If useAmmoBox (the default), the turret will require an ammo box with ammo in it to fire. If unlimited, the turret will no longer require ammo to fire. If 'all' is used, all turrets owned by the player will be changed to specified ammo usage.
    • Note: Even if set to unlimited, the turret can still have linked ammo boxes, it simply will not require/use them to fire.
  • /turrets setAmmoType <material> [all] - (Only works for unlimited ammo turrets, ammo box turrets use the ammo in their chests) Simply replace <material> with the type of item you want your turret to shoot (no spaces in material name!). Then click on the turret.
    • ex. /turrets setAmmoType fireball
  • /turrets config <config_param> <boolean> - change boolean config setting 'config_param' to the value 'boolean' (must be 'true' or 'false').
  • /turrets cancel - Cancels any current command (addAmmoBox, setAmmoUsage, etc).
  • /tur pvp <on/off> - Turns on or off the PvP usage of turrets. If off, no players will be attacked by user's turrets. If on, will use the designated list to determine who to attack or ignore (can also use true/false or t/f instead of on/off).
    • Requires turrets.modwblists permission.
  • /tur pvp <userName> <on/off> - Same as above but does so for userName, not the person who issued the command.
    • Requires turrets.modotherwblists permission.
  • /tur listType <whitelist/blacklist> - Sets whether to use whitelist or blacklist for turrets (can also use white/black or wl/bl).
    • Requires turrets.modwblists permission.
  • /tur listType <userName> <whitelist/blacklist> - Sets another player's whitelist or blacklist usage.
    • Requires turrets.modotherwblists permission.
  • /tur whitelist add <userName> - adds the user to the commander's whitelist
  • /tur whitelist remove <userName> - removes the user from the commander's whitelist
  • /tur blacklist add <userName> - adds the user to the commander's blacklist
  • /tur blacklist remove <userName> - removes the user from the commander's blacklist
  • /tur gwhitelist add <userName> - adds the user to the global whitelist
  • /tur gwhitelist remove <userName> - removes the user from the global whitelist
  • /tur wblists copy <userFrom> <userTo> - copies the white and blacklists from user to another
  • /tur wblists delete <userName> - deletes userName's white and blacklists

The whitelist and blacklist commands (not the global ones) also have the following form to modify other users' white and blacklists:

  • /tur whitelist <userWithList> add <userToAdd> - add userToAdd to userWithList's whitelist

Comments

Posts Quoted:
Reply
Clear All Quotes