Go to file
Nyo f8cc0c738c Add code health badge in README 2016-12-17 15:33:12 +01:00
common@64445ae546 .BANCHO. Kick all clients when using !kick, don't kick FokaBot with !kick command 2016-12-11 11:39:01 +01:00
constants .BANCHO. .HIDE. Antiamo a kuartare i kantieri koi vekki............... 2016-12-12 22:59:58 +01:00
events .BANCHO. Use streams for public chat 2016-12-11 11:07:35 +01:00
handlers .BANCHO. .FIX. Run safeUsername on /api/v1/isOnline 2016-12-10 19:30:38 +01:00
helpers .BANCHO. Add !report command 2016-12-11 23:12:06 +01:00
irc .BANCHO. Add !report command 2016-12-11 23:12:06 +01:00
objects .BANCHO. .FIX. Fix hour in user report chatlog 2016-12-12 22:45:31 +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
.landscape.yaml Add landscape config file 2016-12-17 15:28:55 +01:00
LICENSE Edit LICENSE and README 2016-08-01 10:40:21 +02:00
README.md Add code health badge in README 2016-12-17 15:33:12 +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. Use streams for public chat 2016-12-11 11:07:35 +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

README.md

pep.py Code Health

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.