Updated Commands and Permissions (markdown)

ME1312 2020-08-19 21:16:26 -04:00
parent 82629223aa
commit 56effa8f86

@ -171,16 +171,19 @@ The version argument is template-dependent in this command, meaning that it is o
## /sub update
**Aliases:** `update`, `upgrade`<br>
**Permission:** `subservers.subserver.<SubServers>.update`<br>
**Usage:** `/sub update <SubServers> [Version]`<br>
**Usage:** `/sub update <SubServers> [[Template] <Version>]`<br>
**Examples:**<br>
&nbsp; &nbsp; `/sub update Server2`<br>
&nbsp; &nbsp; `/sub update Server2 1.14.4`<br><br>
&nbsp; &nbsp; `/sub update Server2 1.14.4`<br>
&nbsp; &nbsp; `/sub update Server2 Paper 1.14.4`<br><br>
Updates one or more subservers on the network. For more information about this process, see the [SubCreator](https://github.com/ME1312/SubServers-2/wiki/SubCreator) page.<br>
Like in `/sub create`, the version argument is template-dependent in this command, meaning that it is only required if your template requires it. Similarly, it will only be used if your template uses it. Additionally, your template might not support updating at all. If this is the case, the command will fail.<br>
When selecting multiple servers, keep in mind that some templates use this command to rebuild their cache, like the default templates `Spigot` and `Vanilla`. In such cases, you would want to update a single server first to rebuild the cache and then update the rest in bulk.<br><br>
When selecting multiple servers, keep in mind that some templates use this command to rebuild their cache, like the default templates `Spigot` and `Vanilla`. In such cases, you would want to update a single server first to rebuild the cache and then update the rest in bulk.<br>
Lastly, this command can also be used to change the template of a subserver. Changing a template in this way will overwrite settings in `servers.yml` as if the template had the `Update-Settings` build option enabled because, most of the time, it wouldn't work otherwise. <br><br>
## /sub delete
@ -193,6 +196,7 @@ Removes one or more subservers from the network and moves its files to the `Rece
It should be noted that this is functionally the same internally as the API methods starting with `.recycle`, which are different from the API methods starting with `.delete` that actually permanently delete a server's files on disk. Even so, due to the destructive nature of this command, it is not available for in-game users.<br><br>
# Selecting Multiple Servers
Some commands on this page allow you to perform the same action on multiple servers without having to retype the command every time. In a similar fashion, some permissions can use these same methods to grant a permission on multiple servers.<br><br>