mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-25 11:46:50 +01:00
Updated SubCreator (markdown)
parent
7e75fb681d
commit
dcaf19d3f9
@ -46,7 +46,7 @@ Template:
|
|||||||
Executable: 'java -jar myfile.jar'
|
Executable: 'java -jar myfile.jar'
|
||||||
```
|
```
|
||||||
`Template` **[Object]**: Settings container for this template. All of these values are optional unless otherwise specified. See the [Configuration](https://github.com/ME1312/SubServers-2/wiki/Configuration) for more info on the value types and modifiers used here.<br>
|
`Template` **[Object]**: Settings container for this template. All of these values are optional unless otherwise specified. See the [Configuration](https://github.com/ME1312/SubServers-2/wiki/Configuration) for more info on the value types and modifiers used here.<br>
|
||||||
`Enabled` **[Boolean]**: Whether this template is enabled<br>
|
`Enabled` **[Boolean]**: Set whether this template is enabled<br>
|
||||||
`Display` **[String]**: Set the display name of this template<br>
|
`Display` **[String]**: Set the display name of this template<br>
|
||||||
`Icon` **[Item]**: Set the item icon of this template<br>
|
`Icon` **[Item]**: Set the item icon of this template<br>
|
||||||
`Build` **[Object]**: SubCreator build options<br>
|
`Build` **[Object]**: SubCreator build options<br>
|
||||||
@ -54,11 +54,11 @@ Template:
|
|||||||
`Replace` **[File Path List]**: Select files to replace variables in ([How?](https://github.com/ME1312/SubServers-2/wiki/SubCreator#Other-Files))<br>
|
`Replace` **[File Path List]**: Select files to replace variables in ([How?](https://github.com/ME1312/SubServers-2/wiki/SubCreator#Other-Files))<br>
|
||||||
`Replacements` **[Object]**: Define custom variables for this build<br>
|
`Replacements` **[Object]**: Define custom variables for this build<br>
|
||||||
`Server-Type` **[Enum Value]**: Set which [ServerType](https://dev.me1312.net/jenkins/job/SubServers%20Platform/javadoc/SubServers.Bungee/net/ME1312/SubServers/Bungee/Host/SubCreator.ServerType.html) this template will build<br>
|
`Server-Type` **[Enum Value]**: Set which [ServerType](https://dev.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>
|
`Use-Cache` **[Boolean]**: Creates and forwards a valid cache directory to the build script<br>
|
||||||
`Install-Client` **[Boolean]**: Toggles whether SubServers.Client will be installed<br>
|
`Install-Client` **[Boolean]**: Toggles whether SubServers.Client will be installed<br>
|
||||||
`Require-Version` **[Boolean]**: Switches the `[Version]` field from optional to required<br>
|
`Require-Version` **[Boolean]**: Switches the `[Version]` field from optional to required<br>
|
||||||
`Can-Update` **[Boolean]**: Signals that this template can update servers created by it<br>
|
`Can-Update` **[Boolean]**: Signals that this template can update servers created by it<br>
|
||||||
`Update-Files` **[Boolean]**: Replace files that differ from the template files<br>
|
`Update-Files` **[Boolean]**: Replaces files that differ from the template files<br>
|
||||||
`Executable` **[File Path/String]**: A command to execute or the path to a script to execute.<br>
|
`Executable` **[File Path/String]**: A command to execute or the path to a script to execute.<br>
|
||||||
`Run-On-Finish` **[Boolean]**: Whether this subserver will be started after SubCreator finishes<br>
|
`Run-On-Finish` **[Boolean]**: Whether this subserver will be started after SubCreator finishes<br>
|
||||||
`Settings` **[Object]**: Sets the default options for the subserver. Any setting from the `Servers` section of the [main configuration](https://github.com/ME1312/SubServers-2/wiki/Configuration#subserversserversyml-global-configuration) is valid here. Additionally, you can use variables for this object's strings using this format: `$variable$`.<br><br>
|
`Settings` **[Object]**: Sets the default options for the subserver. Any setting from the `Servers` section of the [main configuration](https://github.com/ME1312/SubServers-2/wiki/Configuration#subserversserversyml-global-configuration) is valid here. Additionally, you can use variables for this object's strings using this format: `$variable$`.<br><br>
|
||||||
|
Loading…
Reference in New Issue
Block a user