Compare commits
44 Commits
Author | SHA1 | Date | |
---|---|---|---|
821e26a381 | |||
293603680d | |||
7a8b406b0a | |||
8eef0cb722 | |||
e55d457435 | |||
cc752a3209 | |||
|
2f2faa8bd0 | ||
|
d433bdbb15 | ||
|
aee21c711c | ||
d6f72b9e19 | |||
6acdc9f392 | |||
6689eda597 | |||
17e5bbc229 | |||
cdea7e23ea | |||
29c94e5d93 | |||
a9756c45f8 | |||
6756105e82 | |||
258919c3bb | |||
e0a12a8741 | |||
c8c4576043 | |||
c66eb66a72 | |||
e51c6419b6 | |||
833acf95f8 | |||
689c0207f5 | |||
0270bc9cb8 | |||
8c0af1d9ae | |||
b48a9f2fd7 | |||
42cf466d6c | |||
172f099afd | |||
22754c5931 | |||
8de9f93b3b | |||
63a255cffc | |||
54e6bbf842 | |||
ea2552a4ce | |||
6fcf8dba1c | |||
a718ef32f5 | |||
a3b505430e | |||
3dee04ccf1 | |||
|
f94d324cf2 | ||
|
ff50db09bc | ||
|
bcf07e7228 | ||
815eee3bab | |||
d707e203cd | |||
11d787ef6a |
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
123
.idea/workspace.xml
generated
Normal file
123
.idea/workspace.xml
generated
Normal file
@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AutoImportSettings">
|
||||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="b032e9a1-a186-4b16-a0d0-6f4ce5833eac" name="Changes" comment="unversioned files">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/js/searchbar.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/searchbar.js" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="Git.Settings">
|
||||
<favorite-branches>
|
||||
<branch-storage>
|
||||
<map>
|
||||
<entry type="REMOTE">
|
||||
<value>
|
||||
<list>
|
||||
<branch-info repo="$PROJECT_DIR$" source="origin/redesign" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</branch-storage>
|
||||
</favorite-branches>
|
||||
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="main" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="ProjectColorInfo">{
|
||||
"associatedIndex": 2
|
||||
}</component>
|
||||
<component name="ProjectId" id="2rNKORB2Psg2xErBUTdxO25aegN" />
|
||||
<component name="ProjectViewState">
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent"><![CDATA[{
|
||||
"keyToString": {
|
||||
"JavaScript Debug.index.html.executor": "Debug",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"RunOnceActivity.git.unshallow": "true",
|
||||
"git-widget-placeholder": "redesign",
|
||||
"last_opened_file_path": "/Users/prest/EaglercraftX-Site",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"settings.editor.selected.configurable": "reference.settings.ide.settings.web.browsers",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
}
|
||||
}]]></component>
|
||||
<component name="RunManager">
|
||||
<configuration name="index.html" type="JavascriptDebugType" temporary="true" nameIsGenerated="true" uri="http://localhost:63342/EaglercraftX-Site/index.html" useBuiltInWebServerPort="true">
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
<recent_temporary>
|
||||
<list>
|
||||
<item itemvalue="JavaScript Debug.index.html" />
|
||||
</list>
|
||||
</recent_temporary>
|
||||
</component>
|
||||
<component name="SharedIndexes">
|
||||
<attachedChunks>
|
||||
<set>
|
||||
<option value="bundled-js-predefined-d6986cc7102b-deb605915726-JavaScript-WS-243.22562.222" />
|
||||
</set>
|
||||
</attachedChunks>
|
||||
</component>
|
||||
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<changelist id="b032e9a1-a186-4b16-a0d0-6f4ce5833eac" name="Changes" comment="" />
|
||||
<created>1736394059923</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1736394059923</updated>
|
||||
<workItem from="1736394061012" duration="152000" />
|
||||
<workItem from="1736394216595" duration="213000" />
|
||||
<workItem from="1736394431873" duration="79000" />
|
||||
<workItem from="1736394514247" duration="682000" />
|
||||
<workItem from="1736396301872" duration="64000" />
|
||||
<workItem from="1736396376903" duration="80000" />
|
||||
<workItem from="1736396462122" duration="667000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="unversioned files">
|
||||
<option name="closed" value="true" />
|
||||
<created>1736397099354</created>
|
||||
<option name="number" value="00001" />
|
||||
<option name="presentableId" value="LOCAL-00001" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1736397099354</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="2" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="3" />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
<option name="TAB_STATES">
|
||||
<map>
|
||||
<entry key="MAIN">
|
||||
<value>
|
||||
<State />
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="unversioned files" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="unversioned files" />
|
||||
</component>
|
||||
</project>
|
7
15versions.html
Normal file
7
15versions.html
Normal file
@ -0,0 +1,7 @@
|
||||
<!-- Version 1.5.2 Section -->
|
||||
|
||||
<a class="version-link filter-button" href="./eagler-files/1.5.2/main/index.html"><button>Main 1.5.2 Client</button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.5.2/PrecisionBeta.html"><button>Precision Beta Client</button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.5.2/precisionbeta2/index.html"><button>Precision Beta 2 Client</button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/mobile/1.5.2/EaglerMobile/index.html"><button>EaglerMobile 1.5.2</button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/mobile/1.5.2/EaglerPocketMobile/index.html"><button>EaglerPocketMobile 1.5.2</button></a>
|
9
18versions.html
Normal file
9
18versions.html
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/main/index.html"><button>Main 1.8 Client</button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/resent4.0/index.html"><button>Resent 4.0 Client <img src="images/Recomended.png" alt="Recommended" class="recommended"></button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/ShadowClient.html"><button>Shadow Client</button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/Astra_Client.html"><button>Astra Client</button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/EaglerForge/index.html"><button>EaglerForge</button></a>
|
||||
|
||||
<a class="version-link filter-button mobile18" href="./eagler-files/mobile/1.8/EaglerMobile/index.html"><button>EaglerMobile 1.8</button></a>
|
||||
<a class="version-link filter-button mobile18" href="./eagler-files/mobile/1.8/EaglerPocketMobile/index.html"><button>EaglerPocketMobile 1.8</button></a>
|
44
README.md
44
README.md
@ -1,17 +1,35 @@
|
||||
# EaglerCraftX-1.8
|
||||
EaglerCraftX Client for 1.8 (+ 1.5.2 Options)
|
||||
# EaglerCraftX
|
||||
EaglerCraft Client Collections
|
||||
**https://git.eaglercraft.win/EaglercraftX-Client-Collections/EaglercraftX-Site**
|
||||
**https://www.eaglercraft.win**
|
||||
|
||||
### If you fork or use this repository code, please credit me.
|
||||
<p align="left"> <img src="https://komarev.com/ghpvc/?username=eaglercraftx1-8&label=Repository%20views&color=0e75b6&style=flat" alt="eaglercraftx1-8" /> (If you fork this repository the views add up from the forks unless you remove this in your fork)</p>
|
||||
contact@eaglercraft.win
|
||||
admins@eaglercraft.win
|
||||
developers@eaglercraft.win
|
||||
partnerships@eaglercraft.win
|
||||
|
||||
## Contributors
|
||||
[](https://github.com/eaglercraftx1-8/eaglercraftx1-8.github.io/graphs/contributors)
|
||||
<p align="left"> <img src="https://komarev.com/ghpvc/?username=eaglercraftx1-8&label=Repository%20views&color=0e75b6&style=flat" alt="eaglercraftx1-8" />
|
||||
|
||||
(If you fork this repository the views add up from the forks unless you remove this in your fork)</p>
|
||||
|
||||
Discord Server for this Site (Questions, Suggestions, etc. Also some voting for the site): https://discord.gg/czV7M8JXXM
|
||||
> [!NOTE]
|
||||
> If you fork or use this repository code, please credit me.
|
||||
|
||||
You are welcome to open a pull request to contribute!
|
||||
|
||||
> [!TIP]
|
||||
> Discord Server for this Site (Questions, Suggestions, etc. Also some voting for the site): https://discord.eaglercraft.win or https://discord.gg/czV7M8JXXM
|
||||
> You are more likely to be helped in the Discord Server than open an issue. You **MUST** join the discord server to apply for staff.
|
||||
|
||||
> [!NOTE]
|
||||
> If you are forking this repository and want to keep your fork up to date. You can use the sync fork button **(safer)** on the repository or https://github.com/apps/pull (Github Only) to auto sync **(but read the warning below)**.
|
||||
|
||||
> [!WARNING]
|
||||
> If you choose to use the pull GitHub app, it deletes all the changes you made when it syncs to a new commit; so you should backup your changes.
|
||||
|
||||
> [!IMPORTANT]
|
||||
> **I am not affiliated, own, or work at Eagtek, Eaglercraft, Mojang, Microsoft, or Minecraft. I solely host these sites but have not made, worked on, or am affiliated with eaglercraft.**
|
||||
|
||||
> [!CAUTION]
|
||||
> You may get DMCA'ed by Minecraft which is why I added the message above. **Remove at your own risk!**.
|
||||
|
||||
**I am not affiliated with or employed by EaglerCraft or Eagtek. I solely host these sites. I do not own or work for EaglerCraft and am not affiliated with Mojang.**
|
||||
|
||||
### Links:
|
||||
- [Github Pages Hosted](https://eaglercraftx1-8.github.io/) (https://eaglercraftx1-8.github.io/)
|
||||
- [Netlify Hosted](https://eaglercraftx1-8.netlify.app/) (https://eaglercraftx1-8.netlify.app/) [](https://app.netlify.com/sites/eaglercraftx1-8/deploys)
|
||||
- [Render Hosted](https://eaglercraftx1-8.onrender.com/) (https://eaglercraftx1-8.onrender.com/)
|
||||
|
164
css/index.css
164
css/index.css
@ -1,6 +1,6 @@
|
||||
body {
|
||||
font-family: 'Arial', sans-serif;
|
||||
background-color: #f1f1f1;
|
||||
font-family: 'Ubuntu', sans-serif;
|
||||
background-color: #545454 !important;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
@ -8,29 +8,41 @@ body {
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
overflow-x: hidden;
|
||||
position:fixed;
|
||||
width:100%
|
||||
}
|
||||
.mobileContainer18 {
|
||||
.card{
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
background-color: #d9d9d9;
|
||||
border-radius: 30px;
|
||||
display: flex;
|
||||
flex-wrap:wrap;
|
||||
justify-content: center;
|
||||
width: 60vw;
|
||||
}
|
||||
#mobileContainer18 {
|
||||
display: flex;
|
||||
width: 1%;
|
||||
flex-wrap:wrap;
|
||||
justify-content: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.Container18{
|
||||
#Container18{
|
||||
display: flex;
|
||||
width: 1%;
|
||||
flex-wrap:wrap;
|
||||
justify-content: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.Container15{
|
||||
#Container15{
|
||||
display: flex;
|
||||
width: 1%;
|
||||
flex-wrap:wrap;
|
||||
justify-content:center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.mobileContainer15{
|
||||
#mobileContainer15{
|
||||
display: flex;
|
||||
width: 1%;
|
||||
flex-wrap:wrap;
|
||||
@ -59,11 +71,16 @@ button {
|
||||
display: inline-block;
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
#thing {
|
||||
display:flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-left: auto;
|
||||
margin-right: 0
|
||||
}
|
||||
.source-btn {
|
||||
background-color: #333333;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
@ -159,11 +176,34 @@ button:hover {
|
||||
}
|
||||
.footer {
|
||||
margin-top: auto;
|
||||
background-color: #ddd;
|
||||
padding: 20px;
|
||||
background-color: #373737;
|
||||
color: #a6a6a6;
|
||||
padding-top: 20px;
|
||||
width: 100%;
|
||||
top:80%;
|
||||
position:fixed;
|
||||
height:20%;
|
||||
display:flex;
|
||||
flex-wrap:wrap;
|
||||
flex-flow:wrap-reverse;
|
||||
align-items: center;
|
||||
}
|
||||
#footerButtons a {
|
||||
font-size:20px;
|
||||
padding: 10px 10px;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
/*bro i hate working with this footer like i swear this css has commander games page level stability
|
||||
/* margin: 10px auto; */
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
max-width: 200px;
|
||||
background-color:#d9d9d9 !important;
|
||||
color:#000000 !important;
|
||||
padding: 10px 20px;
|
||||
margin:10px;
|
||||
}
|
||||
|
||||
.recommended {
|
||||
vertical-align: middle;
|
||||
margin-left: 5px;
|
||||
@ -174,4 +214,106 @@ button:hover {
|
||||
font-family: "Poppins", sans-serif;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
color:#ffffff;
|
||||
}
|
||||
#footerButtons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content:center;
|
||||
width:100%;
|
||||
height:15px;
|
||||
}
|
||||
#footerText {
|
||||
display:flex;
|
||||
flex-direction: column;
|
||||
width:100%;
|
||||
margin-bottom: 5px;
|
||||
color: #a6a6a6 !important;
|
||||
}
|
||||
#footerText > p {
|
||||
margin:0;
|
||||
}
|
||||
/* flexbox will solve all problems guys trust */
|
||||
#gamescontainer {
|
||||
border-radius: 20px;
|
||||
height: 33%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
column-gap: 2ch;
|
||||
row-gap: 2ch;
|
||||
margin-top: 20px;
|
||||
}
|
||||
#stupid {
|
||||
color: black;
|
||||
background-color: #a6a6a6;
|
||||
height: 20px;
|
||||
border-radius: 53px;
|
||||
z-index: 2;
|
||||
padding: 0px 20px;
|
||||
}
|
||||
#stupidbackgroundbox {
|
||||
color: black;
|
||||
background-color: #a6a6a6;
|
||||
z-index: -1;
|
||||
height:10px;
|
||||
border-radius: 53px;
|
||||
}
|
||||
#stupidcontainer{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: 10px;
|
||||
border-radius: 53px;
|
||||
}
|
||||
#dumb {
|
||||
color: black;
|
||||
background-color: #d9d9d9;
|
||||
z-index: 0;
|
||||
height:20px;
|
||||
border-radius: 53px;
|
||||
padding: 0px 20px;
|
||||
}
|
||||
#dumbBackgroundbox {
|
||||
color: #d9d9d9;
|
||||
z-index: 1;
|
||||
height:10px;
|
||||
border-radius: 53px;
|
||||
}
|
||||
#dumbcontainer {
|
||||
display:flex;
|
||||
flex-direction: row;
|
||||
height:10px;
|
||||
}
|
||||
#versionSelector {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
/* dont make this 10px or under, then it squishes the text inside*/
|
||||
height:30px;
|
||||
width:100%;
|
||||
justify-content: center;
|
||||
}
|
||||
#containerHell {
|
||||
width: 151px;
|
||||
justify-content: center;
|
||||
}
|
||||
#sped{
|
||||
/* have to do this stupid important thing to override the colors set on the button element */
|
||||
color: transparent !important;
|
||||
background-color: transparent !important;
|
||||
display:flex;
|
||||
height: 36px;
|
||||
width: 30px;
|
||||
position:fixed;
|
||||
}
|
||||
button:hover{
|
||||
color: transparent !important;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
#containerhell{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
@ -12,7 +12,7 @@ body {
|
||||
.modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
z-index: 10;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
|
@ -1,15 +1,29 @@
|
||||
|
||||
.search-container {
|
||||
text-align: center;
|
||||
margin: 20px 0;
|
||||
display:flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content:center;
|
||||
}
|
||||
|
||||
#search-bar {
|
||||
margin: 0 auto;
|
||||
margin-right: auto;
|
||||
padding: 10px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
width: 50%;
|
||||
max-width: 400px;
|
||||
display: flex;
|
||||
justify-content: left;
|
||||
margin-left:10px;
|
||||
}
|
||||
|
||||
#search-icon{
|
||||
font-size:30px;
|
||||
position:fixed;
|
||||
left: calc(100vw - 800px);
|
||||
}
|
||||
#search-clear{
|
||||
font-size:30px;
|
||||
font-size:30px;
|
||||
position:fixed;
|
||||
}
|
117
index.html
117
index.html
@ -6,17 +6,24 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>EaglerCraftX</title>
|
||||
<link rel="icon" type="image/x-icon" href="images/icon.jpeg">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||||
<link rel="stylesheet" href="css/index.css">
|
||||
<link rel="stylesheet" href="css/popup.css">
|
||||
<link rel="stylesheet" href="css/searchbar.css">
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script src="js/searchbar.js"></script>
|
||||
<script src="js/popup.js"></script>
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Welcome to EaglerCraftX</h1 class="title">
|
||||
<h1>EAGLERCRAFT X CLIENT COLLECTION</h1 class="title">
|
||||
|
||||
<p>Site views counter:</p>
|
||||
<div align='center'><a><img src='https://www.free-website-hit-counter.com/c.php?d=9&id=177632&s=16' border='0' alt='View Counter'></a></div>
|
||||
<!-- <p>Site views counter:</p>
|
||||
<div><a><img src='https://www.free-website-hit-counter.com/c.php?d=9&id=177632&s=16' border='0' alt='View Counter'></a></div>
|
||||
<p>These clients might be outdated.</p>
|
||||
<p>Have any questions, bug reports or suggestions? Join our Discord server by pressing the button below!</p>
|
||||
<a href="https://discord.gg/czV7M8JXXM" class="dsc-btn" target="_blank">Discord Server</a>
|
||||
@ -25,50 +32,55 @@
|
||||
<h2 class="pick-client">Pick a Client:</h2>
|
||||
|
||||
<label for="mobileCheckbox">Mobile Checkbox</label>
|
||||
<input type="checkbox" id="mobileCheckbox">
|
||||
<input type="checkbox" id="mobileCheckbox"> -->
|
||||
<div class="search-container">
|
||||
<!-- thats right a closed input tag (and the input is a flexbox!), we going full dumbass mode-->
|
||||
<!-- mb it turns out you cant close input tags (wow no way who wouldve thought)-->
|
||||
<input type="text" id="search-bar" placeholder="Search Clients...">
|
||||
<button alt="Clear search" id="thing">
|
||||
<i class="bi bi-x" id="search-clear" ></i>
|
||||
</button>
|
||||
</div>
|
||||
<div id="versionSelector">
|
||||
<div id="containerhell">
|
||||
<select name="version" id="verCheck">
|
||||
<option value="1.8">1.8</option>
|
||||
<option value="1.5.2">1.5.2</option>
|
||||
<option value="other">other</option>
|
||||
</select>
|
||||
|
||||
<!-- Version 1.8 Section -->
|
||||
<div id="desktopVersion18">
|
||||
<p class="version-text">Version 1.8</p>
|
||||
<div class="Container18">
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/main/index.html"><button>Main 1.8 Client</button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/resent4.0/index.html"><button>Resent 4.0 Client <img src="images/Recomended.png" alt="Recommended" class="recommended"></button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/ShadowClient.html"><button>Shadow Client</button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/Astra_Client.html"><button>Astra Client</button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/EaglerForge/index.html"><button>EaglerForge</button></a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="gamescontainer">
|
||||
<div class ="card">
|
||||
<div class="Container18">
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/Main/index.html">
|
||||
<button>Main 1.8 Client</button>
|
||||
</a>
|
||||
<a class="version-link filter-button" href="./eagler-files/wasm/1.8/Main/index.html">
|
||||
<button>Main 1.8 Client [WASM]</button>
|
||||
</a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/resent4.0/index.html">
|
||||
<button>Resent Client 4.0</button>
|
||||
</a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/Shadow_Client_en_US.html">
|
||||
<button>Shadow Client</button>
|
||||
</a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/Astra_Client.html">
|
||||
<button>Astra Client</button>
|
||||
</a>
|
||||
<a class="version-link filter-button" href="./eagler-files/wasm/1.8/Astra_Client-WASM.html">
|
||||
<button>Astra Client [WASM]</button>
|
||||
</a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.8/EaglerForge/index.html">
|
||||
<button>EaglerForge</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="mobileVersion18" style="display: none;">
|
||||
<p class="version-text">Version 1.8 - Mobile</p>
|
||||
<div class="mobileContainer18">
|
||||
<a class="version-link filter-button mobile18" href="./eagler-files/mobile/1.8/EaglerMobile/index.html"><button>EaglerMobile 1.8</button></a>
|
||||
<a class="version-link filter-button mobile18" href="./eagler-files/mobile/1.8/EaglerPocketMobile/index.html"><button>EaglerPocketMobile 1.8</button></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Version 1.5.2 Section -->
|
||||
<div id="desktopVersion152">
|
||||
<p class="version-text">Version 1.5.2</p>
|
||||
<div class="Container15">
|
||||
<a class="version-link filter-button" href="./eagler-files/1.5.2/main/index.html"><button>Main 1.5.2 Client</button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.5.2/PrecisionBeta.html"><button>Precision Beta Client</button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/1.5.2/precisionbeta2/index.html"><button>Precision Beta 2 Client</button></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="mobileVersion152" style="display: none;">
|
||||
<p class="version-text">Version 1.5.2 - Mobile</p>
|
||||
<div class="mobileContainer15">
|
||||
<a class="version-link filter-button" href="./eagler-files/mobile/1.5.2/EaglerMobile/index.html"><button>EaglerMobile 1.5.2</button></a>
|
||||
<a class="version-link filter-button" href="./eagler-files/mobile/1.5.2/EaglerPocketMobile/index.html"><button>EaglerPocketMobile 1.5.2</button></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>DANGER ZONE</h3>
|
||||
|
||||
<!-- <h3>DANGER ZONE</h3>
|
||||
<a onclick="openClrModal();" class="clr-btn">Reset All Local Data</a>
|
||||
|
||||
<div id="clr-data-model" class="modal">
|
||||
@ -79,18 +91,21 @@
|
||||
<button class="cancel-btn" onclick="closeClrModal()">Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="js/mobilecheck.js"></script>
|
||||
<script src="js/searchbar.js"></script>
|
||||
</div> -->
|
||||
|
||||
<div class="footer">
|
||||
<p>I am not affiliated with EaglerCraft, Eagtek, Microsoft, or Mojang. I solely host these sites.</p>
|
||||
<a href="https://github.com/eaglercraftx1-8/eaglercraftx1-8.github.io" class="source-btn" target="_blank">Github Repository</a>
|
||||
<a href="https://discord.gg/czV7M8JXXM" class="dsc-btn" target="_blank">Discord Server</a>
|
||||
<a href="https://servers.eaglercraft.com/" target="_blank"><button>Server List</button></a>
|
||||
<a href="https://eaglerrinth.github.io/" target="_blank"><button>EaglerRinth Mod List</button></a>
|
||||
<div id="footerText">
|
||||
<p id="topfootertext">I am not affiliated with EaglerCraft, Eagtek, Microsoft, or Mojang. I solely host these sites.</p>
|
||||
<p id="bottomfootertext">By using this site you agree to Google Analytics being used on this site</p>
|
||||
</div>
|
||||
<div id="footerButtons">
|
||||
<a href="https://discord.gg/czV7M8JXXM" class="dsc-btn" target="_blank">Discord Server</a>
|
||||
<a href="https://github.com/eaglercraftx1-8/eaglercraftx1-8.github.io" class="source-btn" target="_blank">Gitea Repo</a>
|
||||
<a href="" target="_blank">Partners</a>
|
||||
<a href="https://servers.eaglercraft.com/" target="_blank">Server List</a>
|
||||
<a href="https://eaglerrinth.github.io/" target="_blank">Mod List</a>
|
||||
<a href="" target="_blank">Contact Us</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@ -116,6 +131,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="js/popup.js"></script>
|
||||
|
||||
</html>
|
@ -1,30 +0,0 @@
|
||||
$(document).ready(function() {
|
||||
function updateVisibility() {
|
||||
var isChecked = $("#mobileCheckbox").is(":checked");
|
||||
if (isChecked) {
|
||||
$("#desktopVersion18").hide();
|
||||
$("#mobileVersion18").show();
|
||||
$("#desktopVersion152").hide();
|
||||
$("#mobileVersion152").show();
|
||||
} else {
|
||||
$("#desktopVersion18").show();
|
||||
$("#mobileVersion18").hide();
|
||||
$("#desktopVersion152").show();
|
||||
$("#mobileVersion152").hide();
|
||||
}
|
||||
}
|
||||
|
||||
function updateLinks() {
|
||||
$(".version-link").each(function() {
|
||||
var url = $(this).data("url");
|
||||
$(this).attr("href", url);
|
||||
});
|
||||
}
|
||||
|
||||
$("#mobileCheckbox").on("change", function() {
|
||||
updateVisibility();
|
||||
updateLinks();
|
||||
});
|
||||
|
||||
updateVisibility();
|
||||
});
|
@ -10,4 +10,8 @@ $(document).ready(function() {
|
||||
}
|
||||
});
|
||||
});
|
||||
$('#thing').on('click', function() {
|
||||
$('#search-bar').val('');
|
||||
$('.filter-button').show();
|
||||
});
|
||||
});
|
||||
|
10
js/versionSelect.js
Normal file
10
js/versionSelect.js
Normal file
@ -0,0 +1,10 @@
|
||||
var gamesDiv = document.getElementById("gamescontainer")
|
||||
var ireallyhateasyncprogrammingpulhhhh = await fetch("./15versions.html")
|
||||
var rfr = await fetch("./18versions.html")
|
||||
async function set15() {
|
||||
//wooooo more awaits i love waiting
|
||||
gamesDiv.innerHTML = await ireallyhateasyncprogrammingpulhhhh.text
|
||||
}
|
||||
async function set18() {
|
||||
gamesDiv.innerHTML = await rfr.text
|
||||
}
|
24
runTest.bat
Normal file
24
runTest.bat
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
:: amazing script i totally didnt write with bing ai because i have no idea how the syntax of batch works
|
||||
:: Attempt to run with Node.js
|
||||
node test.js
|
||||
if %errorlevel% EQU 0 (
|
||||
echo Node.js executed successfully.
|
||||
exit /b
|
||||
)
|
||||
:: Attempt to run with Deno
|
||||
deno run test.js
|
||||
if %errorlevel% EQU 0 (
|
||||
echo Deno executed successfully.
|
||||
exit /b
|
||||
)
|
||||
:: Attempt to run with Bun (assuming you have Bun installed)
|
||||
bun run test.js
|
||||
if %errorlevel% EQU 0 (
|
||||
echo Bun executed successfully.
|
||||
exit /b
|
||||
)
|
||||
:: If none of the runtimes are available
|
||||
echo Please install a valid Node.js runtime.
|
||||
pause
|
||||
exit /b
|
55
test.js
Normal file
55
test.js
Normal file
@ -0,0 +1,55 @@
|
||||
const http = require("http");
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
http.createServer(async function(request,response){
|
||||
var parth = path.dirname(__filename) + request.url;
|
||||
fs.readFile(parth, "utf8", function(err,data){
|
||||
if(err){
|
||||
response.writeHead(404,{"Content-Type":"text/html"});
|
||||
var notFoundFIle;
|
||||
fs.readFile(path.dirname(__filename)+"\\404.html", "utf8", function(error,dat){
|
||||
if(error){
|
||||
response.end("404.html wasnt found, something is wrong");
|
||||
return;
|
||||
}else{
|
||||
notFoundFIle = dat;
|
||||
response.end(notFoundFIle);
|
||||
}
|
||||
});
|
||||
}else{
|
||||
var filetype = path.extname(parth).substring(1,path.extname(parth).length);
|
||||
var isImage = false;
|
||||
if(filetype=="html"){
|
||||
response.writeHead(200,{"Content-Type":"text/html"});
|
||||
}else{
|
||||
if(filetype=="css"){
|
||||
response.writeHead(200,{"Content-Type":"text/css"});
|
||||
}else{
|
||||
if(filetype=="js"){
|
||||
response.writeHead(200,{"Content-Type":"text/js"});
|
||||
}else{
|
||||
if(filetype=="jpeg"){
|
||||
response.writeHead(200,{"Content-Type":"image/jpeg"});
|
||||
isImage = true;
|
||||
}else{
|
||||
if(filetype=="svg"){
|
||||
response.writeHead(200,{"Content-Type":"image/svg+xml"});
|
||||
isImage = true;
|
||||
}else{
|
||||
if(filetype=="png"){
|
||||
response.writeHead(200,{"Content-Type":"image/png"});
|
||||
isImage = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!isImage){
|
||||
response.end(data,"utf8");
|
||||
}else{
|
||||
fs.createReadStream(parth).pipe(response);
|
||||
}
|
||||
}
|
||||
});
|
||||
}).listen(80);
|
Loading…
x
Reference in New Issue
Block a user