Archive ayunami2000-eaglercraftx-replit (server, 1.8.8, clean)
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"slug": "ayunami2000-eaglercraftx-replit",
|
||||
"name": "EaglercraftX-Replit",
|
||||
"category": "server",
|
||||
"mc_version": "1.8.8",
|
||||
"author": "ayunami2000",
|
||||
"license": "unknown",
|
||||
"upstream_ref": "main",
|
||||
"sha256": "f3243c8da4c0859b5ae77de9286557831b245cd416b425c6f8ddc46673dbb00c",
|
||||
"size": 47800,
|
||||
"storage": {
|
||||
"git_path": null,
|
||||
"fs_url": null
|
||||
},
|
||||
"play": null,
|
||||
"sources": [
|
||||
{
|
||||
"url": "https://github.com/ayunami2000/eaglercraftx-replit",
|
||||
"retrieved_at": "2026-11-28T03:12:00Z",
|
||||
"type": "upstream",
|
||||
"notes": "Replit server template archive"
|
||||
}
|
||||
],
|
||||
"vetting": {
|
||||
"verdict": "clean",
|
||||
"tools": [
|
||||
"vet-static.mjs",
|
||||
"virustotal-hash"
|
||||
],
|
||||
"date": "2026-11-28",
|
||||
"notes": "Static scan: 0 flagged patterns across 23 files; VirusTotal hash lookup: 0 detections.",
|
||||
"reviewer": "vet-static (automated)"
|
||||
},
|
||||
"large_files_omitted_from_git": []
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
# EaglercraftX-Replit
|
||||
|
||||
Archive and template for running EaglercraftX 1.8.8 servers on Replit cloud environment with WebSocket proxy support.
|
||||
|
||||
- **Archive page:** https://archive.eaglercraft.tech/entries/ayunami2000-eaglercraftx-replit.html
|
||||
- **MC Version:** 1.8.8
|
||||
- **Author:** ayunami2000
|
||||
- **License:** unknown
|
||||
- **SHA-256:** `f3243c8da4c0859b5ae77de9286557831b245cd416b425c6f8ddc46673dbb00c`
|
||||
- **Vetting:** clean (2026-11-28)
|
||||
@@ -0,0 +1,2 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
@@ -0,0 +1,6 @@
|
||||
run = ["bash", "main.sh"]
|
||||
|
||||
entrypoint = "main.sh"
|
||||
|
||||
[nix]
|
||||
channel = "stable-22_11"
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,87 @@
|
||||
# EaglercraftX Replit Archive
|
||||
|
||||
|
||||
Hi everyone!
|
||||
|
||||
First, please go buy Minecraft.
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
Ok, done? Now we can proceed...
|
||||
|
||||
This repository contains a slimmed-down archive of the eaglercraftx (1.8) replit project. It is missing a few things; namely:
|
||||
- eula.txt and server jar deleted from server folder
|
||||
- selsrv.sh exits early, because:
|
||||
- misc folder removed due to containing jars that I cannot with 100% certainty distribute
|
||||
|
||||
This repository **DOES NOT** contain ANYTHING that can be reasonably DMCA'd.
|
||||
|
||||
|
||||
---
|
||||
|
||||
## original readme:
|
||||
|
||||
---
|
||||
|
||||
# EaglercraftX
|
||||
|
||||
|
||||
#### smashed together by [ayunami2000](https://github.com/ayunami2000)
|
||||
##### and [EaglercraftX](https://gitlab.com/lax1dude/eaglercraftx-1.8) developed by [lax1dude](https://github.com/lax1dude)
|
||||
|
||||
## How do I use this?
|
||||
Basically, fork it, and then press the big Run button on Replit, and it will run your very own EaglercraftX (Eaglercraft 1.8) server!
|
||||
|
||||
## What is it doing?
|
||||
It is probably compiling the latest, updated client for you. This may take a while (~15 minutes, maybe more)
|
||||
|
||||
## How do I switch between consoles? / Console help
|
||||
Simply click on the console you want to type in. Alternatively, press `CTRL+B`, release, then press `;`.
|
||||
|
||||
To jump back to the bottom after scrolling, press `q`.
|
||||
|
||||
To select text for copying, hold shift, and then click and drag.
|
||||
|
||||
## How do I customize the server name?
|
||||
Go into the `web/` folder and click on the [eaglercraft_opts.js](web/eaglercraft_opts.js) file. Everything from default language, to default servers (and names!), to website title and icon, to default server to join on page load; can all be customized in this file.
|
||||
|
||||
## How do I make custom textures?
|
||||
With our new-and-improved **EagTek:tm:** 2.0 technology, you can now use vanilla 1.8 resource packs in your client. *(Alternatively, to change the default textures, and without using server resource packs (which also work :D), you can still customize the .epk file using my [web-based tool](https://ayunami2000.github.io/ayunWebEPK))*
|
||||
|
||||
## How do I keep people from logging in as me?
|
||||
Use a plugin like [AuthMeReloaded](https://github.com/AuthMe/AuthMeReloaded/releases) to secure your and your player's accounts. **Note: For this to be usable, you must set `maxRegPerIp` to `0`.**
|
||||
|
||||
## Where can I find plugins?
|
||||
- [Spigot Plugins](https://www.spigotmc.org/resources/categories/spigot.4/)
|
||||
- [Bukkit Plugins](https://dev.bukkit.org/bukkit-plugins)
|
||||
- [Cuberite Plugins](https://plugins.cuberite.org)
|
||||
|
||||
## How do I change server software?
|
||||
Included is a convenient little script that allows you to switch server software. Simply go to the **Shell** tab and type `./selsrv.sh`. Then, select one of the server software choices, and it will be applied! **NOTICE: Ensure you have stopped your server before running this script.**
|
||||
|
||||
## I'm having another issue.
|
||||
Join the community-powered [Eaglercraft subreddit](https://www.reddit.com/r/eaglercraft/) to report it! **Be sure to read through other posts to see if it has already been reported, and, rather than reposting it, upvote the other post instead!**
|
||||
|
||||
## Can I DM you?
|
||||
No.
|
||||
|
||||
## Where is singleplayer?
|
||||
Don't get your hopes up; it's probably not gonna happen.
|
||||
|
||||
## Mods?
|
||||
Do it yourself; they will not be provided.
|
||||
|
||||
## Can you join my server?
|
||||
No.
|
||||
|
||||
## *Did* you join my server?
|
||||
Probably not, it was probably someone pretending to be me.
|
||||
|
||||
## What if I don't want the client, and only the server?
|
||||
Someone else will make that I'm sure. You can also go put it on the subreddit and if it gets enough upvotes I'll make an official one.
|
||||
|
||||
---
|
||||
|
||||
This amazing cool and very awesome Replit was created by yours truly **ayunami2000**. You can find me over on [GitHub](https://github.com/ayunami2000) or on my [website](https://ayunami2000.github.io).
|
||||
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"repositoryFolder": "/home/runner/eaglercraftx/eaglercraftx",
|
||||
"modCoderPack": "/tmp/mcp918.zip",
|
||||
"minecraftJar": "/tmp/1.8.8.jar",
|
||||
"assetsIndex": "/tmp/1.8.json",
|
||||
"outputDirectory": "/tmp/output",
|
||||
"temporaryDirectory": "/tmp/##EAGLER.TEMP##",
|
||||
"ffmpeg": "ffmpeg",
|
||||
"productionIndex": "/home/runner/eaglercraftx/eaglercraftx/buildtools/production-index-ext.html",
|
||||
"productionFavicon": "/home/runner/eaglercraftx/eaglercraftx/buildtools/production-favicon.png",
|
||||
"addScripts": [
|
||||
"eaglercraft_opts.js"
|
||||
],
|
||||
"removeScripts": [],
|
||||
"injectInOffline": [],
|
||||
"mavenURL": "https://repo1.maven.org/maven2/",
|
||||
"mavenLocal": "/tmp/teavm",
|
||||
"generateOfflineDownload": true,
|
||||
"offlineDownloadTemplate": "/home/runner/eaglercraftx/eaglercraftx/sources/setup/workspace_template/javascript/OfflineDownloadTemplate.txt",
|
||||
"keepTemporaryFiles": false,
|
||||
"writeSourceMap": true,
|
||||
"minifying": true
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"repositoryFolder": "BASEDIR/eaglercraftx",
|
||||
"modCoderPack": "/tmp/mcp918.zip",
|
||||
"minecraftJar": "/tmp/1.8.8.jar",
|
||||
"assetsIndex": "/tmp/1.8.json",
|
||||
"outputDirectory": "/tmp/output",
|
||||
"temporaryDirectory": "/tmp/##EAGLER.TEMP##",
|
||||
"ffmpeg": "ffmpeg",
|
||||
"productionIndex": "BASEDIR/eaglercraftx/buildtools/production-index-ext.html",
|
||||
"productionFavicon": "BASEDIR/eaglercraftx/buildtools/production-favicon.png",
|
||||
"addScripts": [
|
||||
"eaglercraft_opts.js"
|
||||
],
|
||||
"removeScripts": [],
|
||||
"injectInOffline": [],
|
||||
"mavenURL": "https://repo1.maven.org/maven2/",
|
||||
"mavenLocal": "/tmp/teavm",
|
||||
"generateOfflineDownload": true,
|
||||
"offlineDownloadTemplate": "BASEDIR/eaglercraftx/sources/setup/workspace_template/javascript/OfflineDownloadTemplate.txt",
|
||||
"keepTemporaryFiles": false,
|
||||
"writeSourceMap": true,
|
||||
"minifying": true
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
enforce_secure_profile: false
|
||||
listeners:
|
||||
- query_port: 25577
|
||||
motd: '&1Another Bungee server'
|
||||
tab_list: GLOBAL_PING
|
||||
query_enabled: false
|
||||
proxy_protocol: false
|
||||
forced_hosts:
|
||||
pvp.md-5.net: pvp
|
||||
ping_passthrough: false
|
||||
priorities:
|
||||
- lobby
|
||||
bind_local_address: false
|
||||
host: 127.0.0.1:25577
|
||||
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
|
||||
disabled_commands:
|
||||
- disabledcommandhere
|
||||
servers:
|
||||
lobby:
|
||||
motd: '&1Just another Waterfall - Forced Host'
|
||||
address: localhost:25565
|
||||
restricted: false
|
||||
@@ -0,0 +1,8 @@
|
||||
version: 2
|
||||
modules:
|
||||
- jenkins://cmd_alert
|
||||
- jenkins://cmd_find
|
||||
- jenkins://cmd_list
|
||||
- jenkins://cmd_send
|
||||
- jenkins://cmd_server
|
||||
- jenkins://reconnect_yaml
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
enable_authentication_system: true
|
||||
use_onboard_eaglerx_system: true
|
||||
auth_db_uri: 'jdbc:sqlite:eaglercraft_auths.db'
|
||||
sql_driver_class: 'internal'
|
||||
sql_driver_path: 'internal'
|
||||
password_prompt_screen_text: 'Enter your password to join:'
|
||||
wrong_password_screen_text: 'Password Incorrect!'
|
||||
not_registered_screen_text: 'You are not registered on this server!'
|
||||
eagler_command_name: 'eagler'
|
||||
use_register_command_text: '&aUse /eagler to set an Eaglercraft password on this account'
|
||||
use_change_command_text: '&bUse /eagler to change your Eaglercraft password'
|
||||
command_success_text: '&bYour eagler password was changed successfully.'
|
||||
last_eagler_login_message: 'Your last Eaglercraft login was on $date from $ip'
|
||||
too_many_registrations_message: '&cThe maximum number of registrations has been reached for your IP address'
|
||||
need_vanilla_to_register_message: '&cYou need to log in with a vanilla account to use this command'
|
||||
override_eagler_to_vanilla_skins: false
|
||||
max_registration_per_ip: -1
|
||||
+180
@@ -0,0 +1,180 @@
|
||||
{
|
||||
"text/html": {
|
||||
"files": [ "html", "htm", "shtml" ],
|
||||
"expires": 3600,
|
||||
"charset": "utf-8"
|
||||
},
|
||||
"application/javascript": {
|
||||
"files": [ "js" ],
|
||||
"expires": 3600,
|
||||
"charset": "utf-8"
|
||||
},
|
||||
"application/octet-stream": {
|
||||
"files": [ "epk" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"text/css": {
|
||||
"files": [ "css" ],
|
||||
"expires": 14400,
|
||||
"charset": "utf-8"
|
||||
},
|
||||
"text/xml": {
|
||||
"files": [ "xml" ],
|
||||
"expires": 3600,
|
||||
"charset": "utf-8"
|
||||
},
|
||||
"text/plain": {
|
||||
"files": [ "txt" ],
|
||||
"expires": 3600,
|
||||
"charset": "utf-8"
|
||||
},
|
||||
"image/png": {
|
||||
"files": [ "png" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"image/jpeg": {
|
||||
"files": [ "jpeg", "jpg", "jfif" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"image/gif": {
|
||||
"files": [ "gif" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"image/webp": {
|
||||
"files": [ "webp" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"image/svg+xml": {
|
||||
"files": [ "svg", "svgz" ],
|
||||
"expires": 14400,
|
||||
"charset": "utf-8"
|
||||
},
|
||||
"image/tiff": {
|
||||
"files": [ "tiff", "tif" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"image/avif": {
|
||||
"files": [ "avif" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"image/x-ms-bmp": {
|
||||
"files": [ "bmp" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"image/x-icon": {
|
||||
"files": [ "ico" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"image/woff": {
|
||||
"files": [ "woff" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"image/woff2": {
|
||||
"files": [ "woff2" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"application/json": {
|
||||
"files": [ "json" ],
|
||||
"expires": 3600,
|
||||
"charset": "utf-8"
|
||||
},
|
||||
"application/pdf": {
|
||||
"files": [ "pdf" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"application/rtf": {
|
||||
"files": [ "rtf" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"application/java-archive": {
|
||||
"files": [ "jar", "war", "ear" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"application/wasm": {
|
||||
"files": [ "wasm" ],
|
||||
"expires": 3600
|
||||
},
|
||||
"application/xhtml+xml": {
|
||||
"files": [ "xhtml" ],
|
||||
"expires": 3600,
|
||||
"charset": "utf-8"
|
||||
},
|
||||
"application/zip": {
|
||||
"files": [ "zip" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"audio/midi": {
|
||||
"files": [ "mid", "midi", "kar" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"audio/mpeg": {
|
||||
"files": [ "mp3" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"audio/ogg": {
|
||||
"files": [ "ogg" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"audio/x-m4a": {
|
||||
"files": [ "m4a" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"application/atom+xml": {
|
||||
"files": [ "atom" ],
|
||||
"expires": 3600,
|
||||
"charset": "utf-8"
|
||||
},
|
||||
"application/rss+xml": {
|
||||
"files": [ "rss" ],
|
||||
"expires": 3600,
|
||||
"charset": "utf-8"
|
||||
},
|
||||
"application/x-shockwave-flash": {
|
||||
"files": [ "swf" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"video/3gpp": {
|
||||
"files": [ "3gpp", "3gp" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"video/mp4": {
|
||||
"files": [ "mp4" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"video/mpeg": {
|
||||
"files": [ "mpeg", "mpg" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"video/quicktime": {
|
||||
"files": [ "mov" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"video/webm": {
|
||||
"files": [ "webm" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"video/x-motion-jpeg": {
|
||||
"files": [ "mjpg" ],
|
||||
"expires": 14400
|
||||
},
|
||||
"video/x-flv": {
|
||||
"files": [ "flv" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"video/x-m4v": {
|
||||
"files": [ "m4v" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"video/x-mng": {
|
||||
"files": [ "3mng" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"video/x-ms-wmv": {
|
||||
"files": [ "wmv" ],
|
||||
"expires": 43200
|
||||
},
|
||||
"video/x-msvideo": {
|
||||
"files": [ "avi" ],
|
||||
"expires": 43200
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
listener_01:
|
||||
address: 0.0.0.0:8081
|
||||
address_v6: 'null'
|
||||
max_players: 60
|
||||
tab_list: GLOBAL_PING
|
||||
default_server: lobby
|
||||
force_default_server: false
|
||||
forward_ip: false
|
||||
forward_ip_header: X-Real-IP
|
||||
redirect_legacy_clients_to: 'null'
|
||||
server_icon: server-icon.png
|
||||
server_motd:
|
||||
- '&6An EaglercraftX server'
|
||||
allow_motd: true
|
||||
allow_query: true
|
||||
request_motd_cache:
|
||||
cache_ttl: 7200
|
||||
online_server_list_animation: false
|
||||
online_server_list_results: true
|
||||
online_server_list_trending: true
|
||||
online_server_list_portfolios: false
|
||||
http_server:
|
||||
enabled: true
|
||||
root: '../../../web'
|
||||
page_404_not_found: 'default'
|
||||
page_index_name:
|
||||
- 'index.html'
|
||||
- 'index.htm'
|
||||
ratelimit:
|
||||
ip:
|
||||
enable: false
|
||||
period: 90
|
||||
limit: 60
|
||||
limit_lockout: 80
|
||||
lockout_duration: 1200
|
||||
exceptions:
|
||||
- '127.*'
|
||||
- '0:0:0:0:0:0:0:1'
|
||||
login:
|
||||
enable: false
|
||||
period: 50
|
||||
limit: 5
|
||||
limit_lockout: 10
|
||||
lockout_duration: 300
|
||||
exceptions:
|
||||
- '127.*'
|
||||
- '0:0:0:0:0:0:0:1'
|
||||
motd:
|
||||
enable: false
|
||||
period: 30
|
||||
limit: 5
|
||||
limit_lockout: 15
|
||||
lockout_duration: 300
|
||||
exceptions:
|
||||
- '127.*'
|
||||
- '0:0:0:0:0:0:0:1'
|
||||
query:
|
||||
enable: false
|
||||
period: 30
|
||||
limit: 15
|
||||
limit_lockout: 25
|
||||
lockout_duration: 900
|
||||
exceptions:
|
||||
- '127.*'
|
||||
- '0:0:0:0:0:0:0:1'
|
||||
@@ -0,0 +1,21 @@
|
||||
server_name: 'EaglercraftXBungee Server'
|
||||
server_uuid: 85284b1b-0fcc-48f6-af75-d02360f59775
|
||||
websocket_connection_timeout: 15000
|
||||
websocket_handshake_timeout: 5000
|
||||
http_websocket_compression_level: 6
|
||||
download_vanilla_skins_to_clients: true
|
||||
valid_skin_download_urls:
|
||||
- 'textures.minecraft.net'
|
||||
uuid_lookup_ratelimit_player: 50
|
||||
uuid_lookup_ratelimit_global: 175
|
||||
skin_download_ratelimit_player: 1000
|
||||
skin_download_ratelimit_global: 30000
|
||||
skin_cache_db_uri: 'jdbc:sqlite:eaglercraft_skins_cache.db'
|
||||
skin_cache_keep_objects_days: 45
|
||||
skin_cache_keep_profiles_days: 7
|
||||
skin_cache_max_objects: 32768
|
||||
skin_cache_max_profiles: 32768
|
||||
skin_cache_antagonists_ratelimit: 15
|
||||
sql_driver_class: 'internal'
|
||||
sql_driver_path: 'internal'
|
||||
eagler_players_vanilla_skin: 'lax1dude'
|
||||
@@ -0,0 +1,10 @@
|
||||
plugin_channel_name_limit: 128
|
||||
use_netty_dns_resolver: true
|
||||
disable_modern_tab_limiter: true
|
||||
log_initial_handler_connections: true
|
||||
throttling:
|
||||
tab_complete: 1000
|
||||
game_version: ''
|
||||
disable_tab_list_rewrite: true
|
||||
registered_plugin_channels_limit: 128
|
||||
disable_entity_metadata_rewrite: false
|
||||
@@ -0,0 +1 @@
|
||||
eula=ayunami2000/eaglercraftx
|
||||
@@ -0,0 +1,149 @@
|
||||
#!/bin/bash
|
||||
|
||||
# ~~~ EaglercraftX Server
|
||||
# ~~~ >> smashed together once again by ayunami2000
|
||||
# ~~~ >> uwu
|
||||
|
||||
unset DISPLAY
|
||||
|
||||
echo "set -g mouse on" > ~/.tmux.conf
|
||||
|
||||
tmux kill-session -t server
|
||||
tmux kill-session -t placeholder
|
||||
|
||||
BASEDIR="$PWD"
|
||||
|
||||
FORCE1="nah"
|
||||
|
||||
JAVA11="$(command -v javac)"
|
||||
JAVA11="${JAVA11%?}"
|
||||
|
||||
export GIT_TERMINAL_PROMPT=0
|
||||
|
||||
if [ ! -d "eaglercraftx" ]; then
|
||||
rm client_version
|
||||
rm gateway_version
|
||||
FORCE1="bruh"
|
||||
fi
|
||||
|
||||
# ~~~
|
||||
# BY MODIFYING THE BELOW TEXT, YOU ARE BEING A PRICK
|
||||
# ~~~
|
||||
if ! grep -q "^eula=$REPL_OWNER/$REPL_SLUG\$" "eula.txt"; then
|
||||
rm eula.txt
|
||||
java -jar LicensePrompt.jar
|
||||
echo "eula=$REPL_OWNER/$REPL_SLUG" > eula.txt
|
||||
fi
|
||||
# ~~~
|
||||
|
||||
# reset stuff
|
||||
if [ -f "base.repl" ] && ! { [ "$REPL_OWNER" == "ayunami2000" ] && [ "$REPL_SLUG" == "eaglercraftx" ]; }; then
|
||||
rm base.repl
|
||||
rm -rf server/world
|
||||
rm -rf server/world_nether
|
||||
rm -rf server/world_the_end
|
||||
rm -rf server/logs
|
||||
rm -rf server/plugins/PluginMetrics
|
||||
rm -f server/usercache.json
|
||||
rm -rf cuberite
|
||||
rm -rf bungee/logs
|
||||
rm -f bungee/eaglercraft_skins_cache.db
|
||||
rm -f bungee/eaglercraft_auths.db
|
||||
sed -i '/^stats: /d' bungee/config.yml
|
||||
sed -i "s/^server_uuid: .*\$/server_uuid: $(cat /proc/sys/kernel/random/uuid)/" bungee/plugins/EaglercraftXBungee/settings.yml
|
||||
rm -f /tmp/mcp918.zip
|
||||
rm -f /tmp/1.8.8.jar
|
||||
rm -f /tmp/1.8.json
|
||||
chmod +x selsrv.sh
|
||||
./selsrv.sh
|
||||
fi
|
||||
|
||||
rm -rf /tmp/##EAGLER.TEMP##
|
||||
rm -rf /tmp/teavm
|
||||
rm -rf /tmp/output
|
||||
|
||||
mkdir -p bungee/plugins
|
||||
mkdir eaglercraftx
|
||||
mkdir web
|
||||
|
||||
cd eaglercraftx
|
||||
git remote update
|
||||
LOCALHASH=$(git rev-parse @{0})
|
||||
REMOTEHASH=$(git rev-parse @{u})
|
||||
if [ "$LOCALHASH" != "$REMOTEHASH" ] || [ $FORCE1 == "bruh" ]; then
|
||||
cd ..
|
||||
rm -rf eaglercraftx
|
||||
git clone https://gitlab.com/lax1dude/eaglercraftx-1.8 eaglercraftx --depth 1
|
||||
mkdir eaglercraftx
|
||||
cd eaglercraftx
|
||||
fi
|
||||
if [ -f "client_version" ] && [ -f "gateway_version" ]; then
|
||||
if ! cmp -s "../client_version" "client_version"; then
|
||||
rm ../client_version
|
||||
cp client_version ../client_version
|
||||
rm ../buildconf.json
|
||||
sed "s#BASEDIR#$BASEDIR#" ../buildconf_template.json > ../buildconf.json
|
||||
if [ ! -f /tmp/mcp918.zip ]; then
|
||||
wget -O /tmp/mcp918.zip http://www.modcoderpack.com/files/mcp918.zip
|
||||
fi
|
||||
if [ ! -f /tmp/1.8.8.jar ]; then
|
||||
wget -O /tmp/1.8.8.jar https://launcher.mojang.com/v1/objects/0983f08be6a4e624f5d85689d1aca869ed99c738/client.jar
|
||||
fi
|
||||
if [ ! -f /tmp/1.8.json ]; then
|
||||
wget -O /tmp/1.8.json https://launchermeta.mojang.com/v1/packages/f6ad102bcaa53b1a58358f16e376d548d44933ec/1.8.json
|
||||
fi
|
||||
cd ..
|
||||
tmux new -d -s placeholder "java -Xmx128M PlaceHTTPer 8080 Compiling the latest client.... Please wait!"
|
||||
cd eaglercraftx
|
||||
"$JAVA11" -Xmx512M -cp "buildtools/BuildTools.jar" net.lax1dude.eaglercraft.v1_8.buildtools.gui.headless.CompileLatestClientHeadless -y ../buildconf.json
|
||||
retVal=$?
|
||||
tmux kill-session -t placeholder
|
||||
rm -rf /tmp/##EAGLER.TEMP##
|
||||
rm -rf /tmp/teavm
|
||||
if [ $retVal -eq 0 ]; then
|
||||
cp -r /tmp/output/* ../web/
|
||||
fi
|
||||
rm -rf /tmp/output
|
||||
fi
|
||||
if ! cmp -s "../gateway_version" "gateway_version"; then
|
||||
rm ../gateway_version
|
||||
cp gateway_version ../gateway_version
|
||||
if [ -f "gateway/EaglercraftXBungee/EaglerXBungee-Latest.jar" ]; then
|
||||
rm ../bungee/plugins/EaglercraftXBungee.jar
|
||||
cp gateway/EaglercraftXBungee/EaglerXBungee-Latest.jar ../bungee/plugins/EaglercraftXBungee.jar
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# update waterfall!!
|
||||
cd ../bungee
|
||||
rm bungee-new.jar
|
||||
WF_VERSION="`curl -s \"https://papermc.io/api/v2/projects/waterfall\" | jq -r \".version_groups[-1]\"`"
|
||||
WF_BUILDS="`curl -s \"https://papermc.io/api/v2/projects/waterfall/versions/$WF_VERSION/builds\"`"
|
||||
WF_SHA256="`echo $WF_BUILDS | jq -r \".builds[-1].downloads.application.sha256\"`"
|
||||
echo "$WF_SHA256 bungee.jar" | sha256sum --check
|
||||
retVal=$?
|
||||
if [ $retVal -ne 0 ]; then
|
||||
wget -O bungee-new.jar "`echo $WF_BUILDS | jq -r \".builds[-1]|\\\"https://papermc.io/api/v2/projects/waterfall/versions/$WF_VERSION/builds/\\\"+(.build|tostring)+\\\"/downloads/\\\"+.downloads.application.name\"`"
|
||||
if [ -f "bungee-new.jar" ]; then
|
||||
rm bungee.jar
|
||||
mv bungee-new.jar bungee.jar
|
||||
fi
|
||||
fi
|
||||
cd ..
|
||||
|
||||
# run it!!
|
||||
cd bungee
|
||||
tmux new -d -s server "java -Xmx128M -jar bungee.jar; tmux kill-session -t server"
|
||||
cd ../server
|
||||
if [ ! -f "server.jar" ] && [ -d "../cuberite" ]; then
|
||||
cd ../cuberite
|
||||
tmux splitw -t server -v "BIND_ADDR=127.0.0.1 LD_PRELOAD=../bindmod.so ./Cuberite; tmux kill-session -t server"
|
||||
else
|
||||
tmux splitw -t server -v "java -Djline.terminal=jline.UnsupportedTerminal -Xmx512M -jar server.jar nogui; tmux kill-session -t server"
|
||||
fi
|
||||
cd ..
|
||||
while tmux has-session -t server
|
||||
do
|
||||
tmux a -t server
|
||||
done
|
||||
@@ -0,0 +1,15 @@
|
||||
{ pkgs }: {
|
||||
deps = [
|
||||
pkgs.bashInteractive
|
||||
pkgs.man
|
||||
pkgs.jq
|
||||
pkgs.ffmpeg
|
||||
pkgs.jre8
|
||||
pkgs.jdk11
|
||||
pkgs.git
|
||||
pkgs.tmux
|
||||
pkgs.wget
|
||||
pkgs.curl
|
||||
pkgs.dialog
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
#!/bin/bash
|
||||
exit
|
||||
SRV=$(dialog --menu "Choose a server software:\n(or cancel for no change)\nUse arrow keys and enter to select:" 12 40 3 1 "Paper 1.8.8 (recommended)" 2 "nPaper 1.7 (faster)" 3 "Cuberite (fastest)" --output-fd 1)
|
||||
|
||||
clear
|
||||
|
||||
case $SRV in
|
||||
1)
|
||||
echo "Switching to Paper 1.8.8..."
|
||||
rm /tmp/server.jar
|
||||
cp misc/paper-1.8.8.jar /tmp/server.jar
|
||||
rm server/plugins/Carbon.jar
|
||||
rm server/plugins/Carbon-ProtocolLib.jar
|
||||
;;
|
||||
|
||||
2)
|
||||
echo "Switching to nPaper 1.7..."
|
||||
rm /tmp/server.jar
|
||||
cp misc/npaper-1.7.jar /tmp/server.jar
|
||||
cp misc/Carbon.jar server/plugins/Carbon.jar
|
||||
cp misc/Carbon-ProtocolLib.jar server/plugins/Carbon-ProtocolLib.jar
|
||||
;;
|
||||
|
||||
3)
|
||||
echo "Switching to Cuberite..."
|
||||
if [ ! -d "cuberite" ]; then
|
||||
mkdir cuberite
|
||||
rm /tmp/Cuberite.tar.gz
|
||||
wget -O /tmp/Cuberite.tar.gz https://download.cuberite.org/linux-x86_64/Cuberite.tar.gz
|
||||
tar -xvf /tmp/Cuberite.tar.gz -C ./cuberite
|
||||
echo "[Authentication]" > cuberite/settings.ini
|
||||
echo "Authenticate=0" >> cuberite/settings.ini
|
||||
echo "AllowBungeeCord=1" >> cuberite/settings.ini
|
||||
echo "OnlyAllowBungeeCord=1" >> cuberite/settings.ini
|
||||
echo "[WebAdmin]" > cuberite/webadmin.ini
|
||||
echo "Enabled=0" >> cuberite/webadmin.ini
|
||||
rm /tmp/Cuberite.tar.gz
|
||||
fi
|
||||
rm server/server.jar
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Not changing server software..."
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -f "/tmp/server.jar" ]; then
|
||||
rm server/server.jar
|
||||
mv /tmp/server.jar server/server.jar
|
||||
fi
|
||||
@@ -0,0 +1,40 @@
|
||||
#Minecraft server properties
|
||||
#Thu Mar 02 05:30:24 GMT 2023
|
||||
spawn-protection=16
|
||||
generator-settings=
|
||||
force-gamemode=false
|
||||
allow-nether=true
|
||||
gamemode=0
|
||||
broadcast-console-to-ops=true
|
||||
enable-query=false
|
||||
player-idle-timeout=0
|
||||
difficulty=1
|
||||
spawn-monsters=true
|
||||
op-permission-level=4
|
||||
resource-pack-hash=
|
||||
announce-player-achievements=true
|
||||
pvp=true
|
||||
snooper-enabled=true
|
||||
level-type=DEFAULT
|
||||
hardcore=false
|
||||
enable-command-block=false
|
||||
max-players=20
|
||||
network-compression-threshold=256
|
||||
max-world-size=29999984
|
||||
server-port=25565
|
||||
debug=false
|
||||
server-ip=localhost
|
||||
spawn-npcs=true
|
||||
allow-flight=false
|
||||
level-name=world
|
||||
view-distance=4
|
||||
resource-pack=
|
||||
spawn-animals=true
|
||||
white-list=false
|
||||
generate-structures=true
|
||||
online-mode=false
|
||||
max-build-height=256
|
||||
level-seed=
|
||||
use-native-transport=false
|
||||
motd=A Minecraft Server
|
||||
enable-rcon=false
|
||||
@@ -0,0 +1,142 @@
|
||||
# This is the main configuration file for Spigot.
|
||||
# As you can see, there's tons to configure. Some options may impact gameplay, so use
|
||||
# with caution, and make sure you know what each option does before configuring.
|
||||
# For a reference for any variable inside this file, check out the Spigot wiki at
|
||||
# http://www.spigotmc.org/wiki/spigot-configuration/
|
||||
#
|
||||
# If you need help with the configuration or have any questions related to Spigot,
|
||||
# join us at the IRC or drop by our forums and leave a post.
|
||||
#
|
||||
# IRC: #spigot @ irc.spi.gt ( http://www.spigotmc.org/pages/irc/ )
|
||||
# Forums: http://www.spigotmc.org/
|
||||
|
||||
config-version: 8
|
||||
settings:
|
||||
save-user-cache-on-stop-only: false
|
||||
sample-count: 12
|
||||
player-shuffle: 0
|
||||
filter-creative-items: true
|
||||
user-cache-size: 1000
|
||||
int-cache-limit: 1024
|
||||
moved-wrongly-threshold: 0.0625
|
||||
moved-too-quickly-threshold: 100.0
|
||||
timeout-time: 60
|
||||
restart-on-crash: true
|
||||
restart-script: ./start.sh
|
||||
netty-threads: 4
|
||||
attribute:
|
||||
maxHealth:
|
||||
max: 2048.0
|
||||
movementSpeed:
|
||||
max: 2048.0
|
||||
attackDamage:
|
||||
max: 2048.0
|
||||
bungeecord: true
|
||||
late-bind: false
|
||||
debug: false
|
||||
timings:
|
||||
enabled: true
|
||||
verbose: true
|
||||
server-name-privacy: false
|
||||
hidden-config-entries:
|
||||
- database
|
||||
- settings.bungeecord-addresses
|
||||
history-interval: 300
|
||||
history-length: 3600
|
||||
commands:
|
||||
tab-complete: 0
|
||||
log: true
|
||||
spam-exclusions:
|
||||
- /skill
|
||||
silent-commandblock-console: false
|
||||
replace-commands:
|
||||
- setblock
|
||||
- summon
|
||||
- testforblock
|
||||
- tellraw
|
||||
messages:
|
||||
whitelist: You are not whitelisted on this server!
|
||||
unknown-command: Unknown command. Type "/help" for help.
|
||||
server-full: The server is full!
|
||||
outdated-client: Outdated client! Please use {0}
|
||||
outdated-server: Outdated server! I'm still on {0}
|
||||
restart: Server is restarting
|
||||
stats:
|
||||
disable-saving: false
|
||||
forced-stats: {}
|
||||
world-settings:
|
||||
default:
|
||||
verbose: true
|
||||
anti-xray:
|
||||
enabled: true
|
||||
engine-mode: 1
|
||||
hide-blocks:
|
||||
- 14
|
||||
- 15
|
||||
- 16
|
||||
- 21
|
||||
- 48
|
||||
- 49
|
||||
- 54
|
||||
- 56
|
||||
- 73
|
||||
- 74
|
||||
- 82
|
||||
- 129
|
||||
- 130
|
||||
replace-blocks:
|
||||
- 1
|
||||
- 5
|
||||
nerf-spawner-mobs: false
|
||||
growth:
|
||||
cactus-modifier: 100
|
||||
cane-modifier: 100
|
||||
melon-modifier: 100
|
||||
mushroom-modifier: 100
|
||||
pumpkin-modifier: 100
|
||||
sapling-modifier: 100
|
||||
wheat-modifier: 100
|
||||
netherwart-modifier: 100
|
||||
mob-spawn-range: 4
|
||||
entity-activation-range:
|
||||
animals: 32
|
||||
monsters: 32
|
||||
misc: 16
|
||||
entity-tracking-range:
|
||||
players: 48
|
||||
animals: 48
|
||||
monsters: 48
|
||||
misc: 32
|
||||
other: 64
|
||||
ticks-per:
|
||||
hopper-transfer: 8
|
||||
hopper-check: 8
|
||||
hopper-amount: 1
|
||||
random-light-updates: false
|
||||
save-structure-info: true
|
||||
max-bulk-chunks: 10
|
||||
max-entity-collisions: 8
|
||||
dragon-death-sound-radius: 0
|
||||
seed-village: 10387312
|
||||
seed-feature: 14357617
|
||||
hunger:
|
||||
walk-exhaustion: 0.2
|
||||
sprint-exhaustion: 0.8
|
||||
combat-exhaustion: 0.3
|
||||
regen-exhaustion: 3.0
|
||||
max-tnt-per-tick: 100
|
||||
max-tick-time:
|
||||
tile: 50
|
||||
entity: 50
|
||||
hanging-tick-frequency: 100
|
||||
enable-zombie-pigmen-portal-spawns: true
|
||||
view-distance: 4
|
||||
wither-spawn-sound-radius: 0
|
||||
item-despawn-rate: 6000
|
||||
merge-radius:
|
||||
item: 2.5
|
||||
exp: 3.0
|
||||
arrow-despawn-rate: 1200
|
||||
zombie-aggressive-towards-villager: true
|
||||
chunks-per-tick: 650
|
||||
clear-tick-list: false
|
||||
@@ -0,0 +1,10 @@
|
||||
window.eaglercraftXOpts = () => ({
|
||||
lang: "en_US",
|
||||
// joinServer: "ws" + window.location.href.slice(4),
|
||||
// assetsURI: "custom.epk",
|
||||
servers: [
|
||||
{ addr: "ws" + window.location.href.slice(4), name: "EaglercraftX Server" }
|
||||
]
|
||||
});
|
||||
// document.title = "My Original Server Name:tm:";
|
||||
// document.querySelector("link[rel=\"shortcut icon\"]").href = "https://www.google.com/favicon.ico";
|
||||
Reference in New Issue
Block a user