- 53,675
- 139
- 20.2 kB
About RadTownLoot
Bears and Wolves drop loot and have a static health and strength profile (random HP/Str)
Radtown loot does not conflict with :
- Barrelless
- Bearrels
- Custom Animal Spawns
- Rust Spawner
- BackToTheWild
Features :
- Wolf & Bears drop a backpack upon death with a % chance on drop (Just like in LegacyRust)
- Health and Strength wil be randomised using min/max values.
- Set Bear and Wolf Profiles (Health ,Strength ,Running speed and backpack droprate)
- With option to print the spawns to console showing HP and Strength
Permissions :
- radtownloot.use : For giving players the chance to have the animals drop a lootbag
- radtownloot.admin : To use the chatcommand
Commands :
- /rad animals (will print the info about plugin and Bear/Wolf settings to chat
Localization :
English language file included to use a diffrent language just make a new file in the language folder.
{
"RadTownLoot": "A {0} dropped something!"
}
Logging :
Each succesfull drop will now be loggd in the oxide log folder
11:25:52 AM] Krungh Crow[12345678910] killed a Radtown Bear and got some loot 11:26:24 AM] Krungh Crow[12345678910] killed a Radtown Wolf and got some loot
Console Logging :
Example Console logs if set to true
[Rad Town Loot] A Bear spawned with 473 HP and 35 Strength [Rad Town Loot] A Bear spawned with 374 HP and 34 Strength [Rad Town Loot] A Bear spawned with 376 HP and 32 Strength [Rad Town Loot] A Wolf spawned with 269 HP and 18 Strength [Rad Town Loot] A Bear spawned with 353 HP and 35 Strength [Rad Town Loot] A Bear spawned with 462 HP and 30 Strength [Rad Town Loot] A Wolf spawned with 191 HP and 13 Strength [Rad Town Loot] A Wolf spawned with 339 HP and 14 Strength [Rad Town Loot] A Bear spawned with 394 HP and 39 Strength [Rad Town Loot] A Wolf spawned with 151 HP and 22 Strength [Rad Town Loot] A Wolf spawned with 219 HP and 17 Strength [Rad Town Loot] A Wolf spawned with 310 HP and 16 Strength
Settings :
Droprate settings
* Bear droprate : Any value between 0.0/1.0 (0 means it will not spawn a backpack)
* Wolf droprate : Any value between 0.0/1.0 (0 means it will not spawn a backpack)
* Chat Steam64ID : Add your servers steampicture using the steam64ID.
* Use random skins : true/false
* Spawn min amount item : Minimum amount of items to spawn in the backpack.
* Spawn max amount item : Maximum amount of items to spawn in the backpack.
If u want the item to be a Blueprint add .bp behind the item name (eg ammo.pistol.bp) then it will spawn as a blueprint.
Loottable settings
* shortname : The items shortname (eg ammo.pistol).
* Amount : Max amount of the item to spawn in the backpack.
* skin : Add the skin ID if u want it to contain a certan skin.
* AmountMin : the minimum amount of this item to spawn in the backpack
You can change/add/remove lines to the lootprofile.
Configuration :
A example how u can configure it
{
"Bear settings": {
"Change Bear stats on spawns": true,
"Show Bear spawns in Console": true,
"Bear Droprate 0-100": 10.0,
"Minimum Health": 300,
"Maximum Health": 500,
"Minimum Strength (Att dmg)": 30,
"Maximum Strength (Att dmg": 40,
"Running Speed": 6.0
},
"Wolf settings": {
"Change Wolf stats on spawns": true,
"Show Wolf spawns in Console": true,
"Wolf Droprate 0-100": 10.0,
"Minimum Health": 150,
"Maximum Health": 450,
"Minimum Strength (Att dmg)": 13,
"Maximum Strength (Att dmg)": 23,
"Running Speed": 6.0
},
"Chat Steam64ID": 76561199090290915,
"Use Random Skins": true,
"Spawn Min Amount Items": 2,
"Spawn Max Amount Items": 6,
"Loot Table": [
{
"shortname": "ammo.pistol",
"amount": 200,
"skin": 0,
"amountMin": 200
}
.............................
}
Credits
* NIvex for help with the loot system and coding assistance