Go to file
2016-12-07 22:25:16 +01:00
common@55cd854027 Add Google auth 2fa check at login 2016-11-30 23:33:56 +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. Move online users count to redis 2016-11-20 14:17:05 +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 .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
.gitmodules Add submodules 2016-10-02 22:48:14 +02:00
filters.txt .BANCHO. .FIX. Fix chat filters 2016-08-10 12:00:33 +02:00
LICENSE Edit LICENSE and README 2016-08-01 10:40:21 +02:00
pep.py .BANCHO. Move online users count to redis 2016-11-20 14:17:05 +01:00
README.md .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
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. Ported packet encoder/decoder to Cython, add distutils setup file, update .gitignore, README and requirements.txt 2016-12-07 22:25:16 +01:00
version ⬆️ v1.10.0 ⬆️ 2016-11-17 20:13:36 +01:00

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
  • 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.