Update for EXILED(2.0.7)
Put CustomLoadouts.dll in EXILED\Plugins adn Newtonsoft.Json.dll in EXILED\Plugins\dependencies.
This plugin has it's own config which is placed in your global config folder when the plugin is run for the first time.
The plugin only has one option in the server config, cl_global
, it decides whether to use the global config folder or not, defaults to true.
# Prints a confirmation whenever a player is given a loadout
verbose: true
# Prints debug messages
debug: false
# Adds a ms delay if needed for plugin compatibility
delay: 0
# This sets up the loadouts and the permission nodes required to get them
# For instance "customloadouts.donatorloadouts" gives all loadouts under the donatorloadouts node below, as long as the class and chance checks are successful.
customloadouts:
# Name of this permission node
donatorloadouts:
# Class, check #resources in the SMOD discord server for class names, set to all to give to all classes
all:
# Percentage chance for item group to spawn
- 50:
# Items to spawn, check #resources in the SMOD discord server for item names.
# You can start a loadout with REMOVEITEMS and REMOVEAMMO to delete the existing items/ammo.
# All weapons spawn with one mag/clip loaded which cannot be removed, giving ammo adds the ammo directly to the player instead of spawning it as an item in their inventory.
- COIN # This example has a 50% chance to spawn a coin to all players with the customloadouts.donatorloadouts permission node
- 10:
- Medkit
SCIENTIST:
- 10:
# Starts with REMOVEITEMS to clear the default inventory before the items are added.
- REMOVEITEMS
- KeycardScientistMajor
- MEDKIT
- 5:
- REMOVEITEMS
- REMOVEAMMO
- GunUSP
- Ammo9mm
- Ammo9mm
- KeycardScientistMajor
- Medkit
moderatorloadouts:
CLASSD:
- 30:
- FLASHLIGHT
adminloadouts:
all:
- 100:
- MICROHID
- MICROHID
- MICROHID
- MICROHID
- MICROHID
- MICROHID
- MICROHID
- MICROHID
You can add more entries by following the example above. I believe each config option is pretty self explanatory config comments. If you have any questions, you can ask them in my discord server at the link above.
Command | Permission | Description |
---|---|---|
cl_reload |
customloadouts.reload |
Reloads the cl config. |