📦Treasure

Treasure is a catchable block. It functions like a falling block and falls to the ground, then the player must click on it to receive the reward.

📦 Creating a Category

  1. Go to the /lfish menu and click the Treasure button.

  2. Click Add to create a new treasure config. All treasures files are stored in server/plugins/LiteFish/treasures

  3. At the top center, you can place your pre-prepared item as an icon to display in the catalog.

  4. Place your block item in Block type to set the type of falling block

  5. Place an item in the Add button to add it to the treasure. This item will now appear in treasure.

📦 Treasure mechanics

After the player catches the treasure, a Falling Block spawns and flies towards the player.

If a block cannot land due to game mechanics (various structures, such as carpets, are in the way), then the block is destroyed and items drop from it.

Upon successful landing, the block lasts for 30 seconds. Only the person who caught it can open it; others cannot interact with it. After 30 seconds, the block will break, dropping rewards.

Last updated