-
Notifications
You must be signed in to change notification settings - Fork 0
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
598d0ef
commit 67d7b27
Showing
4 changed files
with
550 additions
and
0 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,22 @@ | ||
{ | ||
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04", | ||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": {}, | ||
"ghcr.io/devcontainers/features/git:1": {}, | ||
"ghcr.io/devcontainers/features/git-lfs:1": {}, | ||
"ghcr.io/ParadigmMC/devcontainers/mcman": {}, | ||
"ghcr.io/devcontainers/features/java:1": {} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"evenBetterToml.schema.associations": { | ||
"^.*server.toml$": "https://raw.githubusercontent.com/ParadigmMC/mcman-meta/main/schemas/servertoml.schema.json" | ||
} | ||
}, | ||
"extensions": [ | ||
"tamasfe.even-better-toml" | ||
] | ||
} | ||
} | ||
} |
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.