About Simple Loot Table
With this plugin you can create loot tables and apply them to default entities like loot barrels, crates, toolboxes, hackable crates etc.
You can also use loot tables for custom storage containers, including using API.
You can create loot tables with unique items using displayname and skins for them (please only use this for items with max stacksize count of 1, like for weapons).
Developer API:
(void) GetSetItems(BaseEntity entity, string tableName, int minAmount, int maxAmount, float multiplier, bool clear = true) // Will fill your custom crate with a set of items using your chosen loot table
- entity - crate or any storage container
- tableName - loot table filename
- minAmount - minimum number of items
- maxAmount - maximum number of items
- multiplier - items multiplier
- clear - clear container before filling, default true(optional)