Pavlov mod.io maps integration with 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

Verzia zo dňa 18.06.2023. Pozri najnovšiu verziu.

Autor
UnderPL
Hodnotenie
0 0 0
Verzia
1.0
Vytvorené
17.06.2023
Aktualizované
18.06.2023
Veľkosť
9,9 KB
Licencia
neuvedené
Spustiť na

Add Extra Buttons in mod.io for Pavlov maps/mods with RCON integration

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.