-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjson_command_maker.html
85 lines (85 loc) · 4.15 KB
/
json_command_maker.html
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
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<script src="json_command_maker.js"></script>
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="json_command_maker.css">
<title>Json指令生成器(基岩版) - 冰川麥塊站</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="冰川, 冰川MCC">
<meta name="description" content="冰川麥塊站">
<meta name="author" content="YT冰川">
</head>
<body>
<header>
<img src="title.png" width="100%">
</header>
<anv>
<ul class="list">
<li><a href="index.html" class="list-link" title="網站首頁">首頁</a></li>
<li><a href="error.html" class="list-link" title="想學指令?">指令教學</a></li>
<li><a href="command_maker.html" class="list-link" title="幫你快速完成複雜指令">指令生成器</a></li>
<li><a href="error.html" class="list-link" title="用模組添加遊戲的樂趣吧">自製模組載點</a></li>
</ul>
</anv>
<section>
<div class="form">
<h1 style="text-align:center;" class="title_text_cmd">Json訊息指令(titleraw/tellraw)</h1>
<div class="command">
<p style="font-size: 20px; margin: 10px; font-weight: bold;">預覽:</p>
<p class="cmd_text" id="cmd_text2" >指令預覽處</p>
</div>
<br>
<div class="command">
<p style="font-size: 20px; margin: 10px; font-weight: bold;">指令:</p>
<p class="cmd_text" id="cmd_text" >{"rawtext":[]}</p>
</div>
<br>
<form class="sign_up" method="get">
<div class="input_box" style="float: left;">
<h2 class="sign_text">添加文字(支援\n和§): </h2>
<input class="input" type="text" id="input_text">
<strong><input type="button" value="添加" class="buttom" onclick="TextButton()"></strong>
</div>
<div class="input_box2" style="float: left;">
<h2 class="sign_text">添加記分板(目標實體,記分板): </h2>
<input class="input" type="text" id="input_scores">
<input class="input" type="text" id="input_scores2">
<strong><input type="button" value="添加" class="buttom" onclick="ScoresButton()"></strong>
</div>
<div class="input_box" style="float:left;">
<h2 class="sign_text">添加實體名: </h2>
<input class="input" type="text" id="input_name">
<strong><input type="button" value="添加" class="buttom" onclick="NameButton()"></strong>
</div>
<div class="input_box" style="float:left;">
<h2 class="sign_text">動作: </h2>
<br>
<strong><input type="button" value="刪除上個" class="buttom" onclick="back()" style="width: 31%;"></strong>
<strong><input type="button" value="刪除全部" class="buttom" onclick="allded()" style="width: 31%;"></strong>
<strong><input type="button" value="一鍵複製" class="buttom" onclick="copyText('cmd_text')" style="width: 31%;"></strong>
</div>
<div class="input_box" style="float:left;" id="settingg">
<h2 class="sign_text">類型設定: </h2>
<br>
<select id="setting" onchange="titleraw()">
<option>未選擇</option>
<option value="set1">titleraw actionbar</option>
<option value="set2">tellraw @a</option>
<option value="set3">tellraw @p</option>
</select>
</div>
<br>
<br>
<br>
<span id="br"></span>
</form>
<br>
<br>
</div>
</section>
<footer>
<p>©此網站由Youtuber冰川MCC建立</p>
</footer>
</body>
</html>