mirror of
https://github.com/WorldEditAxe/eaglerproxy.git
synced 2024-12-21 14:54:13 -08:00
e?
This commit is contained in:
parent
9c98cbf581
commit
fb67000c55
|
@ -44,8 +44,6 @@ Remove all the folders in `src/plugins`.
|
|||
|
||||
#### IMPORTANT: READ ME BEFORE USING
|
||||
|
||||
**IMPORTANT:** Although the vanilla Eaglercraft client is a safe, modified copy of Minecraft AOT-compiled to JavaScript, I cannot guarantee that you **will not get flagged by all anticheats.** While gameplay and testing has shown to be relatively stable and free of anticheat flags, more testing is needed to derive a conclusion on whether or not using EaglerProxy with EagProxyAAS is safe.
|
||||
|
||||
EaglerProxy and EagProxyAAS:
|
||||
|
||||
- is compatible with EaglercraftX and uses its handshake system,
|
||||
|
@ -58,9 +56,7 @@ EaglerProxy and EagProxyAAS does NOT:
|
|||
- include any Microsoft/Mojang code,
|
||||
- store or otherwise use authentication data for any other purpose as listed on the README,
|
||||
- Unmodified versions will not maliciously handle your login data, although a modified version has the ability to do so. Only use trusted and unmodified versions of both this plugin and proxy.
|
||||
- and intentionally put your account at risk.
|
||||
|
||||
Remember, open source software is never 100% safe. Read what you run on your computer.
|
||||
- and intentionally put your account at ris
|
||||
|
||||
### Plugin Development
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ export const config: Config = {
|
|||
http: 100,
|
||||
ws: 100,
|
||||
motd: 100,
|
||||
skins: 100, // adjust as necessary
|
||||
skins: 1000, // adjust as necessary
|
||||
skinsIp: 10000,
|
||||
connect: 100,
|
||||
},
|
||||
|
|
|
@ -38,7 +38,7 @@ export function setSG(svr: ServerGlobals) {
|
|||
export function disconectIdle() {
|
||||
SERVER.players.forEach((client) => {
|
||||
if (client.state == ConnectionState.AUTH && Date.now() - client.lastStatusUpdate > MAX_LIFETIME_AUTH) {
|
||||
client.gameClient.end("Timed out waiting for user to login via Microsoft");
|
||||
client.gameClient.end("Timed out waiting for user to login via Microsoft!");
|
||||
} else if (client.state == ConnectionState.SUCCESS && Date.now() - client.lastStatusUpdate > MAX_LIFETIME_CONNECTED) {
|
||||
client.gameClient.end(Enums.ChatColor.RED + "Please enter the IP of the server you'd like to connect to in chat.");
|
||||
}
|
||||
|
@ -143,11 +143,11 @@ export function sendMessageLogin(client: Client, url: string, token: string) {
|
|||
color: Enums.ChatColor.RESET,
|
||||
extra: [
|
||||
{
|
||||
text: url,
|
||||
text: "this website",
|
||||
color: "gold",
|
||||
clickEvent: {
|
||||
action: "open_url",
|
||||
value: url,
|
||||
value: `${url}/?otc=${token}`,
|
||||
},
|
||||
hoverEvent: {
|
||||
action: "show_text",
|
||||
|
@ -155,22 +155,7 @@ export function sendMessageLogin(client: Client, url: string, token: string) {
|
|||
},
|
||||
},
|
||||
{
|
||||
text: " and login via the code ",
|
||||
},
|
||||
{
|
||||
text: token,
|
||||
color: "gold",
|
||||
hoverEvent: {
|
||||
action: "show_text",
|
||||
value: Enums.ChatColor.GOLD + "Click me to copy to chat!",
|
||||
},
|
||||
clickEvent: {
|
||||
action: "suggest_command",
|
||||
value: token,
|
||||
},
|
||||
},
|
||||
{
|
||||
text: ".",
|
||||
text: " to authenticate via Microsoft.",
|
||||
},
|
||||
],
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue
Block a user