From 2a4e1b08adba4544380c6a461098661416969fa2 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 29 Nov 2016 00:38:13 +0100 Subject: Add priv info --- init.lua | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 495405b..246ede3 100644 --- a/init.lua +++ b/init.lua @@ -404,13 +404,29 @@ In Minetest, there is a small set of basic commands which are always available. To help you get started, here are some basic commands: • /help all: Lists and describes all server commands -• /privs: Lists your privileges -• /help privs: Shows description about all privileges -]=] +• /privs: Lists your privileges]=] }) -- TODO doc.new_entry("online", "privs", { name="Privileges", - data="TODO"}) + data=[=[Every player has a set of privileges, which differ from server to server. Roughly spoken, one’s privileges determine what one is able to do and what not. Each privilege has a name. Privileges can be granted and revoked from other players by any player who has the privilege called “privs”. + +On a multiplayer server with a default configuration, new players start with the privileges called “interact” and “shout”. The interact privilege is required for the most basic gameplay actions such as building, mining, using, etc. The shout privilege allows the player to use the chat. + +Just like with server commands, there is a small set of core privileges which you'll find on every server, and other privileges might be added by mods. + +To view your own privileges, issue the server command “/privs”. + +Here are a few basic privilege-related commands: +• /privs: Lists your privileges +• /privs : Lists the privileges of +• /help privs: Shows a list and description about all privileges + +Players with the “privs” privilege can modify privileges at will: +• /grant : Grant to +• /revoke : Revoke from + +In singleplayer mode, you can use the shortcut “/grant singleplayer all” to allow you to do everything (this is considered cheating).]=] +}) -- cgit v1.2.3