From 84004c4a9edebf8ef0f957ec17b77ca69f826b4d Mon Sep 17 00:00:00 2001 From: Akkadius Date: Wed, 8 Jun 2022 00:29:18 -0500 Subject: [PATCH 1/2] Push up adjustments --- .../operation/in-game-command-reference.md | 498 +++++++++--------- internal/console/command_doc_generator_cmd.go | 52 +- internal/console/util.go | 14 + 3 files changed, 298 insertions(+), 266 deletions(-) diff --git a/docs/server/operation/in-game-command-reference.md b/docs/server/operation/in-game-command-reference.md index 6c45e355..cb256841 100644 --- a/docs/server/operation/in-game-command-reference.md +++ b/docs/server/operation/in-game-command-reference.md @@ -8,274 +8,274 @@ | Command | Description | Status Level | | :--- | :--- | :--- | | #acceptrules | [acceptrules] - Accept the EQEmu Agreement | Player (0) | -| #advnpcspawn | [maketype|makegroup|addgroupentry|addgroupspawn][removegroupspawn|movespawn|editgroupbox|cleargroupbox] | GMLeadAdmin (150) | -| #aggro | [Distance] [-v] - Display aggro information for all mobs 'Distance' distance from your target. -v is verbose Faction Information | QuestTroupe (80) | -| #aggrozone | [aggro] - Aggro every mob in the zone with X aggro. Default is 0. Not recommend if you're not invulnerable. | GMAdmin (100) | -| #ai | [factionid/spellslist/con/guard/roambox/stop/start] - Modify AI on NPC target | GMAdmin (100) | -| #appearance | [type] [value] - Send an appearance packet for you or your target | GMLeadAdmin (150) | -| #appearanceeffects | [view] [set] [remove] appearance effects. | GMAdmin (100) | -| #apply_shared_memory | [shared_memory_name] - Tells every zone and world to apply a specific shared memory segment by name. | GMImpossible (250) | -| #attack | [Entity Name] - Make your NPC target attack an entity by name | GMLeadAdmin (150) | -| #augmentitem | Force augments an item. Must have the augment item window open. | GMImpossible (250) | -| #ban | [Character Name] [Reason] - Ban by character name | GMLeadAdmin (150) | -| #bind | Sets your targets bind spot to their current location | GMMgmt (200) | +| #advnpcspawn | [maketype|makegroup|addgroupentry|addgroupspawn][removegroupspawn|movespawn|editgroupbox|cleargroupbox] | GMLeadAdmin (0) | +| #aggro | [Distance] [-v] - Display aggro information for all mobs 'Distance' distance from your target. (-v is verbose Faction Information) | QuestTroupe (0) | +| #aggrozone | [aggro] - Aggro every mob in the zone with X aggro. Default is 0. Not recommend if you're not invulnerable. | GMAdmin (0) | +| #ai | [factionid/spellslist/con/guard/roambox/stop/start] - Modify AI on NPC target | GMAdmin (0) | +| #appearance | [type] [value] - Send an appearance packet for you or your target | GMLeadAdmin (0) | +| #appearanceeffects | [view] [set] [remove] appearance effects. | GMAdmin (0) | +| #apply_shared_memory | [shared_memory_name] - Tells every zone and world to apply a specific shared memory segment by name. | GMImpossible (0) | +| #attack | [Entity Name] - Make your NPC target attack an entity by name | GMLeadAdmin (0) | +| #augmentitem | Force augments an item. Must have the augment item window open. | GMImpossible (0) | +| #ban | [Character Name] [Reason] - Ban by character name | GMLeadAdmin (0) | +| #bind | Sets your targets bind spot to their current location | GMMgmt (0) | | #bot | Type \#bot help\ or \^help\ to the see the list of available commands for bots. | Player (0) | -| #camerashake | [Duration Milliseconds] [Intensity 1-10] - Shakes the camera on everyone's screen globally. | QuestTroupe (80) | -| #castspell | [Spell ID] [Instant 0 = False, 1 = True, Default is 1 if Unused] - Cast a spell | Guide (50) | -| #chat | [channel num] [message] - Send a channel message to all zones | GMMgmt (200) | -| #checklos | Check for line of sight to your target | Guide (50) | -| #copycharacter | [source_char_name] [dest_char_name] [dest_account_name] - Copies character to destination account | GMImpossible (250) | -| #corpse | Manipulate corpses, use with no arguments for help | Guide (50) | +| #camerashake | [Duration (Milliseconds)] [Intensity (1-10)] - Shakes the camera on everyone's screen globally. | QuestTroupe (0) | +| #castspell | [Spell ID] [Instant (0 = False, 1 = True, Default is 1 if Unused)] - Cast a spell | Guide (0) | +| #chat | [channel num] [message] - Send a channel message to all zones | GMMgmt (0) | +| #checklos | Check for line of sight to your target | Guide (0) | +| #copycharacter | [source_char_name] [dest_char_name] [dest_account_name] - Copies character to destination account | GMImpossible (0) | +| #corpse | Manipulate corpses, use with no arguments for help | Guide (0) | | #corpsefix | Attempts to bring corpses from underneath the ground within close proximity of the player | Player (0) | -| #countitem | [Item ID] - Counts the specified Item ID in your or your target's inventory | GMLeadAdmin (150) | -| #cvs | Summary of client versions currently online. | GMMgmt (200) | -| #damage | [Amount] - Damage yourself or your target | GMAdmin (100) | -| #databuckets | View|Delete [key] [limit]- View data buckets, limit 50 default or Delete databucket by key | QuestTroupe (80) | -| #date | [Year] [Month] [Day] [Hour] [Minute] - Set EQ time Hour and Minute are optional | EQSupport (90) | -| #dbspawn2 | [spawngroup] [respawn] [variance] - Spawn an NPC from a predefined row in the spawn2 table | GMAdmin (100) | -| #delacct | [accountname] - Delete an account | GMLeadAdmin (150) | -| #delpetition | [petition number] - Delete a petition | ApprenticeGuide (20) | -| #depop | Depop your NPC target | Guide (50) | -| #depopzone | Depop the zone | GMAdmin (100) | -| #devtools | Manages devtools | GMMgmt (200) | -| #disablerecipe | [Recipe ID] - Disables a Recipe | QuestTroupe (80) | -| #disarmtrap | Analog for ldon disarm trap for the newer clients since we still don't have it working. | QuestTroupe (80) | -| #distance | Reports the distance between you and your target. | QuestTroupe (80) | -| #door | Door editing command | QuestTroupe (80) | -| #doanim | [animnum] [type] - Send an EmoteAnim for you or your target | Guide (50) | -| #dye | [slot|'help'] [red] [green] [blue] [use_tint] - Dyes the specified armor slot to Red, Green, and Blue provided, allows you to bypass darkness limits. | ApprenticeGuide (20) | -| #dz | Manage expeditions and dynamic zone instances | QuestTroupe (80) | -| #dzkickplayers | Removes all players from current expedition. /kickplayers alternative for pre-RoF clients | Player (0) | -| #editmassrespawn | [name-search] [second-value] - Mass Zone wide NPC respawn timer editing command | GMAdmin (100) | -| #emote | ['name'/'world'/'zone'] [type] [message] - Send an emote message | QuestTroupe (80) | -| #emotesearch | Searches NPC Emotes | QuestTroupe (80) | -| #emoteview | Lists all NPC Emotes | QuestTroupe (80) | -| #emptyinventory | Clears your or your target's entire inventory Equipment, General, Bank, and Shared Bank | GMImpossible (250) | -| #enablerecipe | [Recipe ID] - Enables a Recipe | QuestTroupe (80) | -| #endurance | Restores your or your target's endurance. | Guide (50) | -| #equipitem | [slotid0-21] - Equip the item on your cursor into the specified slot | Guide (50) | -| #faction | [Find criteria | all | Review criteria | all | Reset id] - Resets Player's Faction | QuestTroupe (80) | -| #feature | Change your or your target's feature's temporarily | QuestTroupe (80) | +| #countitem | [Item ID] - Counts the specified Item ID in your or your target's inventory | GMLeadAdmin (0) | +| #cvs | Summary of client versions currently online. | GMMgmt (0) | +| #damage | [Amount] - Damage yourself or your target | GMAdmin (0) | +| #databuckets | View|Delete [key] [limit]- View data buckets, limit 50 default or Delete databucket by key | QuestTroupe (0) | +| #date | [Year] [Month] [Day] [Hour] [Minute] - Set EQ time (Hour and Minute are optional) | EQSupport (0) | +| #dbspawn2 | [spawngroup] [respawn] [variance] - Spawn an NPC from a predefined row in the spawn2 table | GMAdmin (0) | +| #delacct | [accountname] - Delete an account | GMLeadAdmin (0) | +| #delpetition | [petition number] - Delete a petition | ApprenticeGuide (0) | +| #depop | Depop your NPC target | Guide (0) | +| #depopzone | Depop the zone | GMAdmin (0) | +| #devtools | Manages devtools | GMMgmt (0) | +| #disablerecipe | [Recipe ID] - Disables a Recipe | QuestTroupe (0) | +| #disarmtrap | Analog for ldon disarm trap for the newer clients since we still don't have it working. | QuestTroupe (0) | +| #distance | Reports the distance between you and your target. | QuestTroupe (0) | +| #door | Door editing command | QuestTroupe (0) | +| #doanim | [animnum] [type] - Send an EmoteAnim for you or your target | Guide (0) | +| #dye | [slot|'help'] [red] [green] [blue] [use_tint] - Dyes the specified armor slot to Red, Green, and Blue provided, allows you to bypass darkness limits. | ApprenticeGuide (0) | +| #dz | Manage expeditions and dynamic zone instances | QuestTroupe (0) | +| #dzkickplayers | Removes all players from current expedition. (/kickplayers alternative for pre-RoF clients) | Player (0) | +| #editmassrespawn | [name-search] [second-value] - Mass (Zone wide) NPC respawn timer editing command | GMAdmin (0) | +| #emote | ['name'/'world'/'zone'] [type] [message] - Send an emote message | QuestTroupe (0) | +| #emotesearch | Searches NPC Emotes | QuestTroupe (0) | +| #emoteview | Lists all NPC Emotes | QuestTroupe (0) | +| #emptyinventory | Clears your or your target's entire inventory (Equipment, General, Bank, and Shared Bank) | GMImpossible (0) | +| #enablerecipe | [Recipe ID] - Enables a Recipe | QuestTroupe (0) | +| #endurance | Restores your or your target's endurance. | Guide (0) | +| #equipitem | [slotid(0-21)] - Equip the item on your cursor into the specified slot | Guide (0) | +| #faction | [Find (criteria | all ) | Review (criteria | all) | Reset (id)] - Resets Player's Faction | QuestTroupe (0) | +| #feature | Change your or your target's feature's temporarily | QuestTroupe (0) | | #findaliases | [Search Criteria]- Searches for available command aliases, by alias or command | Player (0) | -| #findclass | [Search Criteria] - Search for a class | Guide (50) | -| #findfaction | [Search Criteria] - Search for a faction | Guide (50) | -| #findnpctype | [Search Criteria] - Search database NPC types | GMAdmin (100) | -| #findrace | [Search Criteria] - Search for a race | Guide (50) | -| #findskill | [Search Criteria] - Search for a skill | Guide (50) | -| #findspell | [Search Criteria] - Search for a spell | Guide (50) | -| #findtask | [Search Criteria] - Search for a task | Guide (50) | -| #findzone | [Search Criteria] - Search database zones | GMAdmin (100) | -| #fixmob | [race|gender|texture|helm|face|hair|haircolor|beard|beardcolor|heritage|tattoo|detail] [next|prev] - Manipulate appearance of your target | QuestTroupe (80) | +| #findclass | [Search Criteria] - Search for a class | Guide (0) | +| #findfaction | [Search Criteria] - Search for a faction | Guide (0) | +| #findnpctype | [Search Criteria] - Search database NPC types | GMAdmin (0) | +| #findrace | [Search Criteria] - Search for a race | Guide (0) | +| #findskill | [Search Criteria] - Search for a skill | Guide (0) | +| #findspell | [Search Criteria] - Search for a spell | Guide (0) | +| #findtask | [Search Criteria] - Search for a task | Guide (0) | +| #findzone | [Search Criteria] - Search database zones | GMAdmin (0) | +| #fixmob | [race|gender|texture|helm|face|hair|haircolor|beard|beardcolor|heritage|tattoo|detail] [next|prev] - Manipulate appearance of your target | QuestTroupe (0) | | #flag | [Status] [Account Name] - Refresh your admin status, or set an account's Admin status if arguments provided | Player (0) | -| #flagedit | Edit zone flags on your target. Use #flagedit help for more info. | GMAdmin (100) | +| #flagedit | Edit zone flags on your target. Use #flagedit help for more info. | GMAdmin (0) | | #flags | displays the Zone Flags of you or your target | Player (0) | -| #flymode | [0/1/2/3/4/5] - Set your or your player target's flymode to ground/flying/levitate/water/floating/levitate_running | Guide (50) | -| #fov | Check wether you're behind or in your target's field of view | QuestTroupe (80) | -| #freeze | Freeze your target | QuestTroupe (80) | -| #gassign | [Grid ID] - Assign targetted NPC to predefined wandering grid id | GMAdmin (100) | -| #gearup | Developer tool to quickly equip a character | GMMgmt (200) | -| #gender | [0/1/2] - Change your or your target's gender to male/female/neuter | Guide (50) | -| #getplayerburiedcorpsecount | Get your or your target's total number of buried player corpses. | GMAdmin (100) | -| #getvariable | [Variable Name] - Get the value of a variable from the database | GMMgmt (200) | -| #ginfo | get group info on target. | ApprenticeGuide (20) | -| #giveitem | [itemid] [charges] - Summon an item onto your target's cursor. Charges are optional. | GMMgmt (200) | -| #givemoney | [Platinum] [Gold] [Silver] [Copper] - Gives specified amount of money to you or your player target | GMMgmt (200) | -| #globalview | Lists all qglobals in cache if you were to do a quest with this target. | QuestTroupe (80) | -| #gm | [On|Off] - Modify your or your target's GM Flag | QuestTroupe (80) | -| #gmspeed | [On|Off] - Turn GM Speed On or Off for you or your player target | GMAdmin (100) | -| #gmzone | [Zone ID|Zone Short Name] [Version] [Instance Identifier] - Zones to a private GM instance Version defaults to 0 and Instance Identifier defaults to 'gmzone' if not used | GMAdmin (100) | -| #goto | [playername] or [x y z] [h] - Teleport to the provided coordinates or to your target | Steward (10) | -| #grid | [add/delete] [grid_num] [wandertype] [pausetype] - Create/delete a wandering grid | GMAreas (170) | -| #guild | Guild manipulation commands. Use argument help for more info. | Steward (10) | -| #guildapprove | [guildapproveid] - Approve a guild with specified ID guild creator receives the id | Player (0) | +| #flymode | [0/1/2/3/4/5] - Set your or your player target's flymode to ground/flying/levitate/water/floating/levitate_running | Guide (0) | +| #fov | Check wether you're behind or in your target's field of view | QuestTroupe (0) | +| #freeze | Freeze your target | QuestTroupe (0) | +| #gassign | [Grid ID] - Assign targetted NPC to predefined wandering grid id | GMAdmin (0) | +| #gearup | Developer tool to quickly equip a character | GMMgmt (0) | +| #gender | [0/1/2] - Change your or your target's gender to male/female/neuter | Guide (0) | +| #getplayerburiedcorpsecount | Get your or your target's total number of buried player corpses. | GMAdmin (0) | +| #getvariable | [Variable Name] - Get the value of a variable from the database | GMMgmt (0) | +| #ginfo | get group info on target. | ApprenticeGuide (0) | +| #giveitem | [itemid] [charges] - Summon an item onto your target's cursor. Charges are optional. | GMMgmt (0) | +| #givemoney | [Platinum] [Gold] [Silver] [Copper] - Gives specified amount of money to you or your player target | GMMgmt (0) | +| #globalview | Lists all qglobals in cache if you were to do a quest with this target. | QuestTroupe (0) | +| #gm | [On|Off] - Modify your or your target's GM Flag | QuestTroupe (0) | +| #gmspeed | [On|Off] - Turn GM Speed On or Off for you or your player target | GMAdmin (0) | +| #gmzone | [Zone ID|Zone Short Name] [Version] [Instance Identifier] - Zones to a private GM instance (Version defaults to 0 and Instance Identifier defaults to 'gmzone' if not used) | GMAdmin (0) | +| #goto | [playername] or [x y z] [h] - Teleport to the provided coordinates or to your target | Steward (0) | +| #grid | [add/delete] [grid_num] [wandertype] [pausetype] - Create/delete a wandering grid | GMAreas (0) | +| #guild | Guild manipulation commands. Use argument help for more info. | Steward (0) | +| #guildapprove | [guildapproveid] - Approve a guild with specified ID (guild creator receives the id) | Player (0) | | #guildcreate | [guildname] - Creates an approval setup for guild name specified | Player (0) | | #guildlist | [guildapproveid] - Lists character names who have approved the guild specified by the approve id | Player (0) | -| #haste | [percentage] - Set your haste percentage | GMAdmin (100) | -| #hatelist | Display hate list for NPC. | QuestTroupe (80) | -| #heal | Completely heal your target | Steward (10) | +| #haste | [percentage] - Set your haste percentage | GMAdmin (0) | +| #hatelist | Display hate list for NPC. | QuestTroupe (0) | +| #heal | Completely heal your target | Steward (0) | | #help | [Search Criteria] - List available commands and their description, specify partial command as argument to search | Player (0) | -| #heromodel | [hero model] [slot] - Full set of Hero's Forge Armor appearance. If slot is set, sends exact model just to slot. | GMMgmt (200) | -| #hideme | [on/off] - Hide yourself from spawn lists. | QuestTroupe (80) | -| #hotfix | [hotfix_name] - Reloads shared memory into a hotfix, equiv to load_shared_memory followed by apply_shared_memory | GMImpossible (250) | +| #heromodel | [hero model] [slot] - Full set of Hero's Forge Armor appearance. If slot is set, sends exact model just to slot. | GMMgmt (0) | +| #hideme | [on/off] - Hide yourself from spawn lists. | QuestTroupe (0) | +| #hotfix | [hotfix_name] - Reloads shared memory into a hotfix, equiv to load_shared_memory followed by apply_shared_memory | GMImpossible (0) | | #hp | Refresh your HP bar from the server. | Player (0) | -| #incstat | Increases or Decreases a client's stats permanently. | GMMgmt (200) | -| #instance | Modify Instances | GMMgmt (200) | +| #incstat | Increases or Decreases a client's stats permanently. | GMMgmt (0) | +| #instance | Modify Instances | GMMgmt (0) | | #interrogateinv | use [help] argument for available options | Player (0) | -| #interrupt | [message id] [color] - Interrupt your casting. Arguments are optional. | Guide (50) | -| #invsnapshot | Manipulates inventory snapshots for your current target | QuestTroupe (80) | -| #invul | [On|Off]] - Turn player target's or your invulnerable flag on or off | QuestTroupe (80) | -| #ipban | [IP] - Ban IP | GMMgmt (200) | -| #iplookup | [charname] - Look up IP address of charname | GMMgmt (200) | -| #iteminfo | Get information about the item on your cursor | Steward (10) | -| #itemsearch | [Search Criteria] - Search for an item | Steward (10) | -| #kick | [Character Name] - Disconnect a player by name | GMLeadAdmin (150) | -| #kill | Kill your target | GMAdmin (100) | -| #killallnpcs | [npc_name] - Kills all npcs by search name, leave blank for all attackable NPC's | GMMgmt (200) | -| #lastname | [Last Name] - Set your or your player target's last name use \-1\ to remove last name | Guide (50) | -| #level | [Level] - Set your target's level | Steward (10) | -| #list | [npcs|players|corpses|doors|objects] [search] - Search entities | ApprenticeGuide (20) | -| #listpetition | List petitions | Guide (50) | -| #load_shared_memory | [shared_memory_name] - Reloads shared memory and uses the input as output | GMImpossible (250) | +| #interrupt | [message id] [color] - Interrupt your casting. Arguments are optional. | Guide (0) | +| #invsnapshot | Manipulates inventory snapshots for your current target | QuestTroupe (0) | +| #invul | [On|Off]] - Turn player target's or your invulnerable flag on or off | QuestTroupe (0) | +| #ipban | [IP] - Ban IP | GMMgmt (0) | +| #iplookup | [charname] - Look up IP address of charname | GMMgmt (0) | +| #iteminfo | Get information about the item on your cursor | Steward (0) | +| #itemsearch | [Search Criteria] - Search for an item | Steward (0) | +| #kick | [Character Name] - Disconnect a player by name | GMLeadAdmin (0) | +| #kill | Kill your target | GMAdmin (0) | +| #killallnpcs | [npc_name] - Kills all npcs by search name, leave blank for all attackable NPC's | GMMgmt (0) | +| #lastname | [Last Name] - Set your or your player target's last name (use \-1\ to remove last name) | Guide (0) | +| #level | [Level] - Set your target's level | Steward (0) | +| #list | [npcs|players|corpses|doors|objects] [search] - Search entities | ApprenticeGuide (0) | +| #listpetition | List petitions | Guide (0) | +| #load_shared_memory | [shared_memory_name] - Reloads shared memory and uses the input as output | GMImpossible (0) | | #loc | Print out your or your target's current location and heading | Player (0) | -| #logs | Manage anything to do with logs | GMImpossible (250) | -| #makepet | [Pet Name] - Make a pet | Guide (50) | -| #mana | Fill your or your target's mana | Guide (50) | -| #maxskills | Maxes skills for you. | GMMgmt (200) | -| #memspell | [Spell ID] [Spell Gem] - Memorize a Spell by ID to the specified Spell Gem for you or your target | Guide (50) | -| #merchant_close_shop | Closes a merchant shop | GMAdmin (100) | -| #merchant_open_shop | Opens a merchants shop | GMAdmin (100) | -| #modifynpcstat | Modifies an NPC's stats | GMLeadAdmin (150) | -| #motd | [Message of the Day] - Set Message of the Day leave empty to have no Message of the Day | GMLeadAdmin (150) | -| #movechar | [Character ID|Character Name] [Zone ID|Zone Short Name] - Move an offline character to the specified zone | Guide (50) | -| #movement | Various movement commands | GMMgmt (200) | +| #logs | Manage anything to do with logs | GMImpossible (0) | +| #makepet | [Pet Name] - Make a pet | Guide (0) | +| #mana | Fill your or your target's mana | Guide (0) | +| #maxskills | Maxes skills for you. | GMMgmt (0) | +| #memspell | [Spell ID] [Spell Gem] - Memorize a Spell by ID to the specified Spell Gem for you or your target | Guide (0) | +| #merchant_close_shop | Closes a merchant shop | GMAdmin (0) | +| #merchant_open_shop | Opens a merchants shop | GMAdmin (0) | +| #modifynpcstat | Modifies an NPC's stats | GMLeadAdmin (0) | +| #motd | [Message of the Day] - Set Message of the Day (leave empty to have no Message of the Day) | GMLeadAdmin (0) | +| #movechar | [Character ID|Character Name] [Zone ID|Zone Short Name] - Move an offline character to the specified zone | Guide (0) | +| #movement | Various movement commands | GMMgmt (0) | | #myskills | Show details about your current skill levels | Player (0) | -| #mysql | [Help|Query] [SQL Query] - Mysql CLI, see 'Help' for options. | GMImpossible (250) | -| #mystats | Show details about you or your pet | Guide (50) | -| #name | [New Name] - Rename your player target | GMLeadAdmin (150) | -| #netstats | Gets the network stats for a stream. | GMMgmt (200) | -| #network | Admin commands for the udp network interface. | GMImpossible (250) | -| #npccast | [targetname/entityid] [spellid] - Causes NPC target to cast spellid on targetname/entityid | QuestTroupe (80) | -| #npcedit | [column] [value] - Mega NPC editing command | GMAdmin (100) | -| #npceditmass | [name-search] [column] [value] - Mass Zone wide NPC data editing command | GMAdmin (100) | -| #npcemote | [Message] - Make your NPC target emote a message. | GMLeadAdmin (150) | -| #npcloot | Manipulate the loot an NPC is carrying. Use #npcloot help for more information. | QuestTroupe (80) | -| #npcsay | [Message] - Make your NPC target say a message. | GMLeadAdmin (150) | -| #npcshout | [Message] - Make your NPC target shout a message. | GMLeadAdmin (150) | -| #npcspawn | [create/add/update/remove/delete] - Manipulate spawn DB | GMAreas (170) | -| #npcstats | Show stats about target NPC | QuestTroupe (80) | -| #npctypespawn | [NPC ID] [Faction ID] - Spawn an NPC by ID from the database with an option of setting its Faction ID | Steward (10) | -| #nudge | Nudge your target's current position by specific values | QuestTroupe (80) | -| #nukebuffs | [Beneficial|Detrimental|Help] - Strip all buffs by type on you or your target no argument to remove all buffs | Guide (50) | -| #nukeitem | [Item ID] - Removes the specified Item ID from you or your player target's inventory | GMLeadAdmin (150) | -| #object | List|Add|Edit|Move|Rotate|Copy|Save|Undo|Delete - Manipulate static and tradeskill objects within the zone | GMAdmin (100) | -| #oocmute | [0|1] - Enable or Disable Server OOC | GMMgmt (200) | -| #opcode | opcode management | GMImpossible (250) | -| #path | view and edit pathing | GMMgmt (200) | -| #peekinv | [equip/gen/cursor/poss/limbo/curlim/trib/bank/shbank/allbank/trade/world/all] - Print out contents of your player target's inventory | GMAdmin (100) | +| #mysql | [Help|Query] [SQL Query] - Mysql CLI, see 'Help' for options. | GMImpossible (0) | +| #mystats | Show details about you or your pet | Guide (0) | +| #name | [New Name] - Rename your player target | GMLeadAdmin (0) | +| #netstats | Gets the network stats for a stream. | GMMgmt (0) | +| #network | Admin commands for the udp network interface. | GMImpossible (0) | +| #npccast | [targetname/entityid] [spellid] - Causes NPC target to cast spellid on targetname/entityid | QuestTroupe (0) | +| #npcedit | [column] [value] - Mega NPC editing command | GMAdmin (0) | +| #npceditmass | [name-search] [column] [value] - Mass (Zone wide) NPC data editing command | GMAdmin (0) | +| #npcemote | [Message] - Make your NPC target emote a message. | GMLeadAdmin (0) | +| #npcloot | Manipulate the loot an NPC is carrying. Use #npcloot help for more information. | QuestTroupe (0) | +| #npcsay | [Message] - Make your NPC target say a message. | GMLeadAdmin (0) | +| #npcshout | [Message] - Make your NPC target shout a message. | GMLeadAdmin (0) | +| #npcspawn | [create/add/update/remove/delete] - Manipulate spawn DB | GMAreas (0) | +| #npcstats | Show stats about target NPC | QuestTroupe (0) | +| #npctypespawn | [NPC ID] [Faction ID] - Spawn an NPC by ID from the database with an option of setting its Faction ID | Steward (0) | +| #nudge | Nudge your target's current position by specific values | QuestTroupe (0) | +| #nukebuffs | [Beneficial|Detrimental|Help] - Strip all buffs by type on you or your target (no argument to remove all buffs) | Guide (0) | +| #nukeitem | [Item ID] - Removes the specified Item ID from you or your player target's inventory | GMLeadAdmin (0) | +| #object | List|Add|Edit|Move|Rotate|Copy|Save|Undo|Delete - Manipulate static and tradeskill objects within the zone | GMAdmin (0) | +| #oocmute | [0|1] - Enable or Disable Server OOC | GMMgmt (0) | +| #opcode | opcode management | GMImpossible (0) | +| #path | view and edit pathing | GMMgmt (0) | +| #peekinv | [equip/gen/cursor/poss/limbo/curlim/trib/bank/shbank/allbank/trade/world/all] - Print out contents of your player target's inventory | GMAdmin (0) | | #peqzone | [Zone ID|Zone Short Name] - Teleports you to the specified zone if you meet the requirements. | Player (0) | | #peqzone_flags | displays the PEQZone Flags of you or your target | Player (0) | -| #permaclass | [Class ID] - Change your or your player target's class, changed client is disconnected | QuestTroupe (80) | -| #permagender | [Gender ID] - Change your or your player target's gender | QuestTroupe (80) | -| #permarace | [Race ID] - Change your or your player target's race | QuestTroupe (80) | -| #petitems | View your pet's items if you have one | ApprenticeGuide (20) | -| #petitioninfo | [petition number] - Get info about a petition | ApprenticeGuide (20) | +| #permaclass | [Class ID] - Change your or your player target's class, changed client is disconnected | QuestTroupe (0) | +| #permagender | [Gender ID] - Change your or your player target's gender | QuestTroupe (0) | +| #permarace | [Race ID] - Change your or your player target's race | QuestTroupe (0) | +| #petitems | View your pet's items if you have one | ApprenticeGuide (0) | +| #petitioninfo | [petition number] - Get info about a petition | ApprenticeGuide (0) | | #picklock | Analog for ldon pick lock for the newer clients since we still don't have it working. | Player (0) | -| #profanity | Manage censored language. | GMLeadAdmin (150) | -| #push | [Back Push] [Up Push] - Lets you do spell push on an NPC | GMLeadAdmin (150) | -| #proximity | Shows NPC proximity | GMLeadAdmin (150) | -| #pvp | [On|Off] - Set you or your player target's PVP status | GMAdmin (100) | -| #qglobal | [On|Off|View] - Toggles quest global functionality for your NPC target | GMAdmin (100) | -| #questerrors | Shows quest errors. | GMAdmin (100) | -| #race | [racenum] - Change your or your target's race. Use racenum 0 to return to normal | Guide (50) | +| #profanity | Manage censored language. | GMLeadAdmin (0) | +| #push | [Back Push] [Up Push] - Lets you do spell push on an NPC | GMLeadAdmin (0) | +| #proximity | Shows NPC proximity | GMLeadAdmin (0) | +| #pvp | [On|Off] - Set you or your player target's PVP status | GMAdmin (0) | +| #qglobal | [On|Off|View] - Toggles quest global functionality for your NPC target | GMAdmin (0) | +| #questerrors | Shows quest errors. | GMAdmin (0) | +| #race | [racenum] - Change your or your target's race. Use racenum 0 to return to normal | Guide (0) | | #raidloot | [All|GroupLeader|RaidLeader|Selected] - Sets your Raid Loot Type if you have permission to do so. | Player (0) | -| #randomfeatures | Temporarily randomizes the Facial Features of your target | QuestTroupe (80) | +| #randomfeatures | Temporarily randomizes the Facial Features of your target | QuestTroupe (0) | | #refreshgroup | Refreshes Group for you or your player target. | Player (0) | -| #reload | Reloads different types of server data globally, use no argument for help menu. | GMMgmt (200) | -| #removeitem | [Item ID] [Amount] - Removes the specified Item ID by Amount from you or your player target's inventory Amount defaults to 1 if not used | GMAdmin (100) | -| #repop | [Force] - Repop the zone with optional force repop | GMAdmin (100) | -| #resetaa | Resets a Player's AA in their profile and refunds spent AA's to unspent, may disconnect player. | GMMgmt (200) | -| #resetaa_timer | [All|Timer ID] - Command to reset AA cooldown timers for you or your player target. | GMMgmt (200) | -| #resetdisc_timer | [All|Timer ID] - Command to reset discipline timers. | GMMgmt (200) | -| #revoke | [Character Name] [0|1] - Revokes or unrevokes a player's ability to talk in OOC by name 0 = Unrevoke, 1 = Revoke | GMMgmt (200) | -| #roambox | [Remove|Set] [Box Size] [Delay Milliseconds] - Remove or set an NPC's roambox size and delay | GMMgmt (200) | -| #rules | subcommand - Manage server rules | GMImpossible (250) | -| #save | Force your player or player corpse target to be saved to the database | Guide (50) | -| #scale | Handles npc scaling | GMLeadAdmin (150) | -| #scribespell | [spellid] - Scribe specified spell in your target's spell book. | GMCoder (180) | -| #scribespells | [max level] [min level] - Scribe all spells for you or your player target that are usable by them, up to level specified. may freeze client for a few seconds | GMLeadAdmin (150) | -| #sendzonespawns | Refresh spawn list for all clients in zone | GMLeadAdmin (150) | +| #reload | Reloads different types of server data globally, use no argument for help menu. | GMMgmt (0) | +| #removeitem | [Item ID] [Amount] - Removes the specified Item ID by Amount from you or your player target's inventory (Amount defaults to 1 if not used) | GMAdmin (0) | +| #repop | [Force] - Repop the zone with optional force repop | GMAdmin (0) | +| #resetaa | Resets a Player's AA in their profile and refunds spent AA's to unspent, may disconnect player. | GMMgmt (0) | +| #resetaa_timer | [All|Timer ID] - Command to reset AA cooldown timers for you or your player target. | GMMgmt (0) | +| #resetdisc_timer | [All|Timer ID] - Command to reset discipline timers. | GMMgmt (0) | +| #revoke | [Character Name] [0|1] - Revokes or unrevokes a player's ability to talk in OOC by name (0 = Unrevoke, 1 = Revoke) | GMMgmt (0) | +| #roambox | [Remove|Set] [Box Size] [Delay (Milliseconds)] - Remove or set an NPC's roambox size and delay | GMMgmt (0) | +| #rules | (subcommand) - Manage server rules | GMImpossible (0) | +| #save | Force your player or player corpse target to be saved to the database | Guide (0) | +| #scale | Handles npc scaling | GMLeadAdmin (0) | +| #scribespell | [spellid] - Scribe specified spell in your target's spell book. | GMCoder (0) | +| #scribespells | [max level] [min level] - Scribe all spells for you or your player target that are usable by them, up to level specified. (may freeze client for a few seconds) | GMLeadAdmin (0) | +| #sendzonespawns | Refresh spawn list for all clients in zone | GMLeadAdmin (0) | | #sensetrap | Analog for ldon sense trap for the newer clients since we still don't have it working. | Player (0) | -| #serverinfo | Get CPU, Operating System, and Process Information about the server | GMMgmt (200) | -| #serverlock | [0|1] - Lock or Unlock the World Server 0 = Unlocked, 1 = Locked | GMLeadAdmin (150) | +| #serverinfo | Get CPU, Operating System, and Process Information about the server | GMMgmt (0) | +| #serverlock | [0|1] - Lock or Unlock the World Server (0 = Unlocked, 1 = Locked) | GMLeadAdmin (0) | | #serverrules | Read this server's rules | Player (0) | -| #setaapts | [AA|Group|Raid] [AA Amount] - Set your or your player target's Available AA Points by Type | GMAdmin (100) | -| #setaaxp | [AA|Group|Raid] [AA Experience] - Set your or your player target's AA Experience by Type | GMAdmin (100) | -| #setadventurepoints | [Theme] [Points] - Set your or your player target's available Adventure Points by Theme | GMLeadAdmin (150) | -| #setaltcurrency | [Currency ID] [Amount] - Set your or your target's available Alternate Currency by Currency ID | GMAdmin (100) | -| #setanim | [Animation ID IDs are 0 to 4] - Set target's appearance to Animation ID | GMMgmt (200) | -| #setcrystals | [value] - Set your or your player target's available radiant or ebon crystals | GMAdmin (100) | -| #setendurance | [Endurance] - Set your or your target's Endurance | GMAdmin (100) | -| #setfaction | [Faction ID] - Sets targeted NPC's faction in the database | GMAreas (170) | -| #sethp | [Health] - Set your or your target's Health | GMAdmin (100) | -| #setlanguage | [language ID] [value] - Set your target's language skillnum to value | Guide (50) | -| #setlsinfo | [Email] [Password] - Set loginserver email address and password if supported by loginserver | Steward (10) | -| #setmana | [Mana] - Set your or your target's Mana | GMAdmin (100) | -| #setpass | [Account Name] [Password] - Set local password by account name | GMLeadAdmin (150) | -| #setpvppoints | [Amount] - Set your or your player target's PVP points | GMAdmin (100) | -| #setskill | [skillnum] [value] - Set your target's skill skillnum to value | Guide (50) | -| #setskillall | [Skill Level] - Set all of your or your target's skills to the specified skill level | Guide (50) | -| #setstartzone | [Zone ID|Zone Short Name] - Sets your or your target's starting zone Use '0' or 'Reset' to allow the player use of /setstartcity | QuestTroupe (80) | -| #setstat | Sets the stats to a specific value. | Max (255) | -| #setxp | [value] - Set your or your player target's experience | GMAdmin (100) | -| #showbonusstats | [item|spell|all] Shows bonus stats for target from items or spells. Shows both by default. | Guide (50) | -| #showbuffs | List buffs active on your target or you if no target | Guide (50) | +| #setaapts | [AA|Group|Raid] [AA Amount] - Set your or your player target's Available AA Points by Type | GMAdmin (0) | +| #setaaxp | [AA|Group|Raid] [AA Experience] - Set your or your player target's AA Experience by Type | GMAdmin (0) | +| #setadventurepoints | [Theme] [Points] - Set your or your player target's available Adventure Points by Theme | GMLeadAdmin (0) | +| #setaltcurrency | [Currency ID] [Amount] - Set your or your target's available Alternate Currency by Currency ID | GMAdmin (0) | +| #setanim | [Animation ID (IDs are 0 to 4)] - Set target's appearance to Animation ID | GMMgmt (0) | +| #setcrystals | [value] - Set your or your player target's available radiant or ebon crystals | GMAdmin (0) | +| #setendurance | [Endurance] - Set your or your target's Endurance | GMAdmin (0) | +| #setfaction | [Faction ID] - Sets targeted NPC's faction in the database | GMAreas (0) | +| #sethp | [Health] - Set your or your target's Health | GMAdmin (0) | +| #setlanguage | [language ID] [value] - Set your target's language skillnum to value | Guide (0) | +| #setlsinfo | [Email] [Password] - Set loginserver email address and password (if supported by loginserver) | Steward (0) | +| #setmana | [Mana] - Set your or your target's Mana | GMAdmin (0) | +| #setpass | [Account Name] [Password] - Set local password by account name | GMLeadAdmin (0) | +| #setpvppoints | [Amount] - Set your or your player target's PVP points | GMAdmin (0) | +| #setskill | [skillnum] [value] - Set your target's skill skillnum to value | Guide (0) | +| #setskillall | [Skill Level] - Set all of your or your target's skills to the specified skill level | Guide (0) | +| #setstartzone | [Zone ID|Zone Short Name] - Sets your or your target's starting zone (Use '0' or 'Reset' to allow the player use of /setstartcity) | QuestTroupe (0) | +| #setstat | Sets the stats to a specific value. | Max (0) | +| #setxp | [value] - Set your or your player target's experience | GMAdmin (0) | +| #showbonusstats | [item|spell|all] Shows bonus stats for target from items or spells. Shows both by default. | Guide (0) | +| #showbuffs | List buffs active on your target or you if no target | Guide (0) | | #shownumhits | Shows buffs numhits for yourself. | Player (0) | -| #shownpcgloballoot | Show global loot entries for your target NPC | Guide (50) | -| #showskills | [Start Skill ID] [All] - Show the values of your or your player target's skills in a popup 50 at a time, use 'all' as second argument to show non-usable skill's values | Guide (50) | -| #showspellslist | Shows spell list of targeted NPC | GMAdmin (100) | -| #showstats | Show details about you or your target | Guide (50) | -| #showzonegloballoot | Show global loot entries for your current zone | Guide (50) | -| #showzonepoints | Show zone points for current zone | Guide (50) | -| #shutdown | Shut this zone process down | GMLeadAdmin (150) | -| #spawn | [name] [race] [level] [material] [hp] [gender] [class] [priweapon] [secweapon] [merchantid] - Spawn an NPC | Steward (10) | -| #spawneditmass | [Search Criteria] [Edit Option] [Edit Value] [Apply] Mass editing spawn command Apply is optional, 0 = False, 1 = True, default is False | GMLeadAdmin (150) | -| #spawnfix | Find targeted NPC in database based on its X/Y/heading and update the database to make it spawn at your current location/heading. | GMAreas (170) | -| #spawnstatus | [All|Disabled|Enabled|Spawn ID] - Show respawn timer status | GMAdmin (100) | -| #spellinfo | [spellid] - Get detailed info about a spell | Steward (10) | -| #stun | [duration] - Stuns you or your target for duration | GMAdmin (100) | -| #summon | [Character Name] - Summons your corpse, NPC, or player target, or by character name if specified | QuestTroupe (80) | -| #summonburiedplayercorpse | Summons the target's oldest buried corpse, if any exist. | GMAdmin (100) | -| #summonitem | [itemid] [charges] - Summon an item onto your cursor. Charges are optional. | GMMgmt (200) | -| #suspend | [name] [days] [reason] - Suspend by character name and for specificed number of days | GMLeadAdmin (150) | -| #task | subcommand - Task system commands | GMLeadAdmin (150) | -| #tempname | [newname] - Temporarily renames your target. Leave name blank to restore the original name. | GMAdmin (100) | -| #petname | [newname] - Temporarily renames your pet. Leave name blank to restore the original name. | GMAdmin (100) | -| #texture | [Texture] [Helmet Texture] - Change your or your target's texture Helmet Texture defaults to 0 if not used | Steward (10) | -| #time | [Hour] [Minute] - Set world time to specified time | EQSupport (90) | -| #timers | Display persistent timers for target | GMMgmt (200) | -| #timezone | [Hour] [Minutes] - Set timezone Minutes are optional | EQSupport (90) | -| #title | [Title] - Set your or your player target's title use \-1\ to remove title | Guide (50) | -| #titlesuffix | [Title Suffix] - Set your or your player target's title suffix use \-1\ to remove title suffix | Guide (50) | -| #traindisc | [level] - Trains all the disciplines usable by the target, up to level specified. may freeze client for a few seconds | GMLeadAdmin (150) | -| #trapinfo | Gets infomation about the traps currently spawned in the zone. | QuestTroupe (80) | -| #tune | Calculate statistical values related to combat. | GMAdmin (100) | -| #undye | Remove dye from all of your or your target's armor slots | GMAdmin (100) | +| #shownpcgloballoot | Show global loot entries for your target NPC | Guide (0) | +| #showskills | [Start Skill ID] [All] - Show the values of your or your player target's skills in a popup 50 at a time, use 'all' as second argument to show non-usable skill's values | Guide (0) | +| #showspellslist | Shows spell list of targeted NPC | GMAdmin (0) | +| #showstats | Show details about you or your target | Guide (0) | +| #showzonegloballoot | Show global loot entries for your current zone | Guide (0) | +| #showzonepoints | Show zone points for current zone | Guide (0) | +| #shutdown | Shut this zone process down | GMLeadAdmin (0) | +| #spawn | [name] [race] [level] [material] [hp] [gender] [class] [priweapon] [secweapon] [merchantid] - Spawn an NPC | Steward (0) | +| #spawneditmass | [Search Criteria] [Edit Option] [Edit Value] [Apply] Mass editing spawn command (Apply is optional, 0 = False, 1 = True, default is False) | GMLeadAdmin (0) | +| #spawnfix | Find targeted NPC in database based on its X/Y/heading and update the database to make it spawn at your current location/heading. | GMAreas (0) | +| #spawnstatus | [All|Disabled|Enabled|Spawn ID] - Show respawn timer status | GMAdmin (0) | +| #spellinfo | [spellid] - Get detailed info about a spell | Steward (0) | +| #stun | [duration] - Stuns you or your target for duration | GMAdmin (0) | +| #summon | [Character Name] - Summons your corpse, NPC, or player target, or by character name if specified | QuestTroupe (0) | +| #summonburiedplayercorpse | Summons the target's oldest buried corpse, if any exist. | GMAdmin (0) | +| #summonitem | [itemid] [charges] - Summon an item onto your cursor. Charges are optional. | GMMgmt (0) | +| #suspend | [name] [days] [reason] - Suspend by character name and for specificed number of days | GMLeadAdmin (0) | +| #task | (subcommand) - Task system commands | GMLeadAdmin (0) | +| #tempname | [newname] - Temporarily renames your target. Leave name blank to restore the original name. | GMAdmin (0) | +| #petname | [newname] - Temporarily renames your pet. Leave name blank to restore the original name. | GMAdmin (0) | +| #texture | [Texture] [Helmet Texture] - Change your or your target's texture (Helmet Texture defaults to 0 if not used) | Steward (0) | +| #time | [Hour] [Minute] - Set world time to specified time | EQSupport (0) | +| #timers | Display persistent timers for target | GMMgmt (0) | +| #timezone | [Hour] [Minutes] - Set timezone (Minutes are optional) | EQSupport (0) | +| #title | [Title] - Set your or your player target's title (use \-1\ to remove title) | Guide (0) | +| #titlesuffix | [Title Suffix] - Set your or your player target's title suffix (use \-1\ to remove title suffix) | Guide (0) | +| #traindisc | [level] - Trains all the disciplines usable by the target, up to level specified. (may freeze client for a few seconds) | GMLeadAdmin (0) | +| #trapinfo | Gets infomation about the traps currently spawned in the zone. | QuestTroupe (0) | +| #tune | Calculate statistical values related to combat. | GMAdmin (0) | +| #undye | Remove dye from all of your or your target's armor slots | GMAdmin (0) | | #undyeme | Remove dye from all of your armor slots | Player (0) | -| #unfreeze | Unfreeze your target | QuestTroupe (80) | -| #unmemspell | [Spell ID] - Unmemorize a Spell by ID for you or your target | Guide (50) | -| #unmemspells | Unmemorize all spells for you or your target | Guide (50) | -| #unscribespell | [Spell ID] - Unscribe a spell from your or your target's spell book by Spell ID | GMCoder (180) | -| #unscribespells | Clear out your or your player target's spell book. | GMCoder (180) | -| #untraindisc | [Spell ID] - Untrain your or your target's discipline by Spell ID | GMCoder (180) | -| #untraindiscs | Untrains all disciplines from your target. | GMCoder (180) | -| #updatechecksum | update client checksum | GMImpossible (250) | -| #uptime | [zone server id] - Get uptime of worldserver, or zone server if argument provided | Steward (10) | +| #unfreeze | Unfreeze your target | QuestTroupe (0) | +| #unmemspell | [Spell ID] - Unmemorize a Spell by ID for you or your target | Guide (0) | +| #unmemspells | Unmemorize all spells for you or your target | Guide (0) | +| #unscribespell | [Spell ID] - Unscribe a spell from your or your target's spell book by Spell ID | GMCoder (0) | +| #unscribespells | Clear out your or your player target's spell book. | GMCoder (0) | +| #untraindisc | [Spell ID] - Untrain your or your target's discipline by Spell ID | GMCoder (0) | +| #untraindiscs | Untrains all disciplines from your target. | GMCoder (0) | +| #updatechecksum | update client checksum | GMImpossible (0) | +| #uptime | [zone server id] - Get uptime of worldserver, or zone server if argument provided | Steward (0) | | #version | Display current version of EQEmu server | Player (0) | -| #viewcurrencies | View your or your target's currencies | GMAdmin (100) | -| #viewnpctype | [NPC ID] - Show stats for an NPC by NPC ID | GMAdmin (100) | -| #viewpetition | [petition number] - View a petition | ApprenticeGuide (20) | -| #viewzoneloot | [item id] - Allows you to search a zone's loot for a specific item ID. 0 shows all loot in the zone | QuestTroupe (80) | -| #wc | [wear slot] [material] - Sends an OP_WearChange for your target | GMMgmt (200) | -| #weather | [0/1/2/3] Off/Rain/Snow/Manual - Change the weather | QuestTroupe (80) | -| #who | [search] | ApprenticeGuide (20) | -| #worldshutdown | Shut down world and all zones | GMMgmt (200) | -| #wp | [add|delete] [grid_id] [pause] [waypoint_id] [-h] - Add or delete a waypoint by grid ID. -h to use current heading | GMAreas (170) | -| #wpadd | [pause] [-h] - Add your current location as a waypoint to your NPC target's AI path. -h to use current heading | GMAreas (170) | -| #wpinfo | Show waypoint info about your NPC target | GMAreas (170) | -| #worldwide | Performs world-wide GM functions such as cast can be extended for other commands. Use caution | GMImpossible (250) | -| #xtargets | Show your targets Extended Targets and optionally set how many xtargets they can have. | GMImpossible (250) | -| #zclip | [Minimum Clip] [Maximum Clip] [Fog Minimum Clip] [Fog Maximum Clip] [Permanent 0 = False, 1 = True] - Change zone clipping | QuestTroupe (80) | -| #zcolor | [Red] [Green] [Blue] [Permanent 0 = False, 1 = True] - Change sky color | QuestTroupe (80) | -| #zheader | [Zone ID|Zone Short Name] [Version] - Load a zone header from the database | QuestTroupe (80) | -| #zone | [Zone ID|Zone Short Name] [X] [Y] [Z] - Teleport to specified Zone by ID or Short Name coordinates are optional | Guide (50) | -| #zonebootup | [ZoneServerID] [shortname] - Make a zone server boot a specific zone | GMLeadAdmin (150) | -| #zoneinstance | [Instance ID] [X] [Y] [Z] - Teleport to specified Instance by ID coordinates are optional | Guide (50) | -| #zonelock | [List|Lock|Unlock] [Zone ID|Zone Short Name] - Set or get lock status of a Zone by ID or Short Name | GMAdmin (100) | -| #zoneshutdown | [shortname] - Shut down a zone server | GMLeadAdmin (150) | -| #zonestatus | Show connected zoneservers, synonymous with /servers | GMLeadAdmin (150) | -| #zopp | Troubleshooting command - Sends a fake item packet to you. No server reference is created. | GMImpossible (250) | -| #zsafecoords | [X] [Y] [Z] [Heading] [Permanent 0 = False, 1 = True] - Set the current zone's safe coordinates | QuestTroupe (80) | -| #zsave | Saves zheader to the database | QuestTroupe (80) | -| #zsky | [Sky Type] [Permanent 0 = False, 1 = True] - Change zone sky type | QuestTroupe (80) | -| #zstats | Show info about zone header | QuestTroupe (80) | -| #zunderworld | [Z] [Permanent 0 = False, 1 = True] - Change zone underworld Z | QuestTroupe (80) | +| #viewcurrencies | View your or your target's currencies | GMAdmin (0) | +| #viewnpctype | [NPC ID] - Show stats for an NPC by NPC ID | GMAdmin (0) | +| #viewpetition | [petition number] - View a petition | ApprenticeGuide (0) | +| #viewzoneloot | [item id] - Allows you to search a zone's loot for a specific item ID. (0 shows all loot in the zone) | QuestTroupe (0) | +| #wc | [wear slot] [material] - Sends an OP_WearChange for your target | GMMgmt (0) | +| #weather | [0/1/2/3] (Off/Rain/Snow/Manual) - Change the weather | QuestTroupe (0) | +| #who | [search] | ApprenticeGuide (0) | +| #worldshutdown | Shut down world and all zones | GMMgmt (0) | +| #wp | [add|delete] [grid_id] [pause] [waypoint_id] [-h] - Add or delete a waypoint by grid ID. (-h to use current heading) | GMAreas (0) | +| #wpadd | [pause] [-h] - Add your current location as a waypoint to your NPC target's AI path. (-h to use current heading) | GMAreas (0) | +| #wpinfo | Show waypoint info about your NPC target | GMAreas (0) | +| #worldwide | Performs world-wide GM functions such as cast (can be extended for other commands). Use caution | GMImpossible (0) | +| #xtargets | Show your targets Extended Targets and optionally set how many xtargets they can have. | GMImpossible (0) | +| #zclip | [Minimum Clip] [Maximum Clip] [Fog Minimum Clip] [Fog Maximum Clip] [Permanent (0 = False, 1 = True)] - Change zone clipping | QuestTroupe (0) | +| #zcolor | [Red] [Green] [Blue] [Permanent (0 = False, 1 = True)] - Change sky color | QuestTroupe (0) | +| #zheader | [Zone ID|Zone Short Name] [Version] - Load a zone header from the database | QuestTroupe (0) | +| #zone | [Zone ID|Zone Short Name] [X] [Y] [Z] - Teleport to specified Zone by ID or Short Name (coordinates are optional) | Guide (0) | +| #zonebootup | [ZoneServerID] [shortname] - Make a zone server boot a specific zone | GMLeadAdmin (0) | +| #zoneinstance | [Instance ID] [X] [Y] [Z] - Teleport to specified Instance by ID (coordinates are optional) | Guide (0) | +| #zonelock | [List|Lock|Unlock] [Zone ID|Zone Short Name] - Set or get lock status of a Zone by ID or Short Name | GMAdmin (0) | +| #zoneshutdown | [shortname] - Shut down a zone server | GMLeadAdmin (0) | +| #zonestatus | Show connected zoneservers, synonymous with /servers | GMLeadAdmin (0) | +| #zopp | Troubleshooting command - Sends a fake item packet to you. No server reference is created. | GMImpossible (0) | +| #zsafecoords | [X] [Y] [Z] [Heading] [Permanent (0 = False, 1 = True)] - Set the current zone's safe coordinates | QuestTroupe (0) | +| #zsave | Saves zheader to the database | QuestTroupe (0) | +| #zsky | [Sky Type] [Permanent (0 = False, 1 = True)] - Change zone sky type | QuestTroupe (0) | +| #zstats | Show info about zone header | QuestTroupe (0) | +| #zunderworld | [Z] [Permanent (0 = False, 1 = True)] - Change zone underworld Z | QuestTroupe (0) | diff --git a/internal/console/command_doc_generator_cmd.go b/internal/console/command_doc_generator_cmd.go index f30394b3..d12e1025 100644 --- a/internal/console/command_doc_generator_cmd.go +++ b/internal/console/command_doc_generator_cmd.go @@ -67,26 +67,44 @@ func (c *GMCommandsDocsGenerateCommand) Handle(_ *cobra.Command, _ []string) { for _, line := range strings.Split(string(body), "\n") { if strings.Contains(line, "command_add(\"") { - currentLine := strings.ReplaceAll(line, "\t", "") - currentLine = strings.ReplaceAll(currentLine, "command_add", "") - currentLine = strings.ReplaceAll(currentLine, "(", "") - currentLine = strings.ReplaceAll(currentLine, ")", "") - currentLine = strings.ReplaceAll(currentLine, " ||", "") - currentLine = strings.ReplaceAll(currentLine, "\", \"", "||") - currentLine = strings.ReplaceAll(currentLine, "\", \"", "||") - currentLine = strings.ReplaceAll(currentLine, ", Account", "||Account") - currentLine = strings.ReplaceAll(currentLine, ", command", "||command") - currentLine = strings.ReplaceAll(currentLine, "\"", "") - - lineData := strings.Split(currentLine, "||") - - statusValue := GetStatusValue(lineData[2]) - statusName := strings.ReplaceAll(lineData[2], "AccountStatus::", "") - - commandData += fmt.Sprintf("| #%v | %v | %v (%v) |\n", lineData[0], lineData[1], statusName, statusValue) + + //pp.Println(line) + + line = strings.ReplaceAll(line, "command_add(", "") + line = strings.ReplaceAll(line, "\t", "") + + lineData := strings.Split(line, "\", ") + + // command + command := strings.TrimSpace(lineData[0]) + command = strings.ReplaceAll(command, "\"", "") + + // help + help := strings.TrimSpace(lineData[1]) + help = strings.ReplaceAll(help, "\"", "") + + // account status + accountStatus := getStringInBetween(line, "AccountStatus::", ",") + + //pp.Println(lineData) + //pp.Println(command) + //pp.Println(help) + //pp.Println(accountStatus) + + statusValue := GetStatusValue(accountStatus) + + commandData += fmt.Sprintf( + "| #%v | %v | %v (%v) |\n", + command, + help, + accountStatus, + statusValue, + ) } } + fmt.Println(commandData) + err = os.WriteFile("./docs/server/operation/in-game-command-reference.md", []byte(commandData), os.ModePerm) if err != nil { fmt.Println(err) diff --git a/internal/console/util.go b/internal/console/util.go index 417115f7..cea79bec 100644 --- a/internal/console/util.go +++ b/internal/console/util.go @@ -1,5 +1,7 @@ package console +import "strings" + func containsStringSlice(s []string, e string) bool { for _, a := range s { if a == e { @@ -8,3 +10,15 @@ func containsStringSlice(s []string, e string) bool { } return false } + +func getStringInBetween(value string, a string, b string) string { + firstSplit := strings.Split(value, a) + if len(firstSplit) > 1 { + secondSplit := strings.Split(firstSplit[1], b) + if len(secondSplit) > 0 { + return strings.TrimSpace(secondSplit[0]) + } + } + + return "" +} From 52744571b87d72483f21a1ba8a170110b9c8c976 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Wed, 8 Jun 2022 00:32:59 -0500 Subject: [PATCH 2/2] Fix pipe escape --- .../operation/in-game-command-reference.md | 66 +++++++++---------- internal/console/command_doc_generator_cmd.go | 1 + 2 files changed, 34 insertions(+), 33 deletions(-) diff --git a/docs/server/operation/in-game-command-reference.md b/docs/server/operation/in-game-command-reference.md index cb256841..8b75e6db 100644 --- a/docs/server/operation/in-game-command-reference.md +++ b/docs/server/operation/in-game-command-reference.md @@ -8,7 +8,7 @@ | Command | Description | Status Level | | :--- | :--- | :--- | | #acceptrules | [acceptrules] - Accept the EQEmu Agreement | Player (0) | -| #advnpcspawn | [maketype|makegroup|addgroupentry|addgroupspawn][removegroupspawn|movespawn|editgroupbox|cleargroupbox] | GMLeadAdmin (0) | +| #advnpcspawn | [maketype|makegroup|addgroupentry|addgroupspawn][removegroupspawn|movespawn|editgroupbox|cleargroupbox] | GMLeadAdmin (0) | | #aggro | [Distance] [-v] - Display aggro information for all mobs 'Distance' distance from your target. (-v is verbose Faction Information) | QuestTroupe (0) | | #aggrozone | [aggro] - Aggro every mob in the zone with X aggro. Default is 0. Not recommend if you're not invulnerable. | GMAdmin (0) | | #ai | [factionid/spellslist/con/guard/roambox/stop/start] - Modify AI on NPC target | GMAdmin (0) | @@ -30,7 +30,7 @@ | #countitem | [Item ID] - Counts the specified Item ID in your or your target's inventory | GMLeadAdmin (0) | | #cvs | Summary of client versions currently online. | GMMgmt (0) | | #damage | [Amount] - Damage yourself or your target | GMAdmin (0) | -| #databuckets | View|Delete [key] [limit]- View data buckets, limit 50 default or Delete databucket by key | QuestTroupe (0) | +| #databuckets | View|Delete [key] [limit]- View data buckets, limit 50 default or Delete databucket by key | QuestTroupe (0) | | #date | [Year] [Month] [Day] [Hour] [Minute] - Set EQ time (Hour and Minute are optional) | EQSupport (0) | | #dbspawn2 | [spawngroup] [respawn] [variance] - Spawn an NPC from a predefined row in the spawn2 table | GMAdmin (0) | | #delacct | [accountname] - Delete an account | GMLeadAdmin (0) | @@ -43,7 +43,7 @@ | #distance | Reports the distance between you and your target. | QuestTroupe (0) | | #door | Door editing command | QuestTroupe (0) | | #doanim | [animnum] [type] - Send an EmoteAnim for you or your target | Guide (0) | -| #dye | [slot|'help'] [red] [green] [blue] [use_tint] - Dyes the specified armor slot to Red, Green, and Blue provided, allows you to bypass darkness limits. | ApprenticeGuide (0) | +| #dye | [slot|'help'] [red] [green] [blue] [use_tint] - Dyes the specified armor slot to Red, Green, and Blue provided, allows you to bypass darkness limits. | ApprenticeGuide (0) | | #dz | Manage expeditions and dynamic zone instances | QuestTroupe (0) | | #dzkickplayers | Removes all players from current expedition. (/kickplayers alternative for pre-RoF clients) | Player (0) | | #editmassrespawn | [name-search] [second-value] - Mass (Zone wide) NPC respawn timer editing command | GMAdmin (0) | @@ -54,7 +54,7 @@ | #enablerecipe | [Recipe ID] - Enables a Recipe | QuestTroupe (0) | | #endurance | Restores your or your target's endurance. | Guide (0) | | #equipitem | [slotid(0-21)] - Equip the item on your cursor into the specified slot | Guide (0) | -| #faction | [Find (criteria | all ) | Review (criteria | all) | Reset (id)] - Resets Player's Faction | QuestTroupe (0) | +| #faction | [Find (criteria | all ) | Review (criteria | all) | Reset (id)] - Resets Player's Faction | QuestTroupe (0) | | #feature | Change your or your target's feature's temporarily | QuestTroupe (0) | | #findaliases | [Search Criteria]- Searches for available command aliases, by alias or command | Player (0) | | #findclass | [Search Criteria] - Search for a class | Guide (0) | @@ -65,7 +65,7 @@ | #findspell | [Search Criteria] - Search for a spell | Guide (0) | | #findtask | [Search Criteria] - Search for a task | Guide (0) | | #findzone | [Search Criteria] - Search database zones | GMAdmin (0) | -| #fixmob | [race|gender|texture|helm|face|hair|haircolor|beard|beardcolor|heritage|tattoo|detail] [next|prev] - Manipulate appearance of your target | QuestTroupe (0) | +| #fixmob | [race|gender|texture|helm|face|hair|haircolor|beard|beardcolor|heritage|tattoo|detail] [next|prev] - Manipulate appearance of your target | QuestTroupe (0) | | #flag | [Status] [Account Name] - Refresh your admin status, or set an account's Admin status if arguments provided | Player (0) | | #flagedit | Edit zone flags on your target. Use #flagedit help for more info. | GMAdmin (0) | | #flags | displays the Zone Flags of you or your target | Player (0) | @@ -81,9 +81,9 @@ | #giveitem | [itemid] [charges] - Summon an item onto your target's cursor. Charges are optional. | GMMgmt (0) | | #givemoney | [Platinum] [Gold] [Silver] [Copper] - Gives specified amount of money to you or your player target | GMMgmt (0) | | #globalview | Lists all qglobals in cache if you were to do a quest with this target. | QuestTroupe (0) | -| #gm | [On|Off] - Modify your or your target's GM Flag | QuestTroupe (0) | -| #gmspeed | [On|Off] - Turn GM Speed On or Off for you or your player target | GMAdmin (0) | -| #gmzone | [Zone ID|Zone Short Name] [Version] [Instance Identifier] - Zones to a private GM instance (Version defaults to 0 and Instance Identifier defaults to 'gmzone' if not used) | GMAdmin (0) | +| #gm | [On|Off] - Modify your or your target's GM Flag | QuestTroupe (0) | +| #gmspeed | [On|Off] - Turn GM Speed On or Off for you or your player target | GMAdmin (0) | +| #gmzone | [Zone ID|Zone Short Name] [Version] [Instance Identifier] - Zones to a private GM instance (Version defaults to 0 and Instance Identifier defaults to 'gmzone' if not used) | GMAdmin (0) | | #goto | [playername] or [x y z] [h] - Teleport to the provided coordinates or to your target | Steward (0) | | #grid | [add/delete] [grid_num] [wandertype] [pausetype] - Create/delete a wandering grid | GMAreas (0) | | #guild | Guild manipulation commands. Use argument help for more info. | Steward (0) | @@ -103,7 +103,7 @@ | #interrogateinv | use [help] argument for available options | Player (0) | | #interrupt | [message id] [color] - Interrupt your casting. Arguments are optional. | Guide (0) | | #invsnapshot | Manipulates inventory snapshots for your current target | QuestTroupe (0) | -| #invul | [On|Off]] - Turn player target's or your invulnerable flag on or off | QuestTroupe (0) | +| #invul | [On|Off]] - Turn player target's or your invulnerable flag on or off | QuestTroupe (0) | | #ipban | [IP] - Ban IP | GMMgmt (0) | | #iplookup | [charname] - Look up IP address of charname | GMMgmt (0) | | #iteminfo | Get information about the item on your cursor | Steward (0) | @@ -113,7 +113,7 @@ | #killallnpcs | [npc_name] - Kills all npcs by search name, leave blank for all attackable NPC's | GMMgmt (0) | | #lastname | [Last Name] - Set your or your player target's last name (use \-1\ to remove last name) | Guide (0) | | #level | [Level] - Set your target's level | Steward (0) | -| #list | [npcs|players|corpses|doors|objects] [search] - Search entities | ApprenticeGuide (0) | +| #list | [npcs|players|corpses|doors|objects] [search] - Search entities | ApprenticeGuide (0) | | #listpetition | List petitions | Guide (0) | | #load_shared_memory | [shared_memory_name] - Reloads shared memory and uses the input as output | GMImpossible (0) | | #loc | Print out your or your target's current location and heading | Player (0) | @@ -126,10 +126,10 @@ | #merchant_open_shop | Opens a merchants shop | GMAdmin (0) | | #modifynpcstat | Modifies an NPC's stats | GMLeadAdmin (0) | | #motd | [Message of the Day] - Set Message of the Day (leave empty to have no Message of the Day) | GMLeadAdmin (0) | -| #movechar | [Character ID|Character Name] [Zone ID|Zone Short Name] - Move an offline character to the specified zone | Guide (0) | +| #movechar | [Character ID|Character Name] [Zone ID|Zone Short Name] - Move an offline character to the specified zone | Guide (0) | | #movement | Various movement commands | GMMgmt (0) | | #myskills | Show details about your current skill levels | Player (0) | -| #mysql | [Help|Query] [SQL Query] - Mysql CLI, see 'Help' for options. | GMImpossible (0) | +| #mysql | [Help|Query] [SQL Query] - Mysql CLI, see 'Help' for options. | GMImpossible (0) | | #mystats | Show details about you or your pet | Guide (0) | | #name | [New Name] - Rename your player target | GMLeadAdmin (0) | | #netstats | Gets the network stats for a stream. | GMMgmt (0) | @@ -145,14 +145,14 @@ | #npcstats | Show stats about target NPC | QuestTroupe (0) | | #npctypespawn | [NPC ID] [Faction ID] - Spawn an NPC by ID from the database with an option of setting its Faction ID | Steward (0) | | #nudge | Nudge your target's current position by specific values | QuestTroupe (0) | -| #nukebuffs | [Beneficial|Detrimental|Help] - Strip all buffs by type on you or your target (no argument to remove all buffs) | Guide (0) | +| #nukebuffs | [Beneficial|Detrimental|Help] - Strip all buffs by type on you or your target (no argument to remove all buffs) | Guide (0) | | #nukeitem | [Item ID] - Removes the specified Item ID from you or your player target's inventory | GMLeadAdmin (0) | -| #object | List|Add|Edit|Move|Rotate|Copy|Save|Undo|Delete - Manipulate static and tradeskill objects within the zone | GMAdmin (0) | -| #oocmute | [0|1] - Enable or Disable Server OOC | GMMgmt (0) | +| #object | List|Add|Edit|Move|Rotate|Copy|Save|Undo|Delete - Manipulate static and tradeskill objects within the zone | GMAdmin (0) | +| #oocmute | [0|1] - Enable or Disable Server OOC | GMMgmt (0) | | #opcode | opcode management | GMImpossible (0) | | #path | view and edit pathing | GMMgmt (0) | | #peekinv | [equip/gen/cursor/poss/limbo/curlim/trib/bank/shbank/allbank/trade/world/all] - Print out contents of your player target's inventory | GMAdmin (0) | -| #peqzone | [Zone ID|Zone Short Name] - Teleports you to the specified zone if you meet the requirements. | Player (0) | +| #peqzone | [Zone ID|Zone Short Name] - Teleports you to the specified zone if you meet the requirements. | Player (0) | | #peqzone_flags | displays the PEQZone Flags of you or your target | Player (0) | | #permaclass | [Class ID] - Change your or your player target's class, changed client is disconnected | QuestTroupe (0) | | #permagender | [Gender ID] - Change your or your player target's gender | QuestTroupe (0) | @@ -163,21 +163,21 @@ | #profanity | Manage censored language. | GMLeadAdmin (0) | | #push | [Back Push] [Up Push] - Lets you do spell push on an NPC | GMLeadAdmin (0) | | #proximity | Shows NPC proximity | GMLeadAdmin (0) | -| #pvp | [On|Off] - Set you or your player target's PVP status | GMAdmin (0) | -| #qglobal | [On|Off|View] - Toggles quest global functionality for your NPC target | GMAdmin (0) | +| #pvp | [On|Off] - Set you or your player target's PVP status | GMAdmin (0) | +| #qglobal | [On|Off|View] - Toggles quest global functionality for your NPC target | GMAdmin (0) | | #questerrors | Shows quest errors. | GMAdmin (0) | | #race | [racenum] - Change your or your target's race. Use racenum 0 to return to normal | Guide (0) | -| #raidloot | [All|GroupLeader|RaidLeader|Selected] - Sets your Raid Loot Type if you have permission to do so. | Player (0) | +| #raidloot | [All|GroupLeader|RaidLeader|Selected] - Sets your Raid Loot Type if you have permission to do so. | Player (0) | | #randomfeatures | Temporarily randomizes the Facial Features of your target | QuestTroupe (0) | | #refreshgroup | Refreshes Group for you or your player target. | Player (0) | | #reload | Reloads different types of server data globally, use no argument for help menu. | GMMgmt (0) | | #removeitem | [Item ID] [Amount] - Removes the specified Item ID by Amount from you or your player target's inventory (Amount defaults to 1 if not used) | GMAdmin (0) | | #repop | [Force] - Repop the zone with optional force repop | GMAdmin (0) | | #resetaa | Resets a Player's AA in their profile and refunds spent AA's to unspent, may disconnect player. | GMMgmt (0) | -| #resetaa_timer | [All|Timer ID] - Command to reset AA cooldown timers for you or your player target. | GMMgmt (0) | -| #resetdisc_timer | [All|Timer ID] - Command to reset discipline timers. | GMMgmt (0) | -| #revoke | [Character Name] [0|1] - Revokes or unrevokes a player's ability to talk in OOC by name (0 = Unrevoke, 1 = Revoke) | GMMgmt (0) | -| #roambox | [Remove|Set] [Box Size] [Delay (Milliseconds)] - Remove or set an NPC's roambox size and delay | GMMgmt (0) | +| #resetaa_timer | [All|Timer ID] - Command to reset AA cooldown timers for you or your player target. | GMMgmt (0) | +| #resetdisc_timer | [All|Timer ID] - Command to reset discipline timers. | GMMgmt (0) | +| #revoke | [Character Name] [0|1] - Revokes or unrevokes a player's ability to talk in OOC by name (0 = Unrevoke, 1 = Revoke) | GMMgmt (0) | +| #roambox | [Remove|Set] [Box Size] [Delay (Milliseconds)] - Remove or set an NPC's roambox size and delay | GMMgmt (0) | | #rules | (subcommand) - Manage server rules | GMImpossible (0) | | #save | Force your player or player corpse target to be saved to the database | Guide (0) | | #scale | Handles npc scaling | GMLeadAdmin (0) | @@ -186,10 +186,10 @@ | #sendzonespawns | Refresh spawn list for all clients in zone | GMLeadAdmin (0) | | #sensetrap | Analog for ldon sense trap for the newer clients since we still don't have it working. | Player (0) | | #serverinfo | Get CPU, Operating System, and Process Information about the server | GMMgmt (0) | -| #serverlock | [0|1] - Lock or Unlock the World Server (0 = Unlocked, 1 = Locked) | GMLeadAdmin (0) | +| #serverlock | [0|1] - Lock or Unlock the World Server (0 = Unlocked, 1 = Locked) | GMLeadAdmin (0) | | #serverrules | Read this server's rules | Player (0) | -| #setaapts | [AA|Group|Raid] [AA Amount] - Set your or your player target's Available AA Points by Type | GMAdmin (0) | -| #setaaxp | [AA|Group|Raid] [AA Experience] - Set your or your player target's AA Experience by Type | GMAdmin (0) | +| #setaapts | [AA|Group|Raid] [AA Amount] - Set your or your player target's Available AA Points by Type | GMAdmin (0) | +| #setaaxp | [AA|Group|Raid] [AA Experience] - Set your or your player target's AA Experience by Type | GMAdmin (0) | | #setadventurepoints | [Theme] [Points] - Set your or your player target's available Adventure Points by Theme | GMLeadAdmin (0) | | #setaltcurrency | [Currency ID] [Amount] - Set your or your target's available Alternate Currency by Currency ID | GMAdmin (0) | | #setanim | [Animation ID (IDs are 0 to 4)] - Set target's appearance to Animation ID | GMMgmt (0) | @@ -204,10 +204,10 @@ | #setpvppoints | [Amount] - Set your or your player target's PVP points | GMAdmin (0) | | #setskill | [skillnum] [value] - Set your target's skill skillnum to value | Guide (0) | | #setskillall | [Skill Level] - Set all of your or your target's skills to the specified skill level | Guide (0) | -| #setstartzone | [Zone ID|Zone Short Name] - Sets your or your target's starting zone (Use '0' or 'Reset' to allow the player use of /setstartcity) | QuestTroupe (0) | +| #setstartzone | [Zone ID|Zone Short Name] - Sets your or your target's starting zone (Use '0' or 'Reset' to allow the player use of /setstartcity) | QuestTroupe (0) | | #setstat | Sets the stats to a specific value. | Max (0) | | #setxp | [value] - Set your or your player target's experience | GMAdmin (0) | -| #showbonusstats | [item|spell|all] Shows bonus stats for target from items or spells. Shows both by default. | Guide (0) | +| #showbonusstats | [item|spell|all] Shows bonus stats for target from items or spells. Shows both by default. | Guide (0) | | #showbuffs | List buffs active on your target or you if no target | Guide (0) | | #shownumhits | Shows buffs numhits for yourself. | Player (0) | | #shownpcgloballoot | Show global loot entries for your target NPC | Guide (0) | @@ -220,7 +220,7 @@ | #spawn | [name] [race] [level] [material] [hp] [gender] [class] [priweapon] [secweapon] [merchantid] - Spawn an NPC | Steward (0) | | #spawneditmass | [Search Criteria] [Edit Option] [Edit Value] [Apply] Mass editing spawn command (Apply is optional, 0 = False, 1 = True, default is False) | GMLeadAdmin (0) | | #spawnfix | Find targeted NPC in database based on its X/Y/heading and update the database to make it spawn at your current location/heading. | GMAreas (0) | -| #spawnstatus | [All|Disabled|Enabled|Spawn ID] - Show respawn timer status | GMAdmin (0) | +| #spawnstatus | [All|Disabled|Enabled|Spawn ID] - Show respawn timer status | GMAdmin (0) | | #spellinfo | [spellid] - Get detailed info about a spell | Steward (0) | | #stun | [duration] - Stuns you or your target for duration | GMAdmin (0) | | #summon | [Character Name] - Summons your corpse, NPC, or player target, or by character name if specified | QuestTroupe (0) | @@ -259,18 +259,18 @@ | #weather | [0/1/2/3] (Off/Rain/Snow/Manual) - Change the weather | QuestTroupe (0) | | #who | [search] | ApprenticeGuide (0) | | #worldshutdown | Shut down world and all zones | GMMgmt (0) | -| #wp | [add|delete] [grid_id] [pause] [waypoint_id] [-h] - Add or delete a waypoint by grid ID. (-h to use current heading) | GMAreas (0) | +| #wp | [add|delete] [grid_id] [pause] [waypoint_id] [-h] - Add or delete a waypoint by grid ID. (-h to use current heading) | GMAreas (0) | | #wpadd | [pause] [-h] - Add your current location as a waypoint to your NPC target's AI path. (-h to use current heading) | GMAreas (0) | | #wpinfo | Show waypoint info about your NPC target | GMAreas (0) | | #worldwide | Performs world-wide GM functions such as cast (can be extended for other commands). Use caution | GMImpossible (0) | | #xtargets | Show your targets Extended Targets and optionally set how many xtargets they can have. | GMImpossible (0) | | #zclip | [Minimum Clip] [Maximum Clip] [Fog Minimum Clip] [Fog Maximum Clip] [Permanent (0 = False, 1 = True)] - Change zone clipping | QuestTroupe (0) | | #zcolor | [Red] [Green] [Blue] [Permanent (0 = False, 1 = True)] - Change sky color | QuestTroupe (0) | -| #zheader | [Zone ID|Zone Short Name] [Version] - Load a zone header from the database | QuestTroupe (0) | -| #zone | [Zone ID|Zone Short Name] [X] [Y] [Z] - Teleport to specified Zone by ID or Short Name (coordinates are optional) | Guide (0) | +| #zheader | [Zone ID|Zone Short Name] [Version] - Load a zone header from the database | QuestTroupe (0) | +| #zone | [Zone ID|Zone Short Name] [X] [Y] [Z] - Teleport to specified Zone by ID or Short Name (coordinates are optional) | Guide (0) | | #zonebootup | [ZoneServerID] [shortname] - Make a zone server boot a specific zone | GMLeadAdmin (0) | | #zoneinstance | [Instance ID] [X] [Y] [Z] - Teleport to specified Instance by ID (coordinates are optional) | Guide (0) | -| #zonelock | [List|Lock|Unlock] [Zone ID|Zone Short Name] - Set or get lock status of a Zone by ID or Short Name | GMAdmin (0) | +| #zonelock | [List|Lock|Unlock] [Zone ID|Zone Short Name] - Set or get lock status of a Zone by ID or Short Name | GMAdmin (0) | | #zoneshutdown | [shortname] - Shut down a zone server | GMLeadAdmin (0) | | #zonestatus | Show connected zoneservers, synonymous with /servers | GMLeadAdmin (0) | | #zopp | Troubleshooting command - Sends a fake item packet to you. No server reference is created. | GMImpossible (0) | diff --git a/internal/console/command_doc_generator_cmd.go b/internal/console/command_doc_generator_cmd.go index d12e1025..7bea0629 100644 --- a/internal/console/command_doc_generator_cmd.go +++ b/internal/console/command_doc_generator_cmd.go @@ -82,6 +82,7 @@ func (c *GMCommandsDocsGenerateCommand) Handle(_ *cobra.Command, _ []string) { // help help := strings.TrimSpace(lineData[1]) help = strings.ReplaceAll(help, "\"", "") + help = strings.ReplaceAll(help, "|", "|") // account status accountStatus := getStringInBetween(line, "AccountStatus::", ",")