Смотрите видео ниже, чтобы узнать, как установить наш сайт в качестве веб-приложения на домашнем экране.
Примечание: This feature may not be available in some browsers.
Можешь, пожалуйста, привести пример как редактировать Commands.yml.В CMI например есть CustomAlias,You must be registered for see links
Но можешь также сделать это и в Commands.yml,
находится в корне конфигов твоего сервера
(там где spigot.yml/paper.yml/bukkit.yml)
# Edit custom variables in game if possible
# Some extra variables can be used, like [playerName] will insert senders name automatically
# If command is shortened and you need to provide some changing variables like target player name you need to define what and where it should be placed
# Example: /cmi heal Zrips
# Can be shortened with custom alias to something like /h zrips by using alias command like
# cmi heal $1
# If you need to add more than one variable, use $1- format. Number represents variable place when used in alias command
# Example: cmi tppos $1-
# In case you want to print out help page if player enters wrong subcommand, use ? in alias
# Example: ca ?
# In this case if player performs /ca wrongsub or /ca anotherwrong
# Commands under this alias will get executed. Exelent way to show help page and correct usage if needed
aliases:
icanhasbukkit:
- version $1-
Спасибо, в примере смутил $1Т.к. у них похожее действие с CMI, приведу комментарий оттуда:
YAML:# Edit custom variables in game if possible # Some extra variables can be used, like [playerName] will insert senders name automatically # If command is shortened and you need to provide some changing variables like target player name you need to define what and where it should be placed # Example: /cmi heal Zrips # Can be shortened with custom alias to something like /h zrips by using alias command like # cmi heal $1 # If you need to add more than one variable, use $1- format. Number represents variable place when used in alias command # Example: cmi tppos $1- # In case you want to print out help page if player enters wrong subcommand, use ? in alias # Example: ca ? # In this case if player performs /ca wrongsub or /ca anotherwrong # Commands under this alias will get executed. Exelent way to show help page and correct usage if needed
И уже есть готовый пример:
Код:aliases: icanhasbukkit: - version $1-
Мы используем основные cookies для обеспечения работы этого сайта, а также дополнительные cookies для обеспечения максимального удобства пользователя.
Посмотрите дополнительную информацию и настройте свои предпочтения