| 
 复制代码# LuckyBlock plugin from MrFiliper
#What block you use for LuckyBlock? (Enable string items and ID)
LuckyBlock: sponge          幸运方块的ID
#What worlds do you enable? (Enable string items)
AllowWorlds:
  - world                 生成幸运方块的世界
#Enable LuckyBlock in creative?
EnableCreative: false 
#Chance to found LuckyBlock, if you need percentage chance, set enable to true and percent to you chance. Percentage support only int (50) or double (50.0)!
Chance:
  enable: false          
  percent: 50           上次几率
#What particle use, when LuckyBlock break? Set false, if you don?t need it.
#Use particle names in this website: [url]https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html[/url]
Particle: POTION_SWIRL_TRANSPARENT
#Configure items, delete "#" for activate 2 example items. You can make infinity items. You must start with item0 and continue with item1, item2, item3...
#Use enchant names in this website: [url]https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html[/url], Don?t place Minecraft ingame enchants names!
#Use entity names in this website: [url]https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html[/url]
#Use sound names in this website: [url]https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html[/url]
#Use potion names in this website: [url]https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionType.html[/url]
#Items:   项目名字
#  item0:
#    block: 276       方块ID
#    amount: 1       数量
#    name: '&6Legendary sword'    名字
#    lore:             介绍
#      - '&eDo you want to touch it?'
#    message: '&6Congratulations! You you ve got &eLegendary sword&6!'      掉落提示消息
#    broadcast: '&6Player &e%name% &6get a &eLegendary sword&r&6!'        全服通告消息
#    command: 'broadcast &6Some command, meybe broadcast?!'                     执行命令
#    enchant:             外加附魔
#      - 'KNOCKBACK;2' 
#      - 'FIRE_ASPECT;2'
#
#  item1:
#    block: 367
#    amount: 5
#    name: '&6Legendary food'
#    lore:
#      - '&eYou want to eat?'
#      - '&cHere is 100% pork!'
#    message: '&6Here s some very good food! 100% pork!'
#    broadcast: '&e%name% &6gain something to eat. Hmmm...'
#    command: 'money give %name% 10'
#  item2:
#    block: 41
#    amount: 1
#    name: '&6Example LuckyBlock'
#    lore:
#      - '&eLuckyBlock with most parameters!'
#      - '&eThis block get %name% with LuckyBlock!'
#    message: '&6Simple message to player!'
#    broadcast: '&6Player &e%name% &6get LuckyBlock!'
#    command: 'money give %name% 10'
#    entity:                       生成实体
#      - PIG
#      - HORSE
#    enchant:       附魔
#      - DURABILITY;3
#    extra:        
#      - TNT
#      - THE_KILLER_BUNNY
#    potion:  药水效果
#      - FIRE_RESISTANCE;60;0
#      - REGENERATION;180;1
#    sound:            音效
#      - ORB_PICKUP
 |