-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmac.html
More file actions
178 lines (153 loc) · 4.81 KB
/
mac.html
File metadata and controls
178 lines (153 loc) · 4.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MacOS Setup - Minecraft Server Tutorial</title>
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="https://i.imgur.com/2yaf2wb.png" type="image/png">
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Orbitron', sans-serif;
background-color: #111827;
color: #f9fafb;
margin: 0;
padding: 0;
}
nav {
background-color: #1f2937;
padding: 1rem 2rem;
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
color: #10b981;
text-decoration: none;
}
.nav-links a {
color: #f3f4f6;
text-decoration: none;
margin-left: 1.5rem;
transition: color 0.3s ease;
}
.nav-links a:hover {
color: #93c5fd;
}
.container {
max-width: 1000px;
margin: 2rem auto;
padding: 1rem;
}
h1 {
font-size: 2.5rem;
text-align: center;
color: #f472b6;
margin-bottom: 2rem;
}
.card {
background-color: #1e293b;
padding: 2rem;
border-radius: 0.75rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-4px);
}
.card h2 {
color: #facc15;
margin-bottom: 1rem;
}
.mac-joke {
font-style: italic;
color: #f87171;
}
.mac-explanation {
margin: 1rem 0;
color: #e5e7eb;
}
.differences-box {
background-color: #0f172a;
padding: 1.25rem;
border-left: 4px solid #38bdf8;
border-radius: 0.5rem;
margin-top: 1rem;
}
.differences-box h3 {
color: #38bdf8;
margin-bottom: 0.75rem;
}
ul {
padding-left: 1.5rem;
}
li {
margin-bottom: 0.5rem;
}
footer {
background-color: #0f172a;
color: #9ca3af;
text-align: center;
padding: 1rem;
margin-top: 3rem;
}
footer a {
color: #93c5fd;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<nav>
<div class="nav-container">
<a href="index.html" class="logo">MC Server Guide</a>
<div class="nav-links">
<a href="windows.html">Windows</a>
<a href="linux.html">Linux</a>
<a href="mac.html">MacOS</a>
<a href="notes.html">Personal Notes</a>
</div>
</div>
</nav>
<main>
<div class="container">
<h1>Setting up a Minecraft Server on MacOS</h1>
<div class="card">
<h2>🍎 About MacOS Setup</h2>
<div class="mac-info">
<p class="mac-joke">
I don't have a Mac... 😅 Gift me one!
</p>
<p class="mac-explanation">
Just kidding! The setup process is very similar to the Linux tutorial.
Follow the Linux guide above, but with these MacOS-specific changes:
</p>
</div>
<div class="differences-box">
<h3>Key Differences:</h3>
<ul>
<li>🍺 Use <code>brew install openjdk@17</code> to install Java</li>
<li>✅ Terminal commands are mostly the same</li>
<li>📁 File paths use forward slashes (e.g. <code>/Users/you/Desktop</code>)</li>
<li>🌐 Port forwarding is done through System Preferences or your router's web interface</li>
</ul>
</div>
</div>
</div>
</main>
<footer>
No Mac? No problem 😤 | Designed with love @ <a href="https://adiee.io" target="_blank">adiee.io</a><br>
Add me on Discord 👉 <a href="https://discord.com/users/555277072675766274" target="_blank">Discord</a>
</footer>
</body>
</html>