-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.html
More file actions
88 lines (66 loc) · 2.59 KB
/
Copy pathserver.html
File metadata and controls
88 lines (66 loc) · 2.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./src/server.js" type="module"></script>
<title>MenCwaft Server Console</title>
<link rel="stylesheet" href="style.css"/>
</head>
<body>
<div class="container">
<div class="main-panel">
<div class="console" id="consoleContainer">
</div>
<div class="command-bar">
<input type="text" class="command-input" id="commandInput" placeholder="Enter command..." disabled>
<select class="player-select" id="playerSelect">
<option value="all">All Players</option>
</select>
<button class="send-btn" id="sendBtn" disabled>Send</button>
</div>
</div>
<div class="info-panel">
<h2>Server Info</h2>
<div class="info-item">
<span class="label">Server Name</span>
<span class="value" id="serverName">XXX</span>
</div>
<div class="info-item">
<span class="label">Seed</span>
<span class="value" id="seedValue">0</span>
</div>
<div class="info-item">
<span class="label">Players Online</span>
<span class="value" id="playersOnline">0</span>
</div>
<div class="upload-section">
<h3>World File</h3>
<div class="drop-zone" id="dropZone">
<button type="button" id="browseBtn" class="browse-btn">Browse Files</button>
<div id="selectedFile" class="selected-file">
No file selected
</div>
</div>
</div>
<button class="start-btn" id="startBtn">Start Server</button>
<button class="stop-btn" id="stopBtn" disabled>Stop Server</button>
<div class="autosave-section">
<span class="label">Auto Save</span>
<select id="autoSaveSelect" class="autosave-select">
<option value="none">None</option>
<option value="1">Every 1 Minute</option>
<option value="5" selected>Every 5 Minutes</option>
<option value="10">Every 10 Minutes</option>
<option value="20">Every 20 Minutes</option>
<option value="30">Every 30 Minutes</option>
</select>
</div>
<button class="save-btn" id="saveBtn" disabled>Save Server</button>
<div class="player-list" id="playerList">
<h3>Players</h3>
</div>
</div>
</div>
</body>
</html>