Infection Mod with a class system for TeeWorlds, originally developed by necropotame.
This version is based on Kaffeine's fork. See the ChangeLog for details.
Installing on Debian / Ubuntu:
apt install -y \
python3 \
python-is-python3 \
build-essential \
cmake \
libicu-dev \
libpng-dev \
libcurl4-openssl-dev \
libsqlite3-dev \
zlib1g-dev \
ninja-build \
libmaxminddb-dev \
git \
ca-certificates \
pkg-config \
python3-polib- CMake-3.15+
- Python3 (needed at build time to generate some code)
- ICU (needed to support server-side translations)
- libpng (needed for the classes menu)
- libcurl (needed to register the server in DDNet)
- sqlite (needed for accounts)
- zlib (needed to read the map files)
- LuaJIT
- python3-polib (needed for building)
You also need a build toolchain, such as GCC and Ninja, or MSVC. The compiler must support C++20.
- GeoLite2++ is used for IP geolocation
- OpenSSL (can be used instead of bundled crypto)
- Google Test (needed for internal tests)
GEOLOCATION- enables IP-based geolocation which is useful to suggest a language on a client connected
git clone https://github.com/userwljs/teeworlds-infclassR sources
INSTALL_DIR=$(pwd)/install
mkdir build
cd build
cmake ../sources \
-Wno-dev \
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \
-GNinja
cmake --build . --target install
The install target is necessary.
You don't need to patch the server to add your contacts. The /about chat
command reply is generated using the follow config variables:
about_source_url- The server source code URL. Update if you're using a fork.about_translation_url- The translation site URL. Change if you also supply your own translation.about_contacts_discord- Discord server invite URL. Links to 'Official Infclass' Discord server by default.about_contacts_telegram- Telegram URL or ID. Empty by default.about_contacts_matrix- Matrix room URL. Links to some Infclass matrix server by default.
This product includes GeoLite2 data created by MaxMind, available from https://maxmind.com.