Skip to content
Jordan edited this page Mar 4, 2024 · 9 revisions

The following are frequently asked questions gathered over time. Use https://ecotrust-canada.github.io/markdown-toc/ to generate Table of Contents

Table of Contents

CRCON Django CLI

  1. Get Docker Backend Instance Name docker ps Typically hll_rcon_tool-backend_1-1

  2. Run Docker exec docker exec -it <container_name> bash

  3. Run Python CLI The following will list available commands. python rconweb/manage.py --help

Access

I'm locked out of CRCON Admin; how do I set a superuser?

Method 1 - Docker + Django CLI Method

  1. Login to Backend See [CRCON Django CLI]
  2. Run Python CLI command To create a new super user. python rconweb/manage.p createsuperuser To reset an account password python rconweb/manage.p changepassword

Method 2 - Docker + PostgreSQL Command

  1. Login to PostgreSQL Container
docker exec -it hll_rcon_tool-postgres-1 bash

2. Run PostgreSQL query
psql -U rcon

UPDATE auth_user SET is_superuser = true WHERE username = 'yourusername';

\q

exit

Configuration

How do I configure whitelists with flags?

You can copy-paste any Unicode emoji as

"whitelist_flags": [ "🚨" ],

Docker

Cloudflare

Setting up your domain on Cloudflare.

There are a couple of options.

  1. Change your name servers at your domain registrar. This is the easiest if you already have a domain. Cloudflare will import your DNS records via a scan, and you can update any that were missed

  2. Transfer your domain to Cloudflare. This isn't required, but also works.

  3. Register a new domain. If you want a specific domain for your rcon, .com's are cheap. Just register a new one and you'll be ready to point the domain to your CRCON. This also works if you have multiple servers, you can still use sub-domains and keep your main domain clean of DNS records.

Clone this wiki locally