About Fishing Treasure
Buried beneath the deep blue oceans of rust lay a trove of lost treasures. This plugin introduces a casket system for fishing that your players will absolutely love!
FishingTreasure is a plugin that uses the newly introduced fishing mechanic in Rust, to provide your players with the chance to obtain a casket.
When opened, the casket will roll on the loot table 3 times, rewarding the players with 3 random items of varying rarity.
- Fully customisable loot system that automatically adds all new items to the game (configurable). Items can also be manually added via the config or a chat command in game.
- Supports custom items with unique DisplayNames and skins.
- Includes 3 tiers of rarity – common, rare and elite. Each can have its drop chance configured to the desired rarity.
- Hotspot system that allows for areas to be added as a "hot spot", which increases the drop chance of a casket by a multiplier (configurable).
fishingtreasure.admin – allows users to spawn caskets, add items, force an update of items and remove items.
{ "General Settings": { "Base chance of obtaining a casket when catching a fish [%]": 3.0, "Permission based chance modifiers [1.0 = 100% increase to the base chance value]": {}, "Loot rolls per casket": 3, "Casket info": { "shortname": "halloween.lootbag.medium", "skin": 2560835553, "displayName": "casket" }, "Sounds when opened": { "Common": "assets/prefabs/misc/halloween/lootbag/effects/bronze_open.prefab", "Rare": "assets/prefabs/misc/halloween/lootbag/effects/silver_open.prefab", "Epic": "assets/prefabs/misc/halloween/lootbag/effects/gold_open.prefab" }, "Should this plugin handle the item splitting for caskets? [set to false if using a stacks plugin]": false }, "Hotspot Settings": { "Enable fishing treasure hotspots": false, "Name the hotspot shows when it appears on the map": "Fishing Treasure Hotspot", "Sphere darkness": 6, "Hotspot size": 50.0, "Minimum time a hotspot can be alive for [seconds]": 1600.0, "Maximum time a hotspot can be alive for [seconds]": 2000.0, "Delay between hotspot deployments [seconds]": 3600.0, "Minimum modifier that will be applied to a hotspot": 1.0, "Maximum modifier that will be applied to a hotspot": 4.0, "Should the hotspot check to see if players have entered/left the zone and notify them?": true, "If monitoring for players, how often should we check for players in the hotspot?": 1.0 }, "SkillTree settings": { "Set to true if you want to add the FishingTreasure buff to the skill tree": true, "Maximum level for the modifier buff": 5, "Chance increase per level for finding caskets [0.2 = 20%]": 0.2 }, "Loot Table": { "Common": { "enabled": true, "tableWeight": 100, "loot": [ // Loot here ] }, "Rare": { "enabled": true, "tableWeight": 25, "loot": [ // Loot here ] }, "Epic": { "enabled": true, "tableWeight": 10, "loot": [ // Loot here ] } } }
/casket - spawns a casket in the users inventory
API
object OnCalculateFishingTreasureChance(BasePlayer, float highestMod) - Used to override the default casket chance.