Prerequisite Reads
- #1137395737274093629
- #1137401341061386240
Overview
Signup Templates are there to create reusable templates.
Normally a setup/signup gets reused more often during the duration of a campaign and having a single template that can be setup once and reused throughout multiple signups is a great solution.
We have chosen for a JSON structure. Which is a very structured data type, but it makes it possible to edit it in a text editor and not having to click too many buttons to make a template.
Please reach out for help if you're not familiar with it.
Recommended Editors
- Visual Studio Code (VSCode) (My personal favourite editor. Even has a web version )
- Notepad++
- Notepad (only when you understand JSON)
** How To**
First create your template in your text editor (still VS Code is recommended).
Use the Example below to get kick started and to see the schema.
Then:
Either use
/signuptemplates update json-input:<your json input>
/signuptemplates create json-input:<your json input>
Both of them create your signup template. "update" just overrides any that is created with the same TemplateName.
** Parameter Explanation**
SignUpConfigName => The Name of the template. Later on this is how you reference it.
GroupsConfig => A list of Group Objects
GroupConfig.Name => Name of the group. Unique
GroupConfig.Role => The Role/Aircraft
GroupConfig.AmountInSlot => Maximum amounts in this flight. -1 for infinite amount.
GroupConfig.GroupSpecificTasking => List of taskings this flight can choose. The entire "Taskings" list gets overridden.
GroupConfig.IsDualSeater => Whether or not there will be 2 signup slots available per jet.
Taskings => Taskings that all flights without specific taskings can choose.
** Example **
Use /signuptemplates example for getting an example.
But here's the example as well:
{
"SignUpConfigName": "NameOfSignupTemplate",
"GroupConfigs": [
{
"Name": "Hacker",
"Role": "F-16",
"AmountInSlot": 4,
"GroupSpecificTasking": []
},
{
"Name": "Buzz",
"Role": "FA-18",
"AmountInSlot": 4,
"GroupSpecificTasking": [
"CAP",
"SEAD",
"STRIKE",
"Anti-Ship"
]
},
{
"Name": "Eagle",
"Role": "F-15E",
"AmountInSlot": 4,
"IsDualSeater": true,
"GroupSpecificTasking": [
"CAP",
"STRIKE"
]
}
],
"Taskings": [
"CAP",
"SEAD",
"STRIKE"
]
}