Advertisement
Guest User

SuperLuckyBlock default.yml

a guest
Sep 15th, 2024
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 25.67 KB | None | 0 0
  1. Settings:
  2.  # The display name of the luckyblock
  3.   DisplayName: "&e&lLucky Block"
  4.   # Accepts the following formats:
  5.   # {player name} - creates a player head with the skin of the specified player. Example: "Luck"
  6.   # material:{MATERIAL} - Makes the specified block a luckyblock. Example: "material:DIAMOND_BLOCK"
  7.   # http(s)://{URL} - Creates a player head with the skin from the specified url. Example: "https://textures.minecraft.net/texture/519d28a8632fa4d87ca199bbc2e88cf368dedd55747017ae34843569f7a634c5"
  8.   SkullOwner: "https://textures.minecraft.net/texture/519d28a8632fa4d87ca199bbc2e88cf368dedd55747017ae34843569f7a634c5"
  9.   # Specifies the way the luckyblock has to be opened. When an invalid value has been entered, this setting will default to break.
  10.   # Valid values:
  11.   # break - This luckyblock has to be opened by breaking it.
  12.   # clickplaced - This luckyblock has to be opened by clicking on it while placed.
  13.   # clickhand - This luckyblock has to be opened by clicking on it while holding the item in your hand.
  14.   Mode: break
  15.   Lore:
  16.    - "Example Line"
  17.     - "&4Colored &2Line"
  18.     - "Another line"
  19.   # This luckyblock will not give surprises in the worlds listed below. The luckyblock will break and drop on the ground instead.
  20.   # NOTE: This does not disable rewards from LuckyActions!
  21.   DisabledWorlds:
  22.    - ExampleWorld
  23.     - AnotherExample
  24.   # Setting this to true is the equivalent of setting every surprise's chance to 0.0.
  25.   # It basically mean you only use custom surprises.
  26.   DisableAllBuiltInSurprises: false
  27.   # Setting this to true is the equivalent of setting every custom surprise's chance to 0.0.
  28.   # It basically mean you only use the built-in surprises.
  29.   # DO NOT ENABLE THIS IF YOU HAVE DISABLED ALL BUILT-IN SURPRISES!
  30.   DisableAllCustomSurprises: false
  31.   Permission:
  32.    # When true, players need the specified permission to open this luckyblock.
  33.     Enabled: false
  34.     Permission: "superluckyblock.luckyblock.default"
  35.     # When true, players that don't have permission can't break this luckyblock. When false, they can break it and it will drop the luckyblock, but they won't get any rewards.
  36.     PreventBreak: false
  37.     Message:
  38.       Enabled: true
  39.       Message: "You are not allowed to break this luckyblock."
  40.   # Spawn particles when the luckyblock is opened.
  41.   Particles:
  42.     Enabled: true
  43.     # For valid effects see: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
  44.     Effect: FLAME
  45.     # The amount of particles to spawn.
  46.     Amount: 150
  47.     # The block offset of the particles. X: 0.5, Y: 0.25, Z: 0.5 will spawn the particles in the center of a skull.
  48.     # X: 0.5, Y: 0.5, Z: 0.5 will spawn the particles in the center of the block.
  49.     # X: 0.0, Y: 0.0, Z: 0.0 is the old behavior (before v4.10.0).
  50.     Offset:
  51.       X: 0.5
  52.       Y: 0.25
  53.       Z: 0.5
  54.   # Play a sound when the luckyblock is opened.
  55.   Sounds:
  56.     Enabled: true
  57.     # Sound names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  58.     Sound: BLOCK_NOTE_BLOCK_PLING
  59.     # between 0.0 and 1.0
  60.     Volume: 1.0
  61.     # Range: 0.5 - 2.0. 1.0 is normal pitch.
  62.     Pitch: 1.0
  63.   Economy:
  64.    # When true, this luckyblock can be bought or sold for the configured prices in the shop.
  65.     Enabled: false
  66.     Buy: 1000
  67.     Sell: 500
  68.   Crafting:
  69.    # When true, this luckyblock can be crafted using the recipe below.
  70.     Enabled: true
  71.     # Slot1 = top left, Slot3 = top right, Slot7 = bottom left, Slot9 = bottom right
  72.     # Valid material names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  73.     # NOTE: it is currently not possible to use more than 1 item in a slot.
  74.     Recipe:
  75.       Slot1: GOLD_INGOT
  76.       Slot2: GOLD_INGOT
  77.       Slot3: GOLD_INGOT
  78.       Slot4: GOLD_INGOT
  79.       Slot5: DROPPER
  80.       Slot6: GOLD_INGOT
  81.       Slot7: GOLD_INGOT
  82.       Slot8: GOLD_INGOT
  83.       Slot9: GOLD_INGOT
  84.   Creative:
  85.    # When false, players in creative can't get rewards from luckyblock. The luckyblock will break but players won't get anything out of them.
  86.     Allowed: true
  87.     # Prevents players from breaking luckyblocks. Only works when allowed is set to false.
  88.     PreventBreaking: false
  89.     # Prevents players in creative from moving, dropping and cloning luckyblocks in their inventory.
  90.     # This feature was originally meant to only block duplication, but due to the limitations of spigot every interaction will be blocked.
  91.     # NOTE: this feature still requires some polishing.
  92.     PreventInteraction: false
  93.   # Sends a message to all players when a player opens this Luckyblock.
  94.   Broadcast:
  95.     Enabled: false
  96.     Message: "%player% just opened a luckyblock!"
  97.  
  98. # LuckyActions reward players with luckyblocks when they perform certain actions, if they get lucky.
  99. LuckyActions:
  100.  # LuckyMining gives players a chance to get luckyblocks when mining.
  101.   Mining:
  102.    # When true, players are able to get this luckyblock rewarded while mining.
  103.     Enabled: true
  104.     # The amount of luckyblocks the player will receive.
  105.     RewardAmount: 1
  106.     Permission:
  107.       Enabled: false
  108.       Permission: "superluckyblock.actions.mining"
  109.     Creative:
  110.      # When false, players in creative can't get rewards from mining.
  111.       Allowed: true
  112.     Message:
  113.       Enabled: true
  114.       Message: "You found a luckyblock while mining!"
  115.     Broadcast:
  116.       Enabled: false
  117.       Message: "%player% found a luckyblock while mining!"
  118.     # Players can't get luckyblocks from mining in these worlds. (Disables the action in these worlds)
  119.     DisabledWorlds:
  120.      - "Example World"
  121.       - "Other world"
  122.     # Each block specified below has it's own chance to reward the player with a luckyblock.
  123.     # Format: {MATERIAL}:{chance}
  124.     # Valid material names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  125.     # Chance can be any decimal number. The higher the number, the higher the chance. The number can be as small as you want, but it can't be negative.
  126.     Chances:
  127.      - "STONE:1"
  128.       - "IRON_ORE:2.5"
  129.       - "REDSTONE_ORE:3.5"
  130.       - "GOLD_ORE:4"
  131.       - "DIAMOND_ORE:10"
  132.   # LuckyKill gives players a chance to get luckyblocks when killing mobs or players.
  133.   Kill:
  134.     Enabled: true
  135.     Reward:
  136.       PlayerKill:
  137.        # The chance that the player will get a luckyblock when killing another player in percent.
  138.         Chance: 4.0
  139.         # The amount of luckyblocks the player will receive for killing a player.
  140.         Amount: 1
  141.       # The amount of luckyblocks the player will receive for killing a mob.
  142.       MobKill:
  143.         Chance: 2.0
  144.         Amount: 1
  145.     Permission:
  146.       Enabled: false
  147.       Permission: "superluckyblock.actions.kill"
  148.     Creative:
  149.      # When false, players in creative can't get rewards from killing mobs.
  150.       Allowed: true
  151.     Message:
  152.       Enabled: true
  153.       Message: "You found a luckyblock while killing a mob!"
  154.     Broadcast:
  155.       Enabled: false
  156.       Message: "%player% found a luckyblock while killing a mob!"
  157.     # Players can't get luckyblocks from killing mobs in these worlds. (Disables the action in these worlds)
  158.     DisabledWorlds:
  159.      - "Example World"
  160.       - "Other world"
  161.  
  162. # Some surprises are disabled by default(chance of 0.0) because they may be destructive. You can enable them by setting the chance to a value higher than 0.0.
  163. Surprises:
  164.   AnvilTrap:
  165.     Name: "Anvil Trap"
  166.     Chance: 100.0
  167.     # Spawn height of the falling anvil.
  168.     AnvilHeight: 80
  169.     # When set to true, will ignore all air blocks in this schematic. This will make it so it does not destroy any unneeded blocks.
  170.     IgnoreAir: true
  171.   Apples:
  172.    # The name of the surprise that will be used in messages that allow the %surprise% placeholder.
  173.     Name: "Apples"
  174.     # The chance that the surprise might be picked. Can be any number.
  175.     Chance: 100.0
  176.     # The amount of items to drop.
  177.     Amount: 8
  178.     # The message that will be sent to the player when they get this surprise.
  179.     Message: "Apples are great!"
  180.   Blaze:
  181.     Name: "Blaze"
  182.     Chance: 100.0
  183.     Amount: 1
  184.   Bob:
  185.     Name: "Bob"
  186.     Chance: 100.0
  187.     Amount: 1
  188.     CustomName:
  189.       Enabled: true
  190.       Name: "&e&lBob"
  191.   Bookshelfs:
  192.     Name: "Bookshelfs"
  193.     Chance: 100.0
  194.     Amount: 3
  195.   Buckets:
  196.     Name: "Buckets"
  197.     Chance: 100.0
  198.     Amount: 5
  199.     # Chance that an empty bucket will be changed to a water bucket. Has to be a number between 1 and 100.
  200.     # Set to 0 to disable. Set to 100 for every bucket to be a water bucket.
  201.     WaterBucketChance: 20.0
  202.     MilkBucketChance: 15.0
  203.     LavaBucketChance: 10.0
  204.   CraftingTable:
  205.     Name: "Crafting Table"
  206.     Chance: 100.0
  207.     Amount: 1
  208.   DiamondArmor:
  209.     Name: "Diamond Armor"
  210.     Chance: 100.0
  211.   DiamondBlock:
  212.     Name: "Falling Diamond Block"
  213.     Chance: 100.0
  214.     # The height the block falls from.
  215.     FallHeight: 6
  216.   ElderGuardian:
  217.     Name: "Elder Guardian"
  218.     Chance: 0.0
  219.     Amount: 1
  220.   EmeraldBlock:
  221.     Name: "Falling Emerald Block"
  222.     Chance: 100.0
  223.     FallHeight: 6
  224.   EnchantmentItems:
  225.     Name: "Enchantment Items"
  226.     Chance: 100.0
  227.     # Amount of lapis lazuli to drop. Set to 0 to disable.
  228.     LapisAmount: 32
  229.     # Amount of books to drop. Set to 0 to disable.
  230.     BookAmount: 6
  231.     # Amount of enchantment tables to drop. Set to 0 to disable.
  232.     EnchantmentTablesAmount: 1
  233.     # Amount of XP bottles to drop. Set to 0 to disable.
  234.     EXPBottlesAmount: 3
  235.   Enderchest:
  236.     Name: "Enderchest"
  237.     Chance: 100.0
  238.     Amount: 1
  239.   EnderDragon:
  240.     Name: "Ender Dragon"
  241.     Chance: 0.0
  242.     Amount: 1
  243.   EnderMan:
  244.     Name: "Enderman"
  245.     Chance: 100.0
  246.     Amount: 2
  247.   EnderPearls:
  248.     Name: "Enderpearls"
  249.     Chance: 100.0
  250.     Amount: 4
  251.   EXPBottleRain:
  252.     Name: "EXP Rain"
  253.     Chance: 100.0
  254.     Amount: 6
  255.     DropHeight: 4
  256.   Explosion:
  257.     Name: "Explosion"
  258.     Chance: 0.0
  259.     # The power of the explosion
  260.     Power: 4.5
  261.   FireballRain:
  262.     Name: "Fireball Rain"
  263.     Chance: 0.0
  264.     # The amount of fireballs to spawn
  265.     Amount: 8
  266.     # The size in blocks of the radius around the luckyblock where the fireballs will spawn.
  267.     Radius: 5
  268.     FallHeight: 5
  269.     # Delay between fireball spawns in ticks. 20 ticks = ~1 second.
  270.     Delay: 10
  271.   FlyingSkeletons:
  272.     Name: "Flying Skeletons"
  273.     Chance: 100.0
  274.     Amount: 4
  275.   FlyingTNT:
  276.     Name: "Flying TNT"
  277.     Chance: 100.0
  278.     Amount: 8
  279.   FlyingEXPBottles:
  280.     Name: "Flying EXP"
  281.     Chance: 100.0
  282.     Amount: 6
  283.   Ghast:
  284.     Name: "Ghast"
  285.     Chance: 100.0
  286.     Amount: 1
  287.   GiantMagmaCube:
  288.     Name: "Giant Cube Slime"
  289.     Chance: 100.0
  290.     Amount: 1
  291.     Size: 14
  292.   GiantSlime:
  293.     Name: "Giant Slime"
  294.     Chance: 100.0
  295.     Amount: 1
  296.     Size: 14
  297.   GiantZombie:
  298.     Name: "Giant Zombie"
  299.     Chance: 0.0
  300.     Amount: 1
  301.   GoldArmor:
  302.     Name: "Gold Armor"
  303.     Chance: 100.0
  304.   GoldBlock:
  305.     Name: "Falling Gold Block"
  306.     Chance: 100.0
  307.     FallHeight: 6
  308.   Guardians:
  309.     Name: "Guardians"
  310.     Chance: 100.0
  311.     Amount: 2
  312.     SpawnWater: true
  313.   IronArmor:
  314.     Name: "Iron Armor"
  315.     Chance: 100.0
  316.   IronBlock:
  317.     Name: "Falling Iron Block"
  318.     Chance: 100.0
  319.     FallHeight: 6
  320.   KnockbackStick:
  321.     Name: "Knockback Stick"
  322.     Chance: 100.0
  323.     Amount: 1
  324.     KnockbackLevel: 10
  325.   # Requires WorldEdit. This surprise will be automatically disable when WorldEdit is not installed.
  326.   LavaHole:
  327.     Name: "Lava Hole"
  328.     Chance: 0.0
  329.   # Requires WorldEdit. This surprise will be automatically disable when WorldEdit is not installed.
  330.   LavaTrap:
  331.     Name: "Lava Trap"
  332.     Chance: 100.0
  333.     # Time in ticks to wait before spawning the lava (20 ticks = 1 second). This is done so that the player has a chance to escape.
  334.     LavaDelay: 20
  335.     # When set to true, will ignore all air blocks in this schematic. This will make it so it does not destroy any unneeded blocks.
  336.     IgnoreAir: true
  337.   Lightning:
  338.     Name: "Lightning Strike"
  339.     Chance: 100.0
  340.     # Valid values:
  341.     # block - will strike lightning at the location of the luckyblock.
  342.     # player - will strike lightning on the player.
  343.     Location: block
  344.   LightningCreeper:
  345.     Name: "Lightning Creeper"
  346.     Chance: 100.0
  347.     Amount: 1
  348.   LuckyBoots:
  349.     Name: "Lucky Boots"
  350.     Chance: 100.0
  351.     DisplayName: "&e&lLucky Boots"
  352.     Enchantments:
  353.      # Chance should be between 0 and 100. When set to 100 the enchantment will always be added, when set to 0 the enchantment will never be added.
  354.       FeatherFalling:
  355.        # Minimum level of the enchantment. Should be higher than 1.
  356.         MinLevel: 1
  357.         # Maximum level of the enchantment. Should be equal to or higher than MinLevel.
  358.         MaxLevel: 4
  359.         Chance: 50.0
  360.       Thorns:
  361.         MinLevel: 1
  362.         MaxLevel: 3
  363.         Chance: 40.0
  364.       DepthStrider:
  365.         MinLevel: 1
  366.         MaxLevel: 3
  367.         Chance: 50.0
  368.       Protection:
  369.         MinLevel: 1
  370.         MaxLevel: 4
  371.         Chance: 75.0
  372.       Mending:
  373.         MinLevel: 1
  374.         MaxLevel: 1
  375.         Chance: 5.0
  376.       Unbreaking:
  377.         MinLevel: 1
  378.         MaxLevel: 3
  379.         Chance: 100.0
  380.   LuckyChest:
  381.     Name: "Lucky Chest"
  382.     Chance: 100.0
  383.     # The minimum and maximum amount of items that can appear in a chest.
  384.     MinItems: 2
  385.     MaxItems: 6
  386.     # The items listed below have a chance to appear in a luckychest. All items have an equal chance of appearing.
  387.     # NOTE: make sure that there are AT LEAST enough items for MaxItems as there won't be duplicates in the chest.
  388.     # Format: {ITEM}:{amount}
  389.     Items:
  390.      - "DIRT:32"
  391.       - "DIAMOND_SWORD:1"
  392.       - "DIAMOND_AXE:1"
  393.       - "DIAMOND_PICKAXE:1"
  394.       - "COBBLESTONE:32"
  395.       - "IRON_INGOT:16"
  396.       - "IRON_BLOCK:4"
  397.       - "STICK:5"
  398.       - "APPLE:12"
  399.       - "POTATO:6"
  400.       - "CARROT:6"
  401.       - "COAL:12"
  402.       - "DIAMOND:12"
  403.       - "GOLD_INGOT:12"
  404.       - "GOLD_BLOCK:4"
  405.       - "GRASS_BLOCK:12"
  406.   LuckyChestplate:
  407.     Name: "Lucky Chestplate"
  408.     Chance: 100.0
  409.     DisplayName: "&e&lLucky Chestplate"
  410.     Enchantments:
  411.      # Chance should be between 0 and 100. When set to 100 the enchantment will always be added, when set to 0 the enchantment will never be added.
  412.       Thorns:
  413.        # Minimum level of the enchantment. Should be higher than 1.
  414.         MinLevel: 1
  415.         # Maximum level of the enchantment. Should be equal to or higher than MinLevel.
  416.         MaxLevel: 3
  417.         Chance: 40.0
  418.       DepthStrider:
  419.         MinLevel: 1
  420.         MaxLevel: 3
  421.         Chance: 50.0
  422.       Protection:
  423.         MinLevel: 1
  424.         MaxLevel: 4
  425.         Chance: 75.0
  426.       Mending:
  427.         MinLevel: 1
  428.         MaxLevel: 1
  429.         Chance: 5.0
  430.       Unbreaking:
  431.         MinLevel: 1
  432.         MaxLevel: 3
  433.         Chance: 100.0
  434.   LuckyHelmet:
  435.     Name: "Lucky Helmet"
  436.     Chance: 100.0
  437.     DisplayName: "&e&lLucky Helmet"
  438.     Enchantments:
  439.      # Chance should be between 0 and 100. When set to 100 the enchantment will always be added, when set to 0 the enchantment will never be added.
  440.       AquaAffinity:
  441.        # Minimum level of the enchantment. Should be higher than 1.
  442.         MinLevel: 1
  443.         # Maximum level of the enchantment. Should be equal to or higher than MinLevel.
  444.         MaxLevel: 3
  445.         Chance: 50.0
  446.       Thorns:
  447.         MinLevel: 1
  448.         MaxLevel: 3
  449.         Chance: 40.0
  450.       DepthStrider:
  451.         MinLevel: 1
  452.         MaxLevel: 3
  453.         Chance: 50.0
  454.       Protection:
  455.         MinLevel: 1
  456.         MaxLevel: 4
  457.         Chance: 75.0
  458.       Mending:
  459.         MinLevel: 1
  460.         MaxLevel: 1
  461.         Chance: 5.0
  462.       Respiration:
  463.         MinLevel: 1
  464.         MaxLevel: 3
  465.         Chance: 50.0
  466.       Unbreaking:
  467.         MinLevel: 1
  468.         MaxLevel: 3
  469.         Chance: 100.0
  470.   LuckyLeggings:
  471.     Name: "Lucky Leggings"
  472.     Chance: 100.0
  473.     DisplayName: "&e&lLucky Leggings"
  474.     Enchantments:
  475.      # Chance should be between 0 and 100. When set to 100 the enchantment will always be added, when set to 0 the enchantment will never be added.
  476.       Thorns:
  477.        # Minimum level of the enchantment. Should be higher than 1.
  478.         MinLevel: 1
  479.         # Maximum level of the enchantment. Should be equal to or higher than MinLevel.
  480.         MaxLevel: 3
  481.         Chance: 40.0
  482.       DepthStrider:
  483.         MinLevel: 1
  484.         MaxLevel: 3
  485.         Chance: 50.0
  486.       Protection:
  487.         MinLevel: 1
  488.         MaxLevel: 4
  489.         Chance: 75.0
  490.       Mending:
  491.         MinLevel: 1
  492.         MaxLevel: 1
  493.         Chance: 5.0
  494.       Unbreaking:
  495.         MinLevel: 1
  496.         MaxLevel: 3
  497.         Chance: 100.0
  498.   LuckySword:
  499.     Name: "Lucky Sword"
  500.     Chance: 100.0
  501.     DisplayName: "&e&lLucky Sword"
  502.     Enchantments:
  503.      # Chance should be between 0 and 100. When set to 100 the enchantment will always be added, when set to 0 the enchantment will never be added.
  504.       Unbreaking:
  505.        # Minimum level of the enchantment. Should be higher than 1.
  506.         MinLevel: 1
  507.         # Maximum level of the enchantment. Should be equal to or higher than MinLevel.
  508.         MaxLevel: 3
  509.         Chance: 80.0
  510.       FireAspect:
  511.         MinLevel: 1
  512.         MaxLevel: 2
  513.         Chance: 65.0
  514.       Knockback:
  515.         MinLevel: 1
  516.         MaxLevel: 2
  517.         Chance: 50.0
  518.       Looting:
  519.         MinLevel: 1
  520.         MaxLevel: 2
  521.         Chance: 30.0
  522.       Mending:
  523.         MinLevel: 1
  524.         MaxLevel: 1
  525.         Chance: 5.0
  526.       Sharpness:
  527.         MinLevel: 1
  528.         MaxLevel: 5
  529.         Chance: 100.0
  530.       SweepingEdge:
  531.         MinLevel: 1
  532.         MaxLevel: 3
  533.         Chance: 40.0
  534.   Minecart:
  535.     Name: "Minecart"
  536.     Chance: 100.0
  537.     MinecartAmount: 1
  538.     RailAmount: 32
  539.   Minerals:
  540.     Name: "Minerals"
  541.     Chance: 100.0
  542.     EmeraldAmount: "random:0:3"
  543.     DiamondAmount: "random:1:6"
  544.     GoldAmount: "random:2:8"
  545.     IronAmount: "random:6:18"
  546.     RedstoneAmount: "random:18:64"
  547.     LapisAmount: "random:12:24"
  548.     CoalAmount: "random:32:64"
  549.   Netherstar:
  550.     Name: "Netherstar"
  551.     Chance: 100.0
  552.     Amount: 1
  553.   Obsidian:
  554.     Name: "Obsidian"
  555.     Chance: 100.0
  556.     Amount: 12
  557.   ObsidianCage:
  558.     Name: "Obsidian Cage"
  559.     Chance: 100.0
  560.     # When set to true, will ignore all air blocks in this schematic. This will make it so it does not destroy any unneeded blocks.
  561.     IgnoreAir: true
  562.   Sign:
  563.     Name: "Sign"
  564.     Chance: 100.0
  565.     Messages:
  566.      - "Seems like you were &cunlucky &r..."
  567.       - "This is a sign."
  568.       - "Congrats! You  got a sign!"
  569.   # Requires WorldEdit. This surprise will be automatically disable when WorldEdit is not installed.
  570.   SlimeHouse:
  571.     Name: "Slime House"
  572.     Chance: 100.0
  573.     # When set to true, will ignore all air blocks in this schematic. This will make it so it does not destroy any unneeded blocks.
  574.     IgnoreAir: true
  575.   TamedWolf:
  576.     Name: "Dog"
  577.     Chance: 100.0
  578.     Amount: 1
  579.  
  580. Wands:
  581.   Blaze:
  582.     Chance: 100.0
  583.   Fireball:
  584.     Chance: 100.0
  585.   Heal:
  586.     Chance: 100.0
  587.   Lightning:
  588.     Chance: 100.0
  589.   Slime:
  590.     Chance: 100.0
  591.   TNT:
  592.     Chance: 100.0
  593.   Teleport:
  594.     Chance: 100.0
  595.   # All custom wands go here.
  596.   Custom:
  597.    # Name of the wand, can be anything you want as long as it doesn't interfere with any other premade or custom wand.
  598.     SandWand:
  599.      # Set to 0.0 to completely disable.
  600.       Chance: 0.0
  601.       DisplayName: "&eSand Wand"
  602.       Material: "STICK"
  603.       Uses: 10
  604.       Cooldown: 15
  605.       Mode:
  606.        # Throws the specified block with the given strength.
  607.         Throw:
  608.           Enabled: true
  609.           # The block to throw.
  610.           Block: SAND
  611.           # A higher strength means that the sand is thrown further, a lower multiplier means it will land closer to the player.
  612.           ThrowStrength: 0.20
  613.         # Spawns an entity at the given location.
  614.         Spawn:
  615.           Enabled: false
  616.           # The entity to spawn.
  617.           Entity: CREEPER
  618.           # The spawn location. Valid locations are:
  619.           # player - Spawns the entity on top of the player.
  620.           # cursor - Spawns the entity at the player's cursor.
  621.           Location: cursor
  622.           # The amount of entities to spawn.
  623.           Amount: 1
  624.         # Runs the specified commands.
  625.         Command:
  626.           Enabled: false
  627.           Commands:
  628.            - "heal %player%"
  629.  
  630. # You can create an unlimited amount of custom surprises. See the examples below for information on how to do this.
  631. # You can use random values anywhere a number is required by writing: "random:min:max" where min is the minimum of the random number and max the maximum.
  632. # Example: Amount: "random:1:64"
  633. CustomSurprises:
  634.   Example:
  635.    # Name used in broadcasts, titles, actionbars etc.
  636.     Name: "Example"
  637.     # Set to 0.0 to completely disable a surprise.
  638.     Chance: 0.0
  639.     Permission:
  640.      # When enabled, only players with the specified permission will be able to get this surprise.
  641.       Enabled: false
  642.       Permission: "superluckyblock.custom.permission"
  643.     # Commands that will be executed. DO NOT include the slash(/).
  644.     Commands:
  645.       Enabled: true
  646.       # Feel free to remove this part of the section if you do not plan on using it. Just make sure you leave Commands.Enabled.
  647.       Commands:
  648.        - 'give %player% minecraft:dirt 2'
  649.         - 'give %player% minecraft:cobblestone 4'
  650.     # Items that will be dropped by this surprise.
  651.     Items:
  652.       Enabled: true
  653.       # Each surprise can have an unlimited amount of items. Make sure to follow the examples below.
  654.       # Feel free to remove this part of the section if you do not plan on using it. Just make sure you leave Items.Enabled.
  655.       Items:
  656.         EmptyBucket:
  657.          # Valid material names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  658.           Material: "BUCKET"
  659.           # The amount of times this item will be dropped.
  660.           Amount: 3
  661.           # Set to "none" to disable.
  662.           DisplayName: "none"
  663.           # Remove to disable
  664.           Lore:
  665.            - "This is a lore line!"
  666.             - "&l&aThis is a lore line with &4color&l&a!"
  667.           # Enchantments that will be applied to the item. There are no enchantment level restrictions.
  668.           Enchantments:
  669.             Enabled: false
  670.             # The enchantment name is the vanilla name, all in lowercase and spaces replace by a _. Example: sweeping_edge:2
  671.             Enchantments:
  672.              - "ENCHANTMENT:level"
  673.         Coal:
  674.           Material: "COAL"
  675.           # Random drop amount as explained above.
  676.           Amount: "random:1:12"
  677.           # Set to "none" to disable.
  678.           DisplayName: "&4&lSpecial Coal"
  679.           Enchantments:
  680.             Enabled: true
  681.             Enchantments:
  682.              - "sharpness:2"
  683.               - "unbreaking:1"
  684.     # Entities that will be spawned by this surprise.
  685.     Entities:
  686.       Enabled: true
  687.       # Each surprise can have an unlimited amount of entities. Make sure to follow the examples below.
  688.       # Feel free to remove this part of the section if you do not plan on using it. Just make sure you leave Entities.Enabled.
  689.       Entities:
  690.         Pig:
  691.          # Valid entity names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
  692.           Entity: "PIG"
  693.           # The amount of times this entity will be spawned.
  694.           Amount: 1
  695.           # Set to "none" to disable.
  696.           Name: "none"
  697.           # Potion effects that will be applied to the entity after it has been spawned.
  698.           PotionEffects:
  699.             Enabled: false
  700.             # Valid potion types: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
  701.             # Duration is the effect duration in seconds.
  702.             PotionEffects:
  703.              - "POTION_TYPE:level:duration"
  704.         InvisibleSheep:
  705.           Entity: "SHEEP"
  706.           Amount: 3
  707.           Name: "Invisible Sheep"
  708.           PotionEffects:
  709.             Enabled: true
  710.             PotionEffects:
  711.              - "INVISIBILITY:1:60"
  712.     # Pastes a schematic. This feature will only work if WorldEdit is installed.
  713.     Building:
  714.       Enabled: false
  715.       # Name of the schematic that should be spawned
  716.       # Feel free to remove everything below this part of the section if you do not plan on using it. Just make sure you leave Building.Enabled.
  717.       Schematic: example.schem
  718.       # When true, air blocks will not be pasted.
  719.       IgnoreAir: false
  720.       # Values:
  721.       # player - paste the center of the schematic at the player's location
  722.       # block - paste the center of the  schematic at the luckyblock's location
  723.       Location: block
  724.     Blocks:
  725.       Enabled: true
  726.       # The height the blocks will fall from. Make sure that this is higher than the amount of blocks specified in FallingBlocks.
  727.       # Feel free to remove everything below this part of the section if you do not plan on using it. Just make sure you leave Blocks.Enabled.
  728.       FallHeight: 15
  729.       # The delay in ticks before the next falling block in the list will spawn. Should be at least one.
  730.       # 20 ticks = 1 second
  731.       FallDelay: 10
  732.       # The block at the top will be the first to fall.
  733.       # Valid material names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  734.       FallingBlocks:
  735.        - "IRON_BLOCK"
  736.         - "GOLD_BLOCK"
  737.         - "EMERALD_BLOCK"
  738.         - "DIAMOND_BLOCK"
  739.     # Message that will be sent to the player. Completely remove if you don't want this in your surprise.
  740.     Messages:
  741.       Enabled: true
  742.       # Feel free to remove this part of the section if you do not plan on using it. Just make sure you leave Messages.Enabled.
  743.       Messages:
  744.        - "Enjoy the test surprise!"
  745.         - "&aYou can even send multiple messages!"
  746.     Script:
  747.      # If you want to enable this, please make sure that you also enable scripting in the settings.yml file!
  748.       Enabled: false
  749.       # The case-sensitive file name of the script. (Script: "example.lua")
  750.       Script: "example.lua"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement