commit 2aa3806731de297526640b40344e98d8d17cbefd Author: eaglercraft <> Date: Wed Feb 14 07:19:29 2024 -0800 Archive stuff; a lot of effort went into this. diff --git a/.cache/replit/__replit_disk_meta.json b/.cache/replit/__replit_disk_meta.json new file mode 100644 index 0000000..44740fe --- /dev/null +++ b/.cache/replit/__replit_disk_meta.json @@ -0,0 +1 @@ +{"nonce":5642213504035120736,"last_updated":{"seconds":1677735018,"nanos":431513000}} diff --git a/.cache/replit/modules.stamp b/.cache/replit/modules.stamp new file mode 100644 index 0000000..c39d110 --- /dev/null +++ b/.cache/replit/modules.stamp @@ -0,0 +1 @@ +2jmj7l5rSw0yVb_vlWAYkK_YBwk= \ No newline at end of file diff --git a/.cache/replit/nix/env.json b/.cache/replit/nix/env.json new file mode 100644 index 0000000..44e170e --- /dev/null +++ b/.cache/replit/nix/env.json @@ -0,0 +1 @@ +{"entries":{"replit.nix":{"env":{"AR":"ar","AS":"as","CC":"gcc","CONFIG_SHELL":"/nix/store/dsd5gz46hdbdk2rfdimqddhq6m8m8fqs-bash-5.1-p16/bin/bash","CXX":"g++","HOST_PATH":"/nix/store/bap4d0lpcrhpwmpb8ayjcgkmvfj62lnq-bash-interactive-5.1-p16/bin:/nix/store/26g7nm0ps69xdyn1am9rmvrfg2zkkbmg-man-db-2.10.2/bin:/nix/store/2gz75dsr0winhrzlfzbmllx8v94q6wim-jq-1.6-bin/bin:/nix/store/alc73dph2v9wsx6w60sadjy9r8iw886f-ffmpeg-4.4.2-bin/bin:/nix/store/arja5b2nhs4z9ajrcx4wiipjywcw1ip6-openjdk-8u322-ga-jre/bin:/nix/store/i4qskvnfw3wbc9pldqnnd3kb9cf9yp16-openjdk-11.0.15+10/bin:/nix/store/gp2qn4vdw0fqkrds051bnaw2xkk3fyk3-git-2.38.1/bin:/nix/store/iafr186362a2gbisc390flj9nh5250f2-tmux-3.3a/bin:/nix/store/kblplvpffcfn0zprj80vh41xchjx4jag-wget-1.21.3/bin:/nix/store/hl5lsmyf6alwj91nv8kmg2iz1lbnxym9-curl-7.86.0-dev/bin:/nix/store/39m0xn31z7n44wflfxqq7fbjh1ik6xq7-brotli-1.0.9/bin:/nix/store/0lm4ygslgn65xi9pkw2kw29qiqqd80hz-libkrb5-1.20-dev/bin:/nix/store/r7gl900my2fw6k33nxh2r7rzv8nv0s25-libkrb5-1.20/bin:/nix/store/n8jl8q7kk4a03n4gjiymy4y4hpcp2apm-nghttp2-1.49.0-bin/bin:/nix/store/hfkdbq95wsm9a0zf2hz51ads25h657hx-libidn2-2.3.2-bin/bin:/nix/store/fq47cv26nb87hwz2678r6i8ym5b57lwf-openssl-3.0.7-bin/bin:/nix/store/mb0pcxkmrg0f6k0zaywlnvpk9q3j5ans-zstd-1.5.2-bin/bin:/nix/store/w10in9diaqrcqqxi5lg20n3q2jfpk6pq-zstd-1.5.2/bin:/nix/store/52fbv6j49khca4cfvwm35fqd984w2520-curl-7.86.0-bin/bin:/nix/store/2qjhnhpnlm0zvvwwi5fnny8ap7vcna2y-dialog-1.3-20220728/bin:/nix/store/a7gvj343m05j2s32xcnwr35v31ynlypr-coreutils-9.1/bin:/nix/store/mydc6f4k2z73xlcz7ilif3v2lcaiqvza-findutils-4.9.0/bin:/nix/store/j9p3g8472iijd50vhdprx0nmk2fqn5gv-diffutils-3.8/bin:/nix/store/89zs7rms6x00xfq4dq6m7mjnhkr8a6r4-gnused-4.8/bin:/nix/store/86bp03jkmsl6f92w0yzg4s59g5mhxwmy-gnugrep-3.7/bin:/nix/store/hwcdqw4jrjnd37wxqgsd47hd0j8bnj09-gawk-5.1.1/bin:/nix/store/cfbhw8r8ags41vwqaz47r583d0p4h4a1-gnutar-1.34/bin:/nix/store/p3m1ndl1lapwrlh698bnb5lvvxh67378-gzip-1.12/bin:/nix/store/a8mhcagrsly7c7mpjrpsnaahk4aax056-bzip2-1.0.8-bin/bin:/nix/store/mblgz65m3zv9x548a3d5m96fj2pbwr09-gnumake-4.3/bin:/nix/store/dsd5gz46hdbdk2rfdimqddhq6m8m8fqs-bash-5.1-p16/bin:/nix/store/v7ljksji50mg3w61dykaa3n3y79n6nil-patch-2.7.6/bin:/nix/store/zlcnmqq14jz5x9439jf937mvayyl63da-xz-5.2.7-bin/bin:/nix/store/y6aj732zm9m87c82fpvf103a1xb22blp-file-5.43/bin","JAVA_HOME":"/nix/store/i4qskvnfw3wbc9pldqnnd3kb9cf9yp16-openjdk-11.0.15+10/lib/openjdk","LD":"ld","LOCALE_ARCHIVE":"/usr/lib/locale/locale-archive","NIX_BINTOOLS":"/nix/store/1d6ian3r8kdzspw8hacjhl3xkp40g1lj-binutils-wrapper-2.39","NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu":"1","NIX_BUILD_CORES":"4","NIX_BUILD_TOP":"/tmp","NIX_CC":"/nix/store/dq0xwmsk1g0i2ayg6pb7y87na2knzylh-gcc-wrapper-11.3.0","NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu":"1","NIX_CFLAGS_COMPILE":" -frandom-seed=m5j04kl9w6 -isystem /nix/store/2r4gr92p49kpx48s0hxxxv04cqbx4d6c-bash-interactive-5.1-p16-dev/include -isystem /nix/store/nh5bgllp2gacijba0r9dh2n0g7gxlxp6-jq-1.6-dev/include -isystem /nix/store/y3bspp1j8ycpi8fm62qcl0m0swh95kcn-ffmpeg-4.4.2-dev/include -isystem /nix/store/i4qskvnfw3wbc9pldqnnd3kb9cf9yp16-openjdk-11.0.15+10/include -isystem /nix/store/hl5lsmyf6alwj91nv8kmg2iz1lbnxym9-curl-7.86.0-dev/include -isystem /nix/store/75j80ikwsw1qkb4171kspshqyc239p2h-brotli-1.0.9-dev/include -isystem /nix/store/0lm4ygslgn65xi9pkw2kw29qiqqd80hz-libkrb5-1.20-dev/include -isystem /nix/store/9pm4si4h0xynqxk597pdcw4agfdmrsi2-nghttp2-1.49.0-dev/include -isystem /nix/store/7dw7s0vbzzwrm58in3d0ygbbnzka5ga3-libidn2-2.3.2-dev/include -isystem /nix/store/f95kxwhnr2bazy7nl6wzwjiak02dlp9v-openssl-3.0.7-dev/include -isystem /nix/store/fgbhqff932zq2im5wg8vr5972aynbm4s-libssh2-1.10.0-dev/include -isystem /nix/store/0y971q54v6jm9ss243xhl4y0gnlsm9c8-zlib-1.2.13-dev/include -isystem /nix/store/90jpxayjm6an13vxnpcyvj6jdnjivg1r-zstd-1.5.2-dev/include -isystem /nix/store/2r4gr92p49kpx48s0hxxxv04cqbx4d6c-bash-interactive-5.1-p16-dev/include -isystem /nix/store/nh5bgllp2gacijba0r9dh2n0g7gxlxp6-jq-1.6-dev/include -isystem /nix/store/y3bspp1j8ycpi8fm62qcl0m0swh95kcn-ffmpeg-4.4.2-dev/include -isystem /nix/store/i4qskvnfw3wbc9pldqnnd3kb9cf9yp16-openjdk-11.0.15+10/include -isystem /nix/store/hl5lsmyf6alwj91nv8kmg2iz1lbnxym9-curl-7.86.0-dev/include -isystem /nix/store/75j80ikwsw1qkb4171kspshqyc239p2h-brotli-1.0.9-dev/include -isystem /nix/store/0lm4ygslgn65xi9pkw2kw29qiqqd80hz-libkrb5-1.20-dev/include -isystem /nix/store/9pm4si4h0xynqxk597pdcw4agfdmrsi2-nghttp2-1.49.0-dev/include -isystem /nix/store/7dw7s0vbzzwrm58in3d0ygbbnzka5ga3-libidn2-2.3.2-dev/include -isystem /nix/store/f95kxwhnr2bazy7nl6wzwjiak02dlp9v-openssl-3.0.7-dev/include -isystem /nix/store/fgbhqff932zq2im5wg8vr5972aynbm4s-libssh2-1.10.0-dev/include -isystem /nix/store/0y971q54v6jm9ss243xhl4y0gnlsm9c8-zlib-1.2.13-dev/include -isystem /nix/store/90jpxayjm6an13vxnpcyvj6jdnjivg1r-zstd-1.5.2-dev/include","NIX_ENFORCE_NO_NATIVE":"1","NIX_HARDENING_ENABLE":"fortify stackprotector pic strictoverflow format relro bindnow","NIX_INDENT_MAKE":"1","NIX_LDFLAGS":"-rpath /nix/store/m5j04kl9w650sm888j1a2qhsrc6h9i1x-nix-shell/lib64 -rpath /nix/store/m5j04kl9w650sm888j1a2qhsrc6h9i1x-nix-shell/lib -L/nix/store/mrrfyfg4xh1gmd9hx4la2jaq1rafxalh-jq-1.6-lib/lib -L/nix/store/w1vn2mrbzr9i3j4yz0yblzjyiagjzr4r-ffmpeg-4.4.2/lib -L/nix/store/9iy1ng7h1l6jdmjk157jra8n4hkrfdj1-brotli-1.0.9-lib/lib -L/nix/store/r7gl900my2fw6k33nxh2r7rzv8nv0s25-libkrb5-1.20/lib -L/nix/store/qz400bwshaqikj5s2qyvh0c9qffgmqik-nghttp2-1.49.0-lib/lib -L/nix/store/5mh5019jigj0k14rdnjam1xwk5avn1id-libidn2-2.3.2/lib -L/nix/store/4mxnw95jcm5a27qk60z7yc0gvxp42b9a-openssl-3.0.7/lib -L/nix/store/vqq9s0d6fw6kqf3sr5nrzqbys9rhygqd-libssh2-1.10.0/lib -L/nix/store/026hln0aq1hyshaxsdvhg0kmcm6yf45r-zlib-1.2.13/lib -L/nix/store/w10in9diaqrcqqxi5lg20n3q2jfpk6pq-zstd-1.5.2/lib -L/nix/store/rirzp6ijbcwnxlf0b2n286n587r3z9jw-curl-7.86.0/lib -L/nix/store/2qjhnhpnlm0zvvwwi5fnny8ap7vcna2y-dialog-1.3-20220728/lib -L/nix/store/mrrfyfg4xh1gmd9hx4la2jaq1rafxalh-jq-1.6-lib/lib -L/nix/store/w1vn2mrbzr9i3j4yz0yblzjyiagjzr4r-ffmpeg-4.4.2/lib -L/nix/store/9iy1ng7h1l6jdmjk157jra8n4hkrfdj1-brotli-1.0.9-lib/lib -L/nix/store/r7gl900my2fw6k33nxh2r7rzv8nv0s25-libkrb5-1.20/lib -L/nix/store/qz400bwshaqikj5s2qyvh0c9qffgmqik-nghttp2-1.49.0-lib/lib -L/nix/store/5mh5019jigj0k14rdnjam1xwk5avn1id-libidn2-2.3.2/lib -L/nix/store/4mxnw95jcm5a27qk60z7yc0gvxp42b9a-openssl-3.0.7/lib -L/nix/store/vqq9s0d6fw6kqf3sr5nrzqbys9rhygqd-libssh2-1.10.0/lib -L/nix/store/026hln0aq1hyshaxsdvhg0kmcm6yf45r-zlib-1.2.13/lib -L/nix/store/w10in9diaqrcqqxi5lg20n3q2jfpk6pq-zstd-1.5.2/lib -L/nix/store/rirzp6ijbcwnxlf0b2n286n587r3z9jw-curl-7.86.0/lib -L/nix/store/2qjhnhpnlm0zvvwwi5fnny8ap7vcna2y-dialog-1.3-20220728/lib","NIX_STORE":"/nix/store","NM":"nm","OBJCOPY":"objcopy","OBJDUMP":"objdump","PATH":"/nix/store/bap4d0lpcrhpwmpb8ayjcgkmvfj62lnq-bash-interactive-5.1-p16/bin:/nix/store/pr5n59mb4jzmfx6kanwxly0l07p861fg-patchelf-0.15.0/bin:/nix/store/dq0xwmsk1g0i2ayg6pb7y87na2knzylh-gcc-wrapper-11.3.0/bin:/nix/store/1gf2flfqnpqbr1b4p4qz2f72y42bs56r-gcc-11.3.0/bin:/nix/store/57xv61c5zi8pphjbcwxxjlgc34p61ic9-glibc-2.35-163-bin/bin:/nix/store/a7gvj343m05j2s32xcnwr35v31ynlypr-coreutils-9.1/bin:/nix/store/1d6ian3r8kdzspw8hacjhl3xkp40g1lj-binutils-wrapper-2.39/bin:/nix/store/039g378vc3pc3dvi9dzdlrd0i4q93qwf-binutils-2.39/bin:/nix/store/bap4d0lpcrhpwmpb8ayjcgkmvfj62lnq-bash-interactive-5.1-p16/bin:/nix/store/26g7nm0ps69xdyn1am9rmvrfg2zkkbmg-man-db-2.10.2/bin:/nix/store/2gz75dsr0winhrzlfzbmllx8v94q6wim-jq-1.6-bin/bin:/nix/store/alc73dph2v9wsx6w60sadjy9r8iw886f-ffmpeg-4.4.2-bin/bin:/nix/store/arja5b2nhs4z9ajrcx4wiipjywcw1ip6-openjdk-8u322-ga-jre/bin:/nix/store/i4qskvnfw3wbc9pldqnnd3kb9cf9yp16-openjdk-11.0.15+10/bin:/nix/store/gp2qn4vdw0fqkrds051bnaw2xkk3fyk3-git-2.38.1/bin:/nix/store/iafr186362a2gbisc390flj9nh5250f2-tmux-3.3a/bin:/nix/store/kblplvpffcfn0zprj80vh41xchjx4jag-wget-1.21.3/bin:/nix/store/hl5lsmyf6alwj91nv8kmg2iz1lbnxym9-curl-7.86.0-dev/bin:/nix/store/39m0xn31z7n44wflfxqq7fbjh1ik6xq7-brotli-1.0.9/bin:/nix/store/0lm4ygslgn65xi9pkw2kw29qiqqd80hz-libkrb5-1.20-dev/bin:/nix/store/r7gl900my2fw6k33nxh2r7rzv8nv0s25-libkrb5-1.20/bin:/nix/store/n8jl8q7kk4a03n4gjiymy4y4hpcp2apm-nghttp2-1.49.0-bin/bin:/nix/store/hfkdbq95wsm9a0zf2hz51ads25h657hx-libidn2-2.3.2-bin/bin:/nix/store/fq47cv26nb87hwz2678r6i8ym5b57lwf-openssl-3.0.7-bin/bin:/nix/store/mb0pcxkmrg0f6k0zaywlnvpk9q3j5ans-zstd-1.5.2-bin/bin:/nix/store/w10in9diaqrcqqxi5lg20n3q2jfpk6pq-zstd-1.5.2/bin:/nix/store/52fbv6j49khca4cfvwm35fqd984w2520-curl-7.86.0-bin/bin:/nix/store/2qjhnhpnlm0zvvwwi5fnny8ap7vcna2y-dialog-1.3-20220728/bin:/nix/store/a7gvj343m05j2s32xcnwr35v31ynlypr-coreutils-9.1/bin:/nix/store/mydc6f4k2z73xlcz7ilif3v2lcaiqvza-findutils-4.9.0/bin:/nix/store/j9p3g8472iijd50vhdprx0nmk2fqn5gv-diffutils-3.8/bin:/nix/store/89zs7rms6x00xfq4dq6m7mjnhkr8a6r4-gnused-4.8/bin:/nix/store/86bp03jkmsl6f92w0yzg4s59g5mhxwmy-gnugrep-3.7/bin:/nix/store/hwcdqw4jrjnd37wxqgsd47hd0j8bnj09-gawk-5.1.1/bin:/nix/store/cfbhw8r8ags41vwqaz47r583d0p4h4a1-gnutar-1.34/bin:/nix/store/p3m1ndl1lapwrlh698bnb5lvvxh67378-gzip-1.12/bin:/nix/store/a8mhcagrsly7c7mpjrpsnaahk4aax056-bzip2-1.0.8-bin/bin:/nix/store/mblgz65m3zv9x548a3d5m96fj2pbwr09-gnumake-4.3/bin:/nix/store/dsd5gz46hdbdk2rfdimqddhq6m8m8fqs-bash-5.1-p16/bin:/nix/store/v7ljksji50mg3w61dykaa3n3y79n6nil-patch-2.7.6/bin:/nix/store/zlcnmqq14jz5x9439jf937mvayyl63da-xz-5.2.7-bin/bin:/nix/store/y6aj732zm9m87c82fpvf103a1xb22blp-file-5.43/bin","RANLIB":"ranlib","READELF":"readelf","SIZE":"size","SOURCE_DATE_EPOCH":"315532800","STRINGS":"strings","STRIP":"strip","XDG_DATA_DIRS":"/nix/store/pr5n59mb4jzmfx6kanwxly0l07p861fg-patchelf-0.15.0/share","_":"/nix/store/a7gvj343m05j2s32xcnwr35v31ynlypr-coreutils-9.1/bin/env","__ETC_PROFILE_SOURCED":"1","buildInputs":"/nix/store/2r4gr92p49kpx48s0hxxxv04cqbx4d6c-bash-interactive-5.1-p16-dev /nix/store/26g7nm0ps69xdyn1am9rmvrfg2zkkbmg-man-db-2.10.2 /nix/store/nh5bgllp2gacijba0r9dh2n0g7gxlxp6-jq-1.6-dev /nix/store/y3bspp1j8ycpi8fm62qcl0m0swh95kcn-ffmpeg-4.4.2-dev /nix/store/arja5b2nhs4z9ajrcx4wiipjywcw1ip6-openjdk-8u322-ga-jre /nix/store/i4qskvnfw3wbc9pldqnnd3kb9cf9yp16-openjdk-11.0.15+10 /nix/store/gp2qn4vdw0fqkrds051bnaw2xkk3fyk3-git-2.38.1 /nix/store/iafr186362a2gbisc390flj9nh5250f2-tmux-3.3a /nix/store/kblplvpffcfn0zprj80vh41xchjx4jag-wget-1.21.3 /nix/store/hl5lsmyf6alwj91nv8kmg2iz1lbnxym9-curl-7.86.0-dev /nix/store/2qjhnhpnlm0zvvwwi5fnny8ap7vcna2y-dialog-1.3-20220728","buildPhase":"echo \"------------------------------------------------------------\" \u003e\u003e$out\necho \" WARNING: the existence of this path is not guaranteed.\" \u003e\u003e$out\necho \" It is an internal implementation detail for pkgs.mkShell.\" \u003e\u003e$out\necho \"------------------------------------------------------------\" \u003e\u003e$out\necho \u003e\u003e $out\n# Record all build inputs as runtime dependencies\nexport \u003e\u003e $out\n","builder":"/nix/store/dsd5gz46hdbdk2rfdimqddhq6m8m8fqs-bash-5.1-p16/bin/bash","cmakeFlags":"","configureFlags":"","depsBuildBuild":"","depsBuildBuildPropagated":"","depsBuildTarget":"","depsBuildTargetPropagated":"","depsHostHost":"","depsHostHostPropagated":"","depsTargetTarget":"","depsTargetTargetPropagated":"","doCheck":"","doInstallCheck":"","mesonFlags":"","name":"nix-shell","nativeBuildInputs":"","out":"/nix/store/m5j04kl9w650sm888j1a2qhsrc6h9i1x-nix-shell","outputs":"out","patches":"","phases":"buildPhase","propagatedBuildInputs":"","propagatedNativeBuildInputs":"","shell":"/nix/store/dsd5gz46hdbdk2rfdimqddhq6m8m8fqs-bash-5.1-p16/bin/bash","shellHook":"","stdenv":"/nix/store/kmfaajdpyyyg319vfqni5jm9wkxjmf73-stdenv-linux","strictDeps":"","system":"x86_64-linux"},"dependencies":[{"path":"replit.nix","mod_time":"2022-12-25T09:14:56.4820385Z"}],"channel":"stable-22_11","channel_nix_path":"/nix/store/nw56f75dmj9iyb0gmkcqyl62i7800d82-nixpkgs-stable-22_11-22.11.tar.gz/nixpkgs-stable-22_11"}}} \ No newline at end of file diff --git a/.replit b/.replit new file mode 100644 index 0000000..59c3691 --- /dev/null +++ b/.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/LicensePrompt.jar b/LicensePrompt.jar new file mode 100644 index 0000000..af5e9fe Binary files /dev/null and b/LicensePrompt.jar differ diff --git a/PlaceHTTPer.class b/PlaceHTTPer.class new file mode 100644 index 0000000..7213877 Binary files /dev/null and b/PlaceHTTPer.class differ diff --git a/README.md b/README.md new file mode 100644 index 0000000..378b475 --- /dev/null +++ b/README.md @@ -0,0 +1,58 @@ +# 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). \ No newline at end of file diff --git a/base.repl b/base.repl new file mode 100644 index 0000000..e69de29 diff --git a/bindmod.so b/bindmod.so new file mode 100644 index 0000000..ffc500b Binary files /dev/null and b/bindmod.so differ diff --git a/buildconf.json b/buildconf.json new file mode 100644 index 0000000..66b6e98 --- /dev/null +++ b/buildconf.json @@ -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 +} diff --git a/buildconf_template.json b/buildconf_template.json new file mode 100644 index 0000000..b084a84 --- /dev/null +++ b/buildconf_template.json @@ -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 +} diff --git a/bungee/bungee.jar b/bungee/bungee.jar new file mode 100644 index 0000000..a6c3c54 Binary files /dev/null and b/bungee/bungee.jar differ diff --git a/bungee/config.yml b/bungee/config.yml new file mode 100644 index 0000000..504e63e --- /dev/null +++ b/bungee/config.yml @@ -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 diff --git a/bungee/modules.yml b/bungee/modules.yml new file mode 100644 index 0000000..852f451 --- /dev/null +++ b/bungee/modules.yml @@ -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 diff --git a/bungee/modules/cmd_alert.jar b/bungee/modules/cmd_alert.jar new file mode 100644 index 0000000..7a19125 Binary files /dev/null and b/bungee/modules/cmd_alert.jar differ diff --git a/bungee/modules/cmd_find.jar b/bungee/modules/cmd_find.jar new file mode 100644 index 0000000..bdaf14a Binary files /dev/null and b/bungee/modules/cmd_find.jar differ diff --git a/bungee/modules/cmd_list.jar b/bungee/modules/cmd_list.jar new file mode 100644 index 0000000..40323d7 Binary files /dev/null and b/bungee/modules/cmd_list.jar differ diff --git a/bungee/modules/cmd_send.jar b/bungee/modules/cmd_send.jar new file mode 100644 index 0000000..62dd913 Binary files /dev/null and b/bungee/modules/cmd_send.jar differ diff --git a/bungee/modules/cmd_server.jar b/bungee/modules/cmd_server.jar new file mode 100644 index 0000000..ccd6e64 Binary files /dev/null and b/bungee/modules/cmd_server.jar differ diff --git a/bungee/modules/reconnect_yaml.jar b/bungee/modules/reconnect_yaml.jar new file mode 100644 index 0000000..8a0ba7d Binary files /dev/null and b/bungee/modules/reconnect_yaml.jar differ diff --git a/bungee/plugins/EaglercraftXBungee/authservice.yml b/bungee/plugins/EaglercraftXBungee/authservice.yml new file mode 100644 index 0000000..c8eb53f --- /dev/null +++ b/bungee/plugins/EaglercraftXBungee/authservice.yml @@ -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 diff --git a/bungee/plugins/EaglercraftXBungee/drivers/sqlite-jdbc.jar b/bungee/plugins/EaglercraftXBungee/drivers/sqlite-jdbc.jar new file mode 100644 index 0000000..7aa750f Binary files /dev/null and b/bungee/plugins/EaglercraftXBungee/drivers/sqlite-jdbc.jar differ diff --git a/bungee/plugins/EaglercraftXBungee/http_mime_types.json b/bungee/plugins/EaglercraftXBungee/http_mime_types.json new file mode 100644 index 0000000..670affd --- /dev/null +++ b/bungee/plugins/EaglercraftXBungee/http_mime_types.json @@ -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 + } +} diff --git a/bungee/plugins/EaglercraftXBungee/listeners.yml b/bungee/plugins/EaglercraftXBungee/listeners.yml new file mode 100644 index 0000000..fc40978 --- /dev/null +++ b/bungee/plugins/EaglercraftXBungee/listeners.yml @@ -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' diff --git a/bungee/plugins/EaglercraftXBungee/settings.yml b/bungee/plugins/EaglercraftXBungee/settings.yml new file mode 100644 index 0000000..16c935f --- /dev/null +++ b/bungee/plugins/EaglercraftXBungee/settings.yml @@ -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' diff --git a/bungee/waterfall.yml b/bungee/waterfall.yml new file mode 100644 index 0000000..e3da50c --- /dev/null +++ b/bungee/waterfall.yml @@ -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 diff --git a/eula.txt b/eula.txt new file mode 100644 index 0000000..c12ca62 --- /dev/null +++ b/eula.txt @@ -0,0 +1 @@ +eula=ayunami2000/eaglercraftx diff --git a/main.sh b/main.sh new file mode 100644 index 0000000..6031dff --- /dev/null +++ b/main.sh @@ -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 diff --git a/misc/Carbon-ProtocolLib.jar b/misc/Carbon-ProtocolLib.jar new file mode 100644 index 0000000..3a79b59 Binary files /dev/null and b/misc/Carbon-ProtocolLib.jar differ diff --git a/misc/Carbon.jar b/misc/Carbon.jar new file mode 100644 index 0000000..47b87e5 Binary files /dev/null and b/misc/Carbon.jar differ diff --git a/misc/npaper-1.7.jar b/misc/npaper-1.7.jar new file mode 100644 index 0000000..cfe771f Binary files /dev/null and b/misc/npaper-1.7.jar differ diff --git a/misc/paper-1.8.8.jar b/misc/paper-1.8.8.jar new file mode 100644 index 0000000..ed29be1 Binary files /dev/null and b/misc/paper-1.8.8.jar differ diff --git a/replit.nix b/replit.nix new file mode 100644 index 0000000..e26b8d6 --- /dev/null +++ b/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/selsrv.sh b/selsrv.sh new file mode 100755 index 0000000..099022b --- /dev/null +++ b/selsrv.sh @@ -0,0 +1,50 @@ +#!/bin/bash +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/server/banned-ips.json b/server/banned-ips.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/server/banned-ips.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/server/banned-players.json b/server/banned-players.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/server/banned-players.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/server/bukkit.yml b/server/bukkit.yml new file mode 100644 index 0000000..55b7fda --- /dev/null +++ b/server/bukkit.yml @@ -0,0 +1,43 @@ +# This is the main configuration file for Bukkit. +# As you can see, there's actually not that much to configure without any plugins. +# For a reference for any variable inside this file, check out the Bukkit Wiki at +# http://wiki.bukkit.org/Bukkit.yml +# +# If you need help on this file, feel free to join us on irc or leave a message +# on the forums asking for advice. +# +# IRC: #spigot @ irc.spi.gt +# (If this means nothing to you, just go to http://www.spigotmc.org/pages/irc/ ) +# Forums: http://www.spigotmc.org/ +# Bug tracker: http://www.spigotmc.org/go/bugs + + +settings: + allow-end: true + warn-on-overload: true + permissions-file: permissions.yml + update-folder: update + plugin-profiling: false + connection-throttle: 4000 + query-plugins: true + deprecated-verbose: default + shutdown-message: Server closed +spawn-limits: + monsters: 70 + animals: 15 + water-animals: 5 + ambient: 15 +chunk-gc: + period-in-ticks: 600 + load-threshold: 0 +ticks-per: + animal-spawns: 400 + monster-spawns: 1 + autosave: 6000 +aliases: now-in-commands.yml +database: + username: bukkit + isolation: SERIALIZABLE + driver: org.sqlite.JDBC + password: walrus + url: jdbc:sqlite:{DIR}{NAME}.db diff --git a/server/cache/mojang_1.8.8.jar b/server/cache/mojang_1.8.8.jar new file mode 100644 index 0000000..b641245 Binary files /dev/null and b/server/cache/mojang_1.8.8.jar differ diff --git a/server/cache/patched_1.8.8.jar b/server/cache/patched_1.8.8.jar new file mode 100644 index 0000000..027b6b3 Binary files /dev/null and b/server/cache/patched_1.8.8.jar differ diff --git a/server/commands.yml b/server/commands.yml new file mode 100644 index 0000000..31abb46 --- /dev/null +++ b/server/commands.yml @@ -0,0 +1,16 @@ +# This is the commands configuration file for Bukkit. +# For documentation on how to make use of this file, check out the Bukkit Wiki at +# http://wiki.bukkit.org/Commands.yml +# +# If you need help on this file, feel free to join us on irc or leave a message +# on the forums asking for advice. +# +# IRC: #spigot @ irc.spi.gt +# (If this means nothing to you, just go to http://www.spigotmc.org/pages/irc/ ) +# Forums: http://www.spigotmc.org/ +# Bug tracker: http://www.spigotmc.org/go/bugs + +command-block-overrides: [] +aliases: + icanhasbukkit: + - version $1- diff --git a/server/eula.txt b/server/eula.txt new file mode 100644 index 0000000..5e6d186 --- /dev/null +++ b/server/eula.txt @@ -0,0 +1,3 @@ +#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft_eula). +#Sun Dec 25 00:30:27 GMT 2022 +eula=true diff --git a/server/help.yml b/server/help.yml new file mode 100644 index 0000000..c0ac928 --- /dev/null +++ b/server/help.yml @@ -0,0 +1,56 @@ +# This is the help configuration file for Bukkit. +# +# By default you do not need to modify this file. Help topics for all plugin commands are automatically provided by +# or extracted from your installed plugins. You only need to modify this file if you wish to add new help pages to +# your server or override the help pages of existing plugin commands. +# +# This file is divided up into the following parts: +# -- general-topics: lists admin defined help topics +# -- index-topics: lists admin defined index topics +# -- amend-topics: lists topic amendments to apply to existing help topics +# -- ignore-plugins: lists any plugins that should be excluded from help +# +# Examples are given below. When amending command topic, the string will be replaced with the existing value +# in the help topic. Color codes can be used in topic text. The color code character is & followed by 0-F. +# ================================================================ +# +# Set this to true to list the individual command help topics in the master help. +# command-topics-in-master-index: true +# +# Each general topic will show up as a separate topic in the help index along with all the plugin command topics. +# general-topics: +# Rules: +# shortText: Rules of the server +# fullText: | +# &61. Be kind to your fellow players. +# &B2. No griefing. +# &D3. No swearing. +# permission: topics.rules +# +# Each index topic will show up as a separate sub-index in the help index along with all the plugin command topics. +# To override the default help index (displayed when the user executes /help), name the index topic "Default". +# index-topics: +# Ban Commands: +# shortText: Player banning commands +# preamble: Moderator - do not abuse these commands +# permission: op +# commands: +# - /ban +# - /ban-ip +# - /banlist +# +# Topic amendments are used to change the content of automatically generated plugin command topics. +# amended-topics: +# /stop: +# shortText: Stops the server cold....in its tracks! +# fullText: - This kills the server. +# permission: you.dont.have +# +# Any plugin in the ignored plugins list will be excluded from help. The name must match the name displayed by +# the /plugins command. Ignore "Bukkit" to remove the standard bukkit commands from the index. Ignore "All" +# to completely disable automatic help topic generation. +# ignore-plugins: +# - PluginNameOne +# - PluginNameTwo +# - PluginNameThree + diff --git a/server/ops.json b/server/ops.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/server/ops.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/server/paper.yml b/server/paper.yml new file mode 100644 index 0000000..bd4fde9 --- /dev/null +++ b/server/paper.yml @@ -0,0 +1,97 @@ +# This is the main configuration file for PaperSpigot. +# 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. +# +# If you need help with the configuration or have any questions related to PaperSpigot, +# join us at the IRC. +# +# IRC: #paperspigot @ irc.spi.gt ( http://irc.spi.gt/iris/?channels=PaperSpigot ) + +config-version: 9 +data-value-allowed-items: [] +settings: + baby-zombie-movement-speed: 0.5 + limit-player-interactions: true +stackable-buckets: + lava: false + water: false + milk: false +warnWhenSettingExcessiveVelocity: true +effect-modifiers: + strength: 1.3 + weakness: -0.5 +world-settings: + default: + verbose: true + player-exhaustion: + block-break: 0.02500000037252903 + swimming: 0.014999999664723873 + mob-spawner-tick-rate: 1 + despawn-ranges: + soft: 32 + hard: 128 + fishing-time-range: + MinimumTicks: 100 + MaximumTicks: 900 + disable-teleportation-suffocation-check: false + falling-block-height-nerf: 0 + load-chunks: + enderpearls: false + tnt-entities: false + falling-blocks: false + generator-settings: + canyon: true + caves: true + dungeon: true + fortress: true + mineshaft: true + monument: true + stronghold: true + temple: true + village: true + flat-bedrock: false + allow-block-location-tab-completion: true + squid-spawn-height: + minimum: 45.0 + maximum: 63.0 + cache-chunk-maps: false + max-growth-height: + cactus: 3 + reeds: 3 + tnt-explosion-volume: 4.0 + remove-unloaded: + enderpearls: true + tnt-entities: true + falling-blocks: true + game-mechanics: + boats-drop-boats: false + disable-player-crits: false + disable-chest-cat-detection: false + disable-end-credits: false + optimize-explosions: false + player-blocking-damage-multiplier: 0.5 + remove-invalid-mob-spawner-tile-entities: true + fast-drain: + lava: false + water: false + lava-flow-speed: + normal: 30 + nether: 10 + nether-ceiling-void-damage: false + use-hopper-check: false + disable-explosion-knockback: false + water-over-lava-flow-speed: 5 + fix-cannons: false + tnt-entity-height-nerf: 0 + all-chunks-are-slime-chunks: false + allow-undead-horse-leashing: false + container-update-tick-rate: 1 + keep-spawn-loaded: true + portal-search-radius: 128 + disable-thunder: false + disable-ice-and-snow: false + tick-next-tick-list-cap: 10000 + tick-next-tick-list-cap-ignores-redstone: false + falling-blocks-collide-with-signs: false + disable-mood-sounds: false + use-async-lighting: false diff --git a/server/permissions.yml b/server/permissions.yml new file mode 100644 index 0000000..e69de29 diff --git a/server/server.jar b/server/server.jar new file mode 100644 index 0000000..ed29be1 Binary files /dev/null and b/server/server.jar differ diff --git a/server/server.properties b/server/server.properties new file mode 100644 index 0000000..d04cb7f --- /dev/null +++ b/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/server/spigot.yml b/server/spigot.yml new file mode 100644 index 0000000..aac6184 --- /dev/null +++ b/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/server/whitelist.json b/server/whitelist.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/server/whitelist.json @@ -0,0 +1 @@ +[] \ No newline at end of file