Loadout is a mod made for Mod Pack Makers. It allows you to specify a set or sets of items to give to Players the first time they log into the game. You are able to specify multiple loadouts in case you need to add additional items at a later point. Item Loadouts are stored in
.minecraft\config\grimco\loadouts.json
The expected syntax for the loadouts.json is similar to what vanilla uses for recipes. The follow bit of code creates a Loadout called 'basic' that gives players 32 Torches, 8 Apples, 1 Stone Pickaxe, 4 Birch Saplings, and 1 Potion of Healing
{
"basic": [
{
"item": "minecraft:torch",
"count": 32
},
{
"item": "minecraft:apple",
"count": 8
},
{
"item": "minecraft:stone_pickaxe"
},
{
"item": "minecraft:sapling",
"data": 2,
"count": 4
},
{
"nbt": "{Potion:\"minecraft:healing\"}",
"item": "minecraft:potion",
"type": "minecraft:item_nbt"
}
]
}
It's pretty straight forward, and easy to tweak by hand if needed. There is an easier way however.
Loadout also offers some commands that Creative Players or those who are OP on server can access
The primary command, /LO, has 6 default arguments. Create, Delete, List, View, Reload, and Help.
When a player log's in for the first time, the Mod checks to see if a player has previously received the current active Loadouts, if they haven't the player is granted the items specified and then tagged as having received the items preventing any further items from being given.
Loadout is a new mod, as such if you find any bugs or have any suggestions, please submit a GitHub issue.
Loadout is available for all pack makers to use, if you have any questions, please submit a GitHub issue.
Basically, if you need any sort of help, make a GitHub issue.