From fdfd2c99ff2d707ff5c219480be06b51334a4379 Mon Sep 17 00:00:00 2001 From: Youssef Fahmy Date: Wed, 2 Feb 2022 08:50:23 +0000 Subject: [PATCH] Removal of /home --- CHANGELOG.md | 1 + common/src/cmd.rs | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc512f1cdb..da0b761d0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Refactored agent code file structure - Changed the way light strength is rendered by moving processing from shader code (GPU) to CPU code - Bumped tracing-subscriber to resolve [RUSTSEC-2022-0006](https://rustsec.org/advisories/RUSTSEC-2022-0006) +- Made /home command a mod+ exclusive ### Removed diff --git a/common/src/cmd.rs b/common/src/cmd.rs index 8e76d5515e..4eb7621a9d 100644 --- a/common/src/cmd.rs +++ b/common/src/cmd.rs @@ -402,7 +402,7 @@ impl ChatCommand { Enum("item", ITEM_SPECS.clone(), Required), Integer("num", 1, Optional), ], - "Give yourself some items", + "Give yourself some items.\nFor an example or to auto complete use Tab.", Some(Admin), ), ChatCommand::Goto => cmd( @@ -441,7 +441,7 @@ impl ChatCommand { "Display information about commands", None, ), - ChatCommand::Home => cmd(vec![], "Return to the home town", None), + ChatCommand::Home => cmd(vec![], "Return to the home town", Some(Moderator)), ChatCommand::JoinFaction => ChatCommandData::new( vec![Any("faction", Optional)], "Join/leave the specified faction", @@ -506,7 +506,7 @@ impl ChatCommand { Enum("entity_config", ENTITY_CONFIGS.clone(), Required), Integer("num", 1, Optional), ], - "Spawn entity from config near you", + "Spawn entity from config near you.\nFor an example or to auto complete use Tab.", Some(Admin), ), ChatCommand::MakeSprite => cmd(