ArrowSave - Save My Arrows! Get some of your arrows back when killing a Mob! [1.16 - 1.20.4] icon

ArrowSave - Save My Arrows! Get some of your arrows back when killing a Mob! [1.16 - 1.20.4] -----

A highly configurable plugin that allows you to get some of your arrows back you shot at a mob!



[​IMG]

What is ArrowSave?

  • ArrowSave is a plugin that allows for some of the arrows a player shot at a mob to be dropped after killing it.
  • The default probability is calculated from the shooter's xp level, so the higher level you are, the lower the chance of an arrow being saved.
  • The saved arrows can be shown as the mobs's name!

Features:

  • PlaceholderAPI support!
  • Color coding support!
  • 100% customizable;
  • Good performance;
  • Enable or disable usage for crossbows;
  • All of the probability constants are configurable, such as exp rate of the probability reduction and the reduction amount;
  • Blacklist or whitelist entities from the arrow saving feature.
  • Enable or disable arrow saving for Infinity and Multishot enchanted bows/crossbows;

Dependencies:

  • There are no plugin dependencies! You can use this plugin by itself!
  • Java 16+

How to Install:

  • Just put the ArrowSave.jar in your plugins folder, start/restart your server and enjoy!

Permissions:
Code (Text):
'arrowsave.admin' - default: op; children: arrowsave.commands;

'arrowsave.commands' - default: op; children: arrowsave.commands;  # Allows users to use the '/arrowsave' command to reload the config and check plugin's version.

'arrowsave.save' - default: true;  # Restrict the arrow saving feature to players with this permission.

PlaceholderAPI:
Code (Text):
# ADD _from_<player> at the end of a placeholder to get the value from a specific player.

# CHANCE: Get the (String) float value from range 0 to 100.
%arrowsave_chance%
%arrowsave_chance_from_<player>%
Example: 1.5; 93.3; 10.0; 0.1;

# CHANCE_DECIMAL: Get the (String) float value from range 0 to 1.
%arrowsave_chance_decimal% –
%arrowsave_chance_decimal_from_<player>%
Example: 0.015; 0.933; 0.100; 0.001;

# CHANCE_FORMATTED: Get the (String) float value from range 0 to 100, where integer numbers will not display the '.0' at the end.
%arrowsave_chance_formatted%
%arrowsave_chance_from_<player>%
# Example: 1.5; 93.3; 10; 0.1;

# CHANCE_ROUNDED: Get the (String) rounded integer value from range 0 to 100.
%arrowsave_chance_rounded%
%arrowsave_chance_rounded_from_<player>%
Example: 2; 93; 10; 0;


Config:
Code (YAML):
# DO NOT CHANGE THIS CONFIG VALUE.
config-version
: 3

# Invalid entries will be replaced by default values.

# Enable plugin functionality
enabled
: true

# Display:
# Should the plugin alter the name of non-player entities
# when hit to display saved arrows?
modify-name
: true

# Define how saved arrows are displayed.
# Use %arrows% to indicate the quantity.
# '&' Color codes are supported!
# PlaceholderAPI placeholders are supported!
name-format
: "&eArrows&7: %arrows%"

# Additional conditions:
# Allow usage in creative mode.
allow-creative
: true

# Allow usage with crossbows.
allow-crossbow
: true

# Allow usage with Infinity enchantment.
allow-infinity
: false

# Allow usage with Multishot enchantment.
allow-multishot
: false

# Restrict the arrow saving feature to players
# with the 'arrowsave.save' permission.
use-permission
: false

# Restrict the arrow saving feature to
# specific words:
whitelisted-worlds
:
 - world
  - world_nether
  - world_the_end

# Blacklist:
# Specify entities to exclude from arrow saving.
# Available entities in https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
blacklisted-entities
:
 - player
  - wither
  - ender_dragon

# Toggle whether the blacklist functions as a whitelist.
blacklist-acts-as-whitelist
: false

# Probability:
# Keep in mind that probability is calculated
# when shooting, not when an entity gets hit.
# Integers only (Must NOT contain decimal places).
min-chance
: 10
max-chance
: 100

# For every n xp levels,
# makes it less probable by x%
# Double numbers only (Must contain a decimal place).
exp-rate-for-chance-reduction
: 2.0
chance-reduction-amount
: 5.0

Bugs, Glitches, Issues or suggestions:
If you need any help, assistance or complaints, please contact me directly through discord: @Taefinn

Do NOT use the Review Section for Bug Reports!
Resource Information
Author:
----------
Total Downloads: 115
First Release: Feb 22, 2024
Last Update: Feb 24, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings