Reduced permit_build permissions

This commit is contained in:
Joshua Barretto 2021-06-28 13:42:32 +01:00
parent 66bf033a43
commit 4c7e5c1276

View File

@ -481,18 +481,18 @@ impl ChatCommand {
ChatCommand::MakePalette => cmd( ChatCommand::MakePalette => cmd(
vec![], vec![],
"Make a colourful palette at your location", "Make a colourful palette at your location",
None, Some(Moderator),
), ),
ChatCommand::Motd => cmd(vec![Message(Optional)], "View the server description", None), ChatCommand::Motd => cmd(vec![Message(Optional)], "View the server description", None),
ChatCommand::Object => cmd( ChatCommand::Object => cmd(
vec![Enum("object", OBJECTS.clone(), Required)], vec![Enum("object", OBJECTS.clone(), Required)],
"Spawn an object", "Spawn an object",
Some(Admin), None,
), ),
ChatCommand::PermitBuild => cmd( ChatCommand::PermitBuild => cmd(
vec![Any("area_name", Required)], vec![Any("area_name", Required)],
"Grants player a bounded box they can build in", "Grants player a bounded box they can build in",
Some(Admin), None,
), ),
ChatCommand::Players => cmd(vec![], "Lists players currently online", None), ChatCommand::Players => cmd(vec![], "Lists players currently online", None),
ChatCommand::RemoveLights => cmd( ChatCommand::RemoveLights => cmd(