Create Riptide Zones on your server.
Created to pair with my Riptides Map ( Config for that included) this plugin allows server owners to place riptide zones on their servers. Create obstacles on water that players must navigate. Adjust the parameters in the config to play havoc on boaters and swimmers.
Permissions:
riptidezones.admin - Needed to set zones on the map and adjust them.
riptidezones.bypass - Needed to bypass set riptide zones.
Commands:
/riptide add <Name> <Radius> - Example /riptide add Zone1 100
/riptide list - Shows a list of all added zones in chat.
/riptide here - Show the current zone at your location
/riptide setradius <Name> <radius> - Adjust the Zone Radius of a saved zone
/riptide setstrength <Name> <Level> - Adjust the pull of the riptide Example: 1.5
/riptide remove <Name> - removes the set riptide zone
/riptide reload - reloads the config
Sample Config:
{
"Enabled": true,
"Chat command": "riptide",
"Scan interval seconds": 0.5,
"Minimum water depth": 0.35,
"Block safe zone": true,
"Move players directly": true,
"Move boats directly": true,
"Affect unmounted boats": false,
"Try dampen boat velocity": true,
"Rotate boats with current": true,
"Slow players by metabolism": true,
"Edge strength multiplier": 0.35,
"Default zone pull strength": 1.25,
"Default zone slow multiplier": 0.95,
"Default zone downward tug": -0.003,
"Default zone sideways wobble": 0.08,
"Enable toasts": true,
"Toast cooldown seconds": 8.0,
"Toast style": 0,
"Default toast message": "The riptide is pulling you off course!",
"Player FX prefab": "assets/bundled/prefabs/fx/player/drown.prefab",
"Boat FX prefab": "assets/prefabs/deployable/frankensteintable/effects/frankenstein-table-deploy.prefab",
"FX chance per scan": 0.04,
"Boat FX cooldown seconds": 2.0,
"Boat prefabs": [
"assets/content/vehicles/boats/rowboat/rowboat.prefab",
"assets/content/vehicles/boats/rhib/rhib.prefab",
"assets/content/vehicles/boats/kayak/kayak.prefab",
"assets/content/vehicles/submarine/submarinesolo.entity.prefab",
"assets/content/vehicles/submarine/submarineduo.entity.prefab",
"assets/content/vehicles/boats/tugboat/tugboat.prefab"
],
"Riptide zones": [
{
"Name": "ExampleRiptide",
"Enabled": false,
"Center": {
"X": 0.0,
"Y": 0.0,
"Z": 0.0
},
"Radius": 100.0,
"Affect swimmers": true,
"Affect boats": true,
"Pull strength toward center": 0.35,
"Boat pull strength toward center (0 uses player pull strength)": 1.75,
"Slow multiplier": 0.95,
"Downward tug": -0.003,
"Boat downward tug": -0.005,
"Sideways wobble": 0.08,
"Boat sideways wobble": 0.15,
"Boat yaw wobble": 1.5,
"Wobble speed": 1.2,
"Oxygen drain per tick": 0.4,
"Run FX": true,
"Toast message": "The riptide is pulling you off course!"
}