Skip to content

Updated version of the boring man boilerplate library

Notifications You must be signed in to change notification settings

Boring-Man-Tools/bmio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Updated version of the boring man boilerplate library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%