diff --git a/util/master/README.md b/util/master/README.md deleted file mode 100644 index 411fff3e..00000000 --- a/util/master/README.md +++ /dev/null @@ -1,49 +0,0 @@ -Minetest server list -==================== - -Setting up the webpage ----------------------- -You will have to install node.js, doT.js and their dependencies to compile -the serverlist webpage template. - -First install node.js, eg: - - # apt-get install nodejs - # pacman -S nodejs - # emerge nodejs - -Then install doT.js and its dependencies: - - $ cd ~/code - $ git clone https://github.com/olado/doT.git - $ cd doT - $ npm install - -Or with 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 . - - -Embedding to any page ----------------------- - - - diff --git a/util/master/index.html b/util/master/index.html deleted file mode 100644 index 48a973ea..00000000 --- a/util/master/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - -
- -IP[:Port] | {{?}} - {{? !master.no_clients}}Players/Max{{? !master.no_avgtop}} Avg/Top{{?}} | {{?}}
- {{? !master.no_version}}Version, Gameid, MapGen | {{?}} - {{? !master.no_name}}Name | {{?}} - {{? !master.no_description}}Description | {{?}} - {{? !master.no_flags}}Flags | {{?}} - {{? !master.no_uptime}}Uptime, Age | {{?}} - {{? !master.no_ping}}Ping, Lag | {{?}} -
---|---|---|---|---|---|---|---|
- {{=addressString(server)}} - | {{?}} - {{? !master.no_clients}} -- {{=server.clients}}/{{=server.clients_max}}{{? !master.no_avgtop}} {{=Math.floor(server.pop_v)}}/{{=server.clients_top}}{{?}} - {{=hoverList("Clients", server.clients_list)}} - | {{?}} - {{? !master.no_version}} -- {{=escapeHTML(server.version)}}, {{=escapeHTML(server.gameid)}}, - {{=escapeHTML(server.mapgen || '?')}} - {{=hoverList("Mods", server.mods)}} - | {{?}} - {{? !master.no_name}} -- {{? server.url}} - {{=tooltipString(server.name, 25)}} - {{??}} - {{=tooltipString(server.name, 25)}} - {{?}} - | {{?}} - {{? !master.no_description}} -- {{=tooltipString(server.description, 50)}} - | {{?}} - {{? !master.no_flags}} -- {{=hoverString("Privs", server.privs)}} - {{=server.creative ? 'Cre ' : ''}} - {{=server.dedicated ? 'Ded ' : ''}} - {{=server.damage ? 'Dmg ' : ''}} - {{=server.liquid_finite ? 'Liq ' : ''}} - {{=server.pvp ? 'PvP ' : ''}} - {{=server.password ? 'Pwd ' : ''}} - {{=server.rollback ? 'Rol ' : ''}} - {{=server.can_see_far_names ? 'Far ' : ''}} - | {{?}} - {{? !master.no_uptime}} -- {{=humanTime(server.uptime)}}, {{=humanTime(server.game_time)}} - | {{?}} - {{? !master.no_ping}} -- {{=Math.floor(server.ping * 1000)}}{{? server.lag}}, {{= Math.floor(server.lag * 1000)}}{{?}} - | {{?}} -