Skip to content

Commit ef8e33b

Browse files
author
minecraft server
committed
Doco fixes
1 parent e0b0399 commit ef8e33b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

plugins/acl_cmds.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def aclcmdhelp(message, user):
4848
"__ Set the user's permissions in that zone to exactly\n"
4949
"__ the permissions given. Permissions should be\n"
5050
"__ space-seperated, eg. ENTRY INTERACT MODIFY\n"
51+
"__ Leave it blank to set all permissions off.\n"
5152
"/acls <zone> add <user> <permission>\n"
5253
"__ Add a single permission to what a user can do.\n"
5354
"/acls <zone> remove <user> <permission>\n"
@@ -57,13 +58,13 @@ def aclcmdhelp(message, user):
5758
"To modify the default permissions, replace <user> with EVERYONE.")
5859

5960

60-
@op_only
61+
@ops_only
6162
def ophelp(message, user):
6263
tell(user, "Op-only commands:\n"
6364
"/acls op force {on,off} - Turn force on or off. Force lets you ignore all zone restrictions.")
6465

6566

66-
@op_only
67+
@ops_only
6768
def opforce(message, user, mode):
6869
user.acl_force = (mode == 'on')
6970
tell(user, "Set force %s" % mode)

plugins/zone_cmds.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def helpinfo(message, user, command):
255255
"__ cube <dim> <x1> <y1> <z1> <x2> <y2> <z2>\n"
256256
"__ cylinder <dim> <x> <y> <z> <radius> <height>\n"
257257
"__ json <json> (EXPERIMENTAL, MAY NOT WORK)\n"
258-
"Note that <dim> should be -1,0,1 for overworld, Nether, End\n"
258+
"Note that <dim> should be 0,-1,1 for overworld, Nether, End\n"
259259
"The json bounds defn is special. The remainder of the line "
260260
"should be valid JSON. If you don't know what that is, ignore it. JSON schema "
261261
"is given by typing /zone help json",

0 commit comments

Comments
 (0)