-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be16d86
commit 3bcadfa
Showing
6 changed files
with
281 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "hotreload.toml", | ||
"description": "mcman hotreload.toml schema", | ||
"type": "object", | ||
"properties": { | ||
"files": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"path": { "type": "string" }, | ||
"action": { | ||
"oneOf": [ | ||
{ | ||
"const": "reload" | ||
}, | ||
{ | ||
"const": "restart" | ||
}, | ||
{ | ||
"type": "string", | ||
"pattern": "/.*" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "network.toml schema", | ||
"description": "Schema for mcman's network.toml file", | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"description": "Name of the network", | ||
"type": "string" | ||
}, | ||
"proxy": { | ||
"description": "The proxy server's name", | ||
"type": "string" | ||
}, | ||
"port": { | ||
"type": "integer", | ||
"default": 25565 | ||
}, | ||
"servers": { | ||
"description": "Table of servers", | ||
"type": "object", | ||
"additionalProperties": { | ||
"port": { | ||
"type": "integer", | ||
"default": 25565 | ||
}, | ||
"ip_address": { | ||
"description": "Optional server ip address", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"variables": { | ||
"description": "Variables shared between all servers", | ||
"type": "object" | ||
} | ||
} | ||
} |
Oops, something went wrong.