Adding section on Permissions.

This commit is contained in:
walterhiggins 2015-01-18 15:01:51 +00:00
parent 5f205ecb2e
commit de5c95114f
2 changed files with 51 additions and 0 deletions

View file

@ -8,6 +8,7 @@ If you would like to make changes, change file src/docs/templates/ypgpm.md inste
## Table of Contents
* [Introduction](#introduction)
* [Installation](#installation)
* [CanaryMod and Permissions](#canarymod-and-permissions)
* [Configuring your Server (optional)](#configuring-your-server-optional)
* [Learning Javascript](#learning-javascript)
* [First Steps](#first-steps)
@ -101,6 +102,31 @@ Minecraft your way using Javascript. Javascript is easier to learn than
Java but it's also more flexible and powerful and is used for creating
interactive web sites and many other applications.
## CanaryMod and Permissions
CanaryMod works slightly differently to CraftBukkit in how it handles
permissions and groups. By default, there are 4 groups: visitors,
players, mods and admins. Each player who joins the game is added to the
'visitors' group. This group has no permissions by default so
visitors can't break or place blocks. If you would like to change this
behaviour then issue the following command at the console window:
groupmod permission add visitors canary.world.build
If you would like all admins to have scripting ability then issue the
following command:
groupmod permission add admins scriptcraft.evaluate
This will enable all admins on your server to issue javascript statements.
All operators can issue any command (including the `/js` command to evaluate javascript).
For more information on CanaryMod's Permissions and Groups see the following:
* [Permissions and Groups][cmPerms]
* [List of Permissions][cmPermsList]
[cmPerms]: http://canarymod.net/books/canarymod-admin-guide/permissions-and-groups
[cmPermsList]: http://canarymod.net/books/canarymod-admin-guide/list-permissions
## Configuring your Server (optional)
Once you've installed CanaryMod, depending on your specific needs,

View file

@ -59,6 +59,31 @@ Minecraft your way using Javascript. Javascript is easier to learn than
Java but it's also more flexible and powerful and is used for creating
interactive web sites and many other applications.
## CanaryMod and Permissions
CanaryMod works slightly differently to CraftBukkit in how it handles
permissions and groups. By default, there are 4 groups: visitors,
players, mods and admins. Each player who joins the game is added to the
'visitors' group. This group has no permissions by default so
visitors can't break or place blocks. If you would like to change this
behaviour then issue the following command at the console window:
groupmod permission add visitors canary.world.build
If you would like all admins to have scripting ability then issue the
following command:
groupmod permission add admins scriptcraft.evaluate
This will enable all admins on your server to issue javascript statements.
All operators can issue any command (including the `/js` command to evaluate javascript).
For more information on CanaryMod's Permissions and Groups see the following:
* [Permissions and Groups][cmPerms]
* [List of Permissions][cmPermsList]
[cmPerms]: http://canarymod.net/books/canarymod-admin-guide/permissions-and-groups
[cmPermsList]: http://canarymod.net/books/canarymod-admin-guide/list-permissions
## Configuring your Server (optional)
Once you've installed CanaryMod, depending on your specific needs,