Skip to content
This repository was archived by the owner on Dec 21, 2020. It is now read-only.

Simulate logging onto a Gameforge TERA account to retrieve an auth ticket.

Notifications You must be signed in to change notification settings

Mathicha/tera-auth-ticket-eu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tera-auth-ticket-eu

Simulate logging onto a Gameforge TERA account to retrieve an auth ticket.

Can be broken or/and get ur account banned.

const auth = require('tera-auth-ticket-eu');

auth.login('uwu@uwu.uwu', 'uwu', { accountId: 'xxxxxxxx', language: 'eu' }, (err, serverInfo) => {
  if (err) console.error(err);
  else console.log(serverInfo);
});

API

  • auth.logger: A custom logger (ex: pino, bunyan, log)
  • auth.logLevel: default to log, Logger level

login(email, password[,{ accountId, language }], cb)

  • email: Account email
  • password: Account password
  • accountId: default to null, TERA account ID (Use this option if your Gameforge account have multiples TERA accounts linked, if set to null the first account will be used)
  • language: default to 'en' (Supported languages : 'en' 'de' 'fr')

Internal API

Im lazy to doc this thx bye

About

Simulate logging onto a Gameforge TERA account to retrieve an auth ticket.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •