📦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
Go to the
/lfish menuand click theTreasurebutton.Click
Addto create a new treasure config. All treasures files are stored inserver/plugins/LiteFish/treasuresAt the top center, you can place your pre-prepared item as an icon to display in the catalog.
Place your block item in
Block typeto set the type of falling blockPlace an item in the
Addbutton 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