iShamTeam-CommandBinds icon

CommandBinds

Macros for chat commands: up to 6 commands per macro, run from a key combo, an on-screen button or the macro menu. Client only.

Last updated 9 hours ago
Total downloads 34
Total rating 0 
Categories Tools Mods Oakveil Update Client
Dependency string iShamTeam-CommandBinds-1.0.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_V_Rising-1.733.2 icon
BepInEx-BepInExPack_V_Rising

BepInEx pack for V Rising. Preconfigured and includes Unity Base DLLs.

Preferred version: 1.733.2

README

CommandBinds

Macros for chat commands. A macro is a short name and up to 6 commands (.night, .home...) that are sent to the server one after another. Run it with a key combo, an on-screen button or from the macro menu.

Client only. Works on any server whose mods use . commands.

Usage

Click "Macros" in the bottom left corner. The menu shows your macros as tiles:

  • click a tile to run the macro;
  • + creates a new one;
  • the small square at the top turns on edit mode. Pick a tile, then Edit, Run or Delete (delete asks twice).

In the editor:

  • name: 1 to 4 characters, and a color for it;
  • commands: one per line, each starts with .;
  • keys: click the field and press the combo, e.g. Shift+K or K+H+J. It's saved when you let go of all keys. Esc cancels;
  • screen button: click to cycle through the buttons from the config.

The menu window can be dragged by its title.

Rules

  • One macro at a time. Another can't start until the first one has sent everything.
  • Commands go 0.2 s apart, 6 per macro max.
  • Only commands are sent, never plain chat text.
  • Macros don't fire while you type in the chat or any text field, or outside a world.
  • The game action on the same key still happens, so pick free keys.

Config

BepInEx/config/CommandBinds.json is created on first start, with comments. Restart the game after editing it. Settings include:

  • language;
  • colors and opacity;
  • where the menu button and the screen buttons are, and how many buttons there are;
  • menu size (columns, rows, tile size);
  • window scale and titles.

Macros are saved to BepInEx/config/CommandBinds.macros.json, and the window position to CommandBinds.window.txt.

Binds from 0.1 (vrisingmod.commandbinds.txt) become macros M1, M2... on the first start.

Install

Put CommandBinds.dll into BepInEx/plugins/CommandBinds/. The Thunderstore Mod Manager does this for you.

Tested on V Rising 1.1.13.

Русский

Макросы для команд чата. В макросе короткое имя и до 6 команд, которые по очереди уходят на сервер. Запускается сочетанием клавиш, кнопкой на экране или из меню макросов. Мод только клиентский, работает на любом сервере с командами через точку.

  • Кнопка "Меню макросов" слева внизу. Клик по плитке запускает макрос, + создаёт новый. Квадратик сверху включает редактирование: выберите плитку, дальше Изменить, Активировать или Удалить.
  • В редакторе: имя до 4 символов и его цвет, по одной команде в строке, сочетание клавиш (кликните в поле и нажмите, Esc отменяет), кнопка на экране.
  • Одновременно работает один макрос, команды идут через 0.2 с.
  • Пока вы печатаете в чате или в любом поле ввода, макросы не срабатывают.
  • Внешний вид и расположение настраиваются в BepInEx/config/CommandBinds.json, после правки перезапустите игру.
  • Окно меню перетаскивается за заголовок.