Go to file
Nyo 2f54a56b7a Add full build script 2016-12-08 15:46:21 +01:00
common@3288420cd8 .HIDE. Update submodules 2016-12-08 12:04:59 +01:00
constants .BANCHO. !kickall command now requires 'manage server' privilege 2016-12-07 21:15:23 +01:00
events .BANCHO. Add pubsub handlers for username changes, bans, restrictions, silences, stats update, kicks and bancho settings reload. 2016-11-20 11:31:51 +01:00
handlers .BANCHO. Cythonized mainHandler 2016-12-08 11:44:27 +01:00
helpers .BANCHO. Ported packet encoder/decoder to Cython, add distutils setup file, update .gitignore, README and requirements.txt 2016-12-07 22:25:16 +01:00
irc .HIDE. General refactoring and documentation 2016-11-17 19:13:06 +01:00
objects Add Google auth 2fa check at login 2016-11-30 23:33:56 +01:00
pubSubHandlers .BANCHO. Add pubsub handlers for username changes, bans, restrictions, silences, stats update, kicks and bancho settings reload. 2016-11-20 11:31:51 +01:00
.gitignore .HIDE. Update .gitignore 2016-12-08 11:44:12 +01:00
.gitmodules Add submodules 2016-10-02 22:48:14 +02:00
LICENSE Edit LICENSE and README 2016-08-01 10:40:21 +02:00
README.md .HIDE. Update README.txt 2016-12-07 22:31:28 +01:00
filters.txt .BANCHO. .FIX. Fix chat filters 2016-08-10 12:00:33 +02:00
full_build.sh Add full build script 2016-12-08 15:46:21 +01:00
pep.py .BANCHO. Move online users count to redis 2016-11-20 14:17:05 +01:00
requirements.txt .BANCHO. Ported packet encoder/decoder to Cython, add distutils setup file, update .gitignore, README and requirements.txt 2016-12-07 22:25:16 +01:00
setup.py .BANCHO. Dynamic setup.py file 2016-12-08 11:43:23 +01:00
version ⬆️ v1.10.0 ⬆️ 2016-11-17 20:13:36 +01:00

README.md

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.