ggejs
v2.1.0
Published
A powerful Node.js module for interacting with the server of Goodgame Empire: Four Kingdoms
Downloads
54
Maintainers
Readme
ggejs
A powerful Node.js module for interacting with the server of Goodgame Empire: Four Kingdoms
Installation
npm install ggejsExample usage
const {Constants, E4KClient} = require('ggejs');
const networkInstances = require('e4k-data').network.instances.instance;
const worldNetworkInstance = networkInstances.find(i => i.instanceLocaId === "generic_country_world");
const client = new E4KClient(worldNetworkInstance);
client.on('connected', () => {
console.log("Client connected!");
});
client.connect('username', 'password');Links
Disclaimer
This content is not affiliated with, endorsed, sponsored, or specifically approved by Goodgame Studios, and Goodgame Studios is not responsible for it. For more information, see Goodgame Studios Terms of Use.
