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

As of 2023-06-17. See the latest version.

Author
UnderPL
Ratings
0 0 0
Version
0.3
Created
2023-06-17
Updated
2023-06-17
Size
6.15 KB
License
N/A
Applies to

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

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 commands.
  • Adds an "Add to map rotation" button for adding the selected map to map rotation using RCON commands.
  • 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:
  5. Server selection feature is planned for implementation to accommodate users with access to multiple servers through pavlovrcon.com.