common information/macro key bind/en: различия между версиями
Vitya1228 (обсуждение | вклад) Нет описания правки |
FuzzyBot (обсуждение | вклад) Обновление для соответствия новой версии исходной страницы. |
||
| Строка 31: | Строка 31: | ||
First, click on the “Grid Settings” section and configure the workspace. After clicking on the above button, the workspace settings menu will open, where you can specify your settings: | First, click on the “Grid Settings” section and configure the workspace. After clicking on the above button, the workspace settings menu will open, where you can specify your settings: | ||
[[Файл:key4.png|none| | [[Файл:key4.png|none|<span class="mw-translate-fuzzy">496x496пкс</span>|мини|496x496пкс]] | ||
Next, click “Add button,” after which the object will appear in the chat menu and can be configured and moved as needed. | Next, click “Add button,” after which the object will appear in the chat menu and can be configured and moved as needed. | ||
| Строка 37: | Строка 37: | ||
The button settings menu looks like this: | The button settings menu looks like this: | ||
[[Файл:key5.png|none| | [[Файл:key5.png|none|<span class="mw-translate-fuzzy">494x494пкс</span>|мини|494x494пкс]] | ||
The button settings include the following fields: | The button settings include the following fields: | ||
| Строка 67: | Строка 67: | ||
</div> | </div> | ||
[[Файл:key6.png|none | [[Файл:key6.png|none|<span lang="ru" dir="ltr" class="mw-content-ltr">Меню настройки макроса</span>|мини|506x506пкс]] | ||
<div lang="ru" dir="ltr" class="mw-content-ltr"> | <div lang="ru" dir="ltr" class="mw-content-ltr"> | ||
| Строка 108: | Строка 108: | ||
</div> | </div> | ||
[[Файл:key7.png|none | [[Файл:key7.png|none|<span lang="ru" dir="ltr" class="mw-content-ltr">Использование аргумента $$u</span>|мини|508x508пкс]] | ||
<div lang="ru" dir="ltr" class="mw-content-ltr"> | <div lang="ru" dir="ltr" class="mw-content-ltr"> | ||
| Строка 114: | Строка 114: | ||
</div> | </div> | ||
[[Файл:key8.png|none | [[Файл:key8.png|none|<span lang="ru" dir="ltr" class="mw-content-ltr">Ввод параметров для первого аргумента</span>|мини|509x509пкс]] | ||
[[Файл:key9.png|none | [[Файл:key9.png|none|<span lang="ru" dir="ltr" class="mw-content-ltr">Ввод параметров для второго аргумента</span>|мини|506x506пкс]] | ||
<div lang="ru" dir="ltr" class="mw-content-ltr"> | <div lang="ru" dir="ltr" class="mw-content-ltr"> | ||
| Строка 121: | Строка 121: | ||
</div> | </div> | ||
[[Файл:key10.png|none | [[Файл:key10.png|none|<span lang="ru" dir="ltr" class="mw-content-ltr">Пример использования</span>|мини|496x496пкс]] | ||
Версия от 17:05, 28 октября 2025
Macro Key Bind - a modification added to the 1.7.10 server version of the GravityCraft project, allows you to configure buttons to execute specified commands.
Usage
To start working with Macro Key Bind, open the chat and click on the GUI editor in the lower right corner:

Next, the settings window will open:
There are the following 3 buttons in the lower left corner:
- Delete object;
- Edit object (Change button size);
- Object panel commands (adding and editing buttons).
To create an object and configure it, click the “Button panel commands” button. After clicking this button, the following window will open:
First, click on the “Grid Settings” section and configure the workspace. After clicking on the above button, the workspace settings menu will open, where you can specify your settings:
Next, click “Add button,” after which the object will appear in the chat menu and can be configured and moved as needed.
The button settings menu looks like this:
The button settings include the following fields:
- Name - responsible for the button identifier (for more complex scripts);
- Text - button name (You can also use various text modifiers. For example: &l - Bold and &c - Red);
- Hide if not related;
- Do not close the GUI when clicked - the chat will not close after clicking the button;
- Цвет текста - изменят цвет текста кнопки;
- Цвет фона - изменяет цвет заднего фона кнопок.
После создания кнопки можно задать ей исполняемые команды или отредактировать внешний вид по нажатию следующих клавиш в окне настройки Macro Key Bind:
- ЛКМ по кнопке - редактирование макроса;
- ПКМ по кнопке - настройка внешнего вида кнопки.
Для создания макроса потребуется нажать ЛКМ по кнопке. Далее, откроется следующее меню настройки макроса:
В нижнем поле надо указать команду или сообщение. Например:
- !Сообщение - отправить сообщение в глобальный чат;
Также, при прописывании команды можно указать следующие аргументы:
- $$u - выводит список игроков, которые находятся в онлайне (Удобно для таких команд, как /tpa, /pay и т.д.);
Если нужно написать несколько команд в одну кнопку то их нужно разделать символом ” | “. Например: /home | !Я дома
Пример использования аргумента $$u который выводит список игроков онлайн: Выбираем игрока в списке и нажимаем Enter
Пример использования аргумента $$[CustomName]. В данном случае [text1]и[text2]. Он запрашивает оба аргумента по очереди:
Получится следующее: