Skip to content

About

WIP: Server for syncing bans between several piqueserver instances.

Topics

Resources

Stars

2 stars

Watchers

5 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

pique-banserver

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.

setup

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

  1. Create and enter a virtualenv
  2. pip install -r requirements.txt
  3. python run.py add_server servername
  4. python 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}

About

WIP: Server for syncing bans between several piqueserver instances.

Topics

Resources

Stars

2 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages