summaryrefslogtreecommitdiff
path: root/conf/groups.conf
diff options
context:
space:
mode:
authorFrost <jedzkie13@rocketmail.com>2015-09-17 14:38:26 +0200
committerHaru <haru@dotalux.com>2015-09-17 15:01:14 +0200
commit51329e6c6f783cbfbb51f928c921afd3b114a72a (patch)
tree6efe2d828325abf55fe5f6f064394bf1d3c0b514 /conf/groups.conf
parent18f222b67d03dc8ad7584b972025bf58dbf39c1a (diff)
downloadhercules-51329e6c6f783cbfbb51f928c921afd3b114a72a.tar.gz
hercules-51329e6c6f783cbfbb51f928c921afd3b114a72a.tar.bz2
hercules-51329e6c6f783cbfbb51f928c921afd3b114a72a.tar.xz
hercules-51329e6c6f783cbfbb51f928c921afd3b114a72a.zip
corrected some white spaces and added missing EOL.
Split from #558 (and added a few more corrections) Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'conf/groups.conf')
-rw-r--r--conf/groups.conf43
1 files changed, 21 insertions, 22 deletions
diff --git a/conf/groups.conf b/conf/groups.conf
index d31f46f24..3f0c34ffb 100644
--- a/conf/groups.conf
+++ b/conf/groups.conf
@@ -5,7 +5,7 @@ Player groups configuration file
This file defines "player groups" and their privileges.
-Each group has its id and name, lists of available commands and other
+Each group has its id and name, lists of available commands and other
permissions, and a list of other groups it inherits from.
@@ -15,15 +15,15 @@ Group settings
Unique group number. The only required field.
<name>
-Any string. If empty, defaults to "Group <id>". It is used in several @who
+Any string. If empty, defaults to "Group <id>". It is used in several @who
commands.
<level>
-Equivalent of GM level, which was used in revisions before r15572. You can
-set it to any number, but usually it's between 0 (default) and 99. Members of
-groups with lower level can not perform some actions/commands (like @kick) on
-members of groups with higher level. It is what script command getgmlevel()
-returns. Group level can also be used to override trade restrictions
+Equivalent of GM level, which was used in revisions before r15572. You can set
+it to any number, but usually it's between 0 (default) and 99. Members of
+groups with lower level can not perform some actions/commands (like @kick) on
+members of groups with higher level. It is what script command getgmlevel()
+returns. Group level can also be used to override trade restrictions
(db/item_trade.txt).
<commands>
@@ -31,15 +31,15 @@ A group of settings
<command name> : <bool>
or
<commandname> : [ <bool>, <bool> ]
-First boolean value is for atcommand, second one for charcommand. If set to
-true, group can use command. If only atcommand value is provided, false is
-assumed for charcommand. If a command name is not included, false is assumed for
-both atcommand and charcommand.
+First boolean value is for atcommand, second one for charcommand. If set to
+true, group can use command. If only atcommand value is provided, false is
+assumed for charcommand. If a command name is not included, false is assumed
+for both atcommand and charcommand.
For a full list of available commands, see: doc/atcommands.txt.
Command names must not be aliases.
<log_commands>
-Boolean value. If true then all commands used by the group will be logged to
+Boolean value. If true then all commands used by the group will be logged to
atcommandlog. If setting is omitted in a group definition, false is assumed.
Requires 'log_commands' to be enabled in 'conf/logs.conf'.
@@ -50,7 +50,7 @@ If a permission is not included, false is assumed.
For a full list of available permissions, see: doc/permissions.txt
<inherit>
-A list of group names that given group will inherit commands and permissions
+A list of group names that given group will inherit commands and permissions
from. Group names are case-sensitive.
Inheritance results
@@ -58,19 +58,19 @@ Inheritance results
Both multiple inheritance (Group 2 -> Group 1 and Group 3 -> Group 1) and
recursive inheritance (Group 3 -> Group 2 -> Group 1) are allowed.
-Inheritance rules should not create cycles (eg Group 1 inherits from Group 2,
-and Group inherits from Group 1 at the same time). Configuration with cycles is
+Inheritance rules should not create cycles (eg Group 1 inherits from Group 2,
+and Group inherits from Group 1 at the same time). Configuration with cycles is
considered faulty and can't be processed fully by server.
-Command or permission is inherited ONLY if it's not already defined for the
+Command or permission is inherited ONLY if it's not already defined for the
group.
-If group inherits from multiple groups, and the same command or permission is
-defined for more than one of these groups, it's undefined which one will be
+If group inherits from multiple groups, and the same command or permission is
+defined for more than one of these groups, it's undefined which one will be
inherited.
Syntax
------
-This config file uses libconfig syntax:
+This config file uses libconfig syntax:
http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-Files
*/
@@ -84,8 +84,8 @@ groups: (
/* no commands by default */
}
permissions: {
- /* without this basic permissions regular players could not
- trade or party */
+ /* without this basic permissions regular players could not
+ * trade or party */
can_trade: true
can_party: true
}
@@ -273,4 +273,3 @@ groups: (
}
}
)
-