你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/468883-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
Pavlov mod.io RCON integration (pavlovrcon.com)

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
Usage
Advanced Configuration
If you find that pavlovrcon.com is down, or if you prefer not to route your requests through the website, you can configure the script to use an HTTP "rcon proxy"/server instead. This alternative method can be particularly useful if you don't want to first log in with your RCON password on pavlovrcon.com before using the script. I use a node.js server to translate the HTTP requests to TCP, you can message me for it.
To enable this option:
httpProxy variable to true.httpProxyIp and httpProxyPort variables with your HTTP proxy/server's IP and port number respectively.The script will then send requests to the following endpoint:
http://${httpProxyIp}:${httpProxyPort}/rcon?command=${action}
If you have a different endpoint structure, you can easily modify it directly in the script.
In this URL, ${action} corresponds to the RCON command you wish to send.
To do: