CompileLatestClient.bat
, a GUI resembling a classic Windows installer should openchmod +x CompileLatestClient.sh
and hit enter./CompileLatestClient.sh
and hit enter, a GUI resembling a classic Windows installer should openThe EaglercraftX 1.8 client is configured primarily through a variable called window.eaglercraftXOpts
that must be set before the client starts up.
The default eaglercraftXOpts values are this:
const relayId = Math.floor(Math.random() * 3);
window.eaglercraftXOpts = {
demoMode: false,
container: "game_frame",
assetsURI: "assets.epk",
localesURI: "lang/",
worldsDB: "worlds",
servers: [
{ addr: "ws://localhost:8081/", name: "Local test server" }
],
relays: [
{ addr: "wss://relay.deev.is/", comment: "lax1dude relay #1", primary: relayId == 0 },
{ addr: "wss://relay.lax1dude.net/", comment: "lax1dude relay #2", primary: relayId == 1 },
{ addr: "wss://relay.shhnowisnottheti.me/", comment: "ayunami relay #1", primary: relayId == 2 }
]
};
container:
the ID of the HTML element to create the canvas in (required)assetsURI:
the URL of the assets.epk file (required)localesURI:
the URL where extra .lang files can be foundworldsDB:
the name of the IndexedDB database to store worlds indemoMode:
whether to launch the game in Java edition demo modeservers:
a list of default servers to display on the Multiplayer screenrelays:
the default list of shared world relays to use for invitescheckShaderGLErrors:
enables more verbose OpenGL error logging for the shadersenableDownloadOfflineButton:
whether to show a "Download Offline" button on the title screendownloadOfflineButtonLink:
overrides the download link for the "Download Offline" buttonhtml5CursorSupport:
enables support for showing the CSS "pointer" cursor over buttonsallowUpdateSvc:
enables the certificate-based update systemallowUpdateDL:
allows the client to download new updates it findslogInvalidCerts:
print update certificates with invalid signatures to consoleenableSignatureBadge:
shows a badge on the title screen indicating if the digital signature is validcheckRelaysForUpdates:
proprietary feature used in offline downloadsmods
a list of mods you want to load into the game when it launches