Jump to content

Fishing Event 1.13.11

$15.00
   (6 reviews)
Message added by ArtiIOMI,

The Fishing Event has a brother named Mushroom Event.

If you want to buy both cheaper, you can do so with the bundle.

If you purchased the Fishing Event before 8/26/2022 please send me a DM message on CodeFling.

4 Screenshots

Works with

About Fishing Event

Event which idea was taken from halloween's and easter's hunting. As in original game we collect candies or eggs, that in this case we are catching fishes for which we are getting points. Amount of points are dependent on the type of fish or item we catch. It depens exacly on number of "Bait" that every type of fish has e.g. Sardine has Bait 3 so we get 3 points.

 

Permission

To assign a permission, use 'oxide.grant <user or group> <name or steam id>'

fishingevent.admin - Allow to using commands.

 

Commands

This plugin provides both chat and console commands using the same syntax. When using a command in chat, prefix it with a forward slash: `/`.

startfe  - starts the countdown to the start of the fishing event.
stopfe   - Ends the event immediately, without giving away any prizes.
finishfe - Ends the event immediately, with giving away any prizes.
configfe - Opens the configuration UI panel

 

Configuration

Quote

 

{
  "Run every X minutes": 30,
  "Minimum number of players": 3,
  "Time before fishing event": 180,
  "Duration how long event is": 420,
  "Rewards for top 3 players": [
    {
      "ShortName": "scrap",
      "Amount": 50,
      "SkinID": 0,
      "CustomName": ""
    },
    {
      "ShortName": "scrap",
      "Amount": 30,
      "SkinID": 0,
      "CustomName": ""
    },
    {
      "ShortName": "scrap",
      "Amount": 10,
      "SkinID": 0,
      "CustomName": ""
    }
  ],
  "Start event sound": "assets/prefabs/deployable/survivalfishtrap/effects/fish_caught.prefab",
  "Finish event sound": "assets/prefabs/deployable/survivalfishtrap/effects/fish-trap-deploy.prefab",
  "Print Logs To Console": false,
  "Points For Prey": {
    "fish.anchovy": 2,
    "fish.sardine": 2,
    "fish.herring": 2,
    "fish.orangeroughy": 10,
    "fish.yellowperch": 10,
    "fish.troutsmall": 10,
    "fish.smallshark": 10,
    "fish.catfish": 10,
    "fish.salmon": 10
  }
}

"Run every X minutes(min 30)"

        How often is the event to be triggered. The minimum time is 30 minutes. 0 means that auto start is disabled.

        Default Value:      30
        Disable Value:       0 (or less then 30)
        Recommended:    120 (every 2 hours)

"Minimum number of players"

        How many players are to be on the server for the fishing event to begin.

        Default Value:        3
        Disable Value:         0
        Recommended:      5

"Time before fishing event"

        Time in seconds for which the fishing event starts.

        Default Value:        180
        Disable Value:         0
        Recommended:      300 (5 minutes)

"Duration how long event is"

        Duration of the fishing event

        Default Value:        420
        Disable Value:         Link
        Recommended:      300 (5 minutes)

"Rewards for top 3 players"

        Items that will go to the best anglers.
        The first 'ShortName' and 'Amount' belongs to the best player, each subsequent one is rewards for subsequent places.
        If you want to set a custom item, change the "SkinID" and "Custom Name" values.
        (Ex. "ShortName": "xmas.present.small", "Amount": 1, "SkinID":2560835553, "CustomName": "CASKET")

        Default Value:

"Rewards for top 3 players": [
    {
      "ShortName": "scrap",
      "Amount": 50,
      "SkinID": 0,
      "CustomName": null
    },
    {
      "ShortName": "scrap",
      "Amount": 30,
      "SkinID": 0,
      "CustomName": null
    },
    {
      "ShortName": "scrap",
      "Amount": 10,
      "SkinID": 0,
      "CustomName": null
    }
  ],

        Disable Value: null

"Rewards for top 3 players": null,

        Recommended:      

  "Rewards for top 3 players": [
    {
      "ShortName": "fish.smallshark",
      "Amount": 5
      "SkinID": 0,
      "CustomName": null
    },
    {
      "ShortName": "fish.smallshark",
      "Amount": 3
      "SkinID": 0,
      "CustomName": null
    },
    {
      "ShortName": "fish.smallshark",
      "Amount": 1
      "SkinID": 0,
      "CustomName": null
    }
  ],

"Start event sound"

        Path to in-game prefab sound. Run when the fishing party begins.

        Default Value:        "assets/prefabs/deployable/survivalfishtrap/effects/fish_caught.prefab"
        Disable Value:         ""
        Recommended:      "assets/prefabs/deployable/survivalfishtrap/effects/fish_caught.prefab"

"Finish event sound"

        Path to in-game prefab sound. Run after the fishing event is over.

        Default Value:        "assets/prefabs/deployable/survivalfishtrap/effects/fish-trap-deploy.prefab"
        Disable Value:         ""
        Recommended:      "assets/prefabs/deployable/survivalfishtrap/effects/fish-trap-deploy.prefab"

"Print Logs To Console"

        Display logs when the event starts, ends, and who will take first place.

        Default Value:        false
        Disable Value:         false
        Recommended:      false

"Points For Prey"

Default Value:

  "Points For Prey": {
    "fish.anchovy": 2,
    "fish.sardine": 2,
    "fish.herring": 2,
    "fish.orangeroughy": 10,
    "fish.yellowperch": 10,
    "fish.troutsmall": 10,
    "fish.smallshark": 10,
    "fish.catfish": 10,
    "fish.salmon": 10
  }

 

 

Language

Default English FIle

{
  "noOneStart": "Wow, no one played so no one won.",
  "bestPlayer": "{0} is the top fisherman who has caught {1} fish and {2} points collected.",
  "playerStats": "You placed {0} of {1} with caught {2} fish and {3} points collected.",
  "rewardMessage": "You received {0}x {1} as an award!",
  "timeMessageToEvent": "<color=#326de3>Fishing Event</color>: The fishing event starts in {0} minutes."
}

 

Hooks

   void OnFishingEventStartCountdown() - Call when starts counting down to the start of the fishing event.
   void OnFishingEventStarted() - Call when the fishing event begins.
   void OnFishingEventEnded() - Call when the fishing event is over.
   void OnFishingEventUIClosed() - Call when UI disappears from players screen.(Five seconds after fishing event is over)

 

Credits

@STIVI Plugin tester and release help.

@Flammable Plugin originator and tester.

@Billy Joe Thanks for your UI Tool(I hate it but i love it)

 

  • Like 2
  • Love 1

ArtiIOMI's Collection

User Feedback

0

Downloads

Total number of downloads.

0

Customers

Total customers served.

0

Files Sold

Total number of files sold.

0

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.