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
-
View User Profile
-
Send Message
Posted Feb 16, 2013Its preaty good, but can you add this help in(to) minecraft as "/help turrets"
-
View User Profile
-
Send Message
Posted Mar 23, 2013/turrets cancel
[Turrets] Nothing to cancel!
/turrets addammobox
You are executing another command!
-
View User Profile
-
Send Message
Posted Mar 23, 2013Ohhh, for addammobox you gotta click the FENCEPOST part of the turret, not the minecart!
-
View User Profile
-
Send Message
Posted Mar 23, 2013FYI - defaults for the diamond turret type guarantee that it always misses, because the firing does not seem to factor in the gravity that affects arrows sufficiently.
-
View User Profile
-
Send Message
Posted Mar 23, 2013It does not appear to work against enderman.
-
View User Profile
-
Send Message
Posted Mar 23, 2013also, what are the supported ammo types? "Fireball" does not seem to be one of them, at least not in 1.4.7.
-
View User Profile
-
Send Message
Posted Mar 23, 2013In wanting to get the turrets owned by others to fire at me, I found the need to run: /tur listtype <username> whitelist
Isn't there a way to get everyone's turrets to pvp everyone by default via config? With factions/towny/etc I would suspect the plot flags allow sufficient default protection for allies and fellow town/faction members, but have not yet tested this.
-
View User Profile
-
Send Message
Posted May 9, 2013turrets can destroy with tnt or explosions!
-
View User Profile
-
Send Message
Posted Jun 14, 2013whats the perm to let to none ops upgrade the turret?
-
View User Profile
-
Send Message
Posted Jul 18, 2013can set the mob/animals white(black)list by command or config? It also better to make guys sit on the turrets when mounting.