This plugin allows you to realistically throw blocks! You can even throw multiple at once. You can now also throw potions, eggs, snowballs, arrows, spawn eggs, and tnt!
You can also enable/disable and customize drops with the config:
IMPORTANT: if you have updated the plugin from a previous version you need to delete the old config and reload/restart the server!
Code (Text):
# Enables/Disables the entire plugin
plugin-enabled: true
# Options for specific drops
# throw-velocity is the power/speed the drop will be thrown at
# multi-throw-spread is the amount drops will spread out when multiple are thrown
options:
block:
enabled: true
throw-velocity: 0.5
multi-throw-spread: 1
projectile:
enabled: true
throw-velocity: 0.5
multi-throw-spread: 0.5
tnt:
enabled: true
throw-velocity: 0.5
multi-throw-spread: 1
# The fuse is the amount of time (int ticks) before the tnt explodes
fuse: 40
# Explosion power of the tnt
power: 3
potion:
enabled: true
throw-velocity: 0.5
multi-throw-spread: 0.5
spawn-egg:
enabled: true
throw-velocity: 0.5
multi-throw-spread: 0.5
arrow:
enabled: true
throw-velocity: 0.5
multi-throw-spread: 0.5
# Damage multiplier for all thrown arrows
damage-mulitplier: 1
# Knockback strength of the arrow (This is added with the deafualt knockback, 0 = no additional knockback)
knockback-strength: 0
enabled-worlds:
# When this is enabled the plugin will only be active in the listed worlds
enabled: false
# To add a world create a new line with with a - followed by the name of the world
# The name must be in quotation marks and it must have the same number of spaces as the example
worlds:
- "exampleworld"
# Customization of all command messages and arguments
# Use & for color codes
text:
# Text for command arguments
arguments:
reload: "reload"
enable: "enable"
disable: "disable"
# All messages for the command
messages:
# Sent when the reload command is used
reload-message: "&eConfig Reloaded!"
# Sent when enable/disable command is used with *
enabled-all-players: "&ePlugin enabled for all players"
disabled-all-players: "&ePlugin disabled for all players"
# Sent when enable/disable command is used
# Use %player% as the player's name
enabled-player: "&ePlugin enabled for %player%"
disabled-player: "&ePlugin disabled for %player%"
# Sent when the enable/disable command is used incorrectly
enable-usage: "&cUsage: /realisticitemthrowing enable/disable <player>"
# Sent when the main command is used incorrectly
general-usage: "&cUsage: /realisticitemthrowing <reload|enable|disable>"
# Sent when the player does not have permission to use the command
permission-denied: "&cYou do not have permission to use this command!"
WARNING: If the tnt power is set to very high values it may result in a server crash
Commands:
Code (Text):
Command: /realisticitemthrowing
Code (Text):
Permission: realisticitemthrowing.command
Code (Text):
Aliases: /realthrow /rit
Main command for the plugin
Code (Text):
Permission: realisticitemthrowing.*
Gives all permissions for the plugin
Code (Text):
Command: /realisticitemthrowing reload
Code (Text):
Permission: realisticitemthrowing.command.reload
Reloads the config
Code (Text):
Command: /realisticitemthrowing enable/disable <player>
Code (Text):
Permission: realisticitemthrowing.command.enable
Enables/Disables the plugin for a specific player
Will be enabled for all players by default
You can also use * for all players
If you encounter any bugs/errors please do not use the reviews, instead contact me on discord: GROGY#5566. You can also contact me if you would like to provide suggestions/feedback.