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
/loginor/login.phproutes.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
devif you want to use a.envfile (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
NAMEHOW TO USEMYSQL_DBNAMEdatabase default database nameMYSQL_HOSTdatabase hostMYSQL_PORTdatabase portMYSQL_PASSdatabase passwordMYSQL_USERdatabase usernameENV_LOG_LEVELlogrus log level for verboserefLOGIN_IPlogin ip addressLOGIN_HTTP_PORTlogin http portLOGIN_GRPC_PORTlogin grpc portRATE_LIMITER_BURSTrate limiter same request burstRATE_LIMITER_RATErate limit request per sec per userSERVER_IPgame server IP addressSERVER_LOCATIONgame server locationSERVER_NAMEgame server nameSERVER_PORTgame server game portVOCATIONSgame vocation list csv (a,b,c)Tests
go test ./tests -vBuild
RUN go build -o TARGET_NAME ./src/
Last updated