Server for syncing bans between several piqueserver instances.
This is very much WIP, functionality is very limited.
Piqueserver includes the banpublish and bansubscribe options, but this is strictly peer to peer. Centrally collecting bans will
allow a number of possible enhancements.
If the following makes no sense for you, this is not the project for you (yet), check back later :/
Requirements: python3.5+, virtualenv or pyvenv, pip
- Create and enter a virtualenv
pip install -r requirements.txtpython run.py add_server servernamepython main.py run
You can now do the following:
GET / – Get the list of bans
POST /publish?token=[your token] – submit a ban. Submit the ban data as JSON-encoded body.
You can submit any data you want, but the following are required fields:
{"ip": "192.168.4.10", "server": "piqueserver_1", "expires": 1496790837, "timestamp": 1496790133}