
ThrowIT 4.5.0
You can throw an item at someone to give damage!
This plugin allows a player to throw an item s/he is currently holding in his/her hand as a weapon, which gives damage to his/her opponent. You can make any item throwable (projectile-like).
The amount of damage each item can give can be configured in the config.yml.
For a player to throw an item, s/he needs to have a permission node for the particular item type for throwing. For instance, in order to throw a GOLDEN_AXE as a weapon, you need to give throwit.use.golden_axe permission node to a player.
You can also configure the plugin so that only thrower can re-pickup the thrown item. By default, anyone can pick up thrown items.
This is a video demonstrating TE-ThrowEnchant but you get the same effect from this plugin.
Installation:
Just install ThrowIT.jar in the plugin folder. Then you can either "restart the server" or "reload the plugin.
Configuration:
Messages:
ErrorMsg : "&c[ThrowIT] : Some error occured."
Cooldown: "&a[ThrowIT] You have to wait for &b%remaining% &aseconds."
CannotThrow: "&c[ThrowIT] You do not have a permission to throw %material%!. Ask an admin to give you a permission (%perm%)!"
CannotUse: "&c[ThrowIT] You cannot use it here!"
HelpMessages:
banner:
msg: "=== &e[&aThrowIT Commands List (%version%)&e] &r==="
help:
msg: "&a/throwit help : displays this help menu."
reload:
msg: "&a/throwit reload : reloads config file."
permission: "throwit.reload"
debug:
msg: "&a/throwit debug : turn on / off the debug mode."
permission: "throwit.debug"
# default is LOW, you can have LOWEST, LOW, NORMAL, HIGH, HIGHEST or MONITOR
# adjust these event priority if those event processes from this plugin
# interfere with other plugins' event processes.
EventPriorityMap:
PlayerPickupItemEvent: "HIGHEST"
PlayerDropItemEvent: "HIGHEST"
PlayerInteractEvent: "LOW"
# maximum distance (not being used atm)
#maximum_distance: 24 # 24 : arrow's max
# if the following option is set "true" only the owner of the item, which
# has been thrown, can pick it up again.
only_owner_can_pick_up: false
# cooldown related
cooldown: 10 # in seconds
###Throwing method
# To use right click to throw SneakToThrow:false, RightClickToThrow: true
# (defualt) To use shift-right click to throw SneakToThrow:true, RightClickToThrow: true
# To use 'q' to throw SneakToThrow:false, RightClickToThrow: false
# if you're using projectile object like enderpearl, snowball as a bomb
# make sure to enable the above "SneakToThrow" option
SneakToThrow: true
RightClickToThrow: true
InvalidWorlds:
# - pvpworld
InvalidRegions:
# - spawn
default_damage: 4.0
damages:
DIAMOND_AXE: 10.0
The amount of damage each item can give can be configured in the config.yml.
For a player to throw an item, s/he needs to have a permission node for the particular item type for throwing. For instance, in order to throw a GOLDEN_AXE as a weapon, you need to give throwit.use.golden_axe permission node to a player.
You can also configure the plugin so that only thrower can re-pickup the thrown item. By default, anyone can pick up thrown items.
This is a video demonstrating TE-ThrowEnchant but you get the same effect from this plugin.
Installation:
Just install ThrowIT.jar in the plugin folder. Then you can either "restart the server" or "reload the plugin.
Configuration:
Messages:
ErrorMsg : "&c[ThrowIT] : Some error occured."
Cooldown: "&a[ThrowIT] You have to wait for &b%remaining% &aseconds."
CannotThrow: "&c[ThrowIT] You do not have a permission to throw %material%!. Ask an admin to give you a permission (%perm%)!"
CannotUse: "&c[ThrowIT] You cannot use it here!"
HelpMessages:
banner:
msg: "=== &e[&aThrowIT Commands List (%version%)&e] &r==="
help:
msg: "&a/throwit help : displays this help menu."
reload:
msg: "&a/throwit reload : reloads config file."
permission: "throwit.reload"
debug:
msg: "&a/throwit debug : turn on / off the debug mode."
permission: "throwit.debug"
# default is LOW, you can have LOWEST, LOW, NORMAL, HIGH, HIGHEST or MONITOR
# adjust these event priority if those event processes from this plugin
# interfere with other plugins' event processes.
EventPriorityMap:
PlayerPickupItemEvent: "HIGHEST"
PlayerDropItemEvent: "HIGHEST"
PlayerInteractEvent: "LOW"
# maximum distance (not being used atm)
#maximum_distance: 24 # 24 : arrow's max
# if the following option is set "true" only the owner of the item, which
# has been thrown, can pick it up again.
only_owner_can_pick_up: false
# cooldown related
cooldown: 10 # in seconds
###Throwing method
# To use right click to throw SneakToThrow:false, RightClickToThrow: true
# (defualt) To use shift-right click to throw SneakToThrow:true, RightClickToThrow: true
# To use 'q' to throw SneakToThrow:false, RightClickToThrow: false
# if you're using projectile object like enderpearl, snowball as a bomb
# make sure to enable the above "SneakToThrow" option
SneakToThrow: true
RightClickToThrow: true
InvalidWorlds:
# - pvpworld
InvalidRegions:
# - spawn
default_damage: 4.0
damages:
DIAMOND_AXE: 10.0