From 9b43be9d9cc3a0e67a39959ed56aa0ce2912002e Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 7 Apr 2022 23:10:18 +0100 Subject: [PATCH] Improved documentation of pocketmine.yml aliases --- resources/pocketmine.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/resources/pocketmine.yml b/resources/pocketmine.yml index 7d0a337a7..003173b2b 100644 --- a/resources/pocketmine.yml +++ b/resources/pocketmine.yml @@ -173,10 +173,26 @@ console: title-tick: true aliases: - #Examples: - #showtheversion: version + ##This section allows you to add, remove or remap command aliases. + ##A single alias can call one or more other commands (or aliases). + ##Aliases defined here will override any command aliases declared by plugins or PocketMine-MP itself. + + ##To remove an alias, set it to [], like so (note that prefixed aliases like "pocketmine:stop" will remain and can't + ##be removed): + #stop: [] + + ##Commands are not removed, only their aliases. You can still refer to a command using its full (prefixed) + ##name, even if all its aliases are overwritten. The full name is usually something like "pocketmine:commandname" or + ##"pluginname:commandname". + #abort: [pocketmine:stop] + + ##To add an alias, list the command(s) that it calls: + #giveadmin: [op] #savestop: [save-all, stop] + ##To change an existing command alias and make it do something else: + #tp: [suicide] + worlds: #These settings will override the generator set in server.properties and allows loading multiple worlds #Example: