Version 1.1.3
372 downloads
Adds an exciting event to your server. The loot crate spawns in a random location on the map. Players must find it using a special compass. Whoever finds this crate first will get all the loot.
The plugin is easy to set up and has great customization.
The ImageLibrary plugin is required!
Commands (admin only):
/sch_start - starts an event
/sch_stop - ends an event
Hooks:
void ScavengerHuntStarted() // called when the event starts
void ScavengerHuntEnded() // called when the event ends
Config:
{
"Autostart event": true,
"End the event immediately after someone finds a crate": false,
"Minimum time to event start(in seconds)": 3000,
"Maximum time to event start(in seconds)": 5000,
"Minimum amount of online players to trigger the event": 1,
"Crate prefab": "assets/prefabs/deployable/large wood storage/box.wooden.large.prefab",
"Crate skin": 0,
"Event duration": 600,
"Minimum number of items in a crate": 6,
"Maximum number of items in a crate": 12,
"Simple loot table name": "exampleTable",
"Pre-event message time(in seconds)": 60,
"Icon AnchorMin": "0.02 0.92",
"Icon AnchorMax": "0.07 0.994",
"North icon": "https://www.dropbox.com/scl/fi/dmlczi87fw4ux0o20ms0q/n.png?rlkey=maq5ekwcntoeqd0t937m5wu83&dl=1",
"South icon": "https://www.dropbox.com/scl/fi/vyoox8pfq5b1lmz0bndlo/s.png?rlkey=2tt0w8316ocdw0i1coa1mf5a5&dl=1",
"West icon": "https://www.dropbox.com/scl/fi/xutae5br16r7exu4zh6hw/w.png?rlkey=gl5flroo8qyjr51jzy8uvjsnz&dl=1",
"East icon": "https://www.dropbox.com/scl/fi/fcr2098qkogvsszqvx3sz/e.png?rlkey=ggpa9s5b365whylal3fvhbj2e&dl=1",
"NorthWest icon": "https://www.dropbox.com/scl/fi/wzjw4j9ibqu12hrk8512w/nw.png?rlkey=brghws41sce0hzrr6uegmfesb&dl=1",
"NorthEast icon": "https://www.dropbox.com/scl/fi/fn81s0hu7m04jnqahy4h6/ne.png?rlkey=knj8jm0irj2twpxy5oe37zadu&dl=1",
"SouthWest icon": "https://www.dropbox.com/scl/fi/lfwonxiy1t8rycv2hn6wg/sw.png?rlkey=wz54crb9mxg4wqtpe8mkqo6xm&dl=1",
"SouthEast icon": "https://www.dropbox.com/scl/fi/ih3hmg54zne0nx5ekrsed/se.png?rlkey=vrkb07b50i1tanz5y4wuryt0j&dl=1",
"The number of points the player will receive if he opens the crate first (only for ServerRewards plugin)": 0,
"Maximum water depth at which a crate can spawn": 0.5,
"Display distance to crate": true,
"Distance panel font size": 14.0,
"Distance panel font color": "1 1 1 1",
"Distance panel AnchorMin": "0.02 0.9",
"Distance panel AnchorMax": "0.07 0.92",
"Notification type for messages(only for Notify plugin, -1 do not use Notify)": -1,
"SteamID for chat message icon": 0,
"Own loot table for crate": {
"useOwnLootTable": true,
"minAmount": 2,
"maxAmount": 4,
"itemsList": [
{
"name": "metal.fragments",
"dropChance": 100,
"minAmount": 50.0,
"maxAmount": 300.0,
"displayName": "",
"skinID": 0
},
{
"name": "metal.refined",
"dropChance": 100,
"minAmount": 5.0,
"maxAmount": 10.0,
"displayName": "",
"skinID": 0
},
{
"name": "scrap",
"dropChance": 100,
"minAmount": 10.0,
"maxAmount": 20.0,
"displayName": "",
"skinID": 0
},
{
"name": "techparts",
"dropChance": 50,
"minAmount": 1.0,
"maxAmount": 2.0,
"displayName": "",
"skinID": 0
}
]
}
}