Go to file
2016-12-10 19:10:00 +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 .BANCHO. .FIX. Fix !kick command not working on irc clients 2016-12-10 19:10:00 +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
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
LICENSE Edit LICENSE and README 2016-08-01 10:40:21 +02:00
pep.py .BANCHO. Disabled datadog ram usage tracking 2016-12-09 11:47:00 +01:00
README.md .HIDE. Update README.txt 2016-12-07 22:31:28 +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 ⬆️ 1.11.0 ⬆️ 2016-12-09 13:19:04 +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
  • 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.