Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pending changes exported from your codespace #40

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 30 additions & 29 deletions bungee/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
server_connect_timeout: 5000
enforce_secure_profile: false
remote_ping_cache: -1
forge_support: true
player_limit: -1
permissions:
default:
- bungeecord.command.server
- bungeecord.command.list
admin:
- bungeecord.command.alert
- bungeecord.command.end
- bungeecord.command.ip
- bungeecord.command.reload
- bungeecord.command.kick
timeout: 30000
log_commands: false
online_mode: false
servers:
lobby:
motd: '&1Just another Waterfall - Forced Host'
address: localhost:25565
restricted: false
listeners:
- query_port: 25577
motd: '&1Another Bungee server'
Expand All @@ -15,36 +37,15 @@ listeners:
max_players: 1
tab_size: 60
force_default_server: true
remote_ping_cache: -1
network_compression_threshold: 256
permissions:
default:
- bungeecord.command.server
- bungeecord.command.list
admin:
- bungeecord.command.alert
- bungeecord.command.end
- bungeecord.command.ip
- bungeecord.command.reload
- bungeecord.command.kick
log_pings: true
connection_throttle_limit: 3
server_connect_timeout: 5000
timeout: 30000
player_limit: -1
prevent_proxy_connections: false
ip_forward: true
groups: {}
remote_ping_timeout: 5000
connection_throttle: 4000
log_commands: false
stats: 614623bd-e602-4a2e-b09d-0acb68d88c3e
online_mode: false
forge_support: true
ip_forward: true
network_compression_threshold: 256
reject_transfers: false
disabled_commands:
- disabledcommandhere
servers:
lobby:
motd: '&1Just another Waterfall - Forced Host'
address: localhost:25565
restricted: false
connection_throttle: 4000
stats: 614623bd-e602-4a2e-b09d-0acb68d88c3e
connection_throttle_limit: 3
groups: {}
log_pings: true
Binary file added bungee/eaglercraft_skins_cache.db
Binary file not shown.
Binary file added bungee/logs/2024-10-21-1.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-22-1.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-22-2.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-22-3.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-22-4.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-22-5.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-22-6.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-23-1.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-23-2.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-23-3.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-23-4.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-23-5.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-23-6.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-23-7.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-24-1.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-24-2.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-24-3.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-24-4.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-24-5.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-24-6.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-25-1.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-25-2.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-25-3.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-25-4.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-25-5.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-25-6.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-26-1.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-28-1.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-28-2.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-28-3.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-28-4.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-29-1.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-29-2.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-29-3.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-29-4.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-29-5.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-29-6.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-29-7.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-30-1.log.gz
Binary file not shown.
Binary file added bungee/logs/2024-10-30-2.log.gz
Binary file not shown.
60 changes: 60 additions & 0 deletions bungee/logs/latest.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[11:24:03] [main/INFO]: Using mbed TLS based native cipher.
[11:24:03] [main/INFO]: Using zlib based native compressor.
[11:24:03] [main/INFO]: Enabled Waterfall version git:Waterfall-Bootstrap:1.21-R0.1-SNAPSHOT:de8345a:579
[11:24:03] [main/WARN]: Waterfall has reached end of life and is no longer maintained. We recommend you transition to Velocity (https://papermc.io/software/velocity). For more information, see the announcement (https://forums.papermc.io/threads/1088/).
[11:24:03] [main/INFO]: Not on Windows, attempting to use enhanced EpollEventLoop
[11:24:03] [main/INFO]: Epoll is working, utilising it!
[11:24:04] [main/INFO]: Discovered module: ModuleSpec(name=cmd_alert, file=modules/cmd_alert.jar, provider=JenkinsModuleSource())
[11:24:04] [main/INFO]: Discovered module: ModuleSpec(name=cmd_find, file=modules/cmd_find.jar, provider=JenkinsModuleSource())
[11:24:04] [main/INFO]: Discovered module: ModuleSpec(name=cmd_list, file=modules/cmd_list.jar, provider=JenkinsModuleSource())
[11:24:04] [main/INFO]: Discovered module: ModuleSpec(name=cmd_send, file=modules/cmd_send.jar, provider=JenkinsModuleSource())
[11:24:04] [main/INFO]: Discovered module: ModuleSpec(name=cmd_server, file=modules/cmd_server.jar, provider=JenkinsModuleSource())
[11:24:04] [main/INFO]: Discovered module: ModuleSpec(name=reconnect_yaml, file=modules/reconnect_yaml.jar, provider=JenkinsModuleSource())
[11:24:04] [main/INFO]: Loaded plugin reconnect_yaml version git:reconnect_yaml:1.21-R0.1-SNAPSHOT:de8345a:579 by WaterfallMC
[11:24:04] [main/INFO]: Loaded plugin cmd_find version git:cmd_find:1.21-R0.1-SNAPSHOT:de8345a:579 by WaterfallMC
[11:24:04] [main/INFO]: Loaded plugin cmd_server version git:cmd_server:1.21-R0.1-SNAPSHOT:de8345a:579 by WaterfallMC
[11:24:04] [main/INFO]: Loaded plugin cmd_alert version git:cmd_alert:1.21-R0.1-SNAPSHOT:de8345a:579 by WaterfallMC
[11:24:04] [main/INFO]: Loaded plugin cmd_send version git:cmd_send:1.21-R0.1-SNAPSHOT:de8345a:579 by WaterfallMC
[11:24:04] [main/INFO]: Loaded plugin cmd_list version git:cmd_list:1.21-R0.1-SNAPSHOT:de8345a:579 by WaterfallMC
[11:24:04] [main/WARN]: :>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>
[11:24:04] [main/WARN]: :>
[11:24:04] [main/WARN]: :> EAGLERCRAFTXBUNGEE WARNING:
[11:24:04] [main/WARN]: :>
[11:24:04] [main/WARN]: :> This plugin wasn't tested to be 'working'
[11:24:04] [main/WARN]: :> with ANY version of BungeeCord (and forks)
[11:24:04] [main/WARN]: :> apart from the versions listed below:
[11:24:04] [main/WARN]: :>
[11:24:04] [main/WARN]: :> - BungeeCord: 1.21-R0.1-SNAPSHOT:acb85e3:1871
[11:24:04] [main/WARN]: :> - Waterfall: 1.21-R0.1-SNAPSHOT:de8345a:579
[11:24:04] [main/WARN]: :>
[11:24:04] [main/WARN]: :> This is not a Bukkit/Spigot plugin!
[11:24:04] [main/WARN]: :>
[11:24:04] [main/WARN]: :> Use "-Deaglerxbungee.stfu=true" to hide
[11:24:04] [main/WARN]: :>
[11:24:04] [main/WARN]: :>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>
[11:24:04] [main/INFO] [EaglercraftXBungee]: Loading vanilla profile: lax1dude
[11:24:06] [Skin Download Thread #1/INFO] [EaglercraftXBungee]: Loaded vanilla profile: lax1dude
[11:24:06] [main/INFO]: Loaded plugin EaglercraftXBungee version 1.3.1 by lax1dude
[11:24:06] [main/WARN]: Forced host server pvp is not defined
[11:24:06] [main/INFO]: Enabled plugin reconnect_yaml version git:reconnect_yaml:1.21-R0.1-SNAPSHOT:de8345a:579 by WaterfallMC
[11:24:06] [main/INFO]: Enabled plugin cmd_find version git:cmd_find:1.21-R0.1-SNAPSHOT:de8345a:579 by WaterfallMC
[11:24:06] [main/INFO]: Enabled plugin cmd_server version git:cmd_server:1.21-R0.1-SNAPSHOT:de8345a:579 by WaterfallMC
[11:24:06] [main/INFO]: Enabled plugin cmd_alert version git:cmd_alert:1.21-R0.1-SNAPSHOT:de8345a:579 by WaterfallMC
[11:24:06] [main/INFO]: Enabled plugin cmd_send version git:cmd_send:1.21-R0.1-SNAPSHOT:de8345a:579 by WaterfallMC
[11:24:06] [main/INFO]: Enabled plugin cmd_list version git:cmd_list:1.21-R0.1-SNAPSHOT:de8345a:579 by WaterfallMC
[11:24:06] [main/ERROR] [EaglercraftXBungee]: Online mode is set to false! Authentication system has been disabled
[11:24:06] [Netty Boss IO Thread #0/INFO] [EaglercraftXBungee]: Eaglercraft is listening on: /0.0.0.0:8081
[11:24:07] [main/INFO] [EaglercraftXBungee]: Connected to database: jdbc:sqlite:eaglercraft_skins_cache.db
[11:24:07] [main/INFO] [EaglercraftXBungee]: Voice chat disabled, add "allow_voice: true" to your listeners to enable
[11:24:07] [main/INFO]: Enabled plugin EaglercraftXBungee version 1.3.1 by lax1dude
[11:24:07] [Netty Boss IO Thread #1/INFO]: Listening on /127.0.0.1:25577
[11:24:23] [Netty Worker IO Thread #0/INFO] [EaglercraftXBungee]: [/[0:0:0:0:0:0:0:1%0]:41984]: Connected via websocket
[11:24:23] [Netty Worker IO Thread #0/INFO] [EaglercraftXBungee]: [/[0:0:0:0:0:0:0:1%0]:41984]: Origin header is https://eaglercraft.q13x.com
[11:24:23] [Netty Worker IO Thread #0/INFO] [EaglercraftXBungee]: [/[0:0:0:0:0:0:0:1%0]:41984]: Logged in as 'Frank_Oceans'
[11:24:23] [Netty Worker IO Thread #0/INFO]: [/[0:0:0:0:0:0:0:1%0]:41984|Frank_Oceans] -> UpstreamBridge has connected
[11:24:24] [Netty Worker IO Thread #0/WARN]: Event LoginEvent(cancelled=false, reason=null, loginResult=null, connection=[/[0:0:0:0:0:0:0:1%0]:41984|Frank_Oceans] <-> InitialHandler) took 323ms to process!
[11:24:24] [Netty Worker IO Thread #0/WARN]: Event PreLoginEvent(cancelled=false, reason=null, connection=[/[0:0:0:0:0:0:0:1%0]:41984|Frank_Oceans] <-> InitialHandler) took 335ms to process!
[11:24:24] [Netty Worker IO Thread #0/INFO]: [Frank_Oceans|/[0:0:0:0:0:0:0:1%0]:41984] <-> ServerConnector [lobby] has connected
[12:01:55] [Netty Worker IO Thread #0/INFO]: [/[0:0:0:0:0:0:0:1%0]:41984|Frank_Oceans] -> UpstreamBridge has disconnected
[12:01:55] [Netty Worker IO Thread #0/INFO]: [Frank_Oceans] disconnected with: Proxy lost connection to server.
[12:01:55] [Netty Worker IO Thread #0/INFO]: [/[0:0:0:0:0:0:0:1%0]:41984|Frank_Oceans] <-> DownstreamBridge <-> [lobby] has disconnected
Binary file added bungee/modules/cmd_alert.jar
Binary file not shown.
Binary file added bungee/modules/cmd_find.jar
Binary file not shown.
Binary file added bungee/modules/cmd_list.jar
Binary file not shown.
Binary file added bungee/modules/cmd_send.jar
Binary file not shown.
Binary file added bungee/modules/cmd_server.jar
Binary file not shown.
Binary file added bungee/modules/reconnect_yaml.jar
Binary file not shown.
Binary file not shown.
20 changes: 20 additions & 0 deletions bungee/plugins/EaglercraftXBungee/ice_servers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
voice_servers_no_passwd:
- 'stun:stun.l.google.com:19302'
- 'stun:stun1.l.google.com:19302'
- 'stun:stun2.l.google.com:19302'
- 'stun:stun3.l.google.com:19302'
- 'stun:stun4.l.google.com:19302'
- 'stun:openrelay.metered.ca:80'
voice_servers_passwd:
openrelay1:
url: 'turn:openrelay.metered.ca:80'
username: 'openrelayproject'
password: 'openrelayproject'
openrelay2:
url: 'turn:openrelay.metered.ca:443'
username: 'openrelayproject'
password: 'openrelayproject'
openrelay3:
url: 'turn:openrelay.metered.ca:443?transport=tcp'
username: 'openrelayproject'
password: 'openrelayproject'
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Eaglercraft Server</title>
<style type="text/css">
body {
margin: 16px;
font-family: sans-serif;
}
</style>
</head>
<script type="text/javascript">
{% embed text `message_api_v1.js` %}
</script>
<script type="text/javascript">

// Open the channel, this can be any string
serverMessageAPI.openChannel("com.example.test_channel");

// Set the callback for when messages are recieved
serverMessageAPI.addEventListener("message", function(msg) {
var newElement = document.createElement("li");
if(msg.type === "binary") {
newElement.innerText = "[" + msg.channel + "][binary] ArrayBuffer(" + msg.data.byteLength + ")";
}else if(msg.type === "string") {
newElement.innerText = "[" + msg.channel + "][string] \"" + msg.data + "\"";
}
document.getElementById("messages_recieved").appendChild(newElement);
});

window.addEventListener("load", function() {
document.getElementById("message_send").addEventListener("click", function() {
var el = document.getElementById("message_contents");
var toSend = el.value.trim();
if(toSend.length > 0) {

// Send the message, can be a string, ArrayBuffer, Int8Array, or Uint8Array
serverMessageAPI.send("com.example.test_channel", toSend);

el.value = "";
}
});
});

/*
* // Add this event listener to your bungee plugin:
*
* @EventHandler
* public void testWebViewMessageAPI(EaglercraftWebViewMessageEvent event) {
* if(event.getType() == MessageType.STRING && event.getChannelName().equals("com.example.test_channel")) {
* event.sendResponse(event.getAsString());
* }
* }
*
*/

</script>
<body>
<h1>Message API Test</h1>
<h4>Server Version: {% global `plugin_name` %} {% global `plugin_version` %}</h4>
<h4>Make sure you enable javascript in "pause_menu.yml"</h4>
<p>Message: <input type="text" id="message_contents" placeholder="eagler"> <button id="message_send">Send</button></p>
<p>Recieved from server:</p>
<ul id="messages_recieved"></ul>
</body>
</html>
63 changes: 63 additions & 0 deletions bungee/plugins/EaglercraftXBungee/pause_menu/message_api_v1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
"use strict";
window.serverMessageAPI = (function() {
var channelOpen = null;
var messageHandlers = [];
window.addEventListener("message", function(evt) {
var dat = evt.data;
if((typeof dat === "object") && dat.ver === 1 && (typeof dat.type === "string") && (typeof dat.channel === "string") && dat.channel.length > 0) {
for(var i = 0; i < messageHandlers.length; ++i) {
messageHandlers[i](dat);
}
}
});
var ServerMessageAPIError = function(message) {
this.name = "ServerMessageAPIError";
this.message = message;
};
ServerMessageAPIError.prototype = Error.prototype;
var openCh = function(chName) {
if(channelOpen !== null) throw new ServerMessageAPIError("Cannot open multiple channels, this feature is not supported!");
channelOpen = chName;
window.parent.postMessage({ver:1,channel:chName,open:true}, "*");
};
var closeCh = function(chName) {
if(channelOpen !== chName) throw new ServerMessageAPIError("Cannot close channel \"" + chName + "\", that channel is not open!");
channelOpen = null;
window.parent.postMessage({ver:1,channel:chName,open:false}, "*");
};
var addListener = function(name, handler) {
if(name === "message") messageHandlers.push(handler);
};
var remListener = function(name, handler) {
if(name === "message") messageHandlers = messageHandlers.filter(function(o) { return o !== handler; });
};
var fixTypedArray = function(arr) {
if(arr.length === arr.buffer.byteLength) {
return arr.buffer;
}else {
var toSend = (data instanceof Uint8Array) ? new Uint8Array(arr.length) : new Int8Array(arr.length);
toSend.set(arr);
return toSend.buffer;
}
};
var send = function(chName, data) {
if(channelOpen !== chName) throw new ServerMessageAPIError("Cannot send message on channel \"" + chName + "\", that channel is not open!");
if(typeof data === "string") {
window.parent.postMessage({ver:1,channel:chName,data:data}, "*");
}else if(data instanceof ArrayBuffer) {
window.parent.postMessage({ver:1,channel:chName,data:data}, "*");
}else if((data instanceof Uint8Array) || (data instanceof Int8Array)) {
window.parent.postMessage({ver:1,channel:chName,data:fixTypedArray(data)}, "*");
}else {
throw new ServerMessageAPIError("Only strings, ArrayBuffers, Uint8Arrays, and Int8Arrays can be sent with this function!");
}
};
return {
ServerMessageAPIError: ServerMessageAPIError,
openChannel: openCh,
closeChannel: closeCh,
addEventListener: addListener,
removeEventListener: remListener,
send: send
};
})();
43 changes: 43 additions & 0 deletions bungee/plugins/EaglercraftXBungee/pause_menu/pause_menu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
enable_custom_pause_menu: false
server_info_button:
enable_button: true
button_text: 'Server Info'
button_mode_open_new_tab: false
server_info_embed_url: ''
button_mode_embed_file: true
server_info_embed_file: 'server_info.html'
server_info_embed_screen_title: 'Server Info'
server_info_embed_send_chunk_rate: 1
server_info_embed_send_chunk_size: 24576
enable_template_macros: true
server_info_embed_template_globals:
example_global: 'eagler'
allow_embed_template_eval_macro: false
enable_webview_javascript: false
enable_webview_message_api: false
enable_webview_strict_csp: true
discord_button:
enable_button: true
button_text: 'Discord'
button_url: 'https://invite url here'
custom_images:
icon_title_L: ''
icon_title_R: ''
icon_backToGame_L: ''
icon_backToGame_R: ''
icon_achievements_L: ''
icon_achievements_R: ''
icon_statistics_L: ''
icon_statistics_R: ''
icon_serverInfo_L: ''
icon_serverInfo_R: ''
icon_options_L: ''
icon_options_R: ''
icon_discord_L: ''
icon_discord_R: ''
icon_disconnect_L: ''
icon_disconnect_R: ''
icon_background_pause: 'test_image.png'
icon_background_all: 'test_image.png'
icon_watermark_pause: ''
icon_watermark_all: ''
30 changes: 30 additions & 0 deletions bungee/plugins/EaglercraftXBungee/pause_menu/server_info.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Eaglercraft Server</title>
<style type="text/css">
body {
margin: 16px;
font-family: sans-serif;
}
</style>
</head>
<body>

<h1>Hello World</h1>

{% htmlescape on %}
<p>Server Name: {% global `server_name` %}</p>
<p>Using: {% global `plugin_name` %} {% global `plugin_version` %}</p>
<p>JVM: {% property `java.vm.name` `(unknown)` %} ({% property `java.vm.info` `null` %}) {% property `java.vm.vendor` `(unknown)` %}</p>
{% htmlescape off %}

<p><img src="data:image/png;base64,{% embed base64 `test_image.png` %}" /></p>

<!-- Note: JPEGs are recommended for larger images to reduce their size -->
<!-- <p><img src="data:image/jpeg;base64,(% embed base64 `large_image.jpg` %)" /></p> -->

</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions bungee/plugins/EaglercraftXBungee/updates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
block_all_client_updates: false
discard_login_packet_certs: false
cert_packet_data_rate_limit: 524288
enable_eagcert_folder: true
download_latest_certs: true
download_certs_from:
- 'https://eaglercraft.com/backup.cert'
- 'https://deev.is/eagler/backup.cert'
check_for_update_every: 28800
1 change: 1 addition & 0 deletions server/banned-ips.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
1 change: 1 addition & 0 deletions server/banned-players.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Loading