Useful resources:

Discord:

Discord - A New Way to Chat with Friends & Communities

Github:

teeworlds/teeworlds

Manual from jxsl on modding:

change the game mode to a non default one dm+ whatever(edited)

ctf+

etc

https://github.com/teeworlds/teeworlds/blob/master/src/game/server/entities/projectile.cpp

never done anything with weapons, but I guess you need to add something into the snap part of the weapon

somewhere in this file

add your game mode in here: https://github.com/teeworlds/teeworlds/tree/master/src/game/server/gamemodes

add your global variable in here: https://github.com/teeworlds/teeworlds/blob/master/src/game/variables.h

GitHub

teeworlds/teeworlds

A retro multiplayer shooter. Contribute to teeworlds/teeworlds development by creating an account on GitHub.

and add the part where you add yo rmodification that it can be chosen as gamecontroller and created as such when you actually set your gametype to ctf+ or whatever you want to call it.

this part, I'm currently unable to find, as github's search sucks.

https://github.com/teeworlds/teeworlds/blob/51ef8cae11e05d49d91e4dd0960de9db0438f7da/src/game/server/gamecontext.cpp#L1553