Nets

The fishing nets system allows players to place nets in the water that will automatically catch fish over time.

Model Configuration

model = 'ep_fishing_net'
modelrequiredstring
'ep_fishing_net'
The model name of the fishing net that will be placed in the water.

Placement Configuration

The placement section contains settings related to where and how nets can be placed:

placement = {
    maxDistance = 10.0,
    minWaterDepth = -0.3,
}
placement.maxDistancerequirednumber
10.0
Maximum distance in meters that a player can place a net from their position.
placement.minWaterDepthrequirednumber
-0.3
Minimum water depth required to place a net. Negative value means the net needs to be at least this much underwater.

Durability Configuration

The durability section defines how net durability works:

durability = {
    initial = 100,

    lossPerCatch = {
        amount = {
            min = 0.1,
            max = 0.3
        },
    }
}
durability.initialrequirednumber
100
Starting durability value of a newly placed net.
durability.lossPerCatch.amount.minrequirednumber
0.1
Minimum durability loss each time fish are caught in the net.
durability.lossPerCatch.amount.maxrequirednumber
0.3
Maximum durability loss each time fish are caught in the net.

Stash Configuration

The stash section defines the inventory spaces for the net's bait and fish storage:

stash = {
    bait = {
        slots = 1,
        maxWeight = 1000,
        label = 'Net Bait Storage'
    },

    fish = {
        slots = 20,
        maxWeight = 100000,
        label = 'Net Fish Storage'
    }
}
stash.bait.slotsrequirednumber
1
Number of inventory slots in the bait storage compartment.
stash.bait.maxWeightrequirednumber
1000
Maximum weight capacity of the bait storage compartment.
stash.bait.labelrequiredstring
'Net Bait Storage'
Display name for the bait storage inventory.
stash.fish.slotsrequirednumber
20
Number of inventory slots in the fish storage compartment.
stash.fish.maxWeightrequirednumber
100000
Maximum weight capacity of the fish storage compartment.
stash.fish.labelrequiredstring
'Net Fish Storage'
Display name for the fish storage inventory.

Catching Configuration

The catching section controls how fish are caught in the nets:

catching = {
    catchRate = {
        min = 0.3,
        max = 0.9
    },

    fishPerCatch = {
        min = 1,
        max = 3
    },
    
    rarityWeights = {
        common = 0.6,
        uncommon = 0.25,
        rare = 0.1,
        epic = 0.04,
        legendary = 0.01
    },
    
    distanceCheck = {
        enabled = true,

        distance = 100.0,

        notificationDistance = 30.0
    }
}
catching.catchRate.minrequirednumber
0.3
Minimum probability (0.0-1.0) of catching fish during a processing cycle.
catching.catchRate.maxrequirednumber
0.9
Maximum probability (0.0-1.0) of catching fish during a processing cycle.
catching.fishPerCatch.minrequirednumber
1
Minimum number of fish that can be caught in a single successful catch.
catching.fishPerCatch.maxrequirednumber
3
Maximum number of fish that can be caught in a single successful catch.
catching.rarityWeights.commonrequirednumber
0.6
Probability weight for catching common fish in nets.
catching.rarityWeights.uncommonrequirednumber
0.25
Probability weight for catching uncommon fish in nets.
catching.rarityWeights.rarerequirednumber
0.1
Probability weight for catching rare fish in nets.
catching.rarityWeights.epicrequirednumber
0.04
Probability weight for catching epic fish in nets.
catching.rarityWeights.legendaryrequirednumber
0.01
Probability weight for catching legendary fish in nets.
catching.distanceCheck.enabledrequiredboolean
true
Whether to check the owner's distance to the net when processing catches.
catching.distanceCheck.distancerequirednumber
100.0
Maximum distance in meters the owner can be from the net for it to operate.
catching.distanceCheck.notificationDistancerequirednumber
30.0
Maximum distance in meters the owner can be from the net to receive notifications about catches.

Operation Configuration

The operation section defines how nets operate:

operation = {
    requireOwnerOnline = true,

    maxNetsPerPlayer = 3,

    checkInterval = 1
}
operation.requireOwnerOnlinerequiredboolean
true
Whether the net owner must be online for the net to operate and catch fish.
operation.maxNetsPerPlayerrequirednumber
3
Maximum number of nets a single player can have placed at once.
operation.checkIntervalrequirednumber
1
Time interval in minutes between each net processing cycle.