Skip to main content

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


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.2.0.tar.gz (13.6 kB view hashes)

Uploaded Source

Built Distribution

bmio-0.2.0-py3-none-any.whl (17.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page