除非引入大规模 API 更改,否则该插件应在所有 1.16+ 版本上正常运行。
本插件高度可配置,请查看下方的配置文件。
并非该插件的所有版本都已上传至此,原版插件上传于 Spigot。如需下载旧版本,请点击此处:
或者点击此处查看所有更新日志:
你可以使用喷溅型虚弱药水与金苹果来治愈僵尸化猪灵。治疗过程中产生的音效和粒子效果与尝试治愈僵尸村民时相同。
治愈时间可在配置文件中调整。
被治愈后,猪灵将对你变得友好并停止攻击。你可以配置设置,使其对所有玩家都保持友好。
此外,你还可以选择指定被治愈的猪灵在进入主世界时是否会变回僵尸化猪灵。
另一个可配置选项决定了猪灵在被击中后是否变得具有攻击性,以及在周围没有目标一段时间后是否会恢复平静。默认设置确保被治愈的猪灵在受到攻击时不会反击。
你拥有多种选项,例如被治愈的猪灵跟随治愈者、喂食、显示统计信息、管理物品栏等。请阅读下方配置。
你可以通过新的配置为被治愈的猪灵创建/更改职业,例如更改掉落表、拾取材料表等。请检查 permission.yml 文件。或者查看上方 Spigot 链接中的更新日志。
要使用独立职业的皮肤功能,你需要安装 Lib's Disguises:
命令:
/bcp - 重载配置 - 权限:curepiglins.reload
重载配置后,更改将立即生效,但正在被治愈过程中的僵尸除外。无需重启服务器。
被治愈的猪灵将在区块卸载、重载或服务器重启时保存。它们将保留其名称(如果已命名)、年龄、手持物品、盔甲以及额外物品栏(如果已启用)和所有额外数据。它们永远不会忘记治愈它们的玩家。
config
reloadConfig: '&a你已重载配置'
noPermission: '&4你没有执行此命令的权限'
backupPiglinSaveFileOnServerStart: true
#请勿修改配置版本,否则配置可能会损坏
configVersion: 0.0
#////////////////////////
#行为
#////////////////////////
#根据此设置,被治愈的猪灵将不会针对以下实体进行攻击
#false = 仅针对治愈它的玩家
#true = 所有实体
neutralToAll: false
#设置为 true 时,被治愈的猪灵将针对伤害者(不包括治愈者)进行攻击
#但如果它们超出范围并等待目标过期,则被治愈的猪灵将不再攻击,除非再次被击中
#此选项将忽略 neutralToAll
turnAggresiveWhenHit: false
#与 turnAggresiveWhenHit 相同,但这仅适用于治愈者
#此选项将忽略 neutralToAll
turnAggresiveWhenHitByCurer: false
#当治愈者 SHIFT+右键点击由玩家治愈的猪灵时,它将跟随
followCurer: false
cannotFollow: '&c如果你处于创造模式、持有弩或是婴儿,猪灵无法跟随你'
piglinFollowing: '&a选定的猪灵现在正在跟随你。它无法伤害你'
piglinStopFollow: '&a猪灵不再跟随你'
#////////////////////////
#杂项
#////////////////////////
#以秒为单位
#
#这将在使用重载命令 /bcp 后立即更改:除了正在被治愈的猪灵
cureTime: 120
#在原版中,猪灵进入主世界时会变成僵尸化猪灵
#将此设置为 true 将阻止被治愈的猪灵在进入主世界时转变
#
#这将在使用重载命令 /bcp 后立即更改
#
#这意味着如果你将此设为 true,并且主世界中已有被治愈的猪灵,那么将其改为 false 将会...
#...开始对所有在主世界中的被治愈猪灵的僵尸化过程
#同样,将其改为 false 时,僵尸化过程将立即停止
#
#正处于僵尸化过程中的僵尸会颤抖
notTurnInOverworld: true
#如果设置为 true,则当用牛奶桶右键点击时,僵尸化猪灵的治愈进度将被取消
cancelTransformationWithMilk: false
#如果 cancelTransformationWithMilk 为 false,则此选项被忽略
#如果设置为 false,则只有开始治愈过程的玩家可以停止它
#如果设置为 true,则任何玩家都可以取消转变
cancelTransformationWithMilkByAnyone: false
#治愈者可以给猪灵喂食带有药水效果的食品和药水
#仅对治愈者有效
#
#可以喂给猪灵的以下物品:附魔金苹果、金苹果、可疑炖菜、有毒土豆、紫颂果、蜜瓶、河豚、蜘蛛眼、牛奶桶、任何可饮用药水
feedPiglin: false
#任何人都可以喂任何猪灵
#如果 feedPiglin 为 false,则此选项被忽略
feedPiglinByAnyone: false
#如果将此设置为 true,且向猪灵喂食了金胡萝卜,那么如果它是婴儿,它将变为成年;如果是成年,它将变为婴儿
feedGoldenCarrot: false
#当你 SHIFT+左键点击猪灵时,它会告诉你当前的生命值、药水效果以及存储的物品数量
#仅对治愈者和拥有权限 curedpiglins.piglininfo 的管理员有效
getInfo: false
#任何玩家都可以获取任何猪灵的信息
#如果 getInfo 为 false,则此选项被忽略
getInfoByAnyone: false
#{potions} 占位符需要像示例中那样保留,单行显示且无额外字符
piglinInfoMessage:
- '&a名称: {name}'
- '&a治愈者: {curer}'
- '&a生命值: {health}'
- '&a物品栏中的物品数量: {itemsCount}'
- '&a活跃药水效果: '
- '{potions}'
#用于 piglinInfoMessage 中的 {potions} 占位符
piglinInfoMessagePotionsFormat: '&a药水效果: {type}, 持续时间: {duration} 秒, 等级: {amplifier}'
#将向治愈者发送消息,告知猪灵何时/何地死亡及其死因
informCurerAboutPiglinDeath: false
deathPiglinMessage:
- '&c名为 {name} 的猪林已死亡。'
- '&c类型: {type}'
- '&c死亡位置: {deathLocation}'
- '&c死亡日期: {deathDate}. 时区: {timeZone}'
- '&c最后伤害来源: {damageCause}'
- '&c最后伤害来源时间: {lastDamageDate}. 时区: {timeZone}'
- '&c最后由玩家造成伤害的时间: {lastDamagePlayerDate}. 时区: {timeZone}'
- '&c最后造成伤害的玩家名称: {lastDamagePlayerName}'
#用于 deathPiglinMessage 中 {deathLocation} 占位符的消息
deathLocationMessage: '&c世界: {worldName}, x: {x}, y: {y}, z: {z}'
#用于 deathPiglinMessage 中日期的时区
#输入一个有效的时区,请勿使用颜色代码
serverTimeZone: 'GMT-6'
#用于 deathPiglinMessage 中日期的格式
#输入一个有效的格式,请勿使用颜色代码
dateFormat: 'yyyy-MM-dd HH:mm:ss'
#在使用命名牌时。拥有 curepiglins.bypassrename 权限的玩家可忽略此设置
canOtherPeopleRenamePiglin: true
cannotRename: '&c这只猪林不属于你'
#////////////////////////
#物品栏
#////////////////////////
#如果刚刚被治愈的猪灵保留了它在变成僵尸猪灵时的物品
curedPiglinKeepsOldItems: true
#如果刚刚被治愈的猪灵保留了它在变成僵尸猪灵时的 NBT 标签
curedPiglinKeepsNBTTags: true
#右键点击猪灵将打开 GUI 物品栏,你可以在其中修改其盔甲、主手物品、副手物品,并有一个额外的存储槽位
armourInventoryModify: true
armourInventoryName: '&a猪林物品栏'
#可以是以下值之一:0, 1, 2, 3, 4, 5
#输入不同于上述的值将自动设置为 0
#0 - 无额外物品栏行
#这些是 armourInventory 中的额外行,供玩家存储物品
armourInventoryBonusRows: 0
#如果将此值设置为 true,则任何人都可以打开 armourInventory
#将其设置为 false 将使其只能由治愈者和拥有 curedpiglins.openarmourinventory 权限的管理员打开
armourInventoryCanBeOpenedByAnyone: false
#如果设置为 true,则治愈后的猪灵在死亡时会掉落其物品栏中的所有物品
#如果设置为 false,则猪灵物品栏中的所有物品都将丢失
dropItemsFromInventoryOnDeath: false
#如果输入了无效的材质,则提供默认的 BLACK_STAINED_GLASS_PANE
fillerItemMaterial: BLACK_STAINED_GLASS_PANE
fillerItemName: ''
#如果你希望描述为空或只有一行,请使用默认格式
#多行的格式
# fillerItemLore:
# - 'line1'
# - '&aLine2'
fillerItemLore: ''
professions.yml
#用于附魔
#每行可以添加 [附魔名称]:[最低等级]-[最高等级]
#示例:
# enchants:
# - 'DURABILITY:1-0' - 数值范围无效,因此默认为 1
# - 'DURABILITY:1-3' - 附魔等级在 1 到 3 之间
# - 'DURABILITY:1' - 该附魔的唯一可能等级为 1
#
#交易本身的几率不是百分比 (%)
#这个数字可以任意大;数字越大,被选中的几率越高
#
#留空名称和描述将使用默认物品的值
#请使用此列表获取物品类型(材质)的名称:https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
#请使用此列表获取附魔名称:https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html
#
#对于药水效果,使用格式 '[{药水效果}:{最低等级-最高等级}:{最低持续时间秒数-最高持续时间秒数}]' 或 '[{药水效果}:{等级}:{持续时间秒数}]
#使用以下药水效果名称:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
#
#默认职业必须存在。如果不存在,将在内部创建一个没有交易的默认职业。
areProfessionsEnaled: true
职业:
默认:
交易1:
名称:
描述:
类型:附魔书
数量:1
概率:5
附魔:
- '灵魂疾行:1-3'
交易2:
名称:
描述:
类型:铁靴
数量:1
概率:8
附魔:
- '灵魂疾行:1-3'
交易3:
名称:
描述:
类型:喷溅型药水
药水效果:
- '防火:1-2:180-300'
数量:1
概率:8
交易4:
名称:
描述:
类型:药水
药水效果:
- '防火:1:180'
数量:1
概率:8
交易5:
名称:'&c水瓶'
描述:
类型:药水
数量:1
概率:10
交易6:
名称:
描述:
类型:铁粒
数量:10-36
概率:10
交易7:
名称:
描述:
类型:末影珍珠
数量:2-4
概率:10
交易8:
名称:
描述:
类型:线
数量:3-9
概率:20
交易9:
名称:
描述:
类型:石英
数量:5-12
概率:20
交易10:
名称:
描述:
类型:黑曜石
数量:1
概率:40
交易11:
名称:
描述:
类型:哭泣的黑曜石
数量:1-3
概率:40
交易12:
名称:
描述:
类型:火焰球
数量:1
概率:40
交易13:
名称:
描述:
类型:皮革
数量:2-4
概率:40
交易14:
名称:
描述:
类型:灵魂沙
数量:2-8
概率:40
交易15:
名称:
描述:
类型:下界砖
数量:2-8
概率:40
交易16:
名称:
描述:
类型:光灵箭
数量:6-12
概率:40
交易17:
名称:
描述:
类型:砂砾
数量:8-16
概率:40
交易18:
名称:
描述:
类型:深板岩
数量:8-16
概率:4
prof2:
交易1:
名称:'&a恶作剧'
描述:
类型:泥土
概率:250
数量:64-2000
交易2:
名称:'&a祝你好运'
描述:
类型:钻石
概率:10
数量:1-5
#此部分仅在服务器版本为 1.16.5 及以上时有效
接受的交易材料:
默认:
- '金锭'
prof2:
- '金锭'
- '金粒'
- '钻石'
#选择猪灵被治愈时的概率。仅针对被治愈的猪灵
#自然生成的猪灵不会拥有职业。
#这不是百分比值。
#数值越大,被选中的概率越高。
选择概率:
- '默认:100000'
- 'prof2:1'
#与其让职业每次只选择一个物品,你可以选择让它们一次性选择多个物品。
#最大值为 64,最小值为 1。
每个职业一次可选择的物品数量:
默认:
最小值:1
prof2:
最小值:1
最大值:64
#概率基于 100000。
#[职业]-[物品类型]:[概率]
#你不能对多个职业使用相同的材料。
#如果使用多个相同材料的条目,插件将选择最后一个具有相同类型的条目,其余将被忽略。
通过物品改变职业的概率:
- '默认-金胡萝卜:50000'
- 'prof2-钻石块:1'
#此设置允许猪灵仅在使用上述物品且其当前职业为默认职业时改变职业。
允许改变职业:true
#此设置仅在启用 'allowProfessionChange'(允许改变职业)时有效。
在...之后允许改变职业:true
#如果启用了相应的设置,
#为此生效,config.yml 中的 'feedPiglinByAnyone'(任何人都可以喂食猪灵)设置需要启用。
非所有者可以改变职业:false
#如果此设置为 false,则猪灵不会拾取重命名、附魔等的物品。
#同样,对于改变职业的物品,它们也不会接受。
可以使用珍贵物品:false
#如果安装了 LibsDisguises
#请访问 https://mineskin.org/
#选择你的皮肤或上传一个,并粘贴如下示例中所示的 respective textureValue 和 textureSignature
皮肤:
默认:''
prof2:
纹理值:ewogICJ0aW1lc3RhbXAiIDogMTcwNjQzNDMwODkyMiwKICAicHJvZmlsZUlkIiA6ICI1OWZmOTU1YzMxYjk0MWI0YWQwNDg4NDk0ODkzNzUzOCIsCiAgInByb2ZpbGVOYW1lIiA6ICJNZWdhMzQ5IiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2ZjZmJiOThhMzYxNGQ4ZTY4NWI1OThmYjRiMmM1YmI0MGQ4NzZiODQ0NDA5ZWVhMzMxZWJmMjQ4ZjViMDhlM2MiCiAgICB9CiAgfQp9
纹理签名:IbrvaAPl9Mrwlf7DHsQBcimIzW0V0m8F6/tx3K+rnd/fcsV9Ttx0s2my1KDWy20I7j9kmYiAFyL1GeM+x3XfAuNaNXDOi07XQI6aaQAK1xJriw0Yhe1C77Ecn3a9LpnEGXzmZ1k651knr3pXBoAg+adYz72jRUZH2Mfw2YJF5+Lr0jyl8Db/hXLgkgiz2HCuSH03IOEOm3ZQ32FeDJfdterbRKyn1xxSFCSiufGLMht0t1eYY51+cdNkjU7qPBQay29blmMe/4hRa4iwX0RbIvzFZijtfrw0560gyL3EYlPC4WJjPnqBkETP+b2Ci7KpMGbEYscR7rk5kh/mZhBW4Ip4icfWVVHhHLBbgRgQ4F5jXF4l/5aLTQR3mqmENn1bT9/sEdp09zVkHVTpUaJ+Tv+7pMGtZA6y09oUz3KLEjlpjf6KQYmXPtrgcAQ9KMGjpawrhqMaphnyjB4zxZAiWo+A4W29DlkEI01SYO5aMr1pcdidFlWG9f3oKJ7OJCqZrM53Um5ghtmF0BtgblxUBb5kEgEh3SpF3Wi3zolZac8qwCBzPa1MoM2MsnPioG5ofnFyageTFOFhWmU3CKjR4Lz7f1drnUVdLJ8EuIPUg7AosyGirt3x3cJazUQAuUtLMQAR6d6B+tOGpMWITvS23i8ILkH6BznEDS3OS4RRwAY=
如果你遇到任何错误或有任何想要实现的建议,请在 Discord 上联系我:balustrada
Unless massive api changes are introduced, the plugin should work on every version 1.16+
Plugin is highly configurable, check out the config file below.
Not every version of this plugin has been uploaded here, the original plugin was uploaded on spigot. Click here if you want to download an older version:
Or click here to read all the change logs:
You can cure a zombified piglin by using a splash potion of weakness and a golden apple. The process produces the same sound effects and particles as when attempting to cure a zombie villager.
The cure time can be adjusted in the configuration.
After being cured, the piglin will become friendly towards you and will no longer attack. You can configure the settings to make them friendly with all players.
Additionally, you have the option to specify whether cured piglins will turn into zombified piglins upon entering the overworld.
Another configurable option determines if piglins become aggressive after being hit, and calm down after some time with when there are no targets around. The default setting ensures that cured piglins won't fight back if attacked.
You have options such as the ability for cured piglins to follow the curer, be fed, display stats, manage inventory, and more. Read config below.
You can create/change the and professions for cured piglins with new configurations, like changing the loot table, pickup material table, and more. Check the permission.yml file. Or check the spigot link above for change logs.
To use the skins feature for independent professions, you'll need to install Lib's Disguises:
Command:
/bcp - Reloads the config - Permission: curepiglins.reload
Upon reloading the config, changes will take effect immediately, excluding the time for zombies in the process of being cured. No restarts are necessary.
Cured piglins will be saved upon chunk unload, reload, or server restart. They will retain their names (if given), age, held item, armor, and extra inventory (if activated), and all extra data. They will never forget the player who cured them.
config
reloadConfig: '&aYou have reloaded the config'
noPermission: '&4You do not have the permission to execute this command'
backupPiglinSaveFileOnServerStart: true
#DO NOT MODIFY CONFIG VERSION OR CONFIG MIGHT BREAK
configVersion: 0.0
#////////////////////////
#Behaviour
#////////////////////////
#Depending on this setting the cured piglin will not target the following entities
#false = Just the player that cured it
#true = All entities
neutralToAll: false
#When set to true the cured piglin will target the damager (not including the curer)
#But if they get out of range and wait until the target expires then the cured piglin won't attack anymore unless it gets hit again
#This option will ignore neutralToAll
turnAggresiveWhenHit: false
#Samge as turnAggresiveWhenHit but this is only applies to the curer
#This option will ignore neutralToAll
turnAggresiveWhenHitByCurer: false
#When the curer SHIFT+Right clicks a piglin that was cured by a player it will follow
followCurer: false
cannotFollow: '&cPiglins cannot follow you if you are in creative, they have crossbows or they are babies'
piglinFollowing: '&aSelected piglin is now following you. He cannot hurt you'
piglinStopFollow: '&aPiglin no longer following you'
#////////////////////////
#Misc
#////////////////////////
#In seconds
#
#This will change instantly change after reload command: /bcp - Except for piglins that are in the process of getting cured
cureTime: 120
#Piglins turn into zombiefied piglins when they enter the overworld in vanilla
#Settings this to true will stop the cured piglins from turning when they go into the overworld
#
#This will change instantly change after reload command: /bcp
#
#Meaning that if you have this one true and you also have cured piglins in the overworld then changing this to false will...
#...start the process of zombification to all cured pigling in the overworld
#Same with changing it to false, the process of zombification will instantly stop
#
#Zombies that are in the process of zombification will shake
notTurnInOverworld: true
#If set to true then the curing progress for the zombified piglin will be canceled when right clicked with a bucket of milk
cancelTransformationWithMilk: false
#If cancelTransformationWithMilk is false than this option is ignored
#If set to false than only the player that started the curing process can stop it
#If set to true than any player can cancel the transformation
cancelTransformationWithMilkByAnyone: false
#The curer can feed a piglin food that gives potion effects and potions
#Only works for curer
#
#Following items can be fed to the piglin: Enchanted golden apple, golden apple, Suspicious stew, Poisonous potato, Chorus fruit, Honey bottle, Pufferfish, Spider eye, Milk bucket, any drinkable potion
feedPiglin: false
#Anyone can feed any piglin
#If feedPiglin is false than this option is ignored
feedPiglinByAnyone: false
#If this is set to true and a golden carrot is fed to the piglin than it will change into an adult if it's a baby or change into a baby if it is an adult
feedGoldenCarrot: false
#When you SHIFT+Left click a piglin it will tell you it's current health, potion effects and how many items it stores
#Only works for curer and staff with permission: curedpiglins.piglininfo
getInfo: false
#Any player can get info on any piglin
#If getInfo is false than this option is ignored
getInfoByAnyone: false
#{potions} placeholder needs to be left as in the exmaple, on a single line and no extra characters
piglinInfoMessage:
- '&aName: {name}'
- '&aCurer: {curer}'
- '&aHealth: {health}'
- '&aItems in inventory: {itemsCount}'
- '&aActive potions: '
- '{potions}'
#Used for {potions} placeholder in piglinInfoMessage
piglinInfoMessagePotionsFormat: '&aPotion: {type}, duration: {duration} seconds, amplifier: {amplifier}'
#Will send a message to the curer telling when/where a piglin died and it's cause of death
informCurerAboutPiglinDeath: false
deathPiglinMessage:
- '&cPiglin named {name} died.'
- '&cType: {type}'
- '&cDeath Location: {deathLocation}'
- '&cDeath Date: {deathDate}. TimeZone: {timeZone}'
- '&cLast damage cause: {damageCause}'
- '&cLast damage cause date: {lastDamageDate}. TimeZone: {timeZone}'
- '&cLast damage by player date: {lastDamagePlayerDate}. TimeZone: {timeZone}'
- '&cLast damage by player name: {lastDamagePlayerName}'
#Message used for {deathLocation} placeholder in deathPiglinMessage
deathLocationMessage: '&cWorld: {worldName}, x: {x}, y: {y}, z: {z}'
#Time zone used for dates in deathPiglinMessage
#Enter a valid one and do NOT use colors
serverTimeZone: 'GMT-6'
#Format used for dates in deathPiglinMessage
#Enter a valid one and do NOT use colors
dateFormat: 'yyyy-MM-dd HH:mm:ss'
#When using a name tag. Players with the permission curepiglins.bypassrename ignore this setting
canOtherPeopleRenamePiglin: true
cannotRename: '&cThis piglin doesn`t belong to you'
#////////////////////////
#Inventory
#////////////////////////
#If the piglin that was just cured keeps the items that it had while it was a zombiefied piglin
curedPiglinKeepsOldItems: true
#If the piglin that was just cured keeps the nbt tags that it had while it was a zombiefied piglin
curedPiglinKeepsNBTTags: true
#When right clicked the piglin will open a GUI Inventory were you can modify it's armour, item in main hand, item in off hand and has an extra slot for storing purposes
armourInventoryModify: true
armourInventoryName: '&aPiglin Inventory'
#Can be one of the following values: 0, 1, 2, 3, 4, 5
#Entering a different value than those above will automatically be set to 0
#0 - No bonus inventory rows
#These are bonus rows in armourInventory that players can be used to store items
armourInventoryBonusRows: 0
#If this value is set to true then the armourInventory can be openened by anyone
#Setting this to false will make it so it can only be opened by the curer and staff with permission: curedpiglins.openarmourinventory
armourInventoryCanBeOpenedByAnyone: false
#If set to true then the cured piglin will drop all items from it's inventory
#If set to false then all the items in the piglin inventory will be lost
dropItemsFromInventoryOnDeath: false
#If an invalid material is entered then a default BLACK_STAINED_GLASS_PANE is provided
fillerItemMaterial: BLACK_STAINED_GLASS_PANE
fillerItemName: ''
#If you want lore to be empty or have just one line then use the default format
#Format for multiple lines
# fillerItemLore:
# - 'line1'
# - '&aLine2'
fillerItemLore: ''
professions.yml
# For enchantments
# You may add [nameOfEnchant]:[minLevel]-[maxLevel] per line
# Example:
# enchants:
# - 'DURABILITY:1-0' - Amount range is invalid, so it'll default to 1
# - 'DURABILITY:1-3' - Enchant level between 1 and 3
# - 'DURABILITY:1' - Only possible level for this enchant is 1
#
# The chance of the trade itself is not in percentage (%)
# The number can be as large as you want; the larger the number, the higher the chance of it being selected
#
# Leaving the name and lore empty will use the default item's values
# Please use this list to get item types (materials) names: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
# Please use this list to get the enchantment names: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html
#
# For potion effects, use the format '[{potionEffect}:{minLevel-maxLevel}:{mindurationInSeconds-maxdurationInSeconds}]' or '[{potionEffect}:{level}:{durationInSeconds}]
# Use the following potion effect names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
#
# The default profession must exist. If it does not exist, a default profession will be created internally without trades.
areProfessionsEnaled: true
professions:
default:
trade1:
name:
lore:
type: ENCHANTED_BOOK
amount: 1
chance: 5
enchants:
- 'SOUL_SPEED:1-3'
trade2:
name:
lore:
type: IRON_BOOTS
amount: 1
chance: 8
enchants:
- 'SOUL_SPEED:1-3'
trade3:
name:
lore:
type: SPLASH_POTION
potionEffects:
- 'FIRE_RESISTANCE:1-2:180-300'
amount: 1
chance: 8
trade4:
name:
lore:
type: POTION
potionEffects:
- 'FIRE_RESISTANCE:1:180'
amount: 1
chance: 8
trade5:
name: '&cWater bottle'
lore:
type: POTION
amount: 1
chance: 10
trade6:
name:
lore:
type: IRON_NUGGET
amount: 10-36
chance: 10
trade7:
name:
lore:
type: ENDER_PEARL
amount: 2-4
chance: 10
trade8:
name:
lore:
type: STRING
amount: 3-9
chance: 20
trade9:
name:
lore:
type: QUARTZ
amount: 5-12
chance: 20
trade10:
name:
lore:
type: OBSIDIAN
amount: 1
chance: 40
trade11:
name:
lore:
type: CRYING_OBSIDIAN
amount: 1-3
chance: 40
trade12:
name:
lore:
type: FIRE_CHARGE
amount: 1
chance: 40
trade13:
name:
lore:
type: LEATHER
amount: 2-4
chance: 40
trade14:
name:
lore:
type: SOUL_SAND
amount: 2-8
chance: 40
trade15:
name:
lore:
type: NETHER_BRICK
amount: 2-8
chance: 40
trade16:
name:
lore:
type: SPECTRAL_ARROW
amount: 6-12
chance: 40
trade17:
name:
lore:
type: GRAVEL
amount: 8-16
chance: 40
trade18:
name:
lore:
type: BLACKSTONE
amount: 8-16
chance: 4
prof2:
trade1:
name: '&aPrank'
lore:
type: DIRT
chance: 250
amount: 64-2000
trade2:
name: '&aGood luck'
lore:
type: DIAMOND
chance: 10
amount: 1-5
#This section will only work if you have server verision 1.16.5 and above
acceptedTradeMaterial:
default:
- 'GOLD_INGOT'
prof2:
- 'GOLD_INGOT'
- 'GOLD_NUGGET'
- 'DIAMOND'
#Select the chance when a piglin is cured. Only the ones cured
#Piglins that spawn naturally will not have a profession.
#This is not a percentage value.
#A larger number indicates a higher chance of being selected.
selectionChance:
- 'default:100000'
- 'prof2:1'
#Instead of having professions pick one item at a time, you can select them to pick multiple items.
#The maximum value is 64, and the minimum value is 1.
howManyItemsCanAprofessionPickAtOnce:
default:
minValue: 1
prof2:
minValue: 1
maxValue: 64
#Chance out of 100000.
#[profession]-[itemType]:[chance]
#You cannot use the same material for multiple professions.
#If multiple entries of the same material are used, then the plugin will select the last line with the same type, and the rest will be ignored.
changeProfessionUsingItemChance:
- 'default-GOLDEN_CARROT:50000'
- 'prof2-DIAMOND_BLOCK:1'
#This setting will allow the piglin to change their profession using the above items only if they are of the default profession.
allowProfessionChange: true
#This setting will only work if 'allowProfessionChange' is enabled.
allowProfessionChangeAfter: true
#If the respective settings are enabled,
#For this to work, the 'feedPiglinByAnyone' setting from config.yml needs to be enabled.
professionCanBeChangedByNonOwner: false
#If this setting is false, then piglins won't pick up items that are renamed, enchanted, etc.
#Similarly, for the change profession item, they won't accept it.
canPreciousItemsBeUsed: false
#If libs disguise is installed
#Go to https://mineskin.org/
#Select your skin or upload one, and paste the respective textureValue and textureSignature like in the example below
skins:
default: ''
prof2:
textureValue: ewogICJ0aW1lc3RhbXAiIDogMTcwNjQzNDMwODkyMiwKICAicHJvZmlsZUlkIiA6ICI1OWZmOTU1YzMxYjk0MWI0YWQwNDg4NDk0ODkzNzUzOCIsCiAgInByb2ZpbGVOYW1lIiA6ICJNZWdhMzQ5IiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2ZjZmJiOThhMzYxNGQ4ZTY4NWI1OThmYjRiMmM1YmI0MGQ4NzZiODQ0NDA5ZWVhMzMxZWJmMjQ4ZjViMDhlM2MiCiAgICB9CiAgfQp9
textureSignature: IbrvaAPl9Mrwlf7DHsQBcimIzW0V0m8F6/tx3K+rnd/fcsV9Ttx0s2my1KDWy20I7j9kmYiAFyL1GeM+x3XfAuNaNXDOi07XQI6aaQAK1xJriw0Yhe1C77Ecn3a9LpnEGXzmZ1k651knr3pXBoAg+adYz72jRUZH2Mfw2YJF5+Lr0jyl8Db/hXLgkgiz2HCuSH03IOEOm3ZQ32FeDJfdterbRKyn1xxSFCSiufGLMht0t1eYY51+cdNkjU7qPBQay29blmMe/4hRa4iwX0RbIvzFZijtfrw0560gyL3EYlPC4WJjPnqBkETP+b2Ci7KpMGbEYscR7rk5kh/mZhBW4Ip4icfWVVHhHLBbgRgQ4F5jXF4l/5aLTQR3mqmENn1bT9/sEdp09zVkHVTpUaJ+Tv+7pMGtZA6y09oUz3KLEjlpjf6KQYmXPtrgcAQ9KMGjpawrhqMaphnyjB4zxZAiWo+A4W29DlkEI01SYO5aMr1pcdidFlWG9f3oKJ7OJCqZrM53Um5ghtmF0BtgblxUBb5kEgEh3SpF3Wi3zolZac8qwCBzPa1MoM2MsnPioG5ofnFyageTFOFhWmU3CKjR4Lz7f1drnUVdLJ8EuIPUg7AosyGirt3x3cJazUQAuUtLMQAR6d6B+tOGpMWITvS23i8ILkH6BznEDS3OS4RRwAY=
If you encounter any bugs or have suggestions you want implemented, contact me on Discord: balustrada
评论 0
登录后参与评分
还没有评论,来抢沙发吧