Skip to content

stetsed-org/project-overwatch-scanner

Repository files navigation

Project Overwatch Scanner

The scanner component of Project Overwatch, for which the you can find the frontend on Github. This component takes a JSON configuration file for the arguments and a .env file for the secure variables. Then it requests the data from the dynmap endpoint specified which is taken from the JSON file, and then scrapes time = 0 from there which will give the most up to date information. Then it takes this information and sends it to both the Pocketbase database, which is used by the frontend and the SQLite database which is currently legacy but is needed as the Rust Pocketbase SDK I am using which can be found here, doesn't support the required requests such as mass deletion with a filter although this might be a limitation of pocketbase itself.

The program checks if the players are in any of the regions specified in the JSON file and if they are it sends a message to the discord and saves them to the active folder of the database, then it checks if they are in the active database and are still in the region, in this case it just updates the active database and lastly if they are no longer in the region it will send a message to the discord that they have left.

Technologies

Backend: SQLite & PocketBase

SDK: Discord & PocketBase & SQLite

Roadmap

  • Add support for overworld dimension.
  • Integrate with Discord to send Alerts through a bot
  • Add pocketbase support
  • Add support for the nether dimension.
  • Get rid of MySQL external and switch to SQLite
  • Move over completley from SQLite to PocketBase.

About

Scanner for dynmap for project-overwatch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •