buttons
This commit is contained in:
parent
499fb5e3c9
commit
9ea84e650c
2 changed files with 12 additions and 4 deletions
|
@ -118,4 +118,10 @@ window.addEventListener('keyup', up);
|
||||||
map.addEventListener('wheel', wheel);
|
map.addEventListener('wheel', wheel);
|
||||||
window.addEventListener('mousemove', mouseMove);
|
window.addEventListener('mousemove', mouseMove);
|
||||||
window.addEventListener('mousedown', mouseDown);
|
window.addEventListener('mousedown', mouseDown);
|
||||||
window.addEventListener('mouseup', mouseUp);
|
window.addEventListener('mouseup', mouseUp);
|
||||||
|
|
||||||
|
function copy() {
|
||||||
|
let addr = 'play.xuyezo.net';
|
||||||
|
navigator.clipboard.writeText(addr);
|
||||||
|
alert(addr);
|
||||||
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
<%- include("header.ejs") %>
|
<%- include("header.ejs") %>
|
||||||
<div class='content'>
|
<div class='content'>
|
||||||
<h2>Map of Minzeo</h2>
|
<h1>Map of Minzeo</h1>
|
||||||
<canvas class='map' width='1000' height='1000'></canvas>
|
<canvas class='map' width='1000' height='1000'></canvas>
|
||||||
<h2>Position</h2>
|
<h2>Position</h2>
|
||||||
<pre class='coords'></pre>
|
<pre class='coords'></pre>
|
||||||
|
@ -8,10 +8,9 @@
|
||||||
<p><b>Pan camera:</b> WASD, Mouse</p>
|
<p><b>Pan camera:</b> WASD, Mouse</p>
|
||||||
<p><b>Speed up panning:</b> Q</p>
|
<p><b>Speed up panning:</b> Q</p>
|
||||||
<p><b>Zoom:</b> Mouse wheel</p>
|
<p><b>Zoom:</b> Mouse wheel</p>
|
||||||
<h2>About</h2>
|
<h1>About</h1>
|
||||||
<p>Minzeo is a Minecraft civilization roleplay. Unlike similar servers, it isn't a short-term challenge, and has no claim plugins. </p>
|
<p>Minzeo is a Minecraft civilization roleplay. Unlike similar servers, it isn't a short-term challenge, and has no claim plugins. </p>
|
||||||
<p>The server's geopolitics is up to the players and the gameplay rules.</p>
|
<p>The server's geopolitics is up to the players and the gameplay rules.</p>
|
||||||
<p>To participate, join our <a href='https://discord.gg/xjZEktBU'>Discord</a> server or use the IP: <code>play.xuyezo.net</code></p>
|
|
||||||
<h2>Rules</h2>
|
<h2>Rules</h2>
|
||||||
<ol>
|
<ol>
|
||||||
<li>Don't harrass others.</li>
|
<li>Don't harrass others.</li>
|
||||||
|
@ -25,6 +24,9 @@
|
||||||
<li>To end a war, a nation must have 0 points, have surrendered, or have withdrawn.</li>
|
<li>To end a war, a nation must have 0 points, have surrendered, or have withdrawn.</li>
|
||||||
<li>Not all points need to be taken to partially annex a nation.</li>
|
<li>Not all points need to be taken to partially annex a nation.</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
<h2>Joining</h2>
|
||||||
|
<button class='form-input'><a href='https://discord.gg/xjZEktBU'>Discord</a></button>
|
||||||
|
<button class='form-input' onclick='copy()'><a href='https://discord.gg/xjZEktBU'>Server address</a></button>
|
||||||
</div>
|
</div>
|
||||||
<script src="/static/map.js"></script>
|
<script src="/static/map.js"></script>
|
||||||
<%- include("footer.ejs") %>
|
<%- include("footer.ejs") %>
|
Loading…
Reference in a new issue