This might be about 5 years late or so, but here is an API for Battleyes Extended Control - Rcon.
Our Server uses Discord a lot. You are on the go and receive a ping that a user needs to get banned? Or maybe the server crashed?
With this API or Discord module you can directly connect to your server and resolve the issue.
You want to automate server restart, resets, or shutdowns? Yep, can be done with this API.
You want to get a notification when somebody asks ingame for help? All possible with this API.
addBan Same as 'banPlayer', but allows to ban a player that is ...
banPlayer Ban a player's BE GUID from the server. If time is not s...
changePassword Changes the RCon password
command Sends a custom command to the server
getBEServerVersion Gets the current version of the BE server
getBans Removes a ban
getChat Sends a custom command to the server
getMissions Gets a list of all Missions
kickPlayer Kicks a player who is currently on the server
loadBans (Re)load the BE ban list from bans.txt
loadScripts Loads the 'scripts.txt' file without the need to restart...
maxPing Changes the MaxPing value. If a player has a higher ping...
players lists current players on the server
removeBan Removes a ban
say Sends a global message
sayPlayer Sends a message to a specific player
status Current connection status
Installation / Usage:
For usage instructions and information of how to use the BEC RCon API for Python and Discord please refer to the included documentation and/or example mission.
Just download the scripts and add them to your discord python bot, or make your scripts with it.
Outbound messages can only contain ASCII charaters
Not all commands are available yet
Additional commands for Rcon (loadMission, ...)
Discord: Notification on keywords
Works on all platforms! (Windows, Linux, MacOSX)
Join my Discord: https://discordapp.com/invite/YhBUUSr
License / Disclaimer:
Added 2 new commands and fixed loadMission
Merge branch 'master' of https://github.com/Yoshi-E/Python-BEC-RCon
- BI forums