Added missing permissions for commands.
This commit is contained in:
@@ -2,9 +2,9 @@ command snowbrawl {
|
|||||||
alias sb;
|
alias sb;
|
||||||
|
|
||||||
[empty] {
|
[empty] {
|
||||||
|
perm redstoner.snowbrawl;
|
||||||
run join_queue;
|
run join_queue;
|
||||||
type player;
|
type player;
|
||||||
perm redstoner.snowbrawl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
arena list {
|
arena list {
|
||||||
@@ -50,6 +50,7 @@ command snowbrawl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
arena [string:name] config {
|
arena [string:name] config {
|
||||||
|
perm redstoner.snowbrawl.arena.config;
|
||||||
run get_arena_config name;
|
run get_arena_config name;
|
||||||
type all;
|
type all;
|
||||||
help Prints all configuration variable values for an arena.;
|
help Prints all configuration variable values for an arena.;
|
||||||
@@ -126,11 +127,13 @@ command snowbrawl {
|
|||||||
|
|
||||||
bounds pos1 {
|
bounds pos1 {
|
||||||
[block_x:x] [block_y:y] [block_z:z] {
|
[block_x:x] [block_y:y] [block_z:z] {
|
||||||
|
perm redstoner.snowbrawl.arena.config.bounds;
|
||||||
run set_arena_pos1 name x y z;
|
run set_arena_pos1 name x y z;
|
||||||
type all;
|
type all;
|
||||||
help Sets one corner of this arena's bounds to the given coordinates.;
|
help Sets one corner of this arena's bounds to the given coordinates.;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
perm redstoner.snowbrawl.arena.config.bounds;
|
||||||
run set_arena_pos1_from_playerpos name;
|
run set_arena_pos1_from_playerpos name;
|
||||||
type player;
|
type player;
|
||||||
help Sets one corner of this arena's bounds to your current position.;
|
help Sets one corner of this arena's bounds to your current position.;
|
||||||
@@ -138,41 +141,48 @@ command snowbrawl {
|
|||||||
|
|
||||||
bounds pos2 {
|
bounds pos2 {
|
||||||
[block_x:x] [block_y:y] [block_z:z] {
|
[block_x:x] [block_y:y] [block_z:z] {
|
||||||
|
perm redstoner.snowbrawl.arena.config.bounds;
|
||||||
run set_arena_pos2 name x y z;
|
run set_arena_pos2 name x y z;
|
||||||
type all;
|
type all;
|
||||||
help Sets the other corner of this arena's bounds to the given coordinates.;
|
help Sets the other corner of this arena's bounds to the given coordinates.;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
perm redstoner.snowbrawl.arena.config.bounds;
|
||||||
run set_arena_pos2_from_playerpos name;
|
run set_arena_pos2_from_playerpos name;
|
||||||
type player;
|
type player;
|
||||||
help Sets the other corner of this arena's bounds to your current position.;
|
help Sets the other corner of this arena's bounds to your current position.;
|
||||||
}
|
}
|
||||||
|
|
||||||
bounds [block_x:x1] [block_y:y1] [block_z:z1] [block_x:x2] [block_y:y2] [block_z:z2] {
|
bounds [block_x:x1] [block_y:y1] [block_z:z1] [block_x:x2] [block_y:y2] [block_z:z2] {
|
||||||
|
perm redstoner.snowbrawl.arena.config.bounds;
|
||||||
run set_arena_bounds name x1 y1 z1 x2 y2 z2;
|
run set_arena_bounds name x1 y1 z1 x2 y2 z2;
|
||||||
type all;
|
type all;
|
||||||
help Sets this arena's bounds to the given pair of coordinates.;
|
help Sets this arena's bounds to the given pair of coordinates.;
|
||||||
}
|
}
|
||||||
|
|
||||||
spawnpoints list {
|
spawnpoints list {
|
||||||
|
perm redstoner.snowbrawl.arena.config.spawnpoints;
|
||||||
run get_arena_spawnpoints name;
|
run get_arena_spawnpoints name;
|
||||||
type all;
|
type all;
|
||||||
help Gets all spawn points in this arena.;
|
help Gets all spawn points in this arena.;
|
||||||
}
|
}
|
||||||
|
|
||||||
spawnpoints add {
|
spawnpoints add {
|
||||||
|
perm redstoner.snowbrawl.arena.config.spawnpoints;
|
||||||
run add_arena_spawnpoint_from_playerpos name;
|
run add_arena_spawnpoint_from_playerpos name;
|
||||||
type player;
|
type player;
|
||||||
help Adds a new spawn point on your current position.;
|
help Adds a new spawn point on your current position.;
|
||||||
}
|
}
|
||||||
|
|
||||||
spawnpoints add [entity_x:x] [entity_y:y] [entity_z:z] [entity_yaw:yaw] [entity_pitch:pitch] {
|
spawnpoints add [entity_x:x] [entity_y:y] [entity_z:z] [entity_yaw:yaw] [entity_pitch:pitch] {
|
||||||
|
perm redstoner.snowbrawl.arena.config.spawnpoints;
|
||||||
run add_arena_spawnpoint name x y z yaw pitch;
|
run add_arena_spawnpoint name x y z yaw pitch;
|
||||||
type player;
|
type player;
|
||||||
help Adds the given coordinates as a spawn point.;
|
help Adds the given coordinates as a spawn point.;
|
||||||
}
|
}
|
||||||
|
|
||||||
spawnpoints delete [int:id] {
|
spawnpoints delete [int:id] {
|
||||||
|
perm redstoner.snowbrawl.arena.config.spawnpoints;
|
||||||
run delete_arena_spawnpoint name id;
|
run delete_arena_spawnpoint name id;
|
||||||
type player;
|
type player;
|
||||||
help Deletes the spawn point of the given IDs.;
|
help Deletes the spawn point of the given IDs.;
|
||||||
@@ -180,6 +190,7 @@ command snowbrawl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
arena [string:name] teleport {
|
arena [string:name] teleport {
|
||||||
|
perm redstoner.snowbrawl.arena.teleport;
|
||||||
run go_to_arena name;
|
run go_to_arena name;
|
||||||
type player;
|
type player;
|
||||||
help Teleports to a spawn point in this arena.;
|
help Teleports to a spawn point in this arena.;
|
||||||
|
|||||||
Reference in New Issue
Block a user