Ripple's bancho server https://ripple.moe

goeo_ 2c2c85b382 Trying to fix the user metadata problem. Will this kill performance? 1 week ago
common @ 32a02e4d56 487f583083 Update submodules 1 week ago
constants 4ef98b5fc0 Howl porcoddio l'indentazione 2 months ago
events 2c2c85b382 Trying to fix the user metadata problem. Will this kill performance? 1 week ago
handlers 18a7c47db6 .BANCHO. Add tornado-sentry capture decorators 3 months ago
helpers 9175f9e7f2 .BANCHO. .FIX. Fix utf-8 characters not being displayed correctly in chatlogs 3 months ago
irc 62b67da9fb .HIDE. General refactoring 4 months ago
objects 9880c5004d .BANCHO. .FIX. Chat mods can now write in moderated channel and access #admin channel 3 months ago
pubSubHandlers 84f1fb566c .BANCHO. Removed dashes in when tracking notes for CM 3 months ago
.gitignore a8a1dfb1bc .HIDE. Update .gitignore 4 months ago
.gitmodules 2407ecc3bf .HIDE. Change submodule url to new git server and use HTTPS instead of SSH 3 months ago
.landscape.yaml f85640ae39 .HIDE. Update landscape config file 3 months ago
LICENSE 5b0c1b4d5d Edit LICENSE and README 8 months ago
README.md f8cc0c738c Add code health badge in README 4 months ago
filters.txt 92e57aff28 Update 'filters.txt' 2 weeks ago
full_build.sh 2f54a56b7a Add full build script 4 months ago
pep.py fc3736eba8 .BANCHO. Remove double prefix on bancho start schiavo message 3 months ago
requirements.txt 62b67da9fb .HIDE. General refactoring 4 months ago
setup.py 9d562e7acd .BANCHO. Dynamic setup.py file 4 months ago
version a0fdc6c292 1.12.1 1 week ago

README.md

pep.py Code Health

  • Origin: https://git.zxq.co/ripple/pep.py
  • Mirror: https://github.com/osuripple/pep.py

This is Ripple's bancho server. It handles:

  • Client login
  • Online users listing and statuses
  • Public and private chat
  • Spectator
  • Multiplayer
  • Fokabot

Requirements

  • Python 3.5
  • Cython
  • C compiler
  • MySQLdb (mysqlclient)
  • Tornado
  • Bcrypt
  • Raven

How to set up pep.py

First of all, initialize and update the submodules

$ git submodule init && git submodule update

afterwards, install the required dependencies with pip

$ pip install -r requirements.txt

then, compile all *.pyx files to *.so or *.dll files using setup.py (distutils file)

$ python3 setup.py build_ext --inplace

finally, run pep.py once to create the default config file and edit it

$ python3 pep.py
...
$ nano config.ini

you can run pep.py by typing

$ python3 pep.py

License

All code in this repository is licensed under the GNU AGPL 3 License.
See the "LICENSE" file for more information
This project contains code taken by reference from miniircd by Joel Rosdahl.