Treasure Config - Kunfury-blep/Blep-Fishing GitHub Wiki

Treasure Configuration

Blep Fishing offers an in-depth way of offering rewards in the form of Caskets, which have fully configurable loot tables. Below is an explanation on how to configure these rewards.

Name

Legendary Casket:

The name of the casket

Weight

Weight: 5

The chance of catching this particular item.

For more information on how item weights work, see here.

Prefix

Prefix: 6

The color code the name of the casket will be formatted to.

For a full list of Minecraft color codes, see here.

Model Data

Model Data: 1

The custom model data the casket will use.

Currently unsupported for caskets.

Drop Table

Blep Fishing offers a loot table-based system with configurable treasures in each. When a player reels in a casket, right-clicking with it equipped will give the player a random item from within the loot table.

The drop table has three different item types for treasure: CASH, ITEM, and BYTE.

Below is a detailed explanation of all three, and valid inputs for each.

CASH

CASH: 1000

Will reward player with currency. Can be set to any number.

NOTE: This feature requires a compatible economy plugin. For more information, see here.

ITEM

ITEM: DIAMOND 4

Will reward the player with the specified amount of the specified item.

NOTE: This is for VANILLA items only. For custom items, use BYTE, as explained below.

BYTE

BYTE: <Item Data>

Complex items can be a little strange to set up initially, but allow you to define specific items to use as rewards. Meaning any custom item created through other plugins should be fully compatible!

The item data of an item can be obtained by running /bf GetData which will send a clickable message to copy the data of the item held in your hand onto your system's clipboard.

Example Usage:

BYTE:rO0ABXNyABpvcmcuYnVra2l0LnV0aWwuaW8uV3JhcHBlcvJQR+zxEm8FAgABTAADbWFwdAAPTGphdmEvdXRpbC9NYXA7eHBzcgA1Y29tLmdvb2dsZS5jb21tb24uY29sbGVjdC5JbW11dGFibGVNYXAkU2VyaWFsaXplZEZvcm0AAAAAAAAAAAIAAkwABGtleXN0ABJMamF2YS9sYW5nL09iamVjdDtMAAZ2YWx1ZXNxAH4ABHhwdXIAE1tMamF2YS5sYW5nLk9iamVjdDuQzlifEHMpbAIAAHhwAAAABHQAAj09dAABdnQABHR5cGV0AARtZXRhdXEAfgAGAAAABHQAHm9yZy5idWtraXQuaW52ZW50b3J5Lkl0ZW1TdGFja3NyABFqYXZhLmxhbmcuSW50ZWdlchLioKT3gYc4AgABSQAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAAAwhdAALRklTSElOR19ST0RzcQB+AABzcQB+AAN1cQB+AAYAAAAEcQB+AAh0AAltZXRhLXR5cGV0AAxkaXNwbGF5LW5hbWV0AAhlbmNoYW50c3VxAH4ABgAAAAR0AAhJdGVtTWV0YXQAClVOU1BFQ0lGSUN0ABl7InRleHQiOiJSb2Qgb2YgRGVzdGlueSJ9c3EAfgADdXEAfgAGAAAAA3QABExVUkV0AAdNRU5ESU5HdAAKRFVSQUJJTElUWXVxAH4ABgAAAANzcQB+AA4AAAADc3EAfgAOAAAAAXEAfgAi

Default Treasure Config
treasure:
  Legendary Casket:
    Weight: 5
    Prefix: 6
    Model Data: 1
    Drop Table:
      - 'CASH: 1000'
      - 'ITEM: DIAMOND 4'
      - 'ITEM: DIAMOND 8'
      - 'ITEM: ANCIENT_DEBRIS 1'
      - 'ITEM: HEART_OF_THE_SEA 1'
  Epic Casket:
    Weight: 30
    Prefix: d
    Model Data: 2
    Drop Table:
      - 'CASH: 1000'
      - 'ITEM: SEA_LANTERN 1'
      - 'ITEM: TURTLE_EGG 1'
      - 'ITEM: DIAMOND 1'
      - 'ITEM: DIAMOND 1'
  Rare Casket:
    Weight: 60
    Prefix: b
    Model Data: 3
    Drop Table:
      - 'CASH: 250'
      - 'ITEM: SADDLE 1'
      - 'ITEM: SPYGLASS 1'
      - 'ITEM: SCUTE 1'
  Common Casket:
    Weight: 100
    Prefix: a
    Model Data: 4
    Drop Table:
      - 'CASH: 10'
      - 'ITEM: NAUTILUS_SHELL 1'
      - 'ITEM: DRIED_KELP 8'
      - 'ITEM: KELP 8'
      - 'ITEM: SEA_PICKLE 1'
      - 'ITEM: IRON_INGOT 2'
      - 'ITEM: GOLD_NUGGET 7'
      - 'ITEM: INK_SAC 8'
⚠️ **GitHub.com Fallback** ⚠️