Compatibility
Minecraft: Java Edition
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
All parts are available for testing. You can not only add new items, editing is completely possible* This is the DEMO page of the LiteFish Plugin. It is intended to familiarize the reader with the full functionality of the plugin. Only DEMO version is provided for reference. You can see more information on GitHub or Discord (https://discord.gg/PgDfrQx22f)
About
This plugin allows you to set custom loot for each biome. It also allows you to diversify fishing with a new mini-game.
ShowCase:
New Fishing System
This system adds new mechanics
- the hook has health, this is how much it can miss the target. after losing all lives, the player does not catch anything
- each catch has its own parameters ·health - how many times do you need to hit the hook to catch the prey ·chance - what is the chance that this loot will drop ·experience - how much experience will be given with successful fishing
You can disable this mini-game in the config, leaving vanilla fishing, just setting custom loot for each biome category and its drop rate!
Also, at the end of fishing, there is a chance to move to the next level of rarity. A total of 5 rarity levels have been implemented. All parameters, including custom loot, drop chance and rarity increase chance are configured in the GUI.
GUI
The GUI allows you to create categories where you can add a list of vanilla minecraft biomes to specify what loot will drop in these biomes
You can add items directly from the inventory, adjust their drop rate, health and experience
Bait
Bait can be crafted from the main menu. To attach it to a fishing rod, click LMB on the fishing rod while selecting the bait. To remove the bait, right-click on the fishing rod with an empty cursor. The bait is applied to the whole world, in the future it will be possible to distinguish between bait categories and biomes.
Create bait
Go to the bait section and create a new one
Specify an item that will be considered a lure. Rename it appropriately beforehand and set the required characteristics
Move the bait to the rod. (Maximum number of baits per rod, can be set via configuration)
When you start fishing, the bait will activate and decrease
BIG LOOT
Allows you to create a group of items that can appear in a box with a certain chance for each item
Monster
Allows you to set the chance at which a monster will eat prey in a given biome category
Custom fish/weight
You can add custom random magnitude values to rare drops.
By default, values are set from 0 to 5 kilograms. You can completely change both the range and the value type!
In the LiteFish.json config, you can find the measurement field and set the required value type and change the range that will be given by default in the defaultWeight field
You can individually set the range for each drop. To do this, find it in the config (You can focus on the "material" and "chance" columns to find your item) and change the range in the "weight" field
Chances are increased at lower values. Accordingly, values close to maxValue will be extremely rare.
Also if you click on the RMB frame (even being in someone else's private). Additional information about the caught fish will be displayed for 3 seconds
Natural modification
There are now chance modifiers that depend on natural phenomena.
If the condition is met, in the final LootTable the chance of this item will be exactly basechnce + modChance. (the table normalizes, the chances of the rest decrease proportionally)
If multiple conditions are met, the modifiers are summed accordingly.
Enchants
You can add any enchantment book and customize the effects. Effects stack if multiple enchantments are on the rod.
Speed - changes the speed of movement of the scale when catching
Rare drop - increases the dropout of rare items. (For lower chances, the chance increases, and for high ones it decreases)
Increased rarity - increases the chance to upgrade to the next rarity
Durability - a chance not to damage the fishing rod
Player health - Player's health
Fish health - fish health
Bar size - the length of the scale of the mini-game when fishing
Monster - the chance of a monster appearing
All effects can be adjusted in both positive and negative directions. That is, you can even create an enchantment that increases the rarity of prey, but at the same time the fishing speed slows down significantly.
Commands
/lfish reload - reload config LiteFish.json
/lfish lang (language) - sets the language
/lfish loot - main GUI
/lfish print - displays a drop map for the current biome in chat
PlaceholderAPI
In the LiteFish.json file, you can set a dynamic chance based on data from various plugins using the PlaceholderAPI.
"expressions": {
"chanceRare": "10 + 15 * (%ecoskills_fishing% / 50)",
"chanceEpic": "10 + 10 * (%ecoskills_fishing% / 50)",
"chanceLegendary": "10 + 10 * (%ecoskills_fishing% / 50)",
"chanceImmortal": "10 - 5 * (%ecoskills_fishing% / 50)"
}
"chanceMonster": "50 - 25 * (%ecoskills_fishing% / 50)"
(lvl0=50%, lvl50=0%)
Catch entity
The plugin allows you to enable catch of any entity, along with NBT data
Enable in config "dropEntityFromEgg": true
Give yourself a summon egg with the right NBT tags and just move it to the GUI
/give @p cat_spawn_egg{HandDropChances:[2F,2F],HandItems:[{id:"minecraft:diamond",Count:64},{}]}}
You can disable this feature if you want the eggs to drop as an item.
Config
You can:
-сhange the base cursor movement speed and its acceleration depending on the increase in the rarity of the loot
-сhangethe base hook health
-сhange customTitle and customSubTitle. This message will appear when certain loot drops like minecraft Title
-set the color palette for the mini-game interface of each biome category. Supports HEX color
MySQL
You can add your own database, where all the items caught by the players will be logged. To do this, look at the mysql.json file. The database structure looks simple to use. If you are the owner of a server where thousands of players are fishing at the same time, then let me know and I will add a normalized table for your needs with batch requests! [ATTACH=full]777885[/ATTACH] It is not necessary to create a table, it is created automatically if it does not exist. item_custom_name is needed to differentiate the type of fish if you are using CutomFish and similar plugins
WorldGuard support
You can now add regions to categories from the WorldGuard plugin. (For example, you can make a fountain at the spawn, from where coins will be caught)
Future Additions
Fish boss fight :-)
Language
If you would like to make your own translation, you can upload it to https://github.com/NekoMaidTop4ik/LiteFish