node-minecraft-protocol/examples/client_electron/renderer/index.html
2020-08-03 01:39:04 +02:00

24 lines
666 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>client electron</title>
</head>
<body>
Host: <input type="text" id="host" value="localhost" /><br />
Port: <input type="text" id="port" value="25565"/><br />
Username: <input type="text" id="username" value="electron_client" /><br />
Password: <input type="text" id="password" value="" /><br />
<button id="connect" type="button">Connect</button><br />
<div id="content">Not connected</div> <br />
Message: <input type="text" id="chat" /><br />
<button id="send" type="button">Send</button><br />
<script src="./index.js"></script>
</body>
</html>