Advertisement
KohakuSaintCrown

Custom LuckyBlock Explained

Jul 8th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.31 KB | None | 0 0
  1. #In this configuration you can create your customized Lucky Blocks
  2. #with your perzonalized surprises, then guide you to how to create
  3. #your own Lucky Block and surprises.
  4. CustomLuckyBlocks:
  5.  #This is the name of you custom LuckyBlock
  6.   KohakuLuckyBlock:
  7.    #active, if is true, the CustomLuckyBlock is active.
  8.     active: true
  9.     #CustomLuckyBlock Material item, in this case, a contrete powder.
  10.     Material: CONCRETE_POWDER
  11.     #Material data, in this case is the color Magenta.
  12.     MaterialData: 2
  13.     #The name of the CustomLuckyBlock Item
  14.     ItemName: '&c&l[ &dKohaku''s LuckyBlock &c&l]'
  15.     lore: #This is te lore, commentary in item.
  16.     - '&dKohakuSaintCrown''s LuckyBlock'
  17.     - '&dEnjoi it.'
  18.     #glowing: true/false, If you want your CustomLuckyBlock is glowing enchanted effect.
  19.     glowing: true
  20.     useDataBase: #Important to separate normal blocks to CustomLuckyBlocks.
  21.       use: true
  22.       #DontForget set a ID, this is for register in the .db File and separete from other CustomLuckyBlocks.
  23.       code: KLB
  24.     PlaySound:
  25.      #Activate the sound when place your CustomLuckyBlock
  26.       use: true
  27.       #The name of the sound.
  28.       Sound: ENTITY_BAT_AMBIENT
  29.       #Pitch effect, 0 = severe 1 = normal 2 = acute
  30.       Pitch: 2
  31.     StaticEffect:
  32.      #If you want set a static effect to your CustomLuckyBlock
  33.       use: true
  34.       #Is the Particle Type
  35.       type: REDSTONE
  36.     #ExplosionPrevent: Prevent destruction from explotions.
  37.     ExplosionPrevent: true
  38.     #The cost value in the shop /lb shop :: Free for admins.
  39.     Cost: 1000
  40.     Surprises: #The surprise list, this CustomLuckyBlock only drops this Surprises.
  41.     - Tools
  42.     - LittleHouse
  43.     - Stone
  44.     - Woods
  45.     - Colors
  46.     - ColorWool
  47.     #permission: Permission node.
  48.     permission: luckyblocksuper.use.kohakuluckyblock
  49.   PoorLuckyBlock:
  50.     active: true
  51.     Material: SPONGE
  52.     MaterialData: 0
  53.     ItemName: '&8&l[ &7Poor LuckyBlock &8&l]'
  54.     lore:
  55.    - '&7This is a poor LuckyBlock'
  56.     - '&7Drop only simple items.'
  57.     glowing: true
  58.     useDataBase:
  59.       use: true
  60.       code: PLB
  61.     PlaySound:
  62.       use: true
  63.       Sound: ENTITY_BAT_AMBIENT
  64.       Pitch: 2
  65.     StaticEffect:
  66.       use: true
  67.       type: HEART
  68.     ExplosionPrevent: true
  69.     Cost: 50
  70.     Surprises:
  71.    - Stone
  72.     - Woods
  73.     - Colors
  74.     - ColorWool
  75.     permission: luckyblocksuper.use.poorluckyblock
  76.  
  77. #In this section you create your custom Reward.
  78. Surprises:
  79.  #The name of your custom reward.
  80.   Tools:
  81.  #First off all, I explain you how works that.
  82.   #First atribute is Material ID.
  83.   #Second atribute is Material Data(Colors, types, etc..)
  84.   #Third atribute is the ammount
  85.   #Fourth atribute is the Item Name.
  86.   #Fifth atribute is the Item Lore.
  87.   #Sixth, seven, eight... is the enchantment with respective levels.
  88.   #If you want know all enchantments, open the 'Enchantments.txt'
  89.     Items:
  90.    - 273, 0, 1, &eLucky Spade, &6You are a_&6verry lucky guy!, durability:5, fortune:3
  91.     - 274, 0, 1, &eLucky Pickaxe, &6You are a_&6verry lucky guy!, durability:5
  92.     - 276, 0, 1, &b&lSuper Sword, &cThis sword_&cis a super_&ccomplement, power:10,
  93.       flame:10, sharpness:5, frost:10, fortune:20, luck:10, mending:10, thorns:10
  94.     - 35, 4, 16, &6Yellow Wool, &cMagic wool_&6Please dont forget_it...
  95.     Particle: #The particle effect when the reward is spawned.
  96.       #Set to true if you want active this option
  97.       active: true
  98.       #Particle value
  99.       type: FLAME
  100.     Message: #Messages to send to Chat or Action Bar.
  101.       Chat:
  102.      - ' '
  103.       - '&cFantastic, you won the Lucky Items'
  104.       - '&cYou are a fantastic Lucky Guy'
  105.       - ' '
  106.       ActionBar: '&eYou won the Lucky Tools'
  107.     #Spawn Fireworks
  108.     Fireworks: true
  109.     Schematic: #If you want spawn a structure.
  110.       #Set to true to activate.
  111.       active: false
  112.       #Set the .schematic file name, paste it on /Schematics/UserSchematics/
  113.       Name: example.schematic
  114.     #The percent rate to spawn this surprice reward.
  115.     Percent: 100
  116.   LittleHouse:
  117.     Items:
  118.    #If is 0, no spawn items.
  119.     - 0
  120.     Particle:
  121.       active: false
  122.       type: FLAME
  123.     Message:
  124.       Chat:
  125.      - ' '
  126.       - '&cFantastic, you have a new house'
  127.       - '&cYou are a fantastic Lucky Guy'
  128.       - ' '
  129.       ActionBar: '&aYour new house'
  130.     Fireworks: false
  131.     Schematic:
  132.       active: true
  133.       Name: LittleHouse.schematic
  134.     Percent: 10
  135.   Stone:
  136.     Items:
  137.    #Here is only a item, no custom name or lore.
  138.     - 1, 0, 1
  139.     Particle:
  140.       active: false
  141.     Message:
  142.       Chat:
  143.      - '&7A simple stone.'
  144.       ActionBar: ''
  145.     Fireworks: false
  146.     Schematic:
  147.       active: false
  148.     Percent: 100
  149.   Ores:
  150.     Items:
  151.    #Here is a item with custom name only, no lore.
  152.     - 14, 0, 1, &8Gold ore
  153.     - 15, 0, 1, &7Iron ore
  154.     - 16, 0, 1, &8Coal ore
  155.     - 21, 0, 1, &9Lapis ore
  156.     - 56, 0, 1, &cDiamond ore
  157.     Particle:
  158.       active: false
  159.     Message:
  160.       Chat:
  161.      - none
  162.       ActionBar: ''
  163.     Fireworks: true
  164.     Schematic:
  165.       active: false
  166.     Percent: 100
  167.   Woods:
  168.     Items:
  169.    - 5, 0, 1
  170.     - 5, 1, 1
  171.     - 5, 2, 1
  172.     - 5, 3, 1
  173.     - 5, 4, 1
  174.     - 5, 5, 1
  175.     Particle:
  176.       active: false
  177.     Message:
  178.       Chat:
  179.      - none
  180.       #Is nothing here, in Action bar not appear anything
  181.       ActionBar: ''
  182.     Fireworks: true
  183.     Schematic:
  184.       active: false
  185.     Percent: 100
  186.   Colors:
  187.     Items:
  188.    - 351, 0, 1
  189.     - 351, 1, 1
  190.     - 351, 2, 1
  191.     - 351, 3, 1
  192.     - 351, 4, 1
  193.     - 351, 5, 1
  194.     - 351, 6, 1
  195.     Particle:
  196.       active: false
  197.     Message:
  198.       Chat:
  199.      - none
  200.       ActionBar: '&4C&co&6l&eo&dr&3f&1u&cl&bl'
  201.     Fireworks: true
  202.     Schematic:
  203.       active: false
  204.     Percent: 100
  205.   ColorWool:
  206.     Items:
  207.    - 35, 0, 1
  208.     - 35, 1, 1
  209.     - 35, 2, 1
  210.     - 35, 3, 1
  211.     - 35, 4, 1
  212.     - 35, 5, 1
  213.     - 35, 6, 1
  214.     Particle:
  215.       active: false
  216.     Message:
  217.       Chat:
  218.      #If is set to 'none' reward no send messages to chat.
  219.       - none
  220.       ActionBar: '&4C&co&6l&eo&dr&3f&1u&cl&bl'
  221.     Fireworks: true
  222.     Schematic:
  223.       active: false
  224.     Percent: 100
  225. #From here, only you can modify the chat, some numbers and true/false options.
  226. #This section is for UnLucky surprises.
  227.   Explosion:
  228.       Message:
  229.         Chat:
  230.            - '&cExplosion surprice :)'
  231.         ActionBar: ''
  232.       ratio: 5
  233.       fire: false
  234.       destruction: false
  235.   Death:
  236.       Message:
  237.         Chat:
  238.            - '&cSudden Death'
  239.         ActionBar: ''
  240.   Thunder:
  241.       Message:
  242.         Chat:
  243.            - none
  244.         ActionBar: '&b&oZeus thought you were kratos.'  
  245. #GUI Menu config
  246. Menu:
  247.    #The menu tittle and ItemGui Name
  248.     Tittle: "&bCustom LuckyBlocks"
  249.     Description: #Item Lore description.
  250.         - '&dCustomized LuckyBlocks'
  251.         - '&dClick to see it.'
  252.     ItemsLore: #Customized Luckyblock Lore for users and admins.
  253.         users: '&a&lCost: &e&l$%cost% &aYou have: &e&l$%money%'
  254.         admin: '&bFree for admins.'
  255. #Here, please don't forget this !!!
  256. #Remember register your CustomLuckyBlock in the list
  257. LuckyBlocks:
  258. - KohakuLuckyBlock
  259. - PoorLuckyBlock
  260. #And here too, register all your Surprise rewards.
  261. SurprisesList:
  262. - Explosion
  263. - Death
  264. - Thunder
  265. - Tools
  266. - LittleHouse
  267. - Stone
  268. - Ores
  269. - Woods
  270. - Colors
  271. - ColorWool
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement