Author: turanga3000 of CyanSyntax
Support: https://discord.gg/cxMZfx3SB5
SimpleFishingLoot is a lightweight and fully customizable Skript resource that adds a "lucky dip" mechanic to fishing. When players fish, they have a configurable chance to catch special rewards (money, items, crate keys, etc.) instead of a normal fish.
This script requires the following to function:
- Skript (Version 2.8+)
- skript-yaml (Required for the configuration file)
- Download the SimpleFishingLoot.sk file.
- Upload the file to your server in: plugins/Skript/scripts/
- Run the command: /sk reload SimpleFishingLoot
- The config will automatically generate at: plugins/SimpleFishingLoot/config.yml
- chance: The "weight" of the item. Higher numbers = higher chance of being picked.
- command: The console command to run when won.
- Use %player% as a placeholder for the player's name.
- Do NOT include the slash /.
- message: The message sent to the player. Supports color codes (&a, &l, etc.).
loot:
super_diamond:
chance: 5
command: give %%player%% diamond 1
message: "&b&lWOW! &bYou found a diamond!"