Added
Made it possible to add lores to custom luckyblocks.
Make sure to add the following lines and edit them under Settings, otherwise issues may occur:
Code (Text):
Lore:
- "This is line one"
- "&aLook! You can use colors!"
- "This is my favorite line, wait it's not..."
Example:
Code (Text):
Settings:
HeadOwner: "template_please_change"
DisplayName: '&e&lTemplate Block'
Lore:
- "Line"
- "Another line"
- "&aLine with &bcolors"
CraftingRecipe:
# When disabled, you will not be able to craft the luckyblock.
Enabled: true
# Here you can set the crafting recipe. 1 is at the top left and 3 is at the top right.
# 7 is down left and 9 down right.
Slot1: IRON_INGOT
Slot2: IRON_INGOT
Slot3: IRON_INGOT
Slot4: IRON_INGOT
Slot5: DROPPER
Slot6: IRON_INGOT
Slot7: IRON_INGOT
Slot8: IRON_INGOT
Slot9: IRON_INGOT
Particles:
Enabled: true
# Effect names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
ParticleEffect: FLAME
# The amount of particles.
ParticleAmount: 200
Sounds:
Enabled: true
# Sound names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
# For 1.9 and 1.8 they can be found here: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
Sound: BLOCK_NOTE_PLING
Surprises:
Chances:
# When a chance is set to 0, the surprise will be disabled.
# The chance can be any number you want. The total of the chances DON'T have to be 100.
Apples: 100
Blaze: 100
Bookshelfs: 100
Buckets: 100
CraftingTable: 100
DiamondBlock: 100
DiamondTools: 100
Dirt: 100
ElderGuardian: 100
EmeraldBlock: 100
EnchantmentItems: 100
EnderChests: 100
EnderDragon: 100
EnderPearls: 100
Explosion: 100
FallingTNT: 100
FlyingSkeletons: 100
FlyingTNT: 100
FlyingXPBottles: 100
Food: 100
Furnace: 100
Ghast: 100
GhastArmoredGiant: 100
GhastTear: 100
GiantMagma: 100
GiantSlime: 100
GiantZombie: 100
GoldBlock: 100
GoldenApples: 100
GoldTools: 100
Guardian: 100
Husk: 100
IronBlock: 100
IronTools: 100
Launch: 100
Lava: 100
LavaHole: 100
Lightning: 100
LightningCreeper: 100
LuckyBow: 100
LuckyPickaxe: 100
LuckySword: 100
Materials: 100
MineCart: 100
NetherStar: 100
Obsidian: 100
ObsidianCage: 100
Pistons: 100
PolarBear: 100
PrimedTNT: 100
RandomBlocks: 100
RedstoneBlocks: 100
RedstoneDust: 100
RottenFlesh: 100
SlimeBlocks: 100
SoulSand: 100
Stick: 100
StickyPistons: 100
StoneCage: 100
StoneTools: 100
Stray: 100
SugarCanes: 100
TamedOcelot: 100
TamedWolf: 100
TNTItems: 100
UsefulBlocks: 100
VillagerTower: 100
Witch: 100
Wither: 100
Wood: 100
WoodenTools: 100
Zombies: 100
KnockbackStick: 100
UselessSword: 100
CustomSurprises: 100
CustomSurprises:
# CustomSurprise example with all modes used, except a building surprise.
# For the building surprise see CustomSurprise2
# This surprise is not enabled.
CustomSurprise1:
# Chance works the same as for normal surprises.
Chance: 100
# A custom permission required to get this surprise
Permission: "superluckyblock.custom.permission"
# A list of commands that will be executed when this surprise is ran.
Commands:
- 'give %player% minecraft:dirt 2'
- 'give %player% minecraft:cobblestone 4'
# A list of items that will be dropped when this surprise is ran.
#You can find the valid values here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
Items:
- 'BUCKET'
- 'COAL'
# A list of entitites that will be spawned when this surprise is ran.
# You can find the valid values here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
Entities:
- 'PIG'
- 'SHEEP'
# A message that will be sent after the surprise ran.
# PluginSettings.MessagePrefix will be used in front of it.
Message: "Enjoy the test surprise!"
# This surprise will not be triggered unless you install WorldEdit and create the schematic file.
# I recommend to remove or edit this surprise, as it's just an example.
# Schematics should be saved in plugins/SuperLuckyBlock-Pro/schematics
CustomSurprise2:
Chance: 100
# Name of the schematic that should be spawned
Schematic: dirthouse.schematic
# Location accepts the following values: player and block. This field is REQUIRED for building surprises.
# When you select player, it will spawn the building at the player's location.
# When you select block, it will spawn it at the block's location.
Location: player
CustomSurprise3:
# The luckyblock will be changed into this block after the surprise is ran. If this option is removed the luckyblock will become AIR.
# You can find the valid values here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
Block: DIRT
Permission: "this.is.another.permission"