ggejs
TypeScript icon, indicating that this package has built-in type declarations

1.0.27 • Public • Published

ggejs

A powerful Node.js module for interacting with the server of Goodgame Empire: Four Kingdoms

Installation

npm install ggejs

Example usage

const { Client, Constants } = require('empirejs');
const networkInstances = require('e4k-data').network.instances.instance;
const worldNetworkInstance = networkInstances.find(i => i.instanceLocaId === "generic_country_world");

const client = new Client('username', 'password', worldNetworkInstance);


client.on('connected', () => {
    console.log("Client connected!");
});

client.connect();

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.

/ggejs/

    Package Sidebar

    Install

    npm i ggejs

    Weekly Downloads

    7

    Version

    1.0.27

    License

    ISC

    Unpacked Size

    521 kB

    Total Files

    291

    Last publish

    Collaborators

    • 476f6f6467616d6553747564696f73