diff --git a/readme.md b/readme.md index 7e08bcb..d7dffa6 100644 --- a/readme.md +++ b/readme.md @@ -24,7 +24,7 @@ I dedicate a significant part of my free time to coding and developing meaningfu - **`!mc_go`**: Use this command to immediately transition to the next map, without the need to wait for the current match to conclude. ### RTV -- **`!mc_vote`**: Vote for a map [RTV]. E.g `!mc_vote 5` +- **`!vote`**: Vote for a map [RTV]. E.g `!vote 5` ![img](https://drive.google.com/uc?export=view&id=18yyRQb2Z5mfOI7a_mkhCcudb8c0Tq_UJ) diff --git a/src/MapCycle.cs b/src/MapCycle.cs index 6a4246a..77284d0 100644 --- a/src/MapCycle.cs +++ b/src/MapCycle.cs @@ -92,7 +92,7 @@ public override void Load(bool hotReload) if (Config.RtvEnabled) { - AddCommand("mc_vote", "Get the next map of the cycle", _rtv.AddVote); + AddCommand("css_vote", "Get the next map of the cycle", _rtv.AddVote); // Add the event to change the map when the vote is finished _rtv.EndVoteEvent += (sender, e) => @@ -127,7 +127,7 @@ public override void Load(bool hotReload) }); } - [ConsoleCommand("mc_nextmap", "Gets/sets the next map of the cycle")] + [ConsoleCommand("css_nextmap", "Gets/sets the next map of the cycle")] public void OnSetNextCommand(CCSPlayerController? caller, CommandInfo info) { if(info.ArgCount == 1 || !AdminManager.PlayerHasPermissions(caller, "@css/changemap")) { @@ -146,7 +146,7 @@ public void OnSetNextCommand(CCSPlayerController? caller, CommandInfo info) } } - [ConsoleCommand("mc_go", "Direct switch to the map you want of the cycle")] + [ConsoleCommand("css_go", "Direct switch to the map you want of the cycle")] [RequiresPermissions("@css/changemap")] [CommandHelper( whoCanExecute: CommandUsage.CLIENT_AND_SERVER)] public void OnGoToNextMapCommand(CCSPlayerController? caller, CommandInfo info) @@ -154,7 +154,7 @@ public void OnGoToNextMapCommand(CCSPlayerController? caller, CommandInfo info) ChangeMap(); } - [ConsoleCommand("mc_goto", "Direct switch to the next map of the cycle")] + [ConsoleCommand("css_goto", "Direct switch to the next map of the cycle")] [RequiresPermissions("@css/changemap")] [CommandHelper(minArgs: 1, usage: "<#map name>", whoCanExecute: CommandUsage.CLIENT_AND_SERVER)] public void OnGoToNextMapNamedCommand(CCSPlayerController? caller, CommandInfo info)