Gather is an CTF event involving the use of this Discord bot to organise matches. Gather provides more structured, team-based gameplay as compared to regular CTF due to its inclusion of tickets (limited number of respawns per team). Gather is best enjoyed with teams of five and everyone in a single voice channel.
- Adjustable queue size
- Automatic team allocation
- Tickets
- Match history log
!link
your KAG account to your Discord account!add
to the queue- Join the Gather server when the queue is filled and teams have been assigned
!ready
to add yourself to the ready list- Wait for everyone to ready
- ???
- Profit!
- A KAG server (and knowledge of how to setup and host it)
- A Discord server in which you have administrator permissions
- GatherLite mod
- NodeJS
- Setup the server
- Put GatherLite into the
Mods
folder - Add
GatherLite
to a new line ofmods.cfg
- Ensure the following settings are applied to
autoconfig.cfg
:sv_gamemode = CTF
sv_canpause = 0
sv_tcpr = 1
sv_tcpr_everything = 0
sv_tcpr_timestamp = 0
- Set
sv_rconpassword
to anything you like and keep note of it for later - Optional: Include a Discord invite link in
sv_info
(the mod points new players to an invite link in the server description)
- Start the server
- Create an application and set it as a bot user
- Add the bot to your Discord server. I recommend using this site to do so
- Make a copy of
example.env
, name it.env
, and fill in all fields
Note: There should be no space between=
and the value of each field (e.g.PREFIX=!
) - Move the bot's administrator role above all other Gather roles so the bot is able to manage them
- Type
npm install
to install the dependencies - Run the bot by typing
npm start
in the base directory or by runningkeepalive.sh
The console output should be similar to the following:You should also see a message similar to the following in #gather-general:Logged into Discord as Gather Connected to XXX.XXX.XXX.XXX:XXXXX
If the bot connects but then immediately disconnects, the RCON password inThe bot has successfully established a connection with the Gather server and is ready for use
.env
does not match the RCON password on the server
Gather is now ready to go!
- Add a custom mapcycle
- Tweak the mod properties in
GatherLite/gather.cfg
- Tweak the balance of CTF (you will need modding experience to do this)
Some suggestions include:- Adjust the costs of shop items
- Adjust the coin rewards for building, dealing damage, destroying siege, etc.
- Doors stay open for longer to disincentivise fighting through team doors
- Water bombs/arrows stun all players to reduce the effectiveness of water spam
- Increase the spread of fire to reduce the effectiveness of temporary wooden structures
Thanks to the following people for helping Gather reach the stage it's currently in:
- Cameron - created and hosted the previous version of Gather
- buildfast115, Waxtor & SomeoneWeird - providing a server to host this version of Gather
- OCE community - coming together to play Gather every evening
This project is licensed under the MIT License - see the LICENSE file for details