mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 23:17:28 +00:00
Remove unneeded commands (#880)
* Remove unneeded commands * Thank you aron
This commit is contained in:
parent
430c6da4a7
commit
da910309a0
@ -212,22 +212,6 @@ void SlashCommandHandler::HandleChatCommand(const std::u16string& command, Entit
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (chatCommand == "skip-ags") {
|
|
||||||
auto* missionComponent = entity->GetComponent<MissionComponent>();
|
|
||||||
|
|
||||||
if (missionComponent != nullptr && missionComponent->HasMission(479)) {
|
|
||||||
missionComponent->CompleteMission(479);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (chatCommand == "skip-sg") {
|
|
||||||
auto* missionComponent = entity->GetComponent<MissionComponent>();
|
|
||||||
|
|
||||||
if (missionComponent != nullptr && missionComponent->HasMission(229)) {
|
|
||||||
missionComponent->CompleteMission(229);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (chatCommand == "fix-stats") {
|
if (chatCommand == "fix-stats") {
|
||||||
// Reset skill component and buff component
|
// Reset skill component and buff component
|
||||||
auto* skillComponent = entity->GetComponent<SkillComponent>();
|
auto* skillComponent = entity->GetComponent<SkillComponent>();
|
||||||
|
@ -14,8 +14,6 @@ Here is a summary of the commands available in-game. All commands are prefixed b
|
|||||||
|pvp|`/pvp`|Toggle your PVP flag.||
|
|pvp|`/pvp`|Toggle your PVP flag.||
|
||||||
|resurrect|`/resurrect`|Resurrects the player.||
|
|resurrect|`/resurrect`|Resurrects the player.||
|
||||||
|requestmailcount|`/requestmailcount`|Sends notification with number of unread messages in the player's mailbox.||
|
|requestmailcount|`/requestmailcount`|Sends notification with number of unread messages in the player's mailbox.||
|
||||||
|skip-ags|`/skip-ags`|Skips the Avant Gardens Survival minigame mission, "Impress the Sentinel Faction".||
|
|
||||||
|skip-sg|`/skip-sg`|Skips the Shooting Gallery minigame mission, "Monarch of the Sea".||
|
|
||||||
|who|`/who`|Displays in chat all players on the instance.||
|
|who|`/who`|Displays in chat all players on the instance.||
|
||||||
|
|
||||||
## Moderation Commands
|
## Moderation Commands
|
||||||
|
Loading…
Reference in New Issue
Block a user