.info="Within the authorized range of levels for the current account, changes the character's game master level to the specified value. This is required to use certain commands",
.aliases={"setgmlevel","makegm","gmlevel"},
.handle=DEVGMCommands::SetGMLevel,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(SetGMLevelCommand);
CommandToggleNameplateCommand{
.help="Toggle the visibility of your nameplate. This must be enabled by a server admin to be used.",
.info="Turns the nameplate above your head that is visible to other players off and on. This must be enabled by a server admin to be used.",
.aliases={"togglenameplate","tnp"},
.handle=DEVGMCommands::ToggleNameplate,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(ToggleNameplateCommand);
CommandToggleSkipCinematicsCommand{
.help="Toggle Skipping Cinematics",
.info="Skips mission and world load related cinematics",
.aliases={"toggleskipcinematics","tsc"},
.handle=DEVGMCommands::ToggleSkipCinematics,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(ToggleSkipCinematicsCommand);
CommandKillCommand{
.help="Smash a user",
.info="Smashes the character whom the given user is playing",
.aliases={"kill"},
.handle=DEVGMCommands::Kill,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(KillCommand);
CommandMetricsCommand{
.help="Display server metrics",
.info="Prints some information about the server's performance",
.aliases={"metrics"},
.handle=DEVGMCommands::Metrics,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(MetricsCommand);
CommandAnnounceCommand{
.help=" Send and announcement",
.info="Sends an announcement. `/setanntitle` and `/setannmsg` must be called first to configure the announcement.",
.aliases={"announce"},
.handle=DEVGMCommands::Announce,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(AnnounceCommand);
CommandSetAnnTitleCommand{
.help="Sets the title of an announcement",
.info="Sets the title of an announcement. Use with `/setannmsg` and `/announce`",
.aliases={"setanntitle"},
.handle=DEVGMCommands::SetAnnTitle,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(SetAnnTitleCommand);
CommandSetAnnMsgCommand{
.help="Sets the message of an announcement",
.info="Sets the message of an announcement. Use with `/setannmtitle` and `/announce`",
.aliases={"setannmsg"},
.handle=DEVGMCommands::SetAnnMsg,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(SetAnnMsgCommand);
CommandShutdownUniverseCommand{
.help="Sends a shutdown message to the master server",
.info="Sends a shutdown message to the master server. This will send an announcement to all players that the universe will shut down in 10 minutes.",
.aliases={"shutdownuniverse"},
.handle=DEVGMCommands::ShutdownUniverse
};
RegisterCommand(ShutdownUniverseCommand);
CommandSetMinifigCommand{
.help="Alters your player's minifig",
.info="Alters your player's minifig. Body part can be one of \"Eyebrows\", \"Eyes\", \"HairColor\", \"HairStyle\", \"Pants\", \"LeftHand\", \"Mouth\", \"RightHand\", \"Shirt\", or \"Hands\". Changing minifig parts could break the character so this command is limited to GMs.",
.aliases={"setminifig"},
.handle=DEVGMCommands::SetMinifig,
.requiredLevel=eGameMasterLevel::FORUM_MODERATOR
};
RegisterCommand(SetMinifigCommand);
CommandTestMapCommand{
.help="Transfers you to the given zone",
.info="Transfers you to the given zone by id and clone id. Add \"force\" to skip checking if the zone is accessible (this can softlock your character, though, if you e.g. try to teleport to Frostburgh).",
.aliases={"testmap","tm"},
.handle=DEVGMCommands::TestMap,
.requiredLevel=eGameMasterLevel::FORUM_MODERATOR
};
RegisterCommand(TestMapCommand);
CommandReportProxPhysCommand{
.help="Display proximity sensor info",
.info="Prints to console the position and radius of proximity sensors.",
.aliases={"reportproxphys"},
.handle=DEVGMCommands::ReportProxPhys,
.requiredLevel=eGameMasterLevel::OPERATOR
};
RegisterCommand(ReportProxPhysCommand);
CommandSpawnPhysicsVertsCommand{
.help="Spawns a 1x1 brick at all vertices of phantom physics objects",
.info="Spawns a 1x1 brick at all vertices of phantom physics objects",
.aliases={"spawnphysicsverts"},
.handle=DEVGMCommands::SpawnPhysicsVerts,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(SpawnPhysicsVertsCommand);
CommandTeleportCommand{
.help="Teleports you",
.info="Teleports you. If no Y is given, you are teleported to the height of the terrain or physics object at (x, z)",
.aliases={"teleport","tele","tp"},
.handle=DEVGMCommands::Teleport,
.requiredLevel=eGameMasterLevel::JUNIOR_DEVELOPER
};
RegisterCommand(TeleportCommand);
CommandActivateSpawnerCommand{
.help="Activates spawner by name",
.info="Activates spawner by name",
.aliases={"activatespawner"},
.handle=DEVGMCommands::ActivateSpawner,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(ActivateSpawnerCommand);
CommandAddMissionCommand{
.help="Accepts the mission, adding it to your journal.",
.info="Accepts the mission, adding it to your journal.",
.aliases={"addmission"},
.handle=DEVGMCommands::AddMission,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(AddMissionCommand);
CommandBoostCommand{
.help="Adds boost to a vehicle",
.info="Adds a passive boost action if you are in a vehicle. If time is given it will end after that amount of time",
.aliases={"boost"},
.handle=DEVGMCommands::Boost,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(BoostCommand);
CommandUnboostCommand{
.help="Removes a passive vehicle boost",
.info="Removes a passive vehicle boost",
.aliases={"unboost"},
.handle=DEVGMCommands::Unboost,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(UnboostCommand);
CommandBuffCommand{
.help="Applies a buff",
.info="Applies a buff with the given id for the given number of seconds",
.aliases={"buff"},
.handle=DEVGMCommands::Buff,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(BuffCommand);
CommandBuffMeCommand{
.help="Sets health, armor, and imagination to 999",
.info="Sets health, armor, and imagination to 999",
.aliases={"buffme"},
.handle=DEVGMCommands::BuffMe,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(BuffMeCommand);
CommandBuffMedCommand{
.help="Sets health, armor, and imagination to 9",
.info="Sets health, armor, and imagination to 9",
.aliases={"buffmed"},
.handle=DEVGMCommands::BuffMed,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(BuffMedCommand);
CommandClearFlagCommand{
.help="Clear a player flag",
.info="Removes the given health or inventory flag from your player. Equivalent of calling `/setflag off <flag id>`",
.aliases={"clearflag"},
.handle=DEVGMCommands::ClearFlag,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(ClearFlagCommand);
CommandCompleteMissionCommand{
.help="Completes the mission",
.info="Completes the mission, removing it from your journal",
.aliases={"completemission"},
.handle=DEVGMCommands::CompleteMission,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(CompleteMissionCommand);
CommandCreatePrivateCommand{
.help="Creates a private zone with password",
.info="Creates a private zone with password",
.aliases={"createprivate"},
.handle=DEVGMCommands::CreatePrivate,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(CreatePrivateCommand);
CommandDebugUiCommand{
.help="Toggle Debug UI",
.info="Toggle Debug UI",
.aliases={"debugui"},
.handle=DEVGMCommands::DebugUi,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(DebugUiCommand);
CommandDismountCommand{
.help="Dismounts you from the vehicle or mount",
.info="Dismounts you from the vehicle or mount",
.aliases={"dismount"},
.handle=DEVGMCommands::Dismount,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(DismountCommand);
CommandReloadConfigCommand{
.help="Reload Server configs",
.info="Reloads the server with the new config values.",
.aliases={"reloadconfig","reload-config"},
.handle=DEVGMCommands::ReloadConfig,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(ReloadConfigCommand);
CommandForceSaveCommand{
.help="Force save your player",
.info="While saving to database usually happens on regular intervals and when you disconnect from the server, this command saves your player's data to the database",
.info="Display the navmesh height at your current position",
.aliases={"getnavmeshheight"},
.handle=DEVGMCommands::GetNavmeshHeight,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(GetNavmeshHeightCommand);
CommandGiveUScoreCommand{
.help="Gives uscore",
.info="Gives uscore",
.aliases={"giveuscore"},
.handle=DEVGMCommands::GiveUScore,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(GiveUScoreCommand);
CommandGmAddItemCommand{
.help="Give yourseld an item",
.info="Adds the given item to your inventory by id",
.aliases={"gmadditem","give"},
.handle=DEVGMCommands::GmAddItem,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(GmAddItemCommand);
CommandInspectCommand{
.help="Inspect an object",
.info="Finds the closest entity with the given component or LNV variable (ignoring players and racing cars), printing its ID, distance from the player, and whether it is sleeping, as well as the the IDs of all components the entity has. See detailed usage in the DLU docs",
.aliases={"inspect"},
.handle=DEVGMCommands::Inspect,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(InspectCommand);
CommandListSpawnsCommand{
.help="List spawn points for players",
.info="Lists all the character spawn points in the zone. Additionally, this command will display the current scene that plays when the character lands in the next zone, if there is one.",
.aliases={"list-spawns","listspawns"},
.handle=DEVGMCommands::ListSpawns,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(ListSpawnsCommand);
CommandLocRowCommand{
.help="Prints the your current position and rotation information to the console",
.info="Prints the your current position and rotation information to the console",
.aliases={"locrow"},
.handle=DEVGMCommands::LocRow,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(LocRowCommand);
CommandLookupCommand{
.help="Lookup an object",
.info="Searches through the Objects table in the client SQLite database for items whose display name, name, or description contains the query. Query can be multiple words delimited by spaces.",
.aliases={"lookup"},
.handle=DEVGMCommands::Lookup,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(LookupCommand);
CommandPlayAnimationCommand{
.help="Play an animation with given ID",
.info="Play an animation with given ID",
.aliases={"playanimation","playanim"},
.handle=DEVGMCommands::PlayAnimation,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(PlayAnimationCommand);
CommandPlayEffectCommand{
.help="Plays an effect",
.info="Plays an effect",
.aliases={"playeffect"},
.handle=DEVGMCommands::PlayEffect,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(PlayEffectCommand);
CommandPlayLvlFxCommand{
.help="Plays the level up animation on your character",
.info="Plays the level up animation on your character",
.aliases={"playlvlfx"},
.handle=DEVGMCommands::PlayLvlFx,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(PlayLvlFxCommand);
CommandPlayRebuildFxCommand{
.help="Plays the quickbuild animation on your character",
.info="Plays the quickbuild animation on your character",
.aliases={"playrebuildfx"},
.handle=DEVGMCommands::PlayRebuildFx,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(PlayRebuildFxCommand);
CommandPosCommand{
.help="Displays your current position in chat and in the console",
.info="Displays your current position in chat and in the console",
.aliases={"pos"},
.handle=DEVGMCommands::Pos,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(PosCommand);
CommandRefillStatsCommand{
.help="Refills health, armor, and imagination to their maximum level",
.info="Refills health, armor, and imagination to their maximum level",
.aliases={"refillstats"},
.handle=DEVGMCommands::RefillStats,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(RefillStatsCommand);
CommandReforgeCommand{
.help="Reforges an item",
.info="Reforges an item",
.aliases={"reforge"},
.handle=DEVGMCommands::Reforge,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(ReforgeCommand);
CommandResetMissionCommand{
.help="Sets the state of the mission to accepted but not yet started",
.info="Sets the state of the mission to accepted but not yet started",
.aliases={"resetmission"},
.handle=DEVGMCommands::ResetMission,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(ResetMissionCommand);
CommandRotCommand{
.help="Displays your current rotation in chat and in the console",
.info="Displays your current rotation in chat and in the console",
.aliases={"rot"},
.handle=DEVGMCommands::Rot,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(RotCommand);
CommandRunMacroCommand{
.help="Run a macro",
.info="Runs any command macro found in `./res/macros/`",
.aliases={"runmacro"},
.handle=DEVGMCommands::RunMacro,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(RunMacroCommand);
CommandSetControlSchemeCommand{
.help="Sets the character control scheme to the specified number",
.info="Sets the character control scheme to the specified number",
.aliases={"setcontrolscheme"},
.handle=DEVGMCommands::SetControlScheme,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(SetControlSchemeCommand);
CommandSetCurrencyCommand{
.help="Sets your coins",
.info="Sets your coins",
.aliases={"setcurrency","setcoins"},
.handle=DEVGMCommands::SetCurrency,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(SetCurrencyCommand);
CommandSetFlagCommand{
.help="Set a player flag",
.info="Sets the given inventory or health flag to the given value, where value can be one of \"on\" or \"off\". If no value is given, by default this adds the flag to your character (equivalent of calling `/setflag on <flag id>`)",
.aliases={"setflag"},
.handle=DEVGMCommands::SetFlag,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(SetFlagCommand);
CommandSetInventorySizeCommand{
.help="Set your inventory size",
.info="Sets your inventory size to the given size. If `inventory` is provided, the number or string will be used to set that inventory to the requested size",
.info="Sets the speed multiplier to the given amount. `/speedboost 1.5` will set the speed multiplier to 1.5x the normal speed",
.aliases={"speedboost"},
.handle=DEVGMCommands::SpeedBoost,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(SpeedBoostCommand);
CommandStartCelebrationCommand{
.help="Starts a celebration effect on your character",
.info="Starts a celebration effect on your character",
.aliases={"startcelebration"},
.handle=DEVGMCommands::StartCelebration,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(StartCelebrationCommand);
CommandStopEffectCommand{
.help="Stops the given effect",
.info="Stops the given effect",
.aliases={"stopeffect"},
.handle=DEVGMCommands::StopEffect,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(StopEffectCommand);
CommandToggleCommand{
.help="Toggles UI state",
.info="Toggles UI state",
.aliases={"toggle"},
.handle=DEVGMCommands::Toggle,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(ToggleCommand);
CommandTpAllCommand{
.help="Teleports all characters to your current position",
.info="Teleports all characters to your current position",
.aliases={"tpall"},
.handle=DEVGMCommands::TpAll,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(TpAllCommand);
CommandTriggerSpawnerCommand{
.help="Triggers spawner by name",
.info="Triggers spawner by name",
.aliases={"triggerspawner"},
.handle=DEVGMCommands::TriggerSpawner,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(TriggerSpawnerCommand);
CommandUnlockEmoteCommand{
.help="Unlocks for your character the emote of the given id",
.info="Unlocks for your character the emote of the given id",
.aliases={"unlock-emote","unlockemote"},
.handle=DEVGMCommands::UnlockEmote,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(UnlockEmoteCommand);
CommandSetLevelCommand{
.help="Set player level",
.info="Sets the using entities level to the requested level. Takes an optional parameter of an in-game players username to set the level of",
.aliases={"setlevel"},
.handle=DEVGMCommands::SetLevel,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(SetLevelCommand);
CommandSetSkillSlotCommand{
.help="Set an action slot to a specific skill",
.info="Set an action slot to a specific skill",
.aliases={"setskillslot"},
.handle=DEVGMCommands::SetSkillSlot,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(SetSkillSlotCommand);
CommandSetFactionCommand{
.help="Set the players faction",
.info="Clears the users current factions and sets it",
.aliases={"setfaction"},
.handle=DEVGMCommands::SetFaction,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(SetFactionCommand);
CommandAddFactionCommand{
.help="Add the faction to the users list of factions",
.info="Add the faction to the users list of factions",
.aliases={"addfaction"},
.handle=DEVGMCommands::AddFaction,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(AddFactionCommand);
CommandGetFactionsCommand{
.help="Shows the player's factions",
.info="Shows the player's factions",
.aliases={"getfactions"},
.handle=DEVGMCommands::GetFactions,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(GetFactionsCommand);
CommandSetRewardCodeCommand{
.help="Set a reward code for your account",
.info="Sets the rewardcode for the account you are logged into if it's a valid rewardcode, See cdclient table `RewardCodes`",
.aliases={"setrewardcode"},
.handle=DEVGMCommands::SetRewardCode,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(SetRewardCodeCommand);
CommandCrashCommand{
.help="Crash the server",
.info="Crashes the server",
.aliases={"crash","pumpkin"},
.handle=DEVGMCommands::Crash,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(CrashCommand);
CommandRollLootCommand{
.help="Simulate loot rolls",
.info="Given a `loot matrix index`, look for `item id` in that matrix `amount` times and print to the chat box statistics of rolling that loot matrix.",
.aliases={"rollloot","roll-loot"},
.handle=DEVGMCommands::RollLoot,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(RollLootCommand);
CommandCastSkillCommand{
.help="Casts the skill as the player",
.info="Casts the skill as the player",
.aliases={"castskill"},
.handle=DEVGMCommands::CastSkill,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(CastSkillCommand);
CommandDeleteInvenCommand{
.help="Delete all items from a specified inventory",
.info="Delete all items from a specified inventory",
.aliases={"deleteinven"},
.handle=DEVGMCommands::DeleteInven,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(DeleteInvenCommand);
// Register Greater Than Zero Commands
CommandKickCommand{
.help="Kicks the player off the server",
.info="Kicks the player off the server",
.aliases={"kick"},
.handle=GMGreaterThanZeroCommands::Kick,
.requiredLevel=eGameMasterLevel::JUNIOR_MODERATOR
};
RegisterCommand(KickCommand);
CommandMailItemCommand{
.help="Mails an item to the given player",
.info="Mails an item to the given player. The mailed item has predetermined content. The sender name is set to \"Darkflame Universe\". The title of the message is \"Lost item\". The body of the message is \"This is a replacement item for one you lost\".",
.aliases={"mailitem"},
.handle=GMGreaterThanZeroCommands::MailItem,
.requiredLevel=eGameMasterLevel::MODERATOR
};
RegisterCommand(MailItemCommand);
CommandBanCommand{
.help="Bans a user from the server",
.info="Bans a user from the server",
.aliases={"ban"},
.handle=GMGreaterThanZeroCommands::Ban,
.requiredLevel=eGameMasterLevel::SENIOR_MODERATOR
};
RegisterCommand(BanCommand);
CommandApprovePropertyCommand{
.help="Approves a property",
.info="Approves the property the player is currently visiting",
.info="Mute player for the given amount of time. If no time is given, the mute is indefinite.",
.aliases={"mute"},
.handle=GMGreaterThanZeroCommands::Mute,
.requiredLevel=eGameMasterLevel::JUNIOR_DEVELOPER
};
RegisterCommand(MuteCommand);
CommandFlyCommand{
.help="Toggle flying",
.info="Toggles your flying state with an optional parameter for the speed scale.",
.aliases={"fly"},
.handle=GMGreaterThanZeroCommands::Fly,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(FlyCommand);
CommandAttackImmuneCommand{
.help="Make yourself immune to attacks",
.info="Sets the character's immunity to basic attacks state, where value can be one of \"1\", to make yourself immune to basic attack damage, or \"0\" to undo",
.aliases={"attackimmune"},
.handle=GMGreaterThanZeroCommands::AttackImmune,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(AttackImmuneCommand);
CommandGmImmuneCommand{
.help="Sets the character's GMImmune state",
.info="Sets the character's GMImmune state, where value can be one of \"1\", to make yourself immune to damage, or \"0\" to undo",
.aliases={"gmimmune"},
.handle=GMGreaterThanZeroCommands::GmImmune,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(GmImmuneCommand);
CommandGmInvisCommand{
.help="Toggles invisibility for the character",
.info="Toggles invisibility for the character, though it's currently a bit buggy. Requires nonzero GM Level for the character, but the account must have a GM level of 8",
.aliases={"gminvis"},
.handle=GMGreaterThanZeroCommands::GmInvis,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(GmInvisCommand);
CommandSetNameCommand{
.help="Sets a temporary name for your player",
.info="Sets a temporary name for your player. The name resets when you log out",
.aliases={"setname"},
.handle=GMGreaterThanZeroCommands::SetName,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(SetNameCommand);
CommandTitleCommand{
.help="Give your character a title",
.info="Temporarily appends your player's name with \" - <title>\". This resets when you log out",
.aliases={"title"},
.handle=GMGreaterThanZeroCommands::Title,
.requiredLevel=eGameMasterLevel::DEVELOPER
};
RegisterCommand(TitleCommand);
// Register GM Zero Commands
CommandHelpCommand{
.help="Display command info",
.info="If a command is given, display detailed info on that command. Otherwise display a list of commands with short desctiptions.",
.aliases={"help","h"},
.handle=GMZeroCommands::Help,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(HelpCommand);
CommandCreditsCommand{
.help="Displays DLU Credits",
.info="Displays the names of the people behind Darkflame Universe.",
.aliases={"credits"},
.handle=GMZeroCommands::Credits,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(CreditsCommand);
CommandInfoCommand{
.help="Displays server info",
.info="Displays server info to the user, including where to find the server's source code",
.aliases={"info"},
.handle=GMZeroCommands::Info,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(InfoCommand);
CommandDieCommand{
.help="Smashes the player",
.info="Smashes the player as if they were killed by something",
.aliases={"die"},
.handle=GMZeroCommands::Die,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(DieCommand);
CommandPingCommand{
.help="Displays your average ping.",
.info="Displays your average ping. If the `-l` flag is used, the latest ping is displayed.",
.aliases={"ping"},
.handle=GMZeroCommands::Ping,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(PingCommand);
CommandPvpCommand{
.help="Toggle your PVP flag",
.info="Toggle your PVP flag",
.aliases={"pvp"},
.handle=GMZeroCommands::Pvp,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(PvpCommand);
CommandRequestMailCountCommand{
.help="Gets the players mail count",
.info="Sends notification with number of unread messages in the player's mailbox",
.aliases={"requestmailcount"},
.handle=GMZeroCommands::RequestMailCount,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(RequestMailCountCommand);
CommandWhoCommand{
.help="Displays all players on the instance",
.info="Displays all players on the instance",
.aliases={"who"},
.handle=GMZeroCommands::Who,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(WhoCommand);
CommandFixStatsCommand{
.help="Resets skills, buffs, and destroyables",
.info="Resets skills, buffs, and destroyables",
.aliases={"fix-stats"},
.handle=GMZeroCommands::FixStats,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(FixStatsCommand);
CommandJoinCommand{
.help="Join a private zone",
.info="Join a private zone with given password",
.aliases={"join"},
.handle=GMZeroCommands::Join,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(JoinCommand);
CommandLeaveZoneCommand{
.help="Leave an instanced zone",
.info="If you are in an instanced zone, transfers you to the closest main world. For example, if you are in an instance of Avant Gardens Survival or the Spider Queen Battle, you are sent to Avant Gardens. If you are in the Battle of Nimbus Station, you are sent to Nimbus Station.",
.aliases={"leave-zone","leavezone"},
.handle=GMZeroCommands::LeaveZone,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(LeaveZoneCommand);
CommandResurrectCommand{
.help="Resurrects the player",
.info="Resurrects the player",
.aliases={"resurrect"},
.handle=GMZeroCommands::Resurrect,
.requiredLevel=eGameMasterLevel::CIVILIAN
};
RegisterCommand(ResurrectCommand);
CommandInstanceInfoCommand{
.help="Display LWOZoneID info for the current zone",
.info="Display LWOZoneID info for the current zone",