Changeset View
Changeset View
Standalone View
Standalone View
source/tools/lobbybots/README.md
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | |||||
* If you would like to run the rating bot, you will need to install SQLAlchemy for python3: | * If you would like to run the rating bot, you will need to install SQLAlchemy for python3: | ||||
``` | ``` | ||||
$ apt-get install python3-sqlalchemy | $ apt-get install python3-sqlalchemy | ||||
``` | ``` | ||||
### 1.3 Install ejabberd ipstamp module | ### 1.3 Install ejabberd ipstamp module | ||||
The ejabberd ipstamp module has the purpose of inserting the IP address of the hosting players into the gamelist packet. | The ejabberd ipstamp module has the purpose of inserting the IP address and JIDs of the hosting players into the gamelist packet. | ||||
That enables players to connect to each others games. | The IP addresses enable players to connect to each others games. | ||||
The JID is used by clients for STUN connection negotiation and the authentication mechanism that ensures that playernames match the lobby usernames. | |||||
* Adjust `/etc/ejabberd/ejabberdctl.cfg` and set `CONTRIB_MODULES_PATH` to the directory where you want to store `mod_ipstamp`: | * Adjust `/etc/ejabberd/ejabberdctl.cfg` and set `CONTRIB_MODULES_PATH` to the directory where you want to store `mod_ipstamp`: | ||||
``` | ``` | ||||
CONTRIB_MODULES_PATH=/opt/ejabberd-modules | CONTRIB_MODULES_PATH=/opt/ejabberd-modules | ||||
``` | ``` | ||||
* Ensure the target directory is readable by ejabberd. | * Ensure the target directory is readable by ejabberd. | ||||
▲ Show 20 Lines • Show All 534 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator