Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
peter81745 authored Apr 5, 2023
1 parent cc8404b commit a7e45f3
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="container-fluid">
<div class="row">
<h1>PeterBot by:</h1>
<p>CuzImPeter aka. BimEinPeter</p>
<p>CuzImPeter</p>
</div>
<div class="col-12">
<div class="card">
Expand All @@ -26,7 +26,7 @@ <h5 class="card-title">Github</h5>
</div>
</div>
</div>
<span>Version: 5.1.1-alpha03</span>
<span>Version: 5.1.2-alpha01</span>
</div>
</body>
</html>
5 changes: 3 additions & 2 deletions bm.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
<div class="container">
<h1 class="text-white">BotManager</h1><br>
<button class="btn btn-primary" onclick="refreshLog();">Refresh Log</button>
<div class="col-12" id="log">
</div>
<div class="container-fluid" id="log">
Loading...
</div>
</div>

<script>
function refreshLog() {
window.BMWindow.refresh();
Expand Down
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
<head>
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/custom.css">
<title>PeterBot V5.1.1-alpha03</title>
<title>PeterBot V5.1.2-alpha01</title>
</head>
<body style="background-color: #212121; color: white"><div class="se-pre-con"></div>
<div class="container">
<br>
<h2>PeterBot V5.1.1-alpha03 - Minecraft Bot</h2>
<h2>PeterBot V5.1.2-alpha01 - Minecraft Bot</h2>
<p id="pb"><i>PeterBot still can have some bugs, if you find a bug contact me on my discord server</i></p>
<script>
async function checkPBVersion() {
const url = 'https://raw.githubusercontent.com/peter12908/PeterBOT/master/version.txt'
const response = await fetch(url);
const data = await response.text();
if (!data.startsWith("5.1.1-alpha03")) {
if (!data.startsWith("5.1.2-alpha01")) {
document.getElementById("pb").innerHTML = 'A newer Version of PeterBot is available. Download it at https://github.com/peter12908/PeterBOT';
}
}
Expand Down Expand Up @@ -75,6 +75,7 @@ <h2>PeterBot V5.1.1-alpha03 - Minecraft Bot</h2>
<option value="1.19">1.19</option>
<option value="1.19.1">1.19.1</option>
<option value="1.19.2">1.19.2</option>
<option value="1.19.3">1.19.3</option>
</select>
</div>
<div class="col-6 mb-3">
Expand All @@ -85,9 +86,8 @@ <h2>PeterBot V5.1.1-alpha03 - Minecraft Bot</h2>
<label for="onlinemode" class="form-label">Premium/Cracked Bots</label>
<select class="form-select" id="onlinemode" aria-label="">
<option value="cracked" selected>Cracked (requires only names)</option>
<option value="mojang">Mojang (requires email:password)</option>
<option value="microsoft">Microsoft (requires email:password)</option>
<option value="thealtening">TheAltening (requires only alt token) [authserver]</option>
<option value="thealtening">TheAltening (requires only alt token) [untested]</option>
</select>
</div>
<div class="col-3 mb-3">
Expand Down Expand Up @@ -161,7 +161,7 @@ <h2>PeterBot V5.1.1-alpha03 - Minecraft Bot</h2>
<script type="text/javascript" src="node_modules/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="assets/js/bootstrap.min.js"></script>
<script>
window.$(".se-pre-con").delay(1250).fadeOut("slow");
window.$(".se-pre-con").delay(1000).fadeOut("slow");
</script>
</body>
</html>
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "PeterBot",
"version": "5.1.1-alpha03",
"version": "5.1.2-alpha01",
"description": "a minecraft bot",
"main": "index.js",
"bin": "bin.js",
Expand All @@ -9,7 +9,7 @@
"electron-packager": "^17.1.1",
"jquery": "^3.6.3",
"line-reader": "^0.4.0",
"mineflayer": "^4.7.0",
"mineflayer": "^4.8.1",
"mineflayer-navigate-promise": "^0.2.0",
"proxy-agent": "^5.0.0",
"socks": "^2.6.2",
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.1.1-alpha03
5.1.2-alpha01

0 comments on commit a7e45f3

Please sign in to comment.