This is a SimplePets Addon that allows server owners/admins set prices for pets to be purchased via in-game items without needing external/other plugins
(The CustomModelData number and the base material is needed from these types of plugins)
How to install:
The addon can be installed a few different ways it can be done via the install command, via the GUI installer, or manually
Install via Command: (Easiest)
Simply type the /pet addon install ItemEconomy command
It will also attempt to load and enable it
Install via GUI Installer:
Run the /pet addon command
Click the Install Addons item that is in the bottom row of the GUI
Locate the ItemEconomy item in the GUI
Once found simply click it
NOTE: If it gets stuck saying "Installing..." then check your console for any errors, If there are none then try one of the other methods.
Install Manually:
Open the SimplePets plugin folder
Open the Addons folder
(If the folder is not there then simply create one)
Download the addon from one of the download locations
Drop the addons jar file into the Addons folder
Restart your server (This is to actually get the addon loaded into the plugin)
Default Config:
# Disabling this will make the items show the price, but if the player has bypass permissions he wont have to pay# # Default: 'true'Hide-Price-If-Bypassed:true# Should players have to pay each time they spawn a pet?# # Default: 'false'Pay-Per-Use-Enabled:falsePrice:# If a pet is free this will be in the place of the price in the lore# # Default: 'FREE'Free:FREE# If the player has the bypass permission, will be in the place of the price in the lore# # Default: 'BYPASSED'Bypassed:BYPASSEDCost:# If the player does not have enough items, this is the color it will display as (Used in the Lore)# # Default: '&#fa7d7d'Short:'&#fa7d7d'# If the player has over to total items, this is the color it will display as (Used in the Lore)# # Default: 'cffac'Over:'cffac'# Here is where you can set the translations for the 2 boolean values (true/false)Boolean:# Default: '\fc98true''true':'\fc98true'# Default: '&#fa7d7dfalse''false':'&#fa7d7dfalse'Messages:PurchaseSuccessful:# This message will be sent if the purchase it successful# Placeholders:# - {type} (will get what type of pet it is)# - {cost-display} (A custom display of what the pet will cost)# # Default: '&eSimplePets &6>> &7You have successfully purchased the {type} pet.'One-Time-Purchase:'&eSimplePets &6>> &7You have successfully purchased the {type}
pet.'# This message will be sent if the purchase it successful# Placeholders:# - {type} (will get what type of pet it is)# - {cost-display} (A custom display of what the pet will cost)# # Default: '&eSimplePets &6>> &7You have successfully paid for the {type} pet.'Pay-Per-Use:'&eSimplePets &6>> &7You have successfully paid for the {type} pet.'# This message will be sent if the purchase it successful# Placeholders:# - {type} (will get what type of pet it is)# - {cost-display} (A custom display of what the pet will cost)# # Default: '&eSimplePets &6>> &cYou do not have the item(s) to buy this pet, you need to have {cost-display}'InsufficientFunds:'&eSimplePets &6>> &cYou do not have the item(s) to buy this pet, you need to have {cost-display}'Lore-Lines:# These Lore Lines will only be used if 'Pay-Per-Use' is set to false# Placeholders:# - {type} (will get what type of pet it is)# - {cost-display} (A custom display of what the pet will cost)# - {current-total} (How many of the item the player currently has in their inventory)# - {cost} (How many of the item the player needs to have to purchase the pet)# - {purchased} (true/false if the player purchased the pet)# # Default: '[&#ffbf5ePrice: cffac{cost-display}, &#ffbf5ePurchased: {purchased}]'One-Time-Purchase:-'&#ffbf5ePrice: cffac{cost-display}'-'&#ffbf5ePurchased: {purchased}'# These Lore Lines will only be used if 'Pay-Per-Use' is set to true# Placeholders:# - {type} (will get what type of pet it is)# - {cost-display} (A custom display of what the pet will cost)# - {current-total} (How many of the item the player currently has in their inventory)# - {cost} (How many of the item the player needs to have to purchase the pet)# - {purchased} (true/false if the player purchased the pet)# # Default: '[&#ffbf5ePrice: cffac{cost-display}]'Pay-Per-Use:-'&#ffbf5ePrice: cffac{cost-display}'# Here I will explain what each value controls for all the pet type customization.# - 'enabled'# This will allow you to toggle if the pet is FREE or if they have to pay# - 'display'# This is what will be displayed as the 'price' of the item# This is customizable so you should be able to use Custom Items (Custom Model Data Items)# # Note: Colors can be used here ;)# - 'material'# This is what controls what material the players have to pay with# If you are using CustomModels this will have to be the base item for the item# # See: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/browse/src/main/java/org/bukkit/Material.java#123# - 'count'# This one is self explanatory how many of said item will the player pay with# - 'custom-model-data'# If you have a resource pack that adds custom models chances are you use CustomModels# This allows you to specify what model of item you are using# (This is how other plugins such as ItemsAdder have support)# # Note: If you are not using Custom Models then set the value to -1# See: https://mcmodels.net/how-to-tutorials/resource-pack-tutorials/what-is-custommodeldata-2/type:allay:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1armor_stand:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1axolotl:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1bat:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1bee:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1blaze:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1camel:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1cat:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1cave_spider:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1chicken:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1cod:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1cow:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1creeper:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1dolphin:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1donkey:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1drowned:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1elder_guardian:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1enderman:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1endermite:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1evoker:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1fox:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1frog:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1ghast:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1giant:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1glow_squid:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1goat:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1guardian:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1hoglin:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1horse:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1husk:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1illusioner:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1iron_golem:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1llama:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1magma_cube:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1mooshroom:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1mule:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1ocelot:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1panda:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1parrot:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1phantom:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1pig:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1piglin:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1piglin_brute:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1pillager:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1polarbear:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1pufferfish:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1rabbit:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1ravager:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1salmon:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1sheep:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1shulker:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1silverfish:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1skeleton:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1skeleton_horse:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1slime:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1sniffer:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1snowman:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1spider:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1squid:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1stray:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1strider:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1tadpole:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1trader_llama:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1tropical_fish:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1turtle:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1vex:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1villager:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1vindicator:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1wandering_trader:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1warden:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1witch:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1wither:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1wither_skeleton:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1wolf:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1zoglin:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1zombie:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1zombie_horse:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1zombie_villager:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1zombified_piglin:enabled:truedisplay:10Diamondscost:material:DIAMONDcount:10custom-model-data:-1bypass_permissions:# This is the master permission, Will ignore all individual bypass permissions listed belowparent:pet.itemeconomy.bypasstype:# This is a bypass permission for the allay pet, who ever has this permission will now have to pay for this petallay:pet.itemeconomy.bypass.allay# This is a bypass permission for the armor_stand pet, who ever has this permission will now have to pay for this petarmor_stand:pet.itemeconomy.bypass.armor_stand# This is a bypass permission for the axolotl pet, who ever has this permission will now have to pay for this petaxolotl:pet.itemeconomy.bypass.axolotl# This is a bypass permission for the bat pet, who ever has this permission will now have to pay for this petbat:pet.itemeconomy.bypass.bat# This is a bypass permission for the bee pet, who ever has this permission will now have to pay for this petbee:pet.itemeconomy.bypass.bee# This is a bypass permission for the blaze pet, who ever has this permission will now have to pay for this petblaze:pet.itemeconomy.bypass.blaze# This is a bypass permission for the camel pet, who ever has this permission will now have to pay for this petcamel:pet.itemeconomy.bypass.camel# This is a bypass permission for the cat pet, who ever has this permission will now have to pay for this petcat:pet.itemeconomy.bypass.cat# This is a bypass permission for the cave_spider pet, who ever has this permission will now have to pay for this petcave_spider:pet.itemeconomy.bypass.cave_spider# This is a bypass permission for the chicken pet, who ever has this permission will now have to pay for this petchicken:pet.itemeconomy.bypass.chicken# This is a bypass permission for the cod pet, who ever has this permission will now have to pay for this petcod:pet.itemeconomy.bypass.cod# This is a bypass permission for the cow pet, who ever has this permission will now have to pay for this petcow:pet.itemeconomy.bypass.cow# This is a bypass permission for the creeper pet, who ever has this permission will now have to pay for this petcreeper:pet.itemeconomy.bypass.creeper# This is a bypass permission for the dolphin pet, who ever has this permission will now have to pay for this petdolphin:pet.itemeconomy.bypass.dolphin# This is a bypass permission for the donkey pet, who ever has this permission will now have to pay for this petdonkey:pet.itemeconomy.bypass.donkey# This is a bypass permission for the drowned pet, who ever has this permission will now have to pay for this petdrowned:pet.itemeconomy.bypass.drowned# This is a bypass permission for the elder_guardian pet, who ever has this permission will now have to pay for this petelder_guardian:pet.itemeconomy.bypass.elder_guardian# This is a bypass permission for the enderman pet, who ever has this permission will now have to pay for this petenderman:pet.itemeconomy.bypass.enderman# This is a bypass permission for the endermite pet, who ever has this permission will now have to pay for this petendermite:pet.itemeconomy.bypass.endermite# This is a bypass permission for the evoker pet, who ever has this permission will now have to pay for this petevoker:pet.itemeconomy.bypass.evoker# This is a bypass permission for the fox pet, who ever has this permission will now have to pay for this petfox:pet.itemeconomy.bypass.fox# This is a bypass permission for the frog pet, who ever has this permission will now have to pay for this petfrog:pet.itemeconomy.bypass.frog# This is a bypass permission for the ghast pet, who ever has this permission will now have to pay for this petghast:pet.itemeconomy.bypass.ghast# This is a bypass permission for the giant pet, who ever has this permission will now have to pay for this petgiant:pet.itemeconomy.bypass.giant# This is a bypass permission for the glow_squid pet, who ever has this permission will now have to pay for this petglow_squid:pet.itemeconomy.bypass.glow_squid# This is a bypass permission for the goat pet, who ever has this permission will now have to pay for this petgoat:pet.itemeconomy.bypass.goat# This is a bypass permission for the guardian pet, who ever has this permission will now have to pay for this petguardian:pet.itemeconomy.bypass.guardian# This is a bypass permission for the hoglin pet, who ever has this permission will now have to pay for this pethoglin:pet.itemeconomy.bypass.hoglin# This is a bypass permission for the horse pet, who ever has this permission will now have to pay for this pethorse:pet.itemeconomy.bypass.horse# This is a bypass permission for the husk pet, who ever has this permission will now have to pay for this pethusk:pet.itemeconomy.bypass.husk# This is a bypass permission for the illusioner pet, who ever has this permission will now have to pay for this petillusioner:pet.itemeconomy.bypass.illusioner# This is a bypass permission for the iron_golem pet, who ever has this permission will now have to pay for this petiron_golem:pet.itemeconomy.bypass.iron_golem# This is a bypass permission for the llama pet, who ever has this permission will now have to pay for this petllama:pet.itemeconomy.bypass.llama# This is a bypass permission for the magma_cube pet, who ever has this permission will now have to pay for this petmagma_cube:pet.itemeconomy.bypass.magma_cube# This is a bypass permission for the mooshroom pet, who ever has this permission will now have to pay for this petmooshroom:pet.itemeconomy.bypass.mooshroom# This is a bypass permission for the mule pet, who ever has this permission will now have to pay for this petmule:pet.itemeconomy.bypass.mule# This is a bypass permission for the ocelot pet, who ever has this permission will now have to pay for this petocelot:pet.itemeconomy.bypass.ocelot# This is a bypass permission for the panda pet, who ever has this permission will now have to pay for this petpanda:pet.itemeconomy.bypass.panda# This is a bypass permission for the parrot pet, who ever has this permission will now have to pay for this petparrot:pet.itemeconomy.bypass.parrot# This is a bypass permission for the phantom pet, who ever has this permission will now have to pay for this petphantom:pet.itemeconomy.bypass.phantom# This is a bypass permission for the pig pet, who ever has this permission will now have to pay for this petpig:pet.itemeconomy.bypass.pig# This is a bypass permission for the piglin pet, who ever has this permission will now have to pay for this petpiglin:pet.itemeconomy.bypass.piglin# This is a bypass permission for the piglin_brute pet, who ever has this permission will now have to pay for this petpiglin_brute:pet.itemeconomy.bypass.piglin_brute# This is a bypass permission for the pillager pet, who ever has this permission will now have to pay for this petpillager:pet.itemeconomy.bypass.pillager# This is a bypass permission for the polarbear pet, who ever has this permission will now have to pay for this petpolarbear:pet.itemeconomy.bypass.polarbear# This is a bypass permission for the pufferfish pet, who ever has this permission will now have to pay for this petpufferfish:pet.itemeconomy.bypass.pufferfish# This is a bypass permission for the rabbit pet, who ever has this permission will now have to pay for this petrabbit:pet.itemeconomy.bypass.rabbit# This is a bypass permission for the ravager pet, who ever has this permission will now have to pay for this petravager:pet.itemeconomy.bypass.ravager# This is a bypass permission for the salmon pet, who ever has this permission will now have to pay for this petsalmon:pet.itemeconomy.bypass.salmon# This is a bypass permission for the sheep pet, who ever has this permission will now have to pay for this petsheep:pet.itemeconomy.bypass.sheep# This is a bypass permission for the shulker pet, who ever has this permission will now have to pay for this petshulker:pet.itemeconomy.bypass.shulker# This is a bypass permission for the silverfish pet, who ever has this permission will now have to pay for this petsilverfish:pet.itemeconomy.bypass.silverfish# This is a bypass permission for the skeleton pet, who ever has this permission will now have to pay for this petskeleton:pet.itemeconomy.bypass.skeleton# This is a bypass permission for the skeleton_horse pet, who ever has this permission will now have to pay for this petskeleton_horse:pet.itemeconomy.bypass.skeleton_horse# This is a bypass permission for the slime pet, who ever has this permission will now have to pay for this petslime:pet.itemeconomy.bypass.slime# This is a bypass permission for the sniffer pet, who ever has this permission will now have to pay for this petsniffer:pet.itemeconomy.bypass.sniffer# This is a bypass permission for the snowman pet, who ever has this permission will now have to pay for this petsnowman:pet.itemeconomy.bypass.snowman# This is a bypass permission for the spider pet, who ever has this permission will now have to pay for this petspider:pet.itemeconomy.bypass.spider# This is a bypass permission for the squid pet, who ever has this permission will now have to pay for this petsquid:pet.itemeconomy.bypass.squid# This is a bypass permission for the stray pet, who ever has this permission will now have to pay for this petstray:pet.itemeconomy.bypass.stray# This is a bypass permission for the strider pet, who ever has this permission will now have to pay for this petstrider:pet.itemeconomy.bypass.strider# This is a bypass permission for the tadpole pet, who ever has this permission will now have to pay for this pettadpole:pet.itemeconomy.bypass.tadpole# This is a bypass permission for the trader_llama pet, who ever has this permission will now have to pay for this pettrader_llama:pet.itemeconomy.bypass.trader_llama# This is a bypass permission for the tropical_fish pet, who ever has this permission will now have to pay for this pettropical_fish:pet.itemeconomy.bypass.tropical_fish# This is a bypass permission for the turtle pet, who ever has this permission will now have to pay for this petturtle:pet.itemeconomy.bypass.turtle# This is a bypass permission for the vex pet, who ever has this permission will now have to pay for this petvex:pet.itemeconomy.bypass.vex# This is a bypass permission for the villager pet, who ever has this permission will now have to pay for this petvillager:pet.itemeconomy.bypass.villager# This is a bypass permission for the vindicator pet, who ever has this permission will now have to pay for this petvindicator:pet.itemeconomy.bypass.vindicator# This is a bypass permission for the wandering_trader pet, who ever has this permission will now have to pay for this petwandering_trader:pet.itemeconomy.bypass.wandering_trader# This is a bypass permission for the warden pet, who ever has this permission will now have to pay for this petwarden:pet.itemeconomy.bypass.warden# This is a bypass permission for the witch pet, who ever has this permission will now have to pay for this petwitch:pet.itemeconomy.bypass.witch# This is a bypass permission for the wither pet, who ever has this permission will now have to pay for this petwither:pet.itemeconomy.bypass.wither# This is a bypass permission for the wither_skeleton pet, who ever has this permission will now have to pay for this petwither_skeleton:pet.itemeconomy.bypass.wither_skeleton# This is a bypass permission for the wolf pet, who ever has this permission will now have to pay for this petwolf:pet.itemeconomy.bypass.wolf# This is a bypass permission for the zoglin pet, who ever has this permission will now have to pay for this petzoglin:pet.itemeconomy.bypass.zoglin# This is a bypass permission for the zombie pet, who ever has this permission will now have to pay for this petzombie:pet.itemeconomy.bypass.zombie# This is a bypass permission for the zombie_horse pet, who ever has this permission will now have to pay for this petzombie_horse:pet.itemeconomy.bypass.zombie_horse# This is a bypass permission for the zombie_villager pet, who ever has this permission will now have to pay for this petzombie_villager:pet.itemeconomy.bypass.zombie_villager# This is a bypass permission for the zombified_piglin pet, who ever has this permission will now have to pay for this petzombified_piglin:pet.itemeconomy.bypass.zombified_piglin