A script that brings rivers, swamps, and creeks to life with an interactive crayfish-catching system. Perfect for wilderness survival, casual gathering jobs, or crafting-focused economies
> 𝙳𝙴𝙿𝙴𝙽𝙳𝙴𝙽𝙲𝙸𝙴𝚂:
1. TP LIBS
2. WEATHERSYNC (OPTIONAL)
> 𝙵𝚁𝙰𝙼𝙴𝚆𝙾𝚁𝙺𝚂 𝚂𝚄𝙿𝙿𝙾𝚁𝚃𝙴𝙳:
- TPZ-CORE
- VORP
- GUM
- RSG
- QB-CORE
> 𝙵𝙴𝙰𝚃𝚄𝚁𝙴𝚂:
- Locations Configuration: Easily define and manage an unlimited number of crayfish catching locations directly through the configuration file. We provide (43) crayfish catching spots by default (12 of the 43 locations are in-game ones).
- Realistic Catching Mechanisms:
1. Stealth-Based Interaction:
Players must approach while crouched to successfully place a bait and catch a crayfish, otherwise the action prompt will not be visible to the players.
2. Bait-Dependent Capture:
While crouched and in range, players must use bait to initiate the catch. Only then can a successful attempt be made.
The bait system is fully configurable, allowing server owners to define the effectiveness of each bait and the difficulty of catching a crayfish through this bait.
__Bait Examples:__
• Spoiled Meat or Fish
• Raw Meat
• Various Fish Types
• Corn, Bread, or even Potatoes
3. Bait Selection Interface:
A refined and immersive bait selection UI designed with an authentic Red Dead-style aesthetic. Players can easily choose the type of bait to use when attempting to catch a crayfish, enhancing both realism and user experience.
- Time-Based Availability: Configure the crayfish catching to be more active at night or early morning.
- Weathersync: An optional mechanic for the crayfish to not be available during storms or snow.
- Timing & Cooldown: Configure the time (minutes-hours) after catching a crayfish to be available again or not (for all players).
- Updated Data Related: All data updates related to the state of the crayfish catching location are handled through asynchronous events for the best performance without causing any server thread issues or lags.
- Distance Blips: A configuration option that enables or disables the display of a blip when the user is within a specified distance of a crayfish location.
- Anti-Injection and DevTool Exploit Prevention: When a player attempts to trigger a game event through unauthorized methods—such as code injection or browser developer tools—the system performs multiple validation checks to detect and prevent such actions.
- Discord Webhook Integration: Automated notifications and logs sent directly to your Discord server for enhanced monitoring and communication.
The crayfish positions are not local side (client) but for the whole server base which means if someone catches a crayfish, this position will be having a cooldown (or not) for the whole server, not only for the specified player.
There is a chance getting an error based on `weathersync` script, that is because it should've had an export but it doesn't, add the code manually on the `client` file of the `weathersync` script.
```lua
exports('getWeather', function() return currentWeather end)
```
YOUTUBE SHOWCASE:
https://www.youtube.com/watch?v=kZ_eZd_Elns&feature=youtu.be