![[SimplePetsAddon] GemsEconomy Addon](https://cdn.metamods.net/images/mods/spets-gemseconomy/logo.png)
[SimplePetsAddon] GemsEconomy Addon
What is this addon?
This is an addon for the SimplePets plugin that provides server administrators with the ability to set prices for pets to be purchased using in-game currency. You no longer need additional plugins to implement an economic system for pet acquisition.
Required Components:
- SimplePets (REQUIRED)
- GemsEconomy (REQUIRED) version 4.9 or higher
Installation Methods
The addon can be installed using several methods: via command, graphical interface, or manually.
Installation via Command (Easiest Method)
Simply execute the command /pet addon install GemsEconomy
in chat. The system will automatically download and activate the addon.
Installation via Graphical Interface
- Enter the command
/pet addon
- Click on the "Install Addons" item in the bottom row of the interface
- Locate the "GemsEconomy" item in the list
- Click on it to install
Note: If the process gets stuck with "Installing..." message, check the console for any errors. If there are no errors, try another installation method.
Manual Installation
- Open the SimplePets plugin folder
- Navigate to the "Addons" folder (if it doesn't exist - create it)
- Download the addon file
- Place the JAR file in the "Addons" folder
- Restart the server to load the addon
Default Configuration
# Permission to bypass payment
bypass_permission: pet.gemseconomy.bypass
# Whether to hide price when bypass permission is available
# Default: true
Hide-Price-If-Bypassed: true
# Should players pay each time they spawn a pet?
# Default: false
Pay-Per-Use-Enabled: false
Price:
# Text for free pets
# Default: 'Free'
Free: Free
# Text when bypass permission is available
# Default: 'BYPASSED'
Bypassed: BYPASSED
# Translations for boolean values
Boolean:
'true': '&#92fc98true'
'false': '&#fa7d7dfalse'
Messages:
prefix: '&eSimplePets &6>>'
PurchaseSuccessful:
# Message for successful purchase
# Placeholders:
# - {prefix} (uses customized prefix)
# - {type} (pet type)
# - {price} (pet price)
One-Time-Purchase: '{prefix} &7You have successfully purchased the {type} pet.'
# Message for pay-per-use payment
# Placeholders:
# - {prefix} (uses customized prefix)
# - {type} (pet type)
# - {price} (price)
Pay-Per-Use: '{prefix} &7You have successfully paid for using the {type} pet.'
# Message for insufficient funds
# Placeholders:
# - {prefix} (uses customized prefix)
# - {type} (pet type)
# - {price} (required amount)
InsufficientFunds: '{prefix} &cYou don't have enough funds to purchase this pet, required {price}'
Lore-Lines:
# Description lines for one-time purchase
# Placeholders:
# - {price} (pet price)
# - {purchased} (purchase status)
One-Time-Purchase:
- '&#ffbf5ePrice: &#99ffac{price}'
- '&#ffbf5ePurchased: {purchased}'
# Description lines for pay-per-use
# Placeholders:
# - {price} (usage price)
# - {purchased} (status)
Pay-Per-Use:
- '&#ffbf5ePrice: &#99ffac{price}'
type:
# Prices for various pet types
armor_stand: 200
bat: 200
bee: 200
blaze: 200
cat: 200
cave_spider: 200
chicken: 200
cod: 200
cow: 200
creeper: 200
dolphin: 200
donkey: 200
drowned: 200
elder_guardian: 200
enderman: 200
endermite: 200
evoker: 200
fox: 200
ghast: 200
giant: 200
guardian: 200
hoglin: 200
horse: 200
husk: 200
illusioner: 200
iron_golem: 200
llama: 200
magma_cube: 200
mooshroom: 200
mule: 200
ocelot: 200
panda: 200
parrot: 200
phantom: 200
pig: 200
piglin: 200
piglin_brute: 200
pillager: 200
polarbear: 200
pufferfish: 200
rabbit: 200
ravager: 200
salmon: 200
sheep: 200
shulker: 200
silverfish: 200
skeleton: 200
skeleton_horse: 200
slime: 200
snowman: 200
spider: 200
squid: 200
stray: 200
strider: 200
trader_llama: 200
tropical_fish: 200
turtle: 200
vex: 200
villager: 200
vindicator: 200
wandering_trader: 200
witch: 200
wither: 200
wither_skeleton: 200
wolf: 200
zoglin: 200
zombie: 200
zombie_horse: 200
zombie_villager: 200
zombified_piglin: 200