我正在为我的 Minecraft 服务器创建一个帮助部分,以便玩家可以查看命令及其用法。我对它们进行了排序,以使其在尝试查找命令时更有意义。
出于某种原因,它通过 Cmds 组织表格,但将表格标题放在底部。我如何让它跳过这个?由于某种原因,还有一个空白条目。
<table id="cmdlist">
<tr>
<th>Command</th>
<th><i style="color: rgb(0,255,255);">Tuple</i> Arguments</th>
<th>Usage</th>
<th>Server(s)</th>
<th>Rank</th>
</tr>
<td>
</td>
</table>
<script type="text/javascript">
var Cmds,Args,Usage,Server,Rank;
Cmds = ["/server","/msg","/r","/island,/is","/towny,/t","/nation,/n","/echest","/craft,/wb,/workbench","/tpa","/tpahere","/tpaccept"];
Args = ["(servername)","(playname) (message)","(message)","(optional)","(optional)","(optional)","N/A","N/A","(playername)","(playername)","N/A"]
Usage = ["Used to switch between the hub and gamemodes.",
"Used to send a pm to a player.",
"Sends a pm to the player you last sent/recieved a pm from.",
"Without args opens gui. With args open a specific section.",
"Without args displays town info. With args you can config your town.",
"Without args displays nation info. With args you can config your nation.",
"Open your enderchest via a command.",
"Open a crafting table via a command.",
"Sends a request to teleport to a player.",
"Sends a request to teleport to a player to you.",
"Accepts the last pending teleport request."
]
}
</script>
侃侃无极
牛魔王的故事
LEATH
随时随地看视频慕课网APP
相关分类