Create Befehl
The create command is used to create one or more new services based on a task or completely independent.
Permission: cloudnet.command.create
Aliases: create
Information
Dieser Befehl kann als Befehl in der Node-Konsole oder als Ingame-Befehl mit dem Präfix /cloud verwendet werden
Dies ist eine einfache Übersicht über den create Befehl.
Weitere Informationen finden sich weiter unten auf der Seite.
COMMAND: - create by <task> <count>
COMMAND: - create new <name> <MINECRAFT_SERVER, GLOWSTONE, NUKKIT, GO_MINT, BUNGEECORD, VELOCITY, WATERDOG> <count>
COMMAND: parameters:
COMMAND: - task=<name>
COMMAND: - node=[Node-1;Node-2]
COMMAND: - autoDeleteOnStop=<true : false>
COMMAND: - static=<true : false>
COMMAND: - port=<port>
COMMAND: - memory=<mb>
COMMAND: - groups=[Lobby, Prime, TestLobby]
COMMAND: - runtime=<name>
COMMAND: - jvmOptions=[-XX:OptimizeStringConcat;-Xms256M]
COMMAND: - templates=[storage:prefix/name local:Lobby/Lobby;local:/PremiumLobby]
COMMAND: - deployments=[storage:prefix/name local:Lobby/Lobby;local:/PremiumLobby]
COMMAND: - --start
create by
Aufruf: create by <task> <amount>
Dieser Befehl erstellt eine bestimmte Anzahl amount von neuen Services auf der Grundlage von einem bestimmten Task task.
create new
Aufruf: create new <name> <MINECRAFT_SERVER, GLOWSTONE, NUKKIT, GO_MINT, BUNGEECORD, VELOCITY, WATERDOG> <amount>
Dieser Befehl erstellt eine bestimmte Anzahl amount von neuen unabhängigen Services auf Grundlage von dem gegebenen Namen name und dem Typen.
Folgende Parameter können verwendet werden:
task=<name>- to set the name of the task which configurations should be includednode=[Node-1;Node-2]- to set the nodes on which the services are allowed to startautoDeleteOnStop=<true : false>- to enable (true) or disable (false) the auto deletion once the service is stopped.static=<true : false>- to make the services static (true) or not (false)port=<port>- to set the start port which should be usedmemory=<mb>- to set the max heap memory of the taskruntime=<name>- to a custom runtimejvmOptions=[-XX:OptimizeStringConcat;-Xms256M]- to set custom jvm optionstemplates=[storage:prefix/name]- to include templates for the services
e.g.templates=[local:Lobby/Lobby;local:/PremiumLobby]deployments=[storage:prefix/name]- to include deployments for the services e.g.deployments=[local:Lobby/Lobby;local:/PremiumLobby]--start- to start the services after the creation