updated the right link smh

This commit is contained in:
awex
2021-05-22 03:36:58 -04:00
parent 0eaf63ef26
commit 37019189b6
11 changed files with 445 additions and 188 deletions
+11 -9
View File
@@ -1,11 +1,13 @@
### Hi there! 👋 ### Hi there! I'm [Alex Frantz](https://twitter.com/_awexx) 👋
<a href="https://twitter.com/isupersky">
<img align="left" width="26px" src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/twitter.svg" />
</a>
<a href="mailto:alex@plaguecraft.xyz">
<img align="left" width="26px" src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/gmail.svg" />
</a>
The name's Alex, I'm currently managing web services for the @plaguecraft-team! <br />
You've probably seen me around as i wrote the web code for the PCN website as well as post a lot of the updates!
### Want to know more? Read below! ### About Me 🚀
- 🔭 I’m currently working on the PlagueCraft Network! 🌱 I’m a Backend and Frontend developer, knowing Node.js, Electron, and more ;) </br>
- 🌱 I’m currently learning HTML, CSS, and JavaScript! 👨‍💻 I know a lil web dev, and am planning to do something either with that or with backend.. or both! </br>
- 📫 How to reach me: You can reach me through [my website!](https://awexxx.github.io)
- 😄 Pronouns: He/him
- ⚡ Fun fact: I only learned about HTML & CSS for an hour and know the essentials already ;)
+7 -10
View File
@@ -17,36 +17,33 @@
<meta content="#9c2d1c" data-react-helmet="true" name="theme-color"> <meta content="#9c2d1c" data-react-helmet="true" name="theme-color">
</head> </head>
<body> <body>
<img src="assets/img/logo.png" class="center" length="265" /> <h3 style="padding-top:20px;">Awexx</h3>
<br> <br>
<ul id="navbar"> <ul id="navbar">
<li><a href="https://awexxx.github.io/">HOME</a></li> <li><a href="https://awexxx.github.io/">HOME</a></li>
<li><a href="#">ABOUT ME</a></li> <li><a href="#">ABOUT ME</a></li>
<li><a href="contact">CONTACT</a></li> <li><a href="https://awexxx.github.io/hivemc">HIVEMC STATS LOOKUP</a></li>
</ul> </ul>
</nav> </nav>
<hr> <hr>
<h2>Awex is a web designer/developer for the PlagueCraft Network, born and raised in Western NY.</h2> <h2>Awex is a web designer/developer for the PlagueCraft Network.</h2>
<hr> <hr>
<p>As of 2021, Awex has contributed to multiple projects, many such as the MedalSMP, ForestGroveSMP, and more!<br> <p>As of 2021, Awex has contributed to multiple projects, many such as the MedalSMP, ForestGroveSMP, and more!<br>
Awex initially started learning HTML and CSS in late 2020 and picked it up fairly quickly! He now manages web stability & services at <a href="https://plaguecraft.xyz" target="_blank">the PlagueCraft Network!</a></p> Awex initially started learning HTML and CSS in late 2020 and picked it up fairly quickly! He now manages web stability & services at <a href="https://plaguecraft.xyz" target="_blank">the PlagueCraft Network!</a></p>
<p>Awex is currently learning Game Development, JAVA Coding, and more! You can always view his projects by taking a glance at his <a href="https://github.com/awexxx" target="_blank">GitHub</a> page.</p> <p>Awex is currently learning Game Development, Electron/Node, and more! You can always view his projects by taking a glance at his <a href="https://github.com/awexxx" target="_blank">GitHub</a> page.</p>
<img style="padding-bottom:20px;" id="center" src="https://assets.plaguecraft.xyz/assets/img/logo.png"> <img style="padding-bottom:20px;" id="center" src="https://plaguecraft.xyz/storage/assets/img/logo.png">
<div class="footer-basic"> <div class="footer-basic">
<footer> <footer>
<div class="social"><a href="https://github.com/awexxx" target="_blank"><i class="icon ion-social-github"></i></a><a href="https://twitter.com/_awexx" target="_blank"><i class="icon ion-social-twitter"></i></a></div> <div class="social"><a href="https://github.com/awexxx" target="_blank"><i class="icon ion-social-github"></i></a><a href="https://twitter.com/_awexx" target="_blank"><i class="icon ion-social-twitter"></i></a></div>
<ul class="list-inline"> <ul class="list-inline">
<li class="list-inline-item"><a href="discord">Discord</a></li> <li class="list-inline-item"><a href="mailto:alex@plaguecraft.xyz">Contact</a></li>
----
<li class="list-inline-item"><a href="contact">Contact</a></li>
</ul> </ul>
<p class="copyright">awexx <i class="fa fa-copyright"></i> 2021<br> <p class="copyright">awexx <i class="fa fa-copyright"></i> 2021<br>
Email: alex@plaguecraft.xyz</p>
</footer> </footer>
</div> </div>
</body> </body>
+13 -15
View File
@@ -27,21 +27,6 @@ hr{
width:30%; width:30%;
} }
/* Style buttons */
.btn {
background-color: DodgerBlue;
border: none;
color: white;
padding: 12px 30px;
cursor: pointer;
font-size: 20px;
}
/* Darker background on mouse-over */
.btn:hover {
background-color: RoyalBlue;
}
body{ body{
background-color:#e0e0e0; background-color:#e0e0e0;
text-align:center; text-align:center;
@@ -80,6 +65,19 @@ a:hover{
color:white; color:white;
} }
#panel {
margin: 50px auto;
width: 300px;
padding: 30px 25px;
background: white;
border-radius: 25px;
display:none;
}
#link {
display:none;
}
/*Home*/ /*Home*/
#welcome{ #welcome{
background-color:#474747; background-color:#474747;
+7
View File
@@ -0,0 +1,7 @@
function hidePanel() {
var link = document.getElementById("link");
link.style.display = "none";
var panel = document.getElementById("panel");
panel.style.display = "none";
}
+259
View File
@@ -0,0 +1,259 @@
////////////////////
// Hive Lookup JS //
// Dvlpr. Awexx //
////////////////////
const avatarURL = 'https://minotar.net/avatar/'
console.log(`Initiated the Hive Lookup Script`);
async function getGamesData() {
const playerName = document.getElementById("inputBox").value
if (document.getElementById("gameBox").value === 'sg' || document.getElementById("gameBox").value === 'Survival Games' ) {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/sg`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive SG Stats<hr>Victories: " + data.victories + "<br>Total Points: " + data.total_points + "<br> Most Points: " + data.most_points
+ "<br>Games Played: " + data.gamesplayed + "<br>Crates Opened: " + data.cratesopened + "<br>Kills: " + data.kills + "<br>Deaths: " + data.kills + "<br>Total Time Alive: " + data.timealive +
"<br>Unlock Deathcrate: " + data.unlock_deathcrate + "<br>Unlock My Sword: " + data.unlock_mysword + "<br>Vanity Colors: " + data.vanitycolors + "<br>Active Vanity Color: " + data.active_vanitycolor +
"<br>Arrow Trails: " + data.arrowtrails + "<br>Battle Cries: " + data.battlecries + "<br>Active Deathcrate: " + data.active_deathcrate + "<br>First Win Day: " + data.firstwinday
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "bp" || document.getElementById("gameBox").value === 'Block Party' ) {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/bp`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Block Party Stats<hr>Games Played: " + data.games_played + "<br>Selected Bling: " + data.selected_bling + "<br>Death Sound: " + data.selected_death_sound
+ "<br>Trail: " + data.selected_trail + "<br>Victory Sound: " + data.selected_victory_sound + "<br>Eliminations: " + data.total_eliminations + "<br>Placing: " + data.total_placing + "<br>Total Points: " + data.total_points +
"<br>Unlocked Bling: " + data.unlocked_bling + "<br>Unlocked Death Sounds: " + data.unlocked_death_sounds + "<br>Unlocked Trails: " + data.unlocked_trails + "<br>Victories: " + data.victories
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "cai" || document.getElementById("gameBox").value === 'Cowboys and Indians') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/cai`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Cowboys and Indians Stats<hr>Total Points: " + data.total_points + "<br>Captured: " + data.captured + "<br>Captures: " + data.captures
+ "<br>Catches: " + data.catches + "<br>Caught: " + data.caught + "<br>Creeper Firework: " + data.creeperfirework + "<br>Games Played: " + data.gamesplayed + "<br>Team Selector: " + data.teamselector +
"<br>Victories: " + data.victories
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "dr" || document.getElementById("gameBox").value === 'Deathrun') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/dr`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive DeathRun Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Kills: " + data.kills
+ "<br>Deaths: " + data.deaths + "<br>Games Played: " + data.games_played
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "hb" || document.getElementById("gameBox").value === 'The Herobrine') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/hb`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive The Herobrine Stats<hr>Captures: " + data.captures + "<br>Kills: " + data.kills + "<br>Deaths: " + data.deaths
+ "<br>Points: " + data.points + "<br>Unlocked Classes: " + data.unlocked_classes + "<br>Active Class: " + data.active_class
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "hero" || document.getElementById("gameBox").value === 'SG:Hero') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/hero`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive SG:Hero Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Kills: " + data.kills
+ "<br>Deaths: " + data.deaths + "<br>1v1 Wins: " + data.one_vs_ones_wins + "<br>Deathmatches: " + data.deathmatches + "<br>TNT Used: " + data.tnt_used + "<br>Crates Opened: " + data.crates_opened +
"<br>Food Consumed: " + data.food_consumed
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "hide" || document.getElementById("gameBox").value === 'Hide & Seek') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/hide`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Hide & Seek Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Hider Kills: " + data.hiderkills
+ "<br>Seeker Kills: " + data.seekerkills + "<br>Deaths: " + data.deaths + "<br>Games Played: " + data.gamesplayed + "<br>Blocks: " + data.blocks + "<br>Book Upgrade: " + data.bookupgrade +
"<br>Time Alive: " + data.timealive
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "oitc" || document.getElementById("gameBox").value === 'One in the Chamber') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/oitc`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive One in the Chamber Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Kills: " + data.kills
+ "<br>Deaths: " + data.deaths + "<br>Arrows Fired: " + data.arrowsfired + "<br>Games Played: " + data.gamesplayed + "<br>Cupid Unlocked: " + data.cupidunlock + "<br>Rainbow Unlocked: " + data.rainbowunlock +
"<br>Music Unlocked: " + data.musicunlock + "<br>Herobrine Unlock " + data.herobrineunlock
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "sp" || document.getElementById("gameBox").value === 'Splegg') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/sp`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive One in the Chamber Stats<hr>Victories: " + data.victories + "<br>Games Played: " + data.gamesplayed + "<br>Eggs Fired: " + data.eggsfired
+ "<br>Blocks Destroyed: " + data.blocksdestroyed + "<br>Deaths: " + data.deaths + "<br>Points: " + data.points + "<br>Time Alive: " + data.timealive + "<br>Rainbow Eggs: " + data.rainboweggs +
"<br>Sheep Unlocked: " + data.sheepunlock + "<br>Shovel Upgrade " + data.shovelupgrade
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "timv" || document.getElementById("gameBox").value === 'Trouble in Mineville') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/timv`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Trouble in Mineville Stats<hr>Total Points: " + data.total_points + "<br>Most Points: " + data.most_points + "<br>Role Points: " + data.role_points
+ "<br>T Point: " + data.t_points + "<br>I Points: " + data.i_points + "<br>D Points: " + data.d_points + "<br>Active Detective Stick: " + data.active_detectivestick + "<br>Detective Sticks: " + data.detectivesticks +
"<br>Active Flare Upgrade: " + data.active_flareupgrade + "<br>Flare Upgrade " + data.flareupgrade + "<br>Detective Book: " + data.detectivebook
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "sky" || document.getElementById("gameBox").value === 'SkyWars') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/sky`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive SkyWars Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Games Played: " + data.gamesplayed
+ "<br>Kills: " + data.kills + "<br>Deaths: " + data.deaths + "<br>Most Points: " + data.most_points + "<br>Time Alive: " + data.timealive
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "lab" || document.getElementById("gameBox").value === 'The Lab') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/lab`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive The Lab Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Games Played: " + data.gamesplayed
+ "<hr><strong>Total Game Victories</strong><br>Electric Floor: " + data.game_victories.ELECTRICFLOOR + "<br>Snowman: " + data.game_victories.SNOWMAN + "<br>Rocket Race: " + data.game_victories.ROCKETRACE + "<br>Breaking Blocks: " + data.game_victories.BREAKINGBLOCKS +
"<br>Splegg: " + data.game_victories.SPLEGG + "<br>Catastrophic: " + data.game_victories.CATASTROPHIC + "<br>Fight: " + data.game_victories.FIGHT
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "draw" || document.getElementById("gameBox").value === 'Draw It') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/draw`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive DRAW Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Games Played: " + data.gamesplayed
+ "<br>Total Correct Guesses: " + data.correct_guesses + "<br>Total Incorrect Guesses: " + data.incorrect_guesses + "<br>Skips: " + data.skips
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "ef" || document.getElementById("gameBox").value === 'Electric Floor') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/ef`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Electric Floor Stats<hr>Victories: " + data.victories + "<br>Outlived: " + data.outlived + "<br>Games Played: " + data.gamesplayed
+ "<br>Points: " + data.points + "<br>Blocks Activated: " + data.blocksactivated + "<br>Title: " + data.title
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "grav" || document.getElementById("gameBox").value === 'Gravity') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/grav`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Gravity Stats<hr>Victories: " + data.victories + "<br>Points: " + data.points + "<br><hr><strong>Map Records</strong><br>Library: " + data.maprecords.LIBRARY
+ "<br>Mobs: " + data.maprecords.MOBS + "<br>Drain: " + data.maprecords.DRAIN + "<br>Wave: " + data.maprecords.WAVE + "<br>Toys: " + data.maprecords.TOYS + "<br>Rhythm: " + data.maprecords.RHYTHM + "<br>Pacman " + data.maprecords.PACMAN +
"<br>Floatlands: " + data.maprecords.FLOATLANDS + "<br>Hypnosis: " + data.maprecords.HYPNOSIS + "<br>Deep Sea: " + data.maprecords.DEEP_SEA + "<br>Plants: " + data.maprecords.PLANTS + "<br>Meteor" + data.maprecords.METEOR +
"<br>Lab: " + data.maprecords.LAB + "<br>Ruins: " + data.maprecords.RUINS + "<br>Pyramid: " + data.maprecords.PYRAMID + "<br>Tetris: " + data.maprecords.TETRIS + "<br>Trees: " + data.maprecords.TREES +
"<br>Arctic: " + data.maprecords.ARCTIC + "<br>Factory: " + data.maprecords.FACTORY + "<br>Lush: " + data.maprecords.LUSH + "<br>Rain: " + data.maprecords.RAIN + "<br>Arachnophobia: " + data.maprecords.ARACHNOPHOBIA +
"<br>Overgrown: " + data.maprecords.OVERGROWN
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "gnt" || document.getElementById("gameBox").value === 'SkyGiants') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/gnt`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive SkyGiants Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Games Played: " + data.games_played +
"<br>Kills: " + data.kills + "<br>Deaths: " + data.deaths + "<br>Gold Earned: " + data.gold_earned + "<br>Beasts Slain: " + data.beasts_slain + "<br>Shutdowns: " + data.shutdowns + "<br>Title: " + data.title
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "spl" || document.getElementById("gameBox").value === 'Sploop') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/spl`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Sploop Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Games Played: " + data.games_played +
"<br>Kills: " + data.kills + "<br>Deaths: " + data.deaths + "<br>Blocks Painted: " + data.blocks_painted + "<br>Ultimates Earned: " + data.ultimates_earned + "<br>Title: " + data.title
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
} else if (document.getElementById("gameBox").value === "mimv" || document.getElementById("gameBox").value === 'Murder in Mineville') {
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/mimv`;
const data = await fetch(apiURL).then(response => response.json());
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Murder in MineVille Stats<hr>Total Points: " + data.total_points + "<br>Games Played: " + data.games_played + "<br>Victories: " + data.victories +
"<br>Kills: " + data.kills + "<br>Deaths: " + data.deaths + "<br>Last Used Emote: " + data.lastUsedEmote + "<br>Preferred Emote Menu: " + data.preferredEmoteSelectorMenu + "<br>Title: " + data.title
var panel = document.getElementById("panel");
panel.style.display = "block";
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
var link = document.getElementById("link");
link.style.display = "block";
}
}
-11
View File
@@ -1,11 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Name's awex / Alex. I'm the main web developer for the [PlagueCraft Network](https://plaguecraft.xyz), as well as one of the owners.">
<meta property="og:image" content=”assets/img/logo.png” />
<meta http-equiv="refresh" content="0;url=https://discord.gg/5UJP2gufNX" />
</head>
<body>
</body>
</html>
+104
View File
@@ -0,0 +1,104 @@
<!DOCTYPE html>
<html>
<head>
<title>HiveMC | Java - awexx</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="hive,hivemc,hivemc stats,hivemc shutdown,awexxx,RoboTic,itsawex,hivemc down,hivemc bedrock,minecraft java, minecraft bedrock, minecraft, hivemc stats lookup">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<script src="https://cdn.jsdelivr.net/gh/awexxx/awexxx.github.io/assets/js/hiveLookup.js"></script>
<script src="https://cdn.jsdelivr.net/gh/awexxx/awexxx.github.io/assets/js/hidePanel.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/plaguecraft-team/pcn-web/storage/assets/css/form.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="shortcut icon" type="image/png" href="assets/img/logo.png"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta content="HiveMC Stats Lookup" property="og:title">
<meta content="A tool to look up your 'long lost' HiveMC stats until their API shuts down in 2022." property="og:description">
<meta content="https://awexxx.github.io/hivemc" property="og:url">
<meta content="assets/img/logo.png" property="og:image">
<meta content="#9c2d1c" data-react-helmet="true" name="theme-color">
</head>
<body>
<h3 style="padding-top:20px;">Awexx</h3>
<br>
<ul id="navbar">
<li><a href="https://awexxx.github.io/">HOME</a></li>
<li><a href="about">ABOUT ME</a></li>
<li><a href="#">HIVEMC STATS LOOKUP</a></li>
</ul>
</nav>
<hr>
<h2>HiveMC Stats Lookup</h2>
<h3>What happened?</h3>
<p>On April 15th, 2021 at 5pm EST // 10pm BST, the HiveMC shut down their Java Edition servers. Their API is up until sometime in 2022, which still has accessible player data.<br>
This is complicated for most users, so I decided to make something that can look up this data.<br>
<strong>Note:</strong> I do not have a way to save all of this data at the moment.<br> It is recommended you save it yourself via the provided raw JSON link <strong>BEFORE</strong> 2022.</p>
<form onsubmit="return false">
<label style="font-size:20px; text-align:center;" for="fname">In-Game Name</label><br />
<input style="font-size:20px;" type="text" id="inputBox" name="playerName" placeholder="Your IGN.." required><br />
<input style="font-size:20px;" type="text" id="gameBox" name="gameMode" placeholder="Gamemode (check key below)" required><br />
<!-- <label style="font-size:20px;">Bridges</label><br />
<input style="font-size:20px;" type="checkbox" id="bridgeBox" name="bridgeBox" value="Bridges"><br /><br /> -->
<button type="button" onclick="getGamesData()" style="font-size:20px;" class="submit" id="submitBtn">Submit</button><br /><br />
</form>
<section>
<div id="panel"></div>
<div id="link"></div>
<button type="button" onclick="hidePanel()" style="font-size:20px;" class="hide" id="submitBtn">Hide the Panel</button><br /><br />
</section>
<h2>Game Key</h2>
<p>You'll need to insert very specific characters in order to get the proper game.<br>
Please follow this list to find what you want to look up:<br>
sg = Survival Games<br>
bp = Block Party<br>
cai = Cowboys and Indians<br>
dr = Deathrun<br>
hb = The Herobrine<br>
hero = SG:Heroes<br>
hide = Hide and Seek<br>
oitc = One in the Chamber<br>
sp = Splegg<br>
spl = Sploop<br>
timv = Trouble in MineVille<br>
sky = SkyWars<br>
lab = The Lab<br>
draw = Draw It<br>
ef = Electric Floor<br>
grav = Gravity<br>
gnt = SkyGiants<br>
bd = Battery Dash<br>
mimv = Murder in MineVille</p>
<h2>Games not supported</h2>
<p>I do not have all of the games included on this site since I never managed to play all of them.<br>
If you have played one of the following, send an issue on the <a href="https://github.com/awexxx/awexxx/issues" target="_blank">GitHub Repository</a> with the game you want me to add and your IGN.<br>
Cranked<br>
Slaparoo<br>
Music Masters<br>
Resturant Rush<br>
SkyGiants: Mini<br>
Pumpkinfection<br>
Survival Games 2<br>
<strike>BedWars</strike> - This seems to be a dead endpoint as it just returns an error regardless.<br>
Survive the Night<br>
Explosive Eggs<br>
Snow Wars</p>
<div class="footer-basic">
<footer>
<div class="social"><a href="https://github.com/awexxx" target="_blank"><i class="icon ion-social-github"></i></a><a href="https://twitter.com/_awexx" target="_blank"><i class="icon ion-social-twitter"></i></a></div>
<ul class="list-inline">
<li class="list-inline-item"><a href="mailto:alex@plaguecraft.xyz">Contact</a></li>
</ul>
<p class="copyright">awexx <i class="fa fa-copyright"></i> 2021<br>
</footer>
</div>
</body>
</html>
+41 -30
View File
@@ -7,9 +7,13 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<script src="https://cdn.jsdelivr.net/gh/plaguecraft-team/pcn-web/storage/assets/js/playersBackend.js"></script>
<script src="https://cdn.jsdelivr.net/gh/plaguecraft-team/pcn-web/storage/assets/js/hidePanel.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/plaguecraft-team/pcn-web/storage/assets/css/form.css">
<link rel="stylesheet" href="assets/css/style.css"> <link rel="stylesheet" href="assets/css/style.css">
<link rel="shortcut icon" type="image/png" href="assets/img/logo.png"/> <link rel="shortcut icon" type="image/png" href="assets/img/logo.png"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta content="awex" property="og:title"> <meta content="awex" property="og:title">
<meta content="Name's awex / Alex. I'm the main web developer for the [PlagueCraft Network](https://plaguecraft.xyz), as well as one of the owners." property="og:description"> <meta content="Name's awex / Alex. I'm the main web developer for the [PlagueCraft Network](https://plaguecraft.xyz), as well as one of the owners." property="og:description">
<meta content="https://awexxx.github.io/" property="og:url"> <meta content="https://awexxx.github.io/" property="og:url">
@@ -17,20 +21,20 @@
<meta content="#9c2d1c" data-react-helmet="true" name="theme-color"> <meta content="#9c2d1c" data-react-helmet="true" name="theme-color">
</head> </head>
<body> <body>
<img src="assets/img/logo.png" class="center" length="265" /> <h3 style="padding-top:20px;">Awexx</h3>
<br> <br>
<ul id="navbar"> <ul id="navbar">
<li><a href="#">HOME</a></li> <li><a href="#">HOME</a></li>
<li><a href="about">ABOUT ME</a></li> <li><a href="https://awexxx.github.io/about">ABOUT ME</a></li>
<li><a href="contact">CONTACT</a></li> <li><a href="https://awexxx.github.io/hivemc">HIVEMC STATS LOOKUP</a></li>
</ul> </ul>
</nav> </nav>
<hr> <hr>
<section id="welcome"> <section id="welcome">
<h2>Welcome to my website!</h2> <h2>Welcome to my website!</h2>
<p>Name's awex / Alex. I'm the main web developer for the <a href="https://plaguecraft.xyz" target="_blank">PlagueCraft Network</a>, as well as one of the <a href="https://plaguecraft.xyz/team#owners" target="_blank">owners</a>.</p> <p>Name's awex / Alex. I'm the main web developer for the <a href="https://plaguecraft.xyz" target="_blank">PlagueCraft Network</a>, as well as one of the <a href="https://plaguecraft.xyz/team" target="_blank">owners</a>.</p>
</section> </section>
<!--The good stuff. My Projects! --> <!--The good stuff. My Projects! -->
@@ -38,29 +42,39 @@
<section id="pcn"> <section id="pcn">
<h1 style="padding-top:10px;">Projects</h1> <h1 style="padding-top:10px;">Projects</h1>
<hr> <hr>
<h2>The PlagueCraft Network</h2>
<p>The PlagueCraft Network was founded in 2020 and is being developed by me and a few friends as of right now.<br> We've gotten pretty close to rereleasing and allowing people back onto the server, but our work has been successful! We've created around 5 minigames, a backend api, and more in the scale of 3 weeks, we've really been working hard!</p>
</section>
<hr>
<section id="pmg">
<h2>Medal Clip Webhook</h2> <h2>Medal Clip Webhook</h2>
<p>One of my side projects is currently a <a href="https://medal.tv">Medal.tv</a> Clip Webhook, that can send webhook messages to Discord, Guilded, or even Slack!<br> <p>Being a Medal user, I've seen some Guilded or even Slack users want Medal clip sharing for their platform.<br> While using it directly from the app is easier, I decided to make an app that can send a webhook message to either platform with a clip link.<br>
<a href="https://awexxx.github.io/medal-clip-webhook/gh-pages">Check it out</a>!</p> This can be <a href="https://github.com/awexxx/medal-clip-webhook">Self Hosted</a>, but you'll need some Node.js experience most likely.</p>
</section>
<hr> <h2>PCN Player Lookup & API</h2>
<p>I am in charge of all of the updates that go to both the <a href="https://plaguecraft.xyz">PCN Website and API!</a><br>
Both of which are open source, you can check out the <a href="https://github.com/plaguecraft-team/pcn-web">website</a> and <a href="https://github.com/awexxx/pcnapi">API</a> at these links.<br>
Here's an example of what I've built!</p>
<section id="tournaments"> <form onsubmit="return false">
<h2>Minecraft Plugins</h2> <label style="font-size:20px; text-align:center;" for="fname">In-Game Name</label><br />
<p>I'm also on the side working on some Minecraft Spigot plugins, which are all open-source at <a href="https://github.com/awexxx/awexplugins">my plugin repo</a>. Check it out!</p> <input style="font-size:20px;" type="text" id="inputBox" name="playerName" onkeypress="checkBoxes()" placeholder="Put 'babyawex' here!" required><br />
</section> <hr style="width:60px";>
<div id="radioBtns">
<label style="font-size:20px; display:inline;">Economy</label><br />
<input style="font-size:20px; display:inline;" type="radio" id="econBox" name="box" value="econBox" required><br />
<label style="font-size:20px; display:inline;">Skills</label><br />
<input style="font-size:20px; display:inline;" type="radio" id="skillsBox" name="box" value="Box" required><br />
<label style="font-size:20px; display:inline;">SkyWars</label><br />
<input style="font-size:20px; display:inline;" type="radio" id="swBox" name="box" value="Box" required><br /><br />
</div>
<!-- <label style="font-size:20px;">Bridges</label><br />
<input style="font-size:20px;" type="checkbox" id="bridgeBox" name="bridgeBox" value="Bridges"><br /><br /> -->
<button type="button" onclick="checkBoxes()" style="font-size:20px"; id="submitBtn">Submit</button><br /><br />
<h2>..and more!<br> I plan to keep updating this page with my projects that are significant to me!</h2>
<hr> <div id="panel"></div>
<button type="button" onclick="hidePanel()" style="font-size:20px"; id="submitBtn">Hide the panel</button><br /><br />
</form>
<h2>Contact Me</h2>
<p>My email is alex@plaguecraft.xyz, feel free to <a href="mailto:alex@plaguecraft.xyz">email me</a> there!</p>
<section id="socials"> <section id="socials">
<h3>Follow me on my socials!</h3> <h3>Follow me on my socials!</h3>
@@ -71,7 +85,7 @@
<h2 id="twitter">Follow me on <span style="color:blue;"><a href="https://twitter.com/_awexx" target="_blank">Twitter!</a></span></h2> <h2 id="twitter">Follow me on <span style="color:blue;"><a href="https://twitter.com/_awexx" target="_blank">Twitter!</a></span></h2>
<h2 id="medal">Follow me on <span style="color:orange;"><a href="https://medal.tv/notchyy" target="_blank">Medal!</a></span></h2> <h2 id="medal">Follow me on <span style="color:orange;"><a href="https://medal.tv/itsawexx" target="_blank">Medal!</a></span></h2>
<iframe width="640" height="360" style="border: none;" src="https://medal.tv/clip/44844498/vpr34wEBY" allow="autoplay" allowfullscreen></iframe></p> <iframe width="640" height="360" style="border: none;" src="https://medal.tv/clip/44844498/vpr34wEBY" allow="autoplay" allowfullscreen></iframe></p>
@@ -81,12 +95,9 @@
<footer> <footer>
<div class="social"><a href="https://github.com/awexxx" target="_blank"><i class="icon ion-social-github"></i></a><a href="https://twitter.com/_awexx" target="_blank"><i class="icon ion-social-twitter"></i></a></div> <div class="social"><a href="https://github.com/awexxx" target="_blank"><i class="icon ion-social-github"></i></a><a href="https://twitter.com/_awexx" target="_blank"><i class="icon ion-social-twitter"></i></a></div>
<ul class="list-inline"> <ul class="list-inline">
<li class="list-inline-item"><a href="discord">Discord</a></li> <li class="list-inline-item"><a href="mailto:alex@plaguecraft.xyz">Contact</a></li>
----
<li class="list-inline-item"><a href="contact">Contact</a></li>
</ul> </ul>
<p class="copyright">awexx <i class="fa fa-copyright"></i> 2021<br> <p class="copyright">awexx <i class="fa fa-copyright"></i> 2021<br>
Email: alex@plaguecraft.xyz</p>
</footer> </footer>
</div> </div>
</body> </body>
-11
View File
@@ -1,11 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Name's awex / Alex. I'm the main web developer for the [PlagueCraft Network](https://plaguecraft.xyz), as well as one of the owners.">
<meta property="og:image" content=”assets/img/logo.png” />
<meta http-equiv="refresh" content="0;url=https://awexx.carrd.co" />
</head>
<body>
</body>
</html>
-46
View File
@@ -1,46 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>Sent! - awexx</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="shortcut icon" type="image/png" href="assets/img/logo.png"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta content="awex" property="og:title">
<meta content="Name's awex / Alex. I'm the main web developer for the [PlagueCraft Network](https://plaguecraft.xyz), as well as one of the owners." property="og:description">
<meta content="https://awexxx.github.io/sent" property="og:url">
<meta content="assets/img/logo.png" property="og:image">
<meta content="#9c2d1c" data-react-helmet="true" name="theme-color">
</head>
<body>
<img src="assets/img/logo.png" class="center" length="265" />
<br>
<ul id="navbar">
<li><a href="https://awexxx.github.io/">HOME</a></li>
<li><a href="about">ABOUT ME</a></li>
<li><a href="contact">CONTACT</a></li>
</ul>
</nav>
<hr>
<h2>Sent!</h2>
<p>Wow, that was fast, right????<br>
Your message has been recieved by me and I'll take a look at it soon :)</p>
<div class="footer-basic">
<footer>
<div class="social"><a href="https://github.com/awexxx" target="_blank"><i class="icon ion-social-github"></i></a><a href="https://twitter.com/_awexx" target="_blank"><i class="icon ion-social-twitter"></i></a></div>
<ul class="list-inline">
<li class="list-inline-item"><a href="discord">Discord</a></li>
----
<li class="list-inline-item"><a href="contact">Contact</a></li>
</ul>
<p class="copyright">awexx <i class="fa fa-copyright"></i> 2021<br>
</footer>
</div>
</body>
</html>
-53
View File
@@ -1,53 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>Server Selector Plugin - awexx</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="shortcut icon" type="image/png" href="assets/img/logo.png"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta content="awex" property="og:title">
<meta content="Name's awex / Alex. I'm the main web developer for the [PlagueCraft Network](https://plaguecraft.xyz), as well as one of the owners." property="og:description">
<meta content="https://awexxx.github.io/server-selector" property="og:url">
<meta content="assets/img/logo.png" property="og:image">
<meta content="#9c2d1c" data-react-helmet="true" name="theme-color">
</head>
<body>
<img src="assets/img/logo.png" class="center" length="265" />
<br>
<ul id="navbar">
<li><a href="https://awexxx.github.io/">HOME</a></li>
<li><a href="about">ABOUT ME</a></li>
<li><a href="contact">CONTACT</a></li>
</ul>
</nav>
<hr>
<h2>Awex's Server Selector</h2>
<p>This is my very first public Spigot plugin.<br>
I'm actively working on this plugin, so leave some feedback for me!<br>
Need help? Join the <a href="https://awexxx.github.io/discord">Discord</a> to help improve the plugin!</p>
<hr style="width:20px;">
<h3>Beta Builds</h3>
<p>There are currently <strong>one</strong> beta build.<br>
<strong>Version Number: BETA-1.1</strong></p>
<button onclick="window.location.href='https://storage.plaguecraft.xyz/plugins/serverselector-beta/serverselector-1.1-beta.jar';" class="btn"><i class="fa fa-download"></i> Download</button><br><br>
<div class="footer-basic">
<footer>
<div class="social"><a href="https://github.com/awexxx" target="_blank"><i class="icon ion-social-github"></i></a><a href="https://twitter.com/_awexx" target="_blank"><i class="icon ion-social-twitter"></i></a></div>
<ul class="list-inline">
<li class="list-inline-item"><a href="discord">Discord</a></li>
----
<li class="list-inline-item"><a href="contact">Contact</a></li>
</ul>
<p class="copyright">awexx <i class="fa fa-copyright"></i> 2021<br>
Email: alex@plaguecraft.xyz</p>
</footer>
</div>
</body>
</html>