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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file bmio-0.2.0.tar.gz.

File metadata

  • Download URL: bmio-0.2.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for bmio-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ba0202fae26e637871ee3096aa062ff5c5b348bd3c7f5565f8406edd8ed64482
MD5 0519b2ee12b1a88d7c9587cf15700c93
BLAKE2b-256 97895752abb1f8d3bae29343f6b612ee6ec8b4c6f412c1576cf1194b4adc3ece

See more details on using hashes here.

File details

Details for the file bmio-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: bmio-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for bmio-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f52703108efe865cb9d73234190cbd469b5e8dda08ec02105ea7ffaeb2be217d
MD5 333dfc2658072e5b42799d34a3664680
BLAKE2b-256 72a71b622620c60e1a5a7538e03e58f83801fadfd5e3fb0acf8b47f61ec3cbe9

See more details on using hashes here.

Supported by

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