About

What is Login Server:

  • OpenTibiaBR - Login Server is a free open source login server developed in golang to enable cipclient and otclient to connect and login to canary server.

  • Current version supports only http login, through /login or /login.php routes.

  • The project is fully covered by tests and supports multi-platform build. Every release is available with multi-platform applications for download

Github:

How to use:

How to use
  • To run it, simply download the latest release and define your environment variables. You can set environment type as dev if you want to use a .env file (store it in the same folder of the login server).

  • You can also download our docker image and apply the environment variables to your container.

    Enviroment Variables

    NAME
    HOW TO USE

    MYSQL_DBNAME

    database default database name

    MYSQL_HOST

    database host

    MYSQL_PORT

    database port

    MYSQL_PASS

    database password

    MYSQL_USER

    database username

    ENV_LOG_LEVEL

    logrus log level for verbose ref

    LOGIN_IP

    login ip address

    LOGIN_HTTP_PORT

    login http port

    LOGIN_GRPC_PORT

    login grpc port

    RATE_LIMITER_BURST

    rate limiter same request burst

    RATE_LIMITER_RATE

    rate limit request per sec per user

    SERVER_IP

    game server IP address

    SERVER_LOCATION

    game server location

    SERVER_NAME

    game server name

    SERVER_PORT

    game server game port

    VOCATIONS

    game vocation list csv (a,b,c)

    Tests go test ./tests -v

    Build RUN go build -o TARGET_NAME ./src/

Last updated