-
Notifications
You must be signed in to change notification settings - Fork 15
Activator COMMAND
This activator is initiates when player typed a defined command.
To create this activator use command:
/react add COMMAND <ActivatorId> <CommandLine>
/react add COMMAND <ActivatorId> command:<CommandLine> override:<true/false> regex:<true/false>
/react add COMMAND <ActivatorId> cmd:<Command> arg1:<Parameter1> arg2:<Parameter2> ... argN:<ParameterN>
You can use this activator to add additional features for commands. For example you can player smoke effect when player types /help command, or remove some amount of money when player types /spawn command. You can use activator even you need to add totally new command. Just create activator and define actions for it.
Placeholder | Description |
---|---|
%arg0% | Command (first word in command line) |
%arg1%... %argN% | Arguments |
%args% | All arguments (excluding command) Example: If command line is: /customcommand reload 10 %args% placeholder will return: "reload 10" |
%args1% ... %argsN% | All arguments (excluding command and all of previous arguments) Example: If command line is: /customcommand reload 10 %args1% placeholder will return: "10" |
%argscount% |
Number of arguments |
Links:
Download | Support | Twitter | VK | MinecraftMain Blog
© 2017, fromgate
http://reactions.fromgate.me
http://reactions.fromgate.ru
- Commands and Permission
- Activators
- Flags
- Actions
- Timers
- Menus
- Data formats
- Configuration
- Команды и пермишены
- Активаторы
- Флаги
- Действия
- Таймеры
- Меню
- Форматы данных
- Конфигурация