Pavlov mod.io RCON integration (pavlovrcon.com)

Add extra buttons to mod.io pavlov map pages to allow switching to the map or adding it to the rotation of a server by using pavlovrcon.com

Устаревшая версия за 18.06.2023. Перейдите к последней версии.

Автор
UnderPL
Оценки
0 0 0
Версия
1.0
Создано
17.06.2023
Обновлено
18.06.2023
Размер
9,9 КБ
Лицензия
нет данных
Работает на

Pavlov mod.io RCON integration (pavlovrcon.com)

mod.io extra pavlovrcon.com buttons

This userscript adds extra buttons to the mod.io page for Pavlov maps and mods, making it easier for users to quickly interact with maps and mods using RCON (Remote Console) commands. The script uses the pavlovrcon.com API to send the requests.

Features:

  • Adds a "Play" button for instantly switching to a selected map using RCON (pavlovrcon.com).
  • Adds an "Add to map rotation" button for adding the selected map to map rotation using RCON (pavlovrcon.com).
  • Provides a dropdown menu to choose between various game modes (e.g. SND, TDM, DM, etc.).

Usage:

  1. Install script
  2. Log in with your server info in pavlovrcon.com
  3. [Optional] Change the default selected mode (INFECTION by default) by editing the value of the defaultSelectedMode variable at the top of the script
  4. Use the buttons in any map page (https://mod.io/g/pavlov/m/)

To do:

  • Server selection feature is planned for implementation to accommodate users with access to multiple servers through pavlovrcon.com.