Search the Community
Showing results for tags 'amount'.
-
Version 1.0.3
63 downloads
xMagazineCapacity - Set a custom magazine capacity for any weapon. - Define a default capacity - Define a permission or not for any custom magazine capacity Default Config { "Weapons": [ { "weaponName": "rifle.ak", "capacity": 45, "defaultCapacity": 30, "permission": "" }, { "weaponName": "rocket.launcher", "capacity": 3, "defaultCapacity": 1, "permission": "xmagazinecapacity.rocketlauncher3" }, { "weaponName": "rocket.launcher", "capacity": 6, "defaultCapacity": 1, "permission": "xmagazinecapacity.rocketlauncher6" } ], "RevokePermissionsOnUnload": false, "RestoreRevokedPermissionsOnLoad": true } Keep "permission" empty to override magazine capacity for all players. When config is changed, reload the plugin. Add as much weapons as you want. Multiple permissions for same weapon If you have identical weapon names with different permissions, the capacity will be taken from the one with the highest capacity. Example: 3 times "rocket.launcher" with different permissions: xmagazinecapacity.rl3, xmagazinecapacity.rl6, xmagazinecapacity.rl9 - If a player has all 3 permissions, the capacity will be 9, since its the one with most capacity. RevokePermissionsOnUnload/RestoreRevokedPermissionsOnLoad "RevokePermissionsOnUnload": When the plugin unloads, it takes back any weapon permissions it granted while plugin was running. "RestoreRevokedPermissionsOnLoad": If you turned the "RevokePermissionsOnUnload" on, this restore option puts revoked permissions back on the same players the next time the plugin loads. (It only affects xmagazinecapacity configured permissions)$6.90 -
Version 1.0.3
9 downloads
xCustomCrates - You can create custom crates where the command, prefab, items and chance are configurable. - Custom Crate spawns infront of the player. (If triggered by a command) - You can add as many custom crates as you want. INFO: It doesn't add each item in your custom crate only because you configure it -> As example if you have a crate with 2 items, 20% and 30% chance, the crate can also be empty because its only a 20 and 30% chance to be in it. This works as expected and designed. Commands ======================================== As per out default config. ======================================== spawntools xNullPointer95 spawnelite xNullPointer95 ======================================== You can also use partial name ======================================== spawntools xNull spawnelite xNull Default Config { "Crates": [ { "Command": "spawntools", "PrefabPath": "assets/bundled/prefabs/radtown/crate_tools.prefab", "ItemsPerCrate": 2, "LootTable": [ { "ShortName": "hammer", "Amount": 1, "Chance": 60 }, { "ShortName": "hatchet", "Amount": 1, "Chance": 80 } ] }, { "Command": "spawnelite", "PrefabPath": "assets/bundled/prefabs/radtown/crate_elite.prefab", "ItemsPerCrate": 3, "LootTable": [ { "ShortName": "rifle.ak", "Amount": 1, "Chance": 10 }, { "ShortName": "ammo.rifle", "Amount": 60, "Chance": 50 }, { "ShortName": "explosive.timed", "Amount": 1, "Chance": 5 } ] } ] }$9.00
