这个插件是什么?
这是一个 SimplePets 的附加组件,允许服务器所有者/管理员为宠物设置价格,玩家可以使用游戏内货币购买,而无需依赖外部或其他插件。
插件/资源链接:
如何安装:
该附加组件可以通过几种不同的方式进行安装:通过安装命令、通过 GUI 安装器或手动安装。
通过命令安装:(最简单)
- 只需输入
/pet addon install Vault 命令
它也会尝试加载并启用该附加组件
通过 GUI 安装器安装:
- 运行
/pet addon 命令
- 点击 GUI 底部一行的
Install Addons(安装附加组件)选项
- 在 GUI 中找到
Vault 选项
- 找到后只需点击它即可
注意: 如果卡在显示“Installing...”(正在安装...),请检查控制台是否有任何错误。如果没有错误,请尝试其他安装方法之一。
手动安装:
- 打开 SimplePets 插件文件夹
- 打开
Addons(附加组件)文件夹
(如果该文件夹不存在,请自行创建)
- 从其中一个下载位置下载附加组件
- 将附加组件的 jar 文件放入
Addons 文件夹中
- 重启服务器(这是为了让附加组件真正加载到插件中)
默认配置文件:
# 这是绕过权限拥有者将无需支付费用
bypass_permission: pet.vault.bypass
# 禁用此选项将使物品显示价格,但如果玩家拥有绕过权限,则无需付费
# 默认值:true
Hide-Price-If-Bypassed: true
# 玩家每次生成宠物时是否需要付费?
# 默认值:false
Pay-Per-Use-Enabled: false
Price:
# 如果宠物免费,这将是替代价格 Lore 中的内容
# 默认值:'Free'
Free: Free
# 如果玩家拥有绕过权限,这将是替代价格 Lore 中的内容
# 默认值:'BYPASSED'
Bypassed: BYPASSED
# 在这里可以设置两个布尔值(true/false)的翻译
Boolean:
'true': '\fc98true'
'false': '&#fa7d7dfalse'
Messages:
prefix: '&eSimplePets &6>>'
PurchaseSuccessful:
# 如果购买成功,将发送此消息
# 占位符:
# - {prefix}(使用自定义前缀)
# - {type}(获取宠物类型)
# - {price}(宠物价格)
One-Time-Purchase: '{prefix} &7您已成功购买 {type} 宠物。'
# 如果购买成功且 Pay-Per-Use 设置为 true,将发送此消息
# 占位符:
# - {prefix}(使用自定义前缀)
# - {type}(获取宠物类型)
# - {price}(宠物价格)
Pay-Per-Use: '{prefix} &7您已成功支付 {type} 宠物的费用。'
# 如果玩家没有足够的钱购买宠物,将发送此消息
# 占位符:
# - {prefix}(使用自定义前缀)
# - {type}(获取宠物类型)
# - {price}(宠物价格)
InsufficientFunds: '{prefix} &c您没有足够的钱购买这只宠物,您需要 {price}'
Lore-Lines:
# 这些 Lore 行仅在 'Pay-Per-Use' 设置为 false 时使用
# 占位符:
# - {price}(宠物价格)
# - {purchased}(玩家是否已购买宠物,true/false)
One-Time-Purchase:
- '&#ffbf5e价格: cffac{price}'
- '&#ffbf5e已购买: {purchased}'
# 当打开 GUI 时,这些行会被添加到宠物物品上
# 占位符:
# - {price}(宠物价格)
# - {purchased}(玩家是否已购买宠物,true/false)
Pay-Per-Use:
- '&#ffbf5e价格: cffac{price}'
type:
# 盔甲架宠物的价格
armor_stand: 2000
# 蝙蝠宠物的价格
bat: 2000
# 蜜蜂宠物的价格
bee: 2000
# 烈焰人宠物的价格
blaze: 2000
# 猫宠物的价格
cat: 2000
# 洞穴蜘蛛宠物的价格
cave_spider: 2000
# 鸡宠物的价格
chicken: 2000
# 鳕鱼宠物的价格
cod: 2000
# 牛宠物的价格
cow: 2000
# 苦力怕宠物的价格
creeper: 2000
# 海豚宠物的价格
dolphin: 2000
# 驴宠物的价格
donkey: 2000
# 溺尸宠物的价格
drowned: 2000
# 远古守卫者宠物的价格
elder_guardian: 2000
# 末影人宠物的价格
enderman: 2000
# 末影螨宠物的价格
endermite: 2000
# 唤魔者宠物的价格
evoker: 2000
# 狐狸宠物的价格
fox: 2000
# 恶魂宠物的价格
ghast: 2000
# 巨人宠物的价格
giant: 2000
# 守卫者宠物的价格
guardian: 2000
# 疣猪兽宠物的价格
hoglin: 2000
# 马宠物的价格
horse: 2000
# 尸壳宠物的价格
husk: 2000
# 幻影者宠物的价格
illusioner: 2000
# 铁傀儡宠物的价格
iron_golem: 2000
# 羊驼宠物的价格
llama: 2000
# 岩浆怪宠物的价格
magma_cube: 2000
# 哞菇宠物的价格
mooshroom: 2000
# 骡宠物的价格
mule: 2000
# 豹猫宠物的价格
ocelot: 2000
# 熊猫宠物的价格
panda: 2000
# 鹦鹉宠物的价格
parrot: 2000
# 幻翼宠物的价格
phantom: 2000
# 猪宠物的价格
pig: 2000
# 猪灵宠物的价格
piglin: 2000
# 猪灵蛮兵宠物的价格
piglin_brute: 2000
# 掠夺者宠物的价格
pillager: 2000
# 北极熊宠物的价格
polarbear: 2000
# 河豚宠物的价格
pufferfish: 2000
# 兔子宠物的价格
rabbit: 2000
# 劫掠兽宠物的价格
ravager: 2000
# 鲑鱼宠物的价格
salmon: 2000
# 绵羊宠物的价格
sheep: 2000
# 潜影贝宠物的价格
shulker: 2000
# 蠹虫宠物的价格
silverfish: 2000
# 骷髅宠物的价格
skeleton: 2000
# 骷髅马宠物的价格
skeleton_horse: 2000
# 史莱姆宠物的价格
slime: 2000
# 雪傀儡宠物的价格
snowman: 2000
# 蜘蛛宠物的价格
spider: 2000
# 乌贼宠物的价格
squid: 2000
# 流浪者宠物的价格
stray: 2000
# 炽足兽宠物的价格
strider: 2000
# 行商羊驼宠物的价格
trader_llama: 2000
# 热带鱼宠物的价格
tropical_fish: 2000
# 海龟宠物的价格
turtle: 2000
# 恼鬼宠物的价格
vex: 2000
# 村民宠物的价格
villager: 2000
# 卫道士宠物的价格
vindicator: 2000
# 流浪商人宠物的价格
wandering_trader: 2000
# 女巫宠物的价格
witch: 2000
# 凋灵宠物的价格
wither: 2000
# 凋灵骷髅宠物的价格
wither_skeleton: 2000
# 狼宠物的价格
wolf: 2000
# 僵尸猪灵宠物的价格
zoglin: 2000
# 僵尸宠物的价格
zombie: 2000
# 僵尸马宠物的价格
zombie_horse: 2000
# 僵尸村民宠物的价格
zombie_villager: 2000
# 僵尸猪人宠物的价格
zombified_piglin: 2000
What is this addon?
This is a SimplePets Addon that allows server owners/admins set prices for pets to be purchased via in-game currency without needing external/other plugins
Plugin/Resource Links:
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 Vault 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
Vault 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:
# This is the bypass permission, who ever has this permission will not have to pay
bypass_permission: pet.vault.bypass
# 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: false
Price:
# 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: BYPASSED
# Here is where you can set the translations for the 2 boolean values (true/false)
Boolean:
'true': '\fc98true'
'false': '&#fa7d7dfalse'
Messages:
prefix: '&eSimplePets &6>>'
PurchaseSuccessful:
# This message will be sent if the purchase it successful
# Placeholders:
# - {prefix} (uses the customized prefix)
# - {type} (will get what type of pet it is)
# - {price} (what price the pet is)
One-Time-Purchase: '{prefix} &7You have Successfully Purchased the {type} Pet.'
# This message will be sent if the purchase it successful while Pay-Per-Use is set to true
# Placeholders:
# - {prefix} (uses the customized prefix)
# - {type} (will get what type of pet it is)
# - {price} (what price the pet is)
Pay-Per-Use: '{prefix} &7You have Successfully Paid for the {type} Pet.'
# This message will be sent if the player does not have enough money to buy the pet
# Placeholders:
# - {prefix} (uses the customized prefix)
# - {type} (will get what type of pet it is)
# - {price} (what price the pet is)
InsufficientFunds: '{prefix} &cYou do not have enough money to buy this pet, you
need to have {price}'
Lore-Lines:
# These Lore Lines will only be used if 'Pay-Per-Use' is set to false
# Placeholders:
# - {price} (price of the pet)
# - {purchased} (true/false if the player purchased the pet)
One-Time-Purchase:
- '&#ffbf5ePrice: cffac{price}'
- '&#ffbf5ePurchased: {purchased}'
# These lines get added to the pet items when the GUI is opened
# Placeholders:
# - {price} (price of the pet)
# - {purchased} (true/false if the player purchased the pet)
Pay-Per-Use:
- '&#ffbf5ePrice: cffac{price}'
type:
# The price of the armor_stand pet
armor_stand: 2000
# The price of the bat pet
bat: 2000
# The price of the bee pet
bee: 2000
# The price of the blaze pet
blaze: 2000
# The price of the cat pet
cat: 2000
# The price of the cave_spider pet
cave_spider: 2000
# The price of the chicken pet
chicken: 2000
# The price of the cod pet
cod: 2000
# The price of the cow pet
cow: 2000
# The price of the creeper pet
creeper: 2000
# The price of the dolphin pet
dolphin: 2000
# The price of the donkey pet
donkey: 2000
# The price of the drowned pet
drowned: 2000
# The price of the elder_guardian pet
elder_guardian: 2000
# The price of the enderman pet
enderman: 2000
# The price of the endermite pet
endermite: 2000
# The price of the evoker pet
evoker: 2000
# The price of the fox pet
fox: 2000
# The price of the ghast pet
ghast: 2000
# The price of the giant pet
giant: 2000
# The price of the guardian pet
guardian: 2000
# The price of the hoglin pet
hoglin: 2000
# The price of the horse pet
horse: 2000
# The price of the husk pet
husk: 2000
# The price of the illusioner pet
illusioner: 2000
# The price of the iron_golem pet
iron_golem: 2000
# The price of the llama pet
llama: 2000
# The price of the magma_cube pet
magma_cube: 2000
# The price of the mooshroom pet
mooshroom: 2000
# The price of the mule pet
mule: 2000
# The price of the ocelot pet
ocelot: 2000
# The price of the panda pet
panda: 2000
# The price of the parrot pet
parrot: 2000
# The price of the phantom pet
phantom: 2000
# The price of the pig pet
pig: 2000
# The price of the piglin pet
piglin: 2000
# The price of the piglin_brute pet
piglin_brute: 2000
# The price of the pillager pet
pillager: 2000
# The price of the polarbear pet
polarbear: 2000
# The price of the pufferfish pet
pufferfish: 2000
# The price of the rabbit pet
rabbit: 2000
# The price of the ravager pet
ravager: 2000
# The price of the salmon pet
salmon: 2000
# The price of the sheep pet
sheep: 2000
# The price of the shulker pet
shulker: 2000
# The price of the silverfish pet
silverfish: 2000
# The price of the skeleton pet
skeleton: 2000
# The price of the skeleton_horse pet
skeleton_horse: 2000
# The price of the slime pet
slime: 2000
# The price of the snowman pet
snowman: 2000
# The price of the spider pet
spider: 2000
# The price of the squid pet
squid: 2000
# The price of the stray pet
stray: 2000
# The price of the strider pet
strider: 2000
# The price of the trader_llama pet
trader_llama: 2000
# The price of the tropical_fish pet
tropical_fish: 2000
# The price of the turtle pet
turtle: 2000
# The price of the vex pet
vex: 2000
# The price of the villager pet
villager: 2000
# The price of the vindicator pet
vindicator: 2000
# The price of the wandering_trader pet
wandering_trader: 2000
# The price of the witch pet
witch: 2000
# The price of the wither pet
wither: 2000
# The price of the wither_skeleton pet
wither_skeleton: 2000
# The price of the wolf pet
wolf: 2000
# The price of the zoglin pet
zoglin: 2000
# The price of the zombie pet
zombie: 2000
# The price of the zombie_horse pet
zombie_horse: 2000
# The price of the zombie_villager pet
zombie_villager: 2000
# The price of the zombified_piglin pet
zombified_piglin: 2000
评论 0
登录后参与评分
还没有评论,来抢沙发吧