Skip to content

Commit e1a69e5

Browse files
authoredFeb 21, 2025
Add files via upload
1 parent c4e8726 commit e1a69e5

File tree

17 files changed

+2014
-0
lines changed

17 files changed

+2014
-0
lines changed
 

‎about/index.html

+165
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<title>About | 0x50714</title>
7+
<meta name="author" content="Argvchs">
8+
<meta name="description" content="">
9+
<meta name="keywords" content="">
10+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0">
11+
<link rel="icon" href="/images/avatar.png">
12+
<link rel="preconnect" href="https://s4.zstatic.net">
13+
<script src="https://s4.zstatic.net/ajax/libs/vue/3.3.7/vue.global.prod.min.js"></script>
14+
<link rel="stylesheet" href="https://s4.zstatic.net/ajax/libs/font-awesome/6.4.2/css/all.min.css">
15+
<link rel="preconnect" href="https://fonts.loli.net">
16+
<link rel="preconnect" href="https://gstatic.loli.net" crossorigin>
17+
<link rel="stylesheet"
18+
href="https://fonts.loli.net/css2?family=Fira+Code:wght@400;500;600;700&family=Lexend:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap">
19+
<script>const mixins = {}</script>
20+
<script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script>
21+
<script src="https://s4.zstatic.net/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
22+
<script
23+
src="https://s4.zstatic.net/ajax/libs/highlightjs-line-numbers.js/2.8.0/highlightjs-line-numbers.min.js"></script>
24+
<link rel="stylesheet" href="https://s4.zstatic.net/ajax/libs/highlight.js/11.9.0/styles/github.min.css">
25+
<script src="/js/lib/highlight.js"></script>
26+
<script src="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.js"></script>
27+
<script src="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/contrib/auto-render.min.js"></script>
28+
<link rel="stylesheet" href="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.css">
29+
<script src="/js/lib/math.js"></script>
30+
<script src="/js/lib/preview.js"></script>
31+
<script src="https://cdn.staticfile.org/animejs/3.2.1/anime.min.js"></script>
32+
<link rel="stylesheet" href="/css/main.css">
33+
<link rel="preconnect" href="https://static-argvchs.netlify.app">
34+
<meta name="generator" content="Hexo 7.1.1">
35+
<link rel="alternate" href="/atom.xml" title="Argvchs の小窝" type="application/atom+xml">
36+
<link rel="alternate" href="/rss2.xml" title="Argvchs の小窝" type="application/rss+xml">
37+
<link rel="stylesheet" type='text/css' href="https://cdn.jsdelivr.net/gh/devicons/devicon@latest/devicon.min.css" />
38+
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
39+
</head>
40+
41+
<body>
42+
<div id="layout">
43+
<transition name="fade">
44+
<div id="loading" v-show="loading">
45+
<div id="loading-circle">
46+
<h2>LOADING</h2>
47+
<p>Loading is too slow. Please enable caching.<br>The browser disables it by default.</p><img
48+
src="/images/loading.gif">
49+
</div>
50+
</div>
51+
</transition>
52+
<div id="menu" :class="{ hidden: hiddenMenu, 'menu-color': menuColor}">
53+
<nav id="desktop-menu"><a class="title" href="/"><span>0x50714</span> </a><a href="/"><i
54+
class="fa-solid fa-house fa-fw"></i> <span>&ensp;Home</span> </a><a href="/about"><i
55+
class="fa-solid fa-id-card fa-fw"></i> <span>&ensp;About</span> </a><a target="_blank"
56+
href="https://github.com/0x50F14"><i class="fa-brands fa-github fa-fw"></i>
57+
<span>&ensp;GitHub</span> </a></nav>
58+
<nav id="mobile-menu">
59+
<div class="title" @click="showMenuItems = !showMenuItems"><i class="fa-solid fa-bars fa-fw"></i>
60+
<span>&emsp;0x50714</span>
61+
</div>
62+
<transition name="slide">
63+
<div class="items" v-show="showMenuItems"><a href="/">
64+
<div class="item">
65+
<div style="min-width:20px;max-width:50px;width:10%"><i
66+
class="fa-solid fa-house fa-fw"></i></div>
67+
<div style="min-width:100px;max-width:150%;width:20%">Home</div>
68+
</div>
69+
</a><a href="/about">
70+
<div class="item">
71+
<div style="min-width:20px;max-width:50px;width:10%"><i
72+
class="fa-solid fa-id-card fa-fw"></i></div>
73+
<div style="min-width:100px;max-width:150%;width:20%">About</div>
74+
</div>
75+
</a><a href="https://github.com/0x50F14">
76+
<div class="item">
77+
<div style="min-width:20px;max-width:50px;width:10%"><i
78+
class="fa-brands fa-github fa-fw"></i></div>
79+
<div style="min-width:100px;max-width:150%;width:20%">GitHub</div>
80+
</div>
81+
</a></div>
82+
</transition>
83+
</nav>
84+
</div>
85+
<transition name="fade">
86+
<div id="menu-curtain" @click="showMenuItems = !showMenuItems" v-show="showMenuItems"></div>
87+
</transition>
88+
<div id="main" :class="loading ? 'into-enter-from': 'into-enter-active'">
89+
<div class="article">
90+
<div>
91+
<h1>About me</h1>
92+
</div>
93+
<div class="content" v-pre>
94+
<h1 id="hi-there">Hi there <span class="emoji" data-emoji="wave">👋</span></h1>
95+
<hr>
96+
<blockquote>
97+
<p>
98+
I'm <strong>Alice Sofia</strong>, a 22-year-old software developer with a <strong>few</strong> years of
99+
experience.<br> I've been immersed in the world of programming since I was 12, and I thrive
100+
on the challenge of crafting innovative software that pushes boundaries.
101+
</p>
102+
</blockquote>
103+
<h2 id="语言"><span class="emoji" data-emoji="bulb">💡</span> Programming Languages</h2>
104+
<ul>
105+
<li><i class="devicon-c-plain"></i> C/C++</li>
106+
<li><i class="devicon-nodejs-plain"></i></span> Node.js</li>
107+
<li><i class="devicon-lua-plain"></i></span> LUA</li>
108+
<li><i class="devicon-python-plain"></i></span> Python</li>
109+
<li><i class="devicon-bash-plain"></i></span> Bash</li>
110+
</ul>
111+
<h2 id="帐号"><span class="emoji" data-emoji="sparkles"></span> Contact</h2>
112+
<table>
113+
<colgroup>
114+
<col style="width:9%">
115+
<col style="width:90%">
116+
</colgroup>
117+
<thead>
118+
<tr class="header">
119+
<th style="text-align:center">Site</th>
120+
<th style="text-align:left">Username</th>
121+
</tr>
122+
</thead>
123+
<tbody>
124+
<tr class="odd">
125+
<td style="text-align:center">Discord</td>
126+
<td style="text-align:left"><a target="_blank" rel="noopener"
127+
href="https://discord.com/users/196830830293680128">00x50714</a>
128+
</td>
129+
</tr>
130+
<tr class="even">
131+
<td style="text-align:center">GitHub</td>
132+
<td style="text-align:left"><a target="_blank" rel="noopener"
133+
href="https://github.com/0x50F14">0x50F14</a></td>
134+
</tr>
135+
<tr class="odd">
136+
<td style="text-align:center">Twitter</td>
137+
<td style="text-align:left"><a target="_blank" rel="noopener"
138+
href="https://twitter.com/0x50F14">0x50F14</a></td>
139+
</tr>
140+
</tbody>
141+
</table>
142+
143+
<p><img src="/images/avatar2.jpeg" style="border-radius:50%;width:50%" alt="avatar"></p>
144+
</div>
145+
</div>
146+
<footer id="footer">
147+
<div id="footer-wrap">
148+
<div>&copy; 2024 Sofia <span id="footer-icon"><i class="fa-solid fa-font-awesome fa-fw"></i>
149+
</span>&commat;0x50714</div>
150+
<div>Based on the <a target="_blank" rel="noopener" href="https://hexo.io">Hexo Engine</a> &amp; <a
151+
target="_blank" rel="noopener"
152+
href="https://github.com/theme-particlex/hexo-theme-particlex">ParticleX Theme</a> &amp; <a
153+
target="_blank" rel="noopener" href="https://github.com/argvchs">Argvchs</a> blog </div>
154+
</div>
155+
</footer>
156+
</div>
157+
<transition name="fade">
158+
<div id="preview" ref="preview" v-show="previewShow"><img id="preview-content" ref="previewContent"></div>
159+
</transition>
160+
</div>
161+
<script src="/js/main.js"></script>
162+
<script>if (console.info("Welcome to 0x50714's blog!"), !window.hasOwnProperty("ontouchstart")) { let t = '<canvas id="fireworks" style="position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 32767"></canvas><script src="https://static-argvchs.netlify.app/js/fireworks.min.js"><\/script>'; document.body.append(document.createRange().createContextualFragment(t)) }</script>
163+
</body>
164+
165+
</html>

‎css/main.css

+1,154
Large diffs are not rendered by default.

‎images/avatar.png

154 KB
Loading

‎images/avatar2.jpeg

72 KB
Loading

‎images/loading.gif

38.5 KB
Loading

‎images/wallpaper.jpg

821 KB
Loading

‎index.html

+213
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<title>0x50714</title>
7+
<meta name="author" content="0x50714">
8+
<meta name="description" content="">
9+
<meta name="keywords" content="">
10+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0">
11+
<link rel="icon" href="/images/avatar.png">
12+
<link rel="preconnect" href="https://s4.zstatic.net">
13+
<script src="https://s4.zstatic.net/ajax/libs/vue/3.3.7/vue.global.prod.min.js"></script>
14+
<link rel="stylesheet" href="https://s4.zstatic.net/ajax/libs/font-awesome/6.4.2/css/all.min.css">
15+
<link rel="preconnect" href="https://fonts.loli.net">
16+
<link rel="preconnect" href="https://gstatic.loli.net" crossorigin>
17+
<link rel="stylesheet"
18+
href="https://fonts.loli.net/css2?family=Fira+Code:wght@400;500;600;700&family=Lexend:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap">
19+
<script>const mixins = {}</script>
20+
<script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script>
21+
<script src="https://s4.zstatic.net/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
22+
<script
23+
src="https://s4.zstatic.net/ajax/libs/highlightjs-line-numbers.js/2.8.0/highlightjs-line-numbers.min.js"></script>
24+
<link rel="stylesheet" href="https://s4.zstatic.net/ajax/libs/highlight.js/11.9.0/styles/github.min.css">
25+
<script src="/js/lib/highlight.js"></script>
26+
<script src="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.js"></script>
27+
<script src="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/contrib/auto-render.min.js"></script>
28+
<link rel="stylesheet" href="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.css">
29+
<script src="/js/lib/math.js"></script>
30+
<script src="/js/lib/preview.js"></script>
31+
<script src="/js/lib/home.js"></script>
32+
<script src="https://cdn.staticfile.org/animejs/3.2.1/anime.min.js"></script>
33+
<link rel="stylesheet" href="/css/main.css">
34+
<link rel="preconnect" href="https://static-argvchs.netlify.app">
35+
<meta name="generator" content="Hexo 7.1.1">
36+
<link rel="alternate" href="/atom.xml" title="0x50714" type="application/atom+xml">
37+
<link rel="alternate" href="/rss2.xml" title="Argvchs の小窝" type="application/rss+xml">
38+
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
39+
</head>
40+
41+
<body>
42+
<div id="layout">
43+
<transition name="fade">
44+
<div id="loading" v-show="loading">
45+
<div id="loading-circle">
46+
<h2>LOADING</h2>
47+
<p>Loading is too slow. Please enable caching.<br>The browser disables it by default.</p><img
48+
src="/images/loading.gif">
49+
</div>
50+
</div>
51+
</transition>
52+
<div id="menu" :class="{ hidden: hiddenMenu, 'menu-color': menuColor}">
53+
<nav id="desktop-menu"><a class="title" href="/"><span>0x50714</span> </a><a href="/"><i
54+
class="fa-solid fa-house fa-fw"></i> <span>&ensp;Home</span> </a><a href="/about"><i
55+
class="fa-solid fa-id-card fa-fw"></i> <span>&ensp;About</span> </a><a target="_blank"
56+
href="https://github.com/0x50F14"><i class="fa-brands fa-github fa-fw"></i>
57+
<span>&ensp;GitHub</span> </a></nav>
58+
<nav id="mobile-menu">
59+
<div class="title" @click="showMenuItems = !showMenuItems"><i class="fa-solid fa-bars fa-fw"></i>
60+
<span>&emsp;0x50714</span>
61+
</div>
62+
<transition name="slide">
63+
<div class="items" v-show="showMenuItems"><a href="/">
64+
<div class="item">
65+
<div style="min-width:20px;max-width:50px;width:10%"><i
66+
class="fa-solid fa-house fa-fw"></i></div>
67+
<div style="min-width:100px;max-width:150%;width:20%">Home</div>
68+
</div>
69+
</a><a href="/about">
70+
<div class="item">
71+
<div style="min-width:20px;max-width:50px;width:10%"><i
72+
class="fa-solid fa-id-card fa-fw"></i></div>
73+
<div style="min-width:100px;max-width:150%;width:20%">About</div>
74+
</div>
75+
</a><a href="https://github.com/0x50F14">
76+
<div class="item">
77+
<div style="min-width:20px;max-width:50px;width:10%"><i
78+
class="fa-brands fa-github fa-fw"></i></div>
79+
<div style="min-width:100px;max-width:150%;width:20%">GitHub</div>
80+
</div>
81+
</a></div>
82+
</transition>
83+
</nav>
84+
</div>
85+
<transition name="fade">
86+
<div id="menu-curtain" @click="showMenuItems = !showMenuItems" v-show="showMenuItems"></div>
87+
</transition>
88+
<div id="main" :class="loading ? 'into-enter-from': 'into-enter-active'">
89+
<div id="home-head">
90+
<div id="home-background" ref="homeBackground" data-images="/images/wallpaper.jpg"></div>
91+
<div id="home-info" @click="homeClick"><span class="loop"></span> <span class="loop"></span> <span
92+
class="loop"></span> <span class="loop"></span> <span class="info">
93+
<div class="wrap">
94+
<h1>0x50714</h1>
95+
<h3>Une forme de vie abstraite</h3>
96+
<h5></h5>
97+
</div>
98+
</span></div>
99+
</div>
100+
<div id="home-posts-wrap" true ref="homePostsWrap">
101+
<div id="home-posts">
102+
103+
104+
<div class="post">
105+
<h2 class="post-title">Gengar BOT</h2>
106+
<div class="category-and-date"><span class="category"><span class="icon"><i
107+
class="fa-solid fa-bookmark fa-fw"></i> </span>Personal Projects
108+
</span><span class="date"><span class="icon"><i class="fa-solid fa-calendar fa-fw"></i>
109+
</span>August 2024 </span></div>
110+
<div class="description">
111+
<div class="content" v-pre>
112+
<p style="text-align: center;">Premium Tickets & Service Team Discord Bot</p>
113+
</div>
114+
</div>
115+
<div class="post-tags" style="text-align: center;"><span class="icon"><i
116+
class="fa-solid fa-tags fa-fw"></i> </span><span class="tag"
117+
style="color:#ff7d73">Personal Projects</span><span class="tag"
118+
style="color:#7289da">Discord</span><span class="tag"
119+
style="color:#ffee00">Javascript</span></div>
120+
<a class="go-post">Coming soon</a>
121+
</div>
122+
123+
<div class="post"><a href="/personal-projects/SSMP/">
124+
<h2 class="post-title">Minecraft Server BOT</h2>
125+
</a>
126+
<div class="category-and-date"><span class="category"><span class="icon"><i
127+
class="fa-solid fa-bookmark fa-fw"></i> </span>Minecraft
128+
</span><span class="date"><span class="icon"><i class="fa-solid fa-calendar fa-fw"></i>
129+
</span>December 2024</span></div>
130+
<div class="description">
131+
<div class="content" v-pre>
132+
<p style="text-align: center;">A discord bot for an smp minecraft server, with multilingual functions.</p>
133+
<p style="text-align: center;">This bot offers commands for managing a Discord guild for a Minecraft server, user and administrator tasks, as well as language customization.</p>
134+
</div>
135+
</div>
136+
<div class="post-tags" style="text-align: center;"><span class="icon"><i
137+
class="fa-solid fa-tags fa-fw"></i> </span><span class="tag"
138+
style="color:#1cd400">Minecraft</span><span class="tag"
139+
style="color:#7289da">Discord</span><span class="tag"
140+
style="color:#ffee00">Javascript</span></div>
141+
<a href="/personal-projects/MinecraftServerBot/" class="go-post">View more</a>
142+
</div>
143+
144+
<div class="post"><a href="/personal-projects/SSMP/">
145+
<h2 class="post-title">Sussurros SMP</h2>
146+
</a>
147+
<div class="category-and-date"><span class="category"><span class="icon"><i
148+
class="fa-solid fa-bookmark fa-fw"></i> </span>Personal Projects
149+
</span><span class="date"><span class="icon"><i class="fa-solid fa-calendar fa-fw"></i>
150+
</span>2024/4/9 - 2024/11/24</span></div>
151+
<div class="description">
152+
<div class="content" v-pre>
153+
<p style="text-align: center;">A Minecraft SMP (Survival Multiplayer) server with mods
154+
inspired by projects like QSMP</p>
155+
</div>
156+
</div>
157+
<div class="post-tags" style="text-align: center;"><span class="icon"><i
158+
class="fa-solid fa-tags fa-fw"></i> </span><span class="tag"
159+
style="color:#ff7d73">Personal Projects</span><span class="tag"
160+
style="color:#1cd400">Minecraft</span><span class="tag"
161+
style="color:#ffee00">Javascript</span></div>
162+
<a href="/personal-projects/SSMP/" class="go-post">View more</a>
163+
</div>
164+
165+
166+
</div>
167+
<div id="home-card">
168+
<div id="card-style">
169+
<div id="card-div">
170+
<div class="avatar"><img src="/images/avatar2.jpeg" alt="avatar"></div>
171+
<div class="name">0x50714</div>
172+
<div class="description">
173+
<p>Une forme de vie abstraite</p>
174+
</div>
175+
<div class="icon-links"><span class="icon-link"><a target="_blank" rel="noopener"
176+
href="https://github.com/0x50F14"><i class="fa-brands fa-github fa-fw"></i>
177+
</a></span><span class="icon-link"><a target="_blank" rel="noopener"
178+
href="https://medium.com/@0x50714"><i
179+
class="fa-brands fa-medium fa-fw "></i> </a></span></div>
180+
<div class="friend-links">
181+
<div class="friend-link"><a target="_blank" rel="noopener" href="/about/">About</a>
182+
</div>
183+
<!--<div class="friend-link"><a target="_blank" rel="noopener"
184+
href="">Link 2</a></div>
185+
<div class="friend-link"><a target="_blank" rel="noopener"
186+
href="">Link 3</a></div>
187+
<div class="friend-link"><a target="_blank" rel="noopener"
188+
href="">Link 4</a></div>-->
189+
</div>
190+
</div>
191+
</div>
192+
</div>
193+
</div>
194+
<footer id="footer">
195+
<div id="footer-wrap">
196+
<div>&copy; 2024 Sofia <span id="footer-icon"><i class="fa-solid fa-font-awesome fa-fw"></i>
197+
</span>&commat;0x50714</div>
198+
<div>Based on the <a target="_blank" rel="noopener" href="https://hexo.io">Hexo Engine</a> &amp; <a
199+
target="_blank" rel="noopener"
200+
href="https://github.com/theme-particlex/hexo-theme-particlex">ParticleX Theme</a> &amp; <a
201+
target="_blank" rel="noopener" href="https://github.com/argvchs">Argvchs</a> blog </div>
202+
</div>
203+
</footer>
204+
</div>
205+
<transition name="fade">
206+
<div id="preview" ref="preview" v-show="previewShow"><img id="preview-content" ref="previewContent"></div>
207+
</transition>
208+
</div>
209+
<script src="/js/main.js"></script>
210+
<script>if (console.info("Welcome to 0x50714's blog!"), !window.hasOwnProperty("ontouchstart")) { let t = '<canvas id="fireworks" style="position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 32767"></canvas><script src="https://static-argvchs.netlify.app/js/fireworks.min.js"><\/script>'; document.body.append(document.createRange().createContextualFragment(t)) }</script>
211+
</body>
212+
213+
</html>

‎js/lib/crypto.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎js/lib/highlight.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎js/lib/home.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎js/lib/math.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎js/lib/preview.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎js/lib/search.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎js/main.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<title>MinecraftServerBot | 0x50714</title>
7+
<meta name="author" content="Argvchs">
8+
<meta name="description" content="">
9+
<meta name="keywords" content="">
10+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0">
11+
<link rel="icon" href="/images/avatar.png">
12+
<link rel="preconnect" href="https://s4.zstatic.net">
13+
<script src="https://s4.zstatic.net/ajax/libs/vue/3.3.7/vue.global.prod.min.js"></script>
14+
<link rel="stylesheet" href="https://s4.zstatic.net/ajax/libs/font-awesome/6.4.2/css/all.min.css">
15+
<link rel="preconnect" href="https://fonts.loli.net">
16+
<link rel="preconnect" href="https://gstatic.loli.net" crossorigin>
17+
<link rel="stylesheet"
18+
href="https://fonts.loli.net/css2?family=Fira+Code:wght@400;500;600;700&family=Lexend:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap">
19+
<script>const mixins = {}</script>
20+
<script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script>
21+
<script src="https://s4.zstatic.net/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
22+
<script
23+
src="https://s4.zstatic.net/ajax/libs/highlightjs-line-numbers.js/2.8.0/highlightjs-line-numbers.min.js"></script>
24+
<link rel="stylesheet" href="https://s4.zstatic.net/ajax/libs/highlight.js/11.9.0/styles/github.min.css">
25+
<script src="/js/lib/highlight.js"></script>
26+
<script src="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.js"></script>
27+
<script src="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/contrib/auto-render.min.js"></script>
28+
<link rel="stylesheet" href="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.css">
29+
<script src="/js/lib/math.js"></script>
30+
<script src="/js/lib/preview.js"></script>
31+
<script src="https://cdn.staticfile.org/animejs/3.2.1/anime.min.js"></script>
32+
<link rel="stylesheet" href="/css/main.css">
33+
<link rel="preconnect" href="https://static-argvchs.netlify.app">
34+
<meta name="generator" content="Hexo 7.1.1">
35+
<link rel="alternate" href="/atom.xml" title="Argvchs の小窝" type="application/atom+xml">
36+
<link rel="alternate" href="/rss2.xml" title="Argvchs の小窝" type="application/rss+xml">
37+
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
38+
</head>
39+
40+
<body>
41+
<div id="layout">
42+
<transition name="fade">
43+
<div id="loading" v-show="loading">
44+
<div id="loading-circle">
45+
<h2>LOADING</h2>
46+
<p>Loading is too slow. Please enable caching.<br>The browser disables it by default.</p><img
47+
src="/images/loading.gif">
48+
</div>
49+
</div>
50+
</transition>
51+
<div id="menu" :class="{ hidden: hiddenMenu, 'menu-color': menuColor}">
52+
<nav id="desktop-menu"><a class="title" href="/"><span>0x50714</span> </a><a href="/"><i
53+
class="fa-solid fa-house fa-fw"></i> <span>&ensp;Home</span> </a><a href="/about"><i
54+
class="fa-solid fa-id-card fa-fw"></i> <span>&ensp;About</span> </a><a target="_blank"
55+
href="https://github.com/0x50F14"><i class="fa-brands fa-github fa-fw"></i>
56+
<span>&ensp;GitHub</span> </a></nav>
57+
<nav id="mobile-menu">
58+
<div class="title" @click="showMenuItems = !showMenuItems"><i class="fa-solid fa-bars fa-fw"></i>
59+
<span>&emsp;0x50714</span>
60+
</div>
61+
<transition name="slide">
62+
<div class="items" v-show="showMenuItems"><a href="/">
63+
<div class="item">
64+
<div style="min-width:20px;max-width:50px;width:10%"><i
65+
class="fa-solid fa-house fa-fw"></i></div>
66+
<div style="min-width:100px;max-width:150%;width:20%">Home</div>
67+
</div>
68+
</a><a href="/about">
69+
<div class="item">
70+
<div style="min-width:20px;max-width:50px;width:10%"><i
71+
class="fa-solid fa-id-card fa-fw"></i></div>
72+
<div style="min-width:100px;max-width:150%;width:20%">About</div>
73+
</div>
74+
</a><a href="https://github.com/0x50F14">
75+
<div class="item">
76+
<div style="min-width:20px;max-width:50px;width:10%"><i
77+
class="fa-brands fa-github fa-fw"></i></div>
78+
<div style="min-width:100px;max-width:150%;width:20%">GitHub</div>
79+
</div>
80+
</a></div>
81+
</transition>
82+
</nav>
83+
</div>
84+
<transition name="fade">
85+
<div id="menu-curtain" @click="showMenuItems = !showMenuItems" v-show="showMenuItems"></div>
86+
</transition>
87+
<div id="main" :class="loading ? 'into-enter-from': 'into-enter-active'">
88+
<div class="article">
89+
<div>
90+
<h1>Minecraft Server - Multipurpose Discord Bot</h1>
91+
</div>
92+
<div class="info"><span class="date"><span class="icon"><i class="fa-solid fa-calendar fa-fw"></i>
93+
</span>2024-2025</span><span class="category"><span class="icon"><i
94+
class="fa-solid fa-bookmark fa-fw"></i> </span>Personal Projects</span><span
95+
class="tags"><span class="icon"><i class="fa-solid fa-tags fa-fw"></i> </span><span
96+
class="tag">Javascript, Minecraft</span></div>
97+
<div class="content" v-pre>
98+
<h1 id="User Commands">User Commands</h1>
99+
<p>This bot offers commands for managing a Discord guild for a Minecraft server, user and administrative tasks, as well as language customization. Below are all the available commands and their descriptions.</p>
100+
101+
<h2>User Commands</h2>
102+
<h3>/status</h3>
103+
<p>Displays the current status of the Minecraft server, including whether it is online or offline and the list of online players.</p>
104+
<h3>/report</h3>
105+
<p>Displays a summary of the status of tasks for all users, showing who has or has not completed the tasks.</p>
106+
<h3>/setlanguage</h3>
107+
<p>Allows the user to set the language that the bot should use with them.</p>
108+
109+
<h2>Server Commands</h2>
110+
<h3>/announce</h3>
111+
<p>Sends an announcement to the server, with support for images/videos and embed format.</p>
112+
113+
<h2>Administrator Commands</h2>
114+
<h3>/marktask</h3>
115+
<p>Marks the status of a task as completed or not completed for the user.</p>
116+
<h3>/admintask</h3>
117+
<p>Allows marking the status of tasks for a specific user.</p>
118+
<h3>/userinfo</h3>
119+
<p>Displays detailed information about a user, including nickname, date of joining the server, and messages sent.</p>
120+
<h3>/adminreport</h3>
121+
<p>Displays a status report on all users' tasks for administrators.</p>
122+
123+
<h2>Multilingual Support</h2>
124+
<p>This bot offers multilingual support, allowing users to choose the language in which they interact with the bot.</p>
125+
<h3>How to change the language</h3>
126+
<p>The user can change the language using the /setlanguage command. Once set, the bot will use the chosen language for all future interactions.</p>
127+
128+
<h3>Languages Supported</h3>
129+
<ul>
130+
<li><strong>English</strong> (`en`)</li>
131+
<li><strong>Portuguese</strong> (`pt`)</li>
132+
<li><strong>Spanish</strong> (`es`)</li>
133+
<li><strong>French</strong> (`fr`)</li>
134+
</ul>
135+
136+
<p>If the user is already using the desired language, the bot will notify them that no change was made.</p>
137+
138+
<h3>Functionality</h3>
139+
<p>After setting the language, all the bot's messages and responses will be adjusted accordingly. This includes error messages, confirmations, and interaction commands such as /status, /report, and other administrator commands.</p>
140+
141+
<h3>How the translation works</h3>
142+
<p>Translations are managed using JSON files for each language (e.g., en.json, pt.json, fr.json). Each key corresponds to a message that the bot can send. The translation system is dynamic and can be easily expanded to support new languages.</p>
143+
<p>If you would like to contribute improvements to the translations or add a new language, feel free to submit a pull request!</p>
144+
145+
<h2>How to Install and Run this Bot</h2>
146+
<h3>Prerequisites</h3>
147+
<ul>
148+
<li><a href="https://nodejs.org/">Node.js</a> installed</li>
149+
<li><a href="https://www.npmjs.com/">npm</a> installed (comes with Node.js)</li>
150+
<li><a href="https://github.com/0x50F14/MinecraftServerBot">src</a> installed</li>
151+
</ul>
152+
153+
154+
155+
</div>
156+
<div id="comment">
157+
<div id="giscus-container" class="giscus"></div>
158+
</div>
159+
</div>
160+
<footer id="footer">
161+
<div id="footer-wrap">
162+
<div>&copy; 2024 Sofia <span id="footer-icon"><i class="fa-solid fa-font-awesome fa-fw"></i>
163+
</span>&commat;0x50714</div>
164+
<div>Based on the <a target="_blank" rel="noopener" href="https://hexo.io">Hexo Engine</a> &amp; <a
165+
target="_blank" rel="noopener"
166+
href="https://github.com/theme-particlex/hexo-theme-particlex">ParticleX Theme</a> &amp; <a
167+
target="_blank" rel="noopener" href="https://github.com/argvchs">Argvchs</a> blog </div>
168+
</div>
169+
</footer>
170+
</div>
171+
<transition name="fade">
172+
<div id="preview" ref="preview" v-show="previewShow"><img id="preview-content" ref="previewContent"></div>
173+
</transition>
174+
</div>
175+
<script src="/js/main.js"></script>
176+
<script>if (console.info("Welcome to 0x50714' blog!"), !window.hasOwnProperty("ontouchstart")) { let t = '<canvas id="fireworks" style="position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 32767"></canvas><script src="https://static-argvchs.netlify.app/js/fireworks.min.js"><\/script>'; document.body.append(document.createRange().createContextualFragment(t)) }</script>
177+
</body>
178+
179+
</html>

‎personal-projects/SSMP/index.html

+296
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,296 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<title>Sussurros SMP | 0x50714</title>
7+
<meta name="author" content="Argvchs">
8+
<meta name="description" content="">
9+
<meta name="keywords" content="">
10+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0">
11+
<link rel="icon" href="/images/avatar.png">
12+
<link rel="preconnect" href="https://s4.zstatic.net">
13+
<script src="https://s4.zstatic.net/ajax/libs/vue/3.3.7/vue.global.prod.min.js"></script>
14+
<link rel="stylesheet" href="https://s4.zstatic.net/ajax/libs/font-awesome/6.4.2/css/all.min.css">
15+
<link rel="preconnect" href="https://fonts.loli.net">
16+
<link rel="preconnect" href="https://gstatic.loli.net" crossorigin>
17+
<link rel="stylesheet"
18+
href="https://fonts.loli.net/css2?family=Fira+Code:wght@400;500;600;700&family=Lexend:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap">
19+
<script>const mixins = {}</script>
20+
<script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script>
21+
<script src="https://s4.zstatic.net/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
22+
<script
23+
src="https://s4.zstatic.net/ajax/libs/highlightjs-line-numbers.js/2.8.0/highlightjs-line-numbers.min.js"></script>
24+
<link rel="stylesheet" href="https://s4.zstatic.net/ajax/libs/highlight.js/11.9.0/styles/github.min.css">
25+
<script src="/js/lib/highlight.js"></script>
26+
<script src="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.js"></script>
27+
<script src="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/contrib/auto-render.min.js"></script>
28+
<link rel="stylesheet" href="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.css">
29+
<script src="/js/lib/math.js"></script>
30+
<script src="/js/lib/preview.js"></script>
31+
<script src="https://cdn.staticfile.org/animejs/3.2.1/anime.min.js"></script>
32+
<link rel="stylesheet" href="/css/main.css">
33+
<link rel="preconnect" href="https://static-argvchs.netlify.app">
34+
<meta name="generator" content="Hexo 7.1.1">
35+
<link rel="alternate" href="/atom.xml" title="Argvchs の小窝" type="application/atom+xml">
36+
<link rel="alternate" href="/rss2.xml" title="Argvchs の小窝" type="application/rss+xml">
37+
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
38+
</head>
39+
40+
<body>
41+
<div id="layout">
42+
<transition name="fade">
43+
<div id="loading" v-show="loading">
44+
<div id="loading-circle">
45+
<h2>LOADING</h2>
46+
<p>Loading is too slow. Please enable caching.<br>The browser disables it by default.</p><img
47+
src="/images/loading.gif">
48+
</div>
49+
</div>
50+
</transition>
51+
<div id="menu" :class="{ hidden: hiddenMenu, 'menu-color': menuColor}">
52+
<nav id="desktop-menu"><a class="title" href="/"><span>0x50714</span> </a><a href="/"><i
53+
class="fa-solid fa-house fa-fw"></i> <span>&ensp;Home</span> </a><a href="/about"><i
54+
class="fa-solid fa-id-card fa-fw"></i> <span>&ensp;About</span> </a><a target="_blank"
55+
href="https://github.com/0x50F14"><i class="fa-brands fa-github fa-fw"></i>
56+
<span>&ensp;GitHub</span> </a></nav>
57+
<nav id="mobile-menu">
58+
<div class="title" @click="showMenuItems = !showMenuItems"><i class="fa-solid fa-bars fa-fw"></i>
59+
<span>&emsp;0x50714</span>
60+
</div>
61+
<transition name="slide">
62+
<div class="items" v-show="showMenuItems"><a href="/">
63+
<div class="item">
64+
<div style="min-width:20px;max-width:50px;width:10%"><i
65+
class="fa-solid fa-house fa-fw"></i></div>
66+
<div style="min-width:100px;max-width:150%;width:20%">Home</div>
67+
</div>
68+
</a><a href="/about">
69+
<div class="item">
70+
<div style="min-width:20px;max-width:50px;width:10%"><i
71+
class="fa-solid fa-id-card fa-fw"></i></div>
72+
<div style="min-width:100px;max-width:150%;width:20%">About</div>
73+
</div>
74+
</a><a href="https://github.com/0x50F14">
75+
<div class="item">
76+
<div style="min-width:20px;max-width:50px;width:10%"><i
77+
class="fa-brands fa-github fa-fw"></i></div>
78+
<div style="min-width:100px;max-width:150%;width:20%">GitHub</div>
79+
</div>
80+
</a></div>
81+
</transition>
82+
</nav>
83+
</div>
84+
<transition name="fade">
85+
<div id="menu-curtain" @click="showMenuItems = !showMenuItems" v-show="showMenuItems"></div>
86+
</transition>
87+
<div id="main" :class="loading ? 'into-enter-from': 'into-enter-active'">
88+
<div class="article">
89+
<div>
90+
<h1>Sussurros SMP</h1>
91+
</div>
92+
<div class="info"><span class="date"><span class="icon"><i class="fa-solid fa-calendar fa-fw"></i>
93+
</span>2024/4/9 - 2024/11/24</span><span class="category"><span class="icon"><i
94+
class="fa-solid fa-bookmark fa-fw"></i> </span>Personal Projects</span><span
95+
class="tags"><span class="icon"><i class="fa-solid fa-tags fa-fw"></i> </span><span
96+
class="tag">Javascript, Minecraft</span></div>
97+
<div class="content" v-pre>
98+
<h1 id="What is Sussurros SMP?">What is Sussurros SMP?</h1>
99+
<p><strong>Sussurros SMP</strong> is a Minecraft multiplayer server, with the intention of generating and promoting interaction between a closed group of people.<br>
100+
The word <code>Sussurros</code> means whispers in Portuguese, the main language of the project.<br>
101+
The server has a main focus on roleplay, and tells a story through the <i>main lore</i> while allowing players to develop their own individual lores.</p>
102+
<h1 id="What is this doing here?">What is this doing here?</h1>
103+
<p>The project is closed to a few people - mostly within a group of friends - but is maintained by a small staff team. I am the main developer of the server, responsible for organizing the server hosting and maintaining a repository of scripts, which use the <a target="_blank" href="https://kubejs.com/">kubejs</a> mod, that bring life to the roleplays that happen on the server and help with some more specific things.</p>
104+
<p>At the moment the repository is not a big deal, it is formed mostly by really <i>simple code</i>, but it is in my plans to dare to create more ingenious things.</p>
105+
<p>It is also important to emphasize that, although all the codes are mine, the rest of the staff team helped me with 3D models and sprites for the items.</p>
106+
<h2 id="t3-struct">Example of one of my codes used on the server</h2>
107+
<p>Here is an example of a routine script running a “clearlag”, checking entities every X time and deleting them from the world. You can find it in the <a target="_blank" href="https://github.com/0x50F14/whispersjs">github repository</a> in the file <code>/startup_scripts/clearLag/clearlag.js</code>.</p>
108+
<pre class="js"><code>// Interval for each cleanup and time until the cleaning occurs
109+
let Interval = 15;
110+
let cleaningTime = 1200 * Interval;
111+
112+
// Cleaning timer setter
113+
let timerCheck = 1200;
114+
115+
// Notification times, times the user want to get the message how many minutes are left until Clearlag clears
116+
const notifications = [5, 1];
117+
// Second notification times, times showing user how many seconds are left until item clear
118+
const second_notifications = [5, 4, 3, 2, 1];
119+
120+
let round = 0;
121+
let lastClearLagResult = Utils.newList();
122+
let lastTotalClearLagResult = Utils.newCountingMap();
123+
124+
// List of item IDs that shouldn't be deleted
125+
let blacklist = [
126+
"minecraft:nether_star",
127+
"kubejs:neeko_spear",
128+
"kubejs:nana_spear",
129+
"kubejs:zin_spear",
130+
"kubejs:void_lightning",
131+
"kubejs:demon_sword",
132+
"kubejs:clown_stick",
133+
"kubejs:nana_sword",
134+
"kubejs:dionisio_sword",
135+
"kubejs:nana_staff",
136+
"kubejs:shadowfell",
137+
"kubejs:spiritual_scythe",
138+
"kubejs:kama",
139+
"kubejs:nana_scythe",
140+
"kubejs:the_end",
141+
"kubejs:nogitsune",
142+
"kubejs:brasa_katana",
143+
"kubejs:dentellion_katana",
144+
"kubejs:nana_hammer",
145+
"kubejs:dionisio_hammer",
146+
"kubejs:pumpkin_scythe",
147+
"kubejs:valhakyra",
148+
"kubejs:miguel_sword",
149+
"kubejs:old_cernunnos",
150+
"kubejs:new_cernunnos",
151+
"kubejs:nana_greatsword",
152+
"kubejs:dionisio_greatsword",
153+
"kubejs:zin_dagger",
154+
"kubejs:matts_dagger",
155+
"kubejs:azeroth_dagger",
156+
"kubejs:knife",
157+
"kubejs:dagger",
158+
"kubejs:ninguem_punch",
159+
"kubejs:dentellion_greataxe",
160+
"kubejs:neeko_greatsword",
161+
];
162+
163+
let timeSchedule = (server) => {
164+
server.tell([
165+
Text.green("[SSMP - ClearLag]"),
166+
" Clearlag will start in ",
167+
`${Interval}`,
168+
" minutes!",
169+
]);
170+
171+
server.scheduleInTicks(timerCheck, (callback) => {
172+
// Calculate the currenttime with the delay for every schedule multiplied with the current count of repeated rounds
173+
let currentTime = timerCheck * ++round;
174+
// For notification propose: Get how many entities of type item are on the server
175+
let nextItems = server
176+
.getEntities()
177+
.filter((entity) => entity.type.equals("minecraft:item")).length;
178+
179+
// The time left until cleaning of items
180+
let minutesLeft = (cleaningTime - currentTime) / 1200;
181+
182+
// Delete every entity of type item on the server (Except Blacklist) and reschedule for the next item deletion
183+
if (cleaningTime <= currentTime) {
184+
clearLag(server, true);
185+
}
186+
187+
// Send notifications for every time given in the notifications array
188+
if (notifications.includes(minutesLeft))
189+
server.tell([
190+
Text.green("[SSMP - ClearLag]"),
191+
" Removing ",
192+
`${nextItems}`,
193+
" items in ",
194+
`${minutesLeft}`,
195+
" minutes!",
196+
]);
197+
198+
if (minutesLeft === 1) {
199+
second_notifications.forEach((seconds) => {
200+
let delayTicks = (minutesLeft * 60 - seconds) * 20; // Converts seconds to ticks
201+
server.scheduleInTicks(delayTicks, (secondsCallback) => {
202+
server.tell([
203+
Text.green("[SSMP - ClearLag]"),
204+
" Removing ",
205+
`${nextItems}`,
206+
" items in ",
207+
`${seconds}`,
208+
" seconds!",
209+
]);
210+
});
211+
});
212+
}
213+
callback.reschedule();
214+
});
215+
};
216+
217+
// Nothing to do with the timer
218+
219+
ServerEvents.loaded((event) => {
220+
timeSchedule(event.server);
221+
});
222+
223+
let clearLag = (server, reset) => {
224+
let itemList = server
225+
.getEntities()
226+
.filter((entity) => entity.type.equals("minecraft:item"));
227+
let lastResult = Utils.newCountingMap();
228+
229+
lastClearLagResult.clear();
230+
lastTotalClearLagResult.clear();
231+
232+
itemList.forEach((items) => {
233+
if (!blacklist.includes(items.getNbt().Item.id)) {
234+
var key = items.name;
235+
lastResult.add(key, items.item.count);
236+
lastTotalClearLagResult.add(key, items.item.count);
237+
items.kill();
238+
}
239+
});
240+
241+
lastClearLagResult.addAll(lastResult.entries);
242+
lastClearLagResult.sort(null);
243+
244+
server.tell([
245+
Text.green("[SSMP - ClearLag] "),
246+
`${lastTotalClearLagResult.totalCount}`,
247+
" Removed items.",
248+
]);
249+
server.tell([
250+
Text.green("[SSMP - ClearLag]"),
251+
" Clearlag will start in ",
252+
`${Interval}`,
253+
" minutes!",
254+
]);
255+
if (reset) round = 0;
256+
};
257+
258+
ServerEvents.commandRegistry((event) => {
259+
const { commands: Commands, arguments: Arguments } = event;
260+
event.register(
261+
Commands.literal("clearlag")
262+
.requires((s) => s.hasPermission(4))
263+
.then(
264+
Commands.literal("clear").executes((ctx) => {
265+
let server = ctx.source.getServer();
266+
clearLag(server, false);
267+
return 1;
268+
})
269+
)
270+
);
271+
});</code></pre>
272+
</div>
273+
<div id="comment">
274+
<div id="giscus-container" class="giscus"></div>
275+
</div>
276+
</div>
277+
<footer id="footer">
278+
<div id="footer-wrap">
279+
<div>&copy; 2024 Sofia <span id="footer-icon"><i class="fa-solid fa-font-awesome fa-fw"></i>
280+
</span>&commat;0x50714</div>
281+
<div>Based on the <a target="_blank" rel="noopener" href="https://hexo.io">Hexo Engine</a> &amp; <a
282+
target="_blank" rel="noopener"
283+
href="https://github.com/theme-particlex/hexo-theme-particlex">ParticleX Theme</a> &amp; <a
284+
target="_blank" rel="noopener" href="https://github.com/argvchs">Argvchs</a> blog </div>
285+
</div>
286+
</footer>
287+
</div>
288+
<transition name="fade">
289+
<div id="preview" ref="preview" v-show="previewShow"><img id="preview-content" ref="previewContent"></div>
290+
</transition>
291+
</div>
292+
<script src="/js/main.js"></script>
293+
<script>if (console.info("Welcome to 0x50714' blog!"), !window.hasOwnProperty("ontouchstart")) { let t = '<canvas id="fireworks" style="position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 32767"></canvas><script src="https://static-argvchs.netlify.app/js/fireworks.min.js"><\/script>'; document.body.append(document.createRange().createContextualFragment(t)) }</script>
294+
</body>
295+
296+
</html>

‎screenshots/homepage.png

979 KB
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.