mirror of
https://github.com/DeveloperExotic/LegacyCrossPlay.git
synced 2026-07-18 01:41:25 +00:00
Villager trading UI, enchanted book support, and code cleanup.
This commit is contained in:
37
constants.js
37
constants.js
@@ -1,17 +1,20 @@
|
||||
const GAME_PORT = 25565;
|
||||
const WIN64_LAN_DISCOVERY_PORT = 25566;
|
||||
const MINECRAFT_NET_VERSION = 560;
|
||||
const JAVA_SERVER_HOST = "localhost";
|
||||
const JAVA_SERVER_PORT = 25564;
|
||||
const PROXY_NAME = JAVA_SERVER_HOST + ":" + JAVA_SERVER_PORT;
|
||||
|
||||
module.exports = {
|
||||
GAME_PORT,
|
||||
WIN64_LAN_DISCOVERY_PORT,
|
||||
MINECRAFT_NET_VERSION,
|
||||
USE_LEGACY_USERNAME: false, // you can use your legacy edition username, or a custom username below.
|
||||
CUSTOM_USERNAME: "LCE_Player",
|
||||
JAVA_SERVER_HOST,
|
||||
JAVA_SERVER_PORT,
|
||||
PROXY_NAME,
|
||||
};
|
||||
/* --------------------------------------------------------------- */
|
||||
/* constants.js */
|
||||
/* --------------------------------------------------------------- */
|
||||
const GAME_PORT = 25565; //
|
||||
const WIN64_LAN_DISCOVERY_PORT = 25566; //
|
||||
const MINECRAFT_NET_VERSION = 560; //
|
||||
const JAVA_SERVER_HOST = "localhost"; // The java edition server host that the proxy will connect to.
|
||||
const JAVA_SERVER_PORT = 25564; // The java edition server port that the proxy will connect to (default is 25565).
|
||||
const PROXY_NAME = JAVA_SERVER_HOST + ":" + JAVA_SERVER_PORT; //
|
||||
module.exports = { //
|
||||
GAME_PORT, //
|
||||
WIN64_LAN_DISCOVERY_PORT, //
|
||||
MINECRAFT_NET_VERSION, //
|
||||
USE_LEGACY_USERNAME: false, // You can use your legacy edition username, or a custom username below.
|
||||
CUSTOM_USERNAME: "LCE_Player", // The custom username used if USE_LEGACY_USERNAME is false. Ensure it's UNDER 16 characters.
|
||||
JAVA_SERVER_HOST, //
|
||||
JAVA_SERVER_PORT, //
|
||||
PROXY_NAME, //
|
||||
}; //
|
||||
/* --------------------------------------------------------------- */
|
||||
Reference in New Issue
Block a user