Fill the waters of your Server with Dangerous Sharks
Version 2.0.0 Update : Using in Game Sharks now
When loaded, the plugin will automatically start selecting Dive Sites, Under water labs, underwater rock formations, oil rigs and floating loot sites that can spawn a shark when a player gets close. Via the config, you can select which type of sites can have these shark spawners enabled.
By default, once a shark is spawned, it will despawn after a configured amount of time in the config file.
But if shark is killed, it will spawn a loot box for player loot. They type of loot box can be configured in the config file.
Permissons :
sharkbait.admin - only needed to run the admin commands.
Commands for Chat: (only authorized players can use)
/sharkbait - will spawn a shark on that authorized players location in the water.
/sharkbait.respawn - will remove all sharks and shark spawners, then repopulate the world with new shark spawners.
/sharkbait.killall - will remove all sharks and shark spawners, but does NOT repopulate them.
Commands for Console (only authorized players can use, or server console)
sharkbait.respawn - will remove all sharks and shark spawners and then repopulate the world with shark spawners.. can be used from server console to re distribute sharks as needed.
Configuration default
Code:
{
"Autospawn - Enable the Autospawn feature ? ": true,
"Autospawn - Enable autospawn at Rock Formations ? ": true,
"Autospawn - Enable autospawn at Dive Sites ? ": true,
"Autospawn - Enable autospawn at Floating Loot Sites ? ": true,
"Autospawn - Enable autospawn at Oil Rigs ? ": true,
"Autospawn - Enable autospawn at Lab Sites ? ": true,
"Loot Prefab to spawn when shark is killed : ": "assets/bundled/prefabs/radtown/crate_underwater_basic.prefab",
"Sharks will spawn when player is this distance from site : ": 50.0,
"Sharks will despawn after this many seconds : ": 500.0,
"Chances a site will spawn a Shark when player gets close enough : ": 50
}