This is an EssentialMode script I wrote that allows players to choose teams, it can be built on with quite a lot more. It also offers custom chat roles based on what team a player is on.
Type /team in chat to get a list of the teams, then type /team >team name< e.g. /team lspd
This is kind of just an example of how to make teams and custom chat roles, so If you use this, don’t be an asshole, give credit.
Requires EssentialMode, nothing else.
In order to set up custom teams or change the current ones, open the server.lua file and look for these lines.
Here you can set up new teams, the id must be manually put in, the name is what will appear next to a player’s name in chat, the cmd is what a player has to type to change team, e.g. “/team lspd” and the colour is obvious.