Custom Loot

Default Config Example

You can add

imperial: true to the drop to display {length} placeholder with the imerial system
instead of the metric one
  custom-loot:
    enabled: true
    chance: 100
    rewards:
      #Must have atleast one reward with level-requirement:0
      '1':
        chance: 100
        level-requirement: 0
        item:
          material: RAW_FISH
          base64:
            enabled: true
            value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWZiZTFiZTE5ZTRmZmFiYTk3ZDYxYmVlZjdjYTMwMTBiNjI5OTZjNjQxZTU3MDg0ZmMzNjRhNmYzZWIxNDEzOCJ9fX0=
          name: '&#6B9F94&lsᴀʀᴅɪɴᴀ'
          lore:
            - '&8ᴄᴏᴍᴍᴏɴ ᴛɪᴇʀ'
            - '&7'
            - '&#2893FF▶ {length}'
        amount: 1
        size: 15-30

      '2':
        chance: 70
        level-requirement: 0
        item:
          material: RAW_FISH
          base64:
            enabled: true
            value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzg5MmQ3ZGQ2YWFkZjM1Zjg2ZGEyN2ZiNjNkYTRlZGRhMjExZGY5NmQyODI5ZjY5MTQ2MmE0ZmIxY2FiMCJ9fX0=
          name: '&#C2AE92&lᴄᴏᴅ'
          lore:
            - '&8ʀᴀʀᴇ ᴛɪᴇʀ'
            - '&7'
            - '&#2893FF▶ {length}'
        amount: 1
        size: 40-85

      '3':
        chance: 60
        level-requirement: 0
        item:
          material: RAW_FISH
          base64:
            enabled: true
            value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzViYTM5M2I5MjZlZTY5YTE0ZDRkODUzYjI1ZDI4NWE4NjhiMTZjNTZjOTE5ZDJiODI0NDEzZTY1NjZkNGU1NSJ9fX0=
          name: '&#FC5D94&lᴛʀᴏᴘɪᴄᴀʟ ꜰɪѕʜ'
          lore:
            - '&8ʀᴀʀᴇ ᴛɪᴇʀ'
            - '&7'
            - '&#2893FF▶ {length}'
        amount: 1
        size: 35-40

      '4':
        chance: 50
        level-requirement: 0
        item:
          material: RAW_FISH
          base64:
            enabled: true
            value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDZkZDVlNmFkZGI1NmFjYmM2OTRlYTRiYTU5MjNiMWIyNTY4ODE3OGZlZmZhNzIyOTAyOTllMjUwNWM5NzI4MSJ9fX0=
          name: '&#EE6426&lᴄʟᴏᴡɴꜰɪѕʜ'
          lore:
            - '&8ᴄᴏᴍᴍᴏɴ ᴛɪᴇʀ'
            - '&7'
            - '&#2893FF▶ {length}'
        amount: 1
        size: 8-17

      '5':
        chance: 40
        level-requirement: 0
        item:
          material: RAW_FISH
          base64:
            enabled: true
            value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTNlNjY4ODZhMzRlZWJiNTIwMzBmMGYzM2ZiZTYwYjcwYzY3ZGRjOTE4ZmFlZTQ1YTQyN2QzZjY4NzMwM2E4In19fQ==
          name: '&#E1C52E&lɢᴏʟᴅꜰɪѕʜ'
          lore:
            - '&8ʀᴀʀᴇ ᴛɪᴇʀ'
            - '&7'
            - '&#2893FF▶ {length}'
        amount: 1
        size: 12-41

      '6':
        chance: 30
        level-requirement: 0
        item:
          material: RAW_FISH
          base64:
            enabled: true
            value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDVhZjQ2OWU4MWUwZThmMjgwNzkyZTA2Mzk5NTg2MDFkMTIwMWRkNDIxNmI1M2FiNGE2NjU4MTBkYzMwNWU0MyJ9fX0=
          name: '&#FFFB00&lᴇʟᴇᴄᴛʀɪᴄ ᴍᴇᴅᴜsᴀ '
          lore:
            - '&8ᴇхᴏᴛɪᴄ ᴛɪᴇʀ'
            - '&7'
            - '&#2893FF▶ {length}'
        amount: 1
        size: 120-200

      '7':
        chance: 20
        level-requirement: 0
        item:
          material: RAW_FISH
          base64:
            enabled: true
            value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmI2NTZiYWM2NGFkYTY0ZmEyMjFlOWY0OGZiZjhhYjkzMzRiNzkzNGVmYjk3OWQ3NThkZjRkMGMxYmQxNzY5NSJ9fX0=
          name: '&#9B60FD&lᴍᴇᴅᴜsᴀ'
          lore:
            - '&8ᴇхᴏᴛɪᴄ ᴛɪᴇʀ'
            - '&7'
            - '&#2893FF▶ {length}'
        amount: 1
        size: 120-200
      '8':
        chance: 10
        level-requirement: 0
        item:
          material: RAW_FISH
          base64:
            enabled: true
            value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGZiYmQxYjExZGM3YTA3MTZlZDMxNWEzZTFiMjhmODllMDUwZjUyNDQ4MTAyZTI0ZTE4NzA2MjZjOWE4MTcyMyJ9fX0=
          name: '&#A3BEE8&lѕʜᴀʀᴋ'
          lore:
            - '&8ᴇхᴏᴛɪᴄ ᴛɪᴇʀ'
            - '&7'
            - '&#2893FF▶ {length}'
        amount: 1
        size: 100-210
      '9':
        chance: 5
        item:
          material: RAW_FISH
          base64:
            enabled: true
            value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2FmNzIyMTc5ODU0NmY4ZjllNzZhNmEzZWUzYjE3NjczNGU5ZDVmMTdkYmNiMDg1OTgxOTQxNzU4Njk4NjQzNiJ9fX0=
          name: '&#2893FF&lᴡʜᴀʟᴇ'
          lore:
            - '&8ᴇхᴏᴛɪᴄ ᴛɪᴇʀ'
            - '&7'
            - '&#2893FF▶ {length}'
        amount: 1
        size: 2500-3000
      '10':
        chance: 5
        lava-drop: true
        item:
          material: RAW_FISH
          base64:
            enabled: true
            value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTE0MGM0MmZjM2ExYmEyZmU3N2M0NWI5NzVmYTg3ZThmNTRhMWIxODMzYmM3NmU2MzM5YjRjMjYyMzA0MDExZCJ9fX0=
          name: '&#B0952A&lꜰʟʏꜰɪѕʜ'
          lore:
            - '&8ᴄᴏᴍᴍᴏɴ ᴛɪᴇʀ'
            - '&7'
            - '&#2893FF▶ {length}'
        amount: 1
        size: 17-30
      '11':
        chance: 5
        lava-drop: true
        item:
          material: RAW_FISH
          base64:
            enabled: true
            value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjU2YjU5NTViMjk1NTIyYzk2ODk0ODE5NjBjMDFhOTkyY2ExYzc3NTRjZjRlZTMxM2M4ZGQwYzM1NmQzMzVmIn19fQ==
          name: '&#FF6600&lᴍᴀɢᴍᴀꜰɪѕʜ'
          lore:
            - '&8ʀᴀʀᴇ ᴛɪᴇʀ'
            - '&7'
            - '&#2893FF▶ {length}'
        amount: 1
        size: 200-500
      '12':
        chance: 5
        lava-drop: true
        item:
          material: RAW_FISH
          base64:
            enabled: true
            value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTIzZTBhMjUwNDhiNjBhMmNjMDkyZjcyOTQzMTU5ZWMxNzAwNjNiYjIzNWFhNzk2OTBlZjM0YWIxODFkNjkxIn19fQ==
          name: '&#8E9091&lѕᴋᴇʟᴇᴛᴏɴ ꜰɪѕʜ'
          lore:
            - '&8ʀᴀʀᴇ ᴛɪᴇʀ'
            - '&7'
            - '&#2893FF▶ {length}'
        amount: 1
        size: 200-500
      '13':
        chance: 5
        lava-drop: true
        item:
          material: RAW_FISH
          base64:
            enabled: true
            value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDlhNTI2NzNjNzdhYzA3OWVkMzQ3MmI2OWZlNGU5MWJkMjgwMTlmMjhmM2U5ZDg1YmY5NGRmYWQ2ZTM5OGM0ZiJ9fX0=
          name: '&#8E9091&lᴘɪɴᴇᴀᴘᴘʟᴇ ꜰɪѕʜ'
          lore:
            - '&8ᴇхᴏᴛɪᴄ ᴛɪᴇʀ'
            - '&7'
            - '&#2893FF▶ {length}'
        amount: 1
        size: 2000-5000

Possible Loot

   custom-loot:
    enabled: true
    chance: 100
    rewards:
      #Must have atleast one reward with level-requirement:0
      '1':
        size: 2000-5000 
        lava-drop: true
        ############################## 
        level-requirement: 5
        chance: 3
        commands:
         - '[sound]ENTITY_LEVEL_UP;1.0;1.0'
         - '[message]&7Example Message %player%'
         - '[broadcast]&7Example Message %player%'
         - '[json]{"text":"Message"}'
        permission: 'needed-permission'
        exp: 10-20 #Minecraft EXP
        xp: 10-20 #Tool XP
        use-price: false # Set to true if using sell-price: instead of length
        sell-price: 100-200
        amount: 1-3
        regions:
          - 'worldguardregions'
        prestige-requirement: 2
        level-requirement: 3
        exact-level: 2
        essence: 200
        item:
         name: ''
       ############################## 
         material: RAW_FISH
       ############################## 
         base64:
            enabled: true
            value: '' #https://minecraft-heads.com/custom-heads
       ############################## 
         skull:
            enabled: true
            name: Steve
       ############################## 
         lore: 
          - '&7Lore'
          - '&7Lore'
       ############################## 
         glow: true
       ############################## 
         enchants: # Enchants https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html
          - 'DURABILITY:10'
       ############################## 
         flags:  # ItemFlags https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemFlag.html
          - 'HIDE_ENCHANTS' 
       ##############################
         nbt: 
          integer:
            key: 'nbtitem'
            value: '1'
       ##############################  
         nbt: 
          string:
            key: 'nbtitem'
            value: 'Item'
       ############################## 
         nbt: 
          boolean:
            key: 'nbtitem'
            value: true
        ############################## 
        customdata: 1 # For Custom Textures 1.16+
        customModelData: 1 # For Custom Textures 1.16+
        
        

Last updated