Added missing permissions for commands.

This commit is contained in:
Logan Fick 2022-06-25 12:39:02 -04:00
parent f8046db1df
commit 8102c217bb
Signed by: LogalDeveloper
GPG Key ID: 43E58A0C922AB7D1
1 changed files with 20 additions and 9 deletions

View File

@ -2,9 +2,9 @@ command snowbrawl {
alias sb;
[empty] {
perm redstoner.snowbrawl;
run join_queue;
type player;
perm redstoner.snowbrawl;
}
arena list {
@ -15,7 +15,7 @@ command snowbrawl {
}
arena create [string:name] {
perm redstoner.snowbrawl.arena.create;
perm redstoner.snowbrawl.arena.create;
run create_arena name;
type player;
help Creates a new arena.;
@ -50,6 +50,7 @@ command snowbrawl {
}
arena [string:name] config {
perm redstoner.snowbrawl.arena.config;
run get_arena_config name;
type all;
help Prints all configuration variable values for an arena.;
@ -126,53 +127,62 @@ command snowbrawl {
bounds pos1 {
[block_x:x] [block_y:y] [block_z:z] {
run set_arena_pos1 name x y z;
type all;
help Sets one corner of this arena's bounds to the given coordinates.;
}
perm redstoner.snowbrawl.arena.config.bounds;
run set_arena_pos1 name x y z;
type all;
help Sets one corner of this arena's bounds to the given coordinates.;
}
run set_arena_pos1_from_playerpos name;
type player;
help Sets one corner of this arena's bounds to your current position.;
perm redstoner.snowbrawl.arena.config.bounds;
run set_arena_pos1_from_playerpos name;
type player;
help Sets one corner of this arena's bounds to your current position.;
}
bounds pos2 {
[block_x:x] [block_y:y] [block_z:z] {
perm redstoner.snowbrawl.arena.config.bounds;
run set_arena_pos2 name x y z;
type all;
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;
type player;
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] {
perm redstoner.snowbrawl.arena.config.bounds;
run set_arena_bounds name x1 y1 z1 x2 y2 z2;
type all;
help Sets this arena's bounds to the given pair of coordinates.;
}
spawnpoints list {
perm redstoner.snowbrawl.arena.config.spawnpoints;
run get_arena_spawnpoints name;
type all;
help Gets all spawn points in this arena.;
}
spawnpoints add {
perm redstoner.snowbrawl.arena.config.spawnpoints;
run add_arena_spawnpoint_from_playerpos name;
type player;
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] {
perm redstoner.snowbrawl.arena.config.spawnpoints;
run add_arena_spawnpoint name x y z yaw pitch;
type player;
help Adds the given coordinates as a spawn point.;
}
spawnpoints delete [int:id] {
perm redstoner.snowbrawl.arena.config.spawnpoints;
run delete_arena_spawnpoint name id;
type player;
help Deletes the spawn point of the given IDs.;
@ -180,6 +190,7 @@ command snowbrawl {
}
arena [string:name] teleport {
perm redstoner.snowbrawl.arena.teleport;
run go_to_arena name;
type player;
help Teleports to a spawn point in this arena.;