Boring Man Rcon Scripting Library
Project description
BMIO
Boring Man Rcon Scripting made simple
# Create a Bmio
app = Bmio('localhost', 42070, 'admin')
# Register a handler
@app.handler(RconEvent.log_message)
def do_something(some_data: log_message):
print(some_data.Message)
# Run it!
app.run()
Voila! You now have an RCON bot that prints out the log messages
Let BMIO handle the type conversions and connection logic, so you have more time to create fun scripts!
Features
- Enums for just about every ID type, so you don't have write magic number checks in your code
- Automatically retry if one of the handlers fails
- Configure the level of concurrency for the size of the server
- Callback functions for handling data requests
- Sending commands has never been easier!
What's Next
- Use pydantic to coerce types
- Completion of type coercions: Flag data, Team information still needs to be completed
- Gamestate stores for gamemode specific Bmios
- Finish implementation of scoreboard object
- pypi publish
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bmio-0.1.4.tar.gz
(12.7 kB
view hashes)
Built Distribution
bmio-0.1.4-py3-none-any.whl
(14.6 kB
view hashes)