From d53000fbcaf3a8faaf42bdbbe4779497d44c8438 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Fri, 22 Mar 2019 15:31:37 -0400 Subject: [PATCH] add getting started page --- webapp/server.js | 5 +++ webapp/views/pages/getting-started.ejs | 58 ++++++++++++++++++++++++++ webapp/views/partials/header.ejs | 1 + 3 files changed, 64 insertions(+) create mode 100644 webapp/views/pages/getting-started.ejs diff --git a/webapp/server.js b/webapp/server.js index 434bd99..3daa49a 100644 --- a/webapp/server.js +++ b/webapp/server.js @@ -370,6 +370,11 @@ app.get('/modding', function(req, res, next) { msg: "", }); }); +app.get('/getting-started', function(req, res, next) { + res.render('pages/getting-started', { + msg: "", + }); +}); app.get('/skin-upload-form', function(req, res, next) { //var ending = ""; //ending += 'Back to Main Site
' + "\n"; diff --git a/webapp/views/pages/getting-started.ejs b/webapp/views/pages/getting-started.ejs new file mode 100644 index 0000000..6e948f0 --- /dev/null +++ b/webapp/views/pages/getting-started.ejs @@ -0,0 +1,58 @@ + + + + <% include ../partials/head %> + + + +
+ <% include ../partials/header %> +
+ +
+
+
+
+

EnlivenMinetest

+

Getting Started.

+

 

+

<%= msg %>

+
+
+ +

Vegetable Farming

+
    +
  • Super glow glass allows plants to grow without sunlight
  • +
  • Grass sometimes yields wheat seeds
  • +
  • Plants in the wild may be vegetables that you can eat or replant to multiply them.
  • +
+

Animal Farming

+
    +
  • Keep feeding the correct food to an animal to tame it.
  • +
  • A nametag names a tamed animal.
  • +
  • A Mob Protection Rune prevents an animal from being killed.
  • +
  • There is a known issue with animals despawning: see Neutral Mobs Despawn Frequently issue on GitHub.com/EnlivenMinetest to track this issue.
  • +
+

Protecting Your Builds and Items

+
    +
  • Protector blocks protect your area from other players
  • +
  • You can add other players to your protection block by name.
  • +
  • Protected chests & doors: Anyone who is on the protection block can use them.
  • +
  • Locked chests & doors: Only the person who placed them can use them, unless a key is made and given to another player (use skeleton key on a locked target to change the skeleton into a key for the target you're opening).
  • +
  • Your bones hold your items when you die. After one hour, other players can take the items.
  • +
  • Moderators may not be able to recover your items regarding unprotected areas or items, since proving ownership or where items ended up may be difficult or impossible. Always make sure anything you want to keep is protected.
  • +
+

Issues

+Only if your server uses ENLIVEN, report issues at github.com/poikilos/EnlivenMinetest/issues and include a screenshot (F12 saves screenshot to the minetest/bin folder). You can often show what node the item is by pointing at it and turning on the debug screen with F5. Otherwise, report them to a moderator of your server (if you report it to a moderator first, the issue is likely to be resolved faster). + +
+
+
+
+ + + + + diff --git a/webapp/views/partials/header.ejs b/webapp/views/partials/header.ejs index 9121085..3646be4 100644 --- a/webapp/views/partials/header.ejs +++ b/webapp/views/partials/header.ejs @@ -12,6 +12,7 @@
  • Upload Skin
  • Choose Skin
  • Modding
  • +
  • Getting Started