mirror of
https://github.com/ME1312/SubServers-2.git
synced 2025-02-16 19:51:26 +01:00
Updated SubCreator (markdown)
parent
95e76a99bc
commit
c9351edc1b
@ -20,14 +20,15 @@ This is a YAML file on the root folder, used to modify SubCreator's default conf
|
||||
```
|
||||
Template:
|
||||
Enabled: true
|
||||
Display: 'Example Template'
|
||||
Display: 'Example'
|
||||
Icon: 'minecraft:redstone_torch'
|
||||
Build:
|
||||
Import:
|
||||
- OtherTemplate
|
||||
Server-Type: 'Custom'
|
||||
Server-Type: 'CUSTOM'
|
||||
Use-Cache: true
|
||||
Require-Version: true
|
||||
Require-Version: false
|
||||
Can-Update: false
|
||||
Executable: 'bash build.sh'
|
||||
Run-On-Finish: true
|
||||
Settings:
|
||||
@ -43,6 +44,7 @@ Template:
|
||||
`Server-Type` **[Enum Value]**: Set which [ServerType](https://src.me1312.net/jenkins/job/SubServers%20Platform/javadoc/SubServers.Bungee/net/ME1312/SubServers/Bungee/Host/SubCreator.ServerType.html) this template will build<br>
|
||||
`Use-Cache` **[Boolean]**: Creates and forwards a valid cache directory to the script when true<br>
|
||||
`Require-Version` **[Boolean]**: Switches the `[Version]` field from optional to required<br>
|
||||
`Can-Update` **[Boolean]**: Signals to SubCreator that this template can update servers created by it<br>
|
||||
`Executable` **[File Path/String]**: A command to execute or the path to a script to execute relative to the directory set above. This value can use the following variables in addition to the system's own:<br>
|
||||
**->** `name`: The name of the new server<br>
|
||||
**->** `host`: The name of the host that was selected<br>
|
||||
|
Loading…
Reference in New Issue
Block a user