1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-18 02:45:21 +02:00

Masterserver show privs and js autoload

This commit is contained in:
proller
2013-11-04 04:55:35 +04:00
parent 0fd29b7e09
commit 4a8a50a2a2
7 changed files with 35 additions and 19 deletions

View File

@@ -17,8 +17,18 @@ Then install doT.js and it's dependencies:
$ cd doT
$ npm install
Or by npm:
$ npm install dot commander mkdirp
And finally compile the template:
$ cd ~/minetest/util/master
$ ~/code/doT/bin/dot-packer -s . -d .
or
$ ./node_modules/dot/bin/dot-packer -s . -d .
Embending to any page
----------------------
<script>var master = {root: 'http://servers.minetest.net/', limit:10, clients_min:1, no_flags:1, no_ping:1, no_uptime:1};</script>
<script src="http://servers.minetest.net/list.js"></script>