mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-25 19:56:24 +01:00
Updated SubCreator (markdown)
parent
218d127724
commit
4cbbda2e61
@ -40,7 +40,7 @@ Template:
|
||||
`Build` **[Object]**: SubCreator build options<br>
|
||||
`Import` **[Enum Value]**: Import and run other templates by name<br>
|
||||
`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 build script when true<br>
|
||||
`Use-Cache` **[Boolean]**: Creates and forwards a valid cache directory to the script when true<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>
|
||||
**->** `template`: The name of the template being used<br>
|
||||
@ -51,7 +51,7 @@ Template:
|
||||
**->** `address`: The bind address of the host<br>
|
||||
**->** `port`: The port number of the new server<br>
|
||||
**->** `cache`: The caching directory (only when `Use-Cache` is true)<br>
|
||||
`Run-On-Finish` **[Boolean]**: Whether this subserver will start automatically 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#subserversconfigyml-global-configuration) is valid here. Additionally, String values in this object can use the following variables:<br>
|
||||
**->** `$name$`: The name of the new server<br>
|
||||
**->** `$template$`: The name of the template that was used<br>
|
||||
|
Loading…
Reference in New Issue
Block a user