-
Notifications
You must be signed in to change notification settings - Fork 0
Plugin configuration file description (JSON)
Thomas Milox edited this page Mar 17, 2017
·
4 revisions
{
// nom du plugin, unique
"name": {
"type": String,
"unique": True,
"required": True,
"format": "a->z,-,_,0-9",
},
// description
"description": {
"type": String,
"required": True,
},
// version du plugin, versioning unique par plugin
"version": {
"type": String,
"unique": True, (one version per plugin),
"format": "Majeur.Mineur.Build",
"required": True,
},
// username de l'user
"author": {
"type": String,
"required": True,
},
// array d'objets contenant les commandes
"commands": [
{
"name": {
"type": String,
"required": True
},
"phonetic": {
"type": String,
"required": True
},
"exec": {
"type": String,
"required": True
}
}
],
// facultatif
"options": {
"type": JSON object,
"required: False
}
}