From 63be5ee7d1b649c6dbb3bb50b0bada50c7b08e36 Mon Sep 17 00:00:00 2001 From: BaileyCodes Date: Fri, 27 Nov 2026 22:13:23 -0600 Subject: [PATCH] Archive ayunami2000-eaglercraftx-replit (server, 1.8.8, clean) --- .../PROVENANCE.json | 35 ++++ ayunami2000-eaglercraftx-replit/README.md | 10 + .../files/.gitattributes | 2 + ayunami2000-eaglercraftx-replit/files/.replit | 6 + .../files/LicensePrompt.jar | Bin 0 -> 5010 bytes .../files/PlaceHTTPer.class | Bin 0 -> 3415 bytes .../files/README.md | 87 +++++++++ .../files/base.repl | 0 .../files/bindmod.so | Bin 0 -> 14016 bytes .../files/buildconf.json | 23 +++ .../files/buildconf_template.json | 23 +++ .../files/bungee/config.yml | 50 +++++ .../files/bungee/modules.yml | 8 + .../EaglercraftXBungee/authservice.yml | 17 ++ .../EaglercraftXBungee/http_mime_types.json | 180 ++++++++++++++++++ .../plugins/EaglercraftXBungee/listeners.yml | 65 +++++++ .../plugins/EaglercraftXBungee/settings.yml | 21 ++ .../files/bungee/waterfall.yml | 10 + .../files/eula.txt | 1 + ayunami2000-eaglercraftx-replit/files/main.sh | 149 +++++++++++++++ .../files/replit.nix | 15 ++ .../files/selsrv.sh | 51 +++++ .../files/server/server.properties | 40 ++++ .../files/server/spigot.yml | 142 ++++++++++++++ .../files/web/eaglercraft_opts.js | 10 + 25 files changed, 945 insertions(+) create mode 100644 ayunami2000-eaglercraftx-replit/PROVENANCE.json create mode 100644 ayunami2000-eaglercraftx-replit/README.md create mode 100644 ayunami2000-eaglercraftx-replit/files/.gitattributes create mode 100644 ayunami2000-eaglercraftx-replit/files/.replit create mode 100644 ayunami2000-eaglercraftx-replit/files/LicensePrompt.jar create mode 100644 ayunami2000-eaglercraftx-replit/files/PlaceHTTPer.class create mode 100644 ayunami2000-eaglercraftx-replit/files/README.md create mode 100644 ayunami2000-eaglercraftx-replit/files/base.repl create mode 100644 ayunami2000-eaglercraftx-replit/files/bindmod.so create mode 100644 ayunami2000-eaglercraftx-replit/files/buildconf.json create mode 100644 ayunami2000-eaglercraftx-replit/files/buildconf_template.json create mode 100644 ayunami2000-eaglercraftx-replit/files/bungee/config.yml create mode 100644 ayunami2000-eaglercraftx-replit/files/bungee/modules.yml create mode 100644 ayunami2000-eaglercraftx-replit/files/bungee/plugins/EaglercraftXBungee/authservice.yml create mode 100644 ayunami2000-eaglercraftx-replit/files/bungee/plugins/EaglercraftXBungee/http_mime_types.json create mode 100644 ayunami2000-eaglercraftx-replit/files/bungee/plugins/EaglercraftXBungee/listeners.yml create mode 100644 ayunami2000-eaglercraftx-replit/files/bungee/plugins/EaglercraftXBungee/settings.yml create mode 100644 ayunami2000-eaglercraftx-replit/files/bungee/waterfall.yml create mode 100644 ayunami2000-eaglercraftx-replit/files/eula.txt create mode 100644 ayunami2000-eaglercraftx-replit/files/main.sh create mode 100644 ayunami2000-eaglercraftx-replit/files/replit.nix create mode 100644 ayunami2000-eaglercraftx-replit/files/selsrv.sh create mode 100644 ayunami2000-eaglercraftx-replit/files/server/server.properties create mode 100644 ayunami2000-eaglercraftx-replit/files/server/spigot.yml create mode 100644 ayunami2000-eaglercraftx-replit/files/web/eaglercraft_opts.js diff --git a/ayunami2000-eaglercraftx-replit/PROVENANCE.json b/ayunami2000-eaglercraftx-replit/PROVENANCE.json new file mode 100644 index 0000000..b35687f --- /dev/null +++ b/ayunami2000-eaglercraftx-replit/PROVENANCE.json @@ -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": [] +} diff --git a/ayunami2000-eaglercraftx-replit/README.md b/ayunami2000-eaglercraftx-replit/README.md new file mode 100644 index 0000000..a388395 --- /dev/null +++ b/ayunami2000-eaglercraftx-replit/README.md @@ -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) diff --git a/ayunami2000-eaglercraftx-replit/files/.gitattributes b/ayunami2000-eaglercraftx-replit/files/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/ayunami2000-eaglercraftx-replit/files/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/ayunami2000-eaglercraftx-replit/files/.replit b/ayunami2000-eaglercraftx-replit/files/.replit new file mode 100644 index 0000000..59c3691 --- /dev/null +++ b/ayunami2000-eaglercraftx-replit/files/.replit @@ -0,0 +1,6 @@ +run = ["bash", "main.sh"] + +entrypoint = "main.sh" + +[nix] +channel = "stable-22_11" \ No newline at end of file diff --git a/ayunami2000-eaglercraftx-replit/files/LicensePrompt.jar b/ayunami2000-eaglercraftx-replit/files/LicensePrompt.jar new file mode 100644 index 0000000000000000000000000000000000000000..af5e9fe238b78f672a90947bccec41333dd31c58 GIT binary patch literal 5010 zcmb7{2{e@L`^N{_$)0_uQYNEhXNZvrld{V`hV1*2DA~8{`@Vz;*;8bl#gctVmMBDI z5Xutr!~d;!-rm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U! z4OJD3I+pNv9hW5RZ4HpG!DoE>tjIA1y6S*t##hoyLFX!v8QL)`b2?gYUMzi-s#JuTxG?lIB9vW=Ax0w#Hv7H4zdiDgnf$SEV2G38Bs@N_ zad*9X3C$JLYpbu|ihGva1CA;4Kg_C{*>fq*f+zPmNt ztYMVXqmlfxKL#qB^ES5Gn&c6qSeztqX%+AB_r*GVHu8u0(VPx_EbD#z`3baw-2e%$ zNuE;N74G5WB9u4z(SrS4BmQL@2KlWA1Q^1#JZ&P&b)+J*GL8^b-aX&B`@-Q^%UE*x zW%MRn4=kbeaB?~H3c6yUWGK13gz#I4EI}Q+jOeMsMQl1gRE72;c5-Wb3EM71KgG|@ zOW1M|?ThFjVdtr<7ZGb+Lf4_tU=>?$2oLhDifxA?J)zk4ZQ-8CC0qqm(S3JMNU5Ty zCsf6bi?}+rvx;k^FRi{W$M|C$*i2iu(AswT(}6DD^&mzVw&MW0@g<&4U?!)7>{Mze#k_<%pc9D>; y(k___{WywaRNVs&x6|X+RkQe=Aw>)Bz<;=Fq<;(V;NPU3;aO(NENKcbQTQ0F|Ecr< literal 0 HcmV?d00001 diff --git a/ayunami2000-eaglercraftx-replit/files/README.md b/ayunami2000-eaglercraftx-replit/files/README.md new file mode 100644 index 0000000..f0bc119 --- /dev/null +++ b/ayunami2000-eaglercraftx-replit/files/README.md @@ -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). diff --git a/ayunami2000-eaglercraftx-replit/files/base.repl b/ayunami2000-eaglercraftx-replit/files/base.repl new file mode 100644 index 0000000..e69de29 diff --git a/ayunami2000-eaglercraftx-replit/files/bindmod.so b/ayunami2000-eaglercraftx-replit/files/bindmod.so new file mode 100644 index 0000000000000000000000000000000000000000..ffc500ba2c23847cea5c9e7fe83acd7f408359e1 GIT binary patch literal 14016 zcmeHOU2GIp6u#Y3zyj^^Ck>FgVw)5q!?sXGewY5hR$H=SY8peb-FBz#!gjaL&LUO7 zCRNP3G(n>eKKPdiAqEo-8u3Lz(PB(c6CY~g1ICcFK|`rXHiWRAbLX6K7+4a0k%xQR znRCx~&UfyeGxtund+$8o+`83MR3x|*i%kNx54{!=AVZ**Dj))4t(XPpd&NTOJMACS zEwzs67Q|9eTx_ERO{BZ!lOBu5lI_To?fERbaLFokfWp$r!>)8_(kwbQ-7Lq6=cRU; zhw7bpL&Re_(+Vs5i2Xc9@!Zl!ek|R*v&3`DD&nz}xd7~m3ug4cv=<`Y2I`1guA%l= za(j;hk8Uk_+*$B#-a+jZx(~-FpDan0`NSAFX0~l_7m%J)*q35z7V8U0NBgGL_kX?W z;F*f~ZQY||b6)wp?ONqIbVdIea9~{Q{{pX99N*DUgjgvYv*9=<#@^D3YnT4^#%ufh z7jsX2HgdV_%-KUPRUdh<9?Z8b9e~cejU`+F4;8@I7r?g^z*_*H3x~T@129+27r}sK z;qiqzoCjA~L7k;(AajBEQ3_^QG??dBoKV05I1VNP{rNd@)iR4kAhF$!fCaEW<{R-& z7cLAv5)XI95>cy`N_OwoO@Tl-5{(*RJ+a53r4SS0SR!VMXgoF84`i`QK*QX z0V9?$dql5pA~TlIO&LeTV_ng>mP%@MSnbBzLt>eCV2cV7x?IuXHW3lWW+dj70!g0*uSmScuf#dk&GVZ`}OmdlY z;By!RnRDRId07##oOsML#pl53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bI*To_<73jw+vB-`LWM@&f^K-q6_o+J%O=R079v;gnec{%adSn@> 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 diff --git a/ayunami2000-eaglercraftx-replit/files/replit.nix b/ayunami2000-eaglercraftx-replit/files/replit.nix new file mode 100644 index 0000000..e26b8d6 --- /dev/null +++ b/ayunami2000-eaglercraftx-replit/files/replit.nix @@ -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 + ]; +} \ No newline at end of file diff --git a/ayunami2000-eaglercraftx-replit/files/selsrv.sh b/ayunami2000-eaglercraftx-replit/files/selsrv.sh new file mode 100644 index 0000000..acb0e06 --- /dev/null +++ b/ayunami2000-eaglercraftx-replit/files/selsrv.sh @@ -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 diff --git a/ayunami2000-eaglercraftx-replit/files/server/server.properties b/ayunami2000-eaglercraftx-replit/files/server/server.properties new file mode 100644 index 0000000..d04cb7f --- /dev/null +++ b/ayunami2000-eaglercraftx-replit/files/server/server.properties @@ -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 diff --git a/ayunami2000-eaglercraftx-replit/files/server/spigot.yml b/ayunami2000-eaglercraftx-replit/files/server/spigot.yml new file mode 100644 index 0000000..aac6184 --- /dev/null +++ b/ayunami2000-eaglercraftx-replit/files/server/spigot.yml @@ -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 diff --git a/ayunami2000-eaglercraftx-replit/files/web/eaglercraft_opts.js b/ayunami2000-eaglercraftx-replit/files/web/eaglercraft_opts.js new file mode 100644 index 0000000..9f2db1c --- /dev/null +++ b/ayunami2000-eaglercraftx-replit/files/web/eaglercraft_opts.js @@ -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"; \ No newline at end of file