1
0

Doc G slash commands

This commit is contained in:
Emagi 2025-05-07 13:42:14 -04:00
parent d564909c2f
commit 634c12a592
30 changed files with 424 additions and 0 deletions

View File

@ -0,0 +1,13 @@
### Command: /gather values
**Handler Macro:** COMMAND_SEARCH_STORES
**Handler Value:** 92
**Required Status:** 0
**Arguments:**
- `arg[0]`: `string values`
**Notes:**
- /gather is calling /search_stores, is this intentional? Is /gather a groundspawn command?

View File

@ -0,0 +1,13 @@
### Command: /get_aa_xml
**Handler Macro:** GET_AA_XML
**Handler Value:** 750
**Required Status:** 200
**Arguments:**
None
**Notes:**
- Not implemented.

View File

@ -0,0 +1,10 @@
### Command: /get_coins
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,13 @@
### Command: /get_search_stores_page page_id
**Handler Macro:** COMMAND_SEARCH_STORES_PAGE
**Handler Value:** 94
**Required Status:** 0
**Arguments:**
- `arg[0]`: `int page_id`
**Notes:**
- Interacting with the Broker and getting the `page_id` requested from a previous query. /search_stores used for the initial query.

View File

@ -0,0 +1,10 @@
### Command: /gethotzones
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,10 @@
### Command: /getinput
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,10 @@
### Command: /getmailheaders
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,13 @@
### Command: /getmailmessage message_id
**Handler Macro:** COMMAND_GET_MAIL_MESSAGE
**Handler Value:** 120
**Required Status:** 0
**Arguments:**
- `arg[0]`: `int message_id`
**Notes:**
- Displays the mail message from `message_id`

View File

@ -0,0 +1,18 @@
### Command: /giveitem character_name item_id
**Handler Macro:** COMMAND_GIVEITEM
**Handler Value:** 101
**Required Status:** 10
**Arguments:**
- `arg[0]`: `string character_name`
- `arg[1]`: `string item_id`
**Usage Examples:**
- `/giveitem [character_name] [item_id]`
**Notes:**
- Finds a client by `character_name` on the zone list (of the existing worldserver) and gives the Item based on `item_id`
- Result: Gave `character_name` item id `1234`.

35
docs/slash_commands/gm.md Normal file
View File

@ -0,0 +1,35 @@
### Command: /gm (see arguments)
**Handler Macro:** COMMAND_GM
**Handler Value:** 513
**Required Status:** 200
**Arguments:**
- /gm vision [on|off] - enables access to select spawns and objects typically restricted
- /gm regiondebug [on|off] - enables region debugging for logging in game as you traverse regions
- /gm sight [on|off] - enables ghost point of view sight into your selected target
- /gm controleffects - lists the control effects on your target
- /gm luadebug [on|off] - turns on lua debug logging to client in game when interacting with spawns/quests.
- /gm tag [faction|spawngroup|race|groundspawn] [value] [icon] - only supported in AoM and "newer" clients when available. Will tag all npc's meeting the type and value criteria with a tag icon.
- /gm tag clear
Visual Type Options:
type: faction, value: faction id of spawn(s)
type: spawngroup, value: 1 to show grouped, 0 to show not grouped
type: race, value: race id (either against base race or race id in spawn details)
type: groundspawn, value: (not used)
Icons:
1 = skull, 2 = shield half dark blue / half light blue, 3 = purple? star, 4 = yellow sword, 5 = red X
6 = green flame, 7 = Number "1", 8 = Number "2", 9 = Number "3", 10 = Number "4", 11 = Number "5", 12 = Number "6"
25 = shield, 26 = green plus, 27 = crossed swords, 28 = bow with arrow in it, 29 = light blue lightning bolt
30 = bard instrument (hard to see), 31 = writ with shield, 32 = writ with green +, 33 = writ with crossed sword
34 = writ with bow, 35 = writ with light blue lightning bolt, 36 = same as 30, 37 = party with crossed sword, shield and lightning bolt
38 = shaking hands green background, 39 = shaking hands dark green background, unlocked keylock
40 = red aura icon with black shadow of person and big red aura, 41 = green aura icon with black shadow of person big green aura
**Notes:**
- This is a nested command and not easily explained beyond listing the commands above.

View File

@ -0,0 +1,13 @@
### Command: /gm_hide
**Handler Macro:** COMMAND_TOGGLE_GM_HIDE
**Handler Value:** 167
**Required Status:** 10
**Arguments:**
None
**Notes:**
- Toggles on or off a GM making them hidden to other players.

View File

@ -0,0 +1,13 @@
### Command: /gm_vanish
**Handler Macro:** COMMAND_TOGGLE_GM_VANISH
**Handler Value:** 168
**Required Status:** 10
**Arguments:**
None
**Notes:**
- Toggles on or off the GM status from who queries.

View File

@ -0,0 +1,16 @@
### Command: /goto search_name
**Handler Macro:** COMMAND_GOTO
**Handler Value:** 56
**Required Status:** 10
**Arguments:**
- `arg[0]`: `string search_name`
**Usage Examples:**
- `/goto [name]");`
**Notes:**
- search_name argument is optional, otherwise you can /goto your selected target. Can zone player to a potential character in another zone.

View File

@ -0,0 +1,16 @@
### Command: /grid [spawns|boundary] [grid_id]
**Handler Macro:** COMMAND_GRID
**Handler Value:** 271
**Required Status:** 200
**Arguments:**
- `arg[0]`: `string type`
- `arg[1]`: `int grid_id`
**Notes:**
- /grid - with no arguments, provides players current grid id.
- /grid spawns grid_id - lists the spawns in the current grid, grid_id optionally can be provided to get spawns listed in that grid.
- /grid boundary grid_id - shows the map boundary for the current grid.

View File

@ -0,0 +1,13 @@
### Command: /groupoptions arg[0]
**Handler Macro:** COMMAND_GROUP
**Handler Value:** 17
**Required Status:** 0
**Arguments:**
- `arg[0]`: `string`
**Notes:**
- Not implemented, Group Options UI is implemented and does not use this command.

View File

@ -0,0 +1,13 @@
### Command: /gsay message
**Handler Macro:** COMMAND_GROUPSAY
**Handler Value:** 14
**Required Status:** 0
**Arguments:**
- `arg[0]`: `string message`
**Notes:**
- If Player is in a group, command will transmit the message to the group members.

14
docs/slash_commands/gu.md Normal file
View File

@ -0,0 +1,14 @@
### Command: /gu message
**Handler Macro:** COMMAND_GUILDSAY
**Handler Value:** 250
**Required Status:** 0
**Arguments:**
- `arg[0]`: `string message`
**Notes:**
- /gu or /guildsay
- If you are a player in a guild this will transmit a message to the guild with the `message` supplied.

View File

@ -0,0 +1,34 @@
### Command: /guild (see arguments)
**Handler Macro:** COMMAND_GUILD
**Handler Value:** 252
**Required Status:** 0
**Arguments:**
- /guild rank_name [rank_id] [rank_name]
- /guild rank_permission [rank_id] [rank_type] [true|false]
- /guild filter_event
- /guild kick [name]
- /guild demote [name]
- /guild promote [name]
- /guild points [add|view]
- /guild motd
- /guild recruiting [short_text|long_text|flag|min_level|playstyle|tag|recruiting]
- /guild notify_online
- /guild event_privacy
- /guild recruiter
- /guild recruiter_description
- /guild invite
- /guild accept
- /guild decline
- /guild create
- /guild search
- /guild recruiting_details
- /guild recruiting_image
- /guild reruiter_adventure_class
- /guild display_heraldry
**Notes:**
- These tie into the guild UI for the player.

View File

@ -0,0 +1,10 @@
### Command: /guild_confirmedrename
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,10 @@
### Command: /guild_rename
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,10 @@
### Command: /guild_rename_cancel
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,13 @@
### Command: /guildbank
**Handler Macro:** COMMAND_GUILD_BANK
**Handler Value:** 282
**Required Status:** 0
**Arguments:**
None
**Notes:**
- Not implemented.

View File

@ -0,0 +1,10 @@
### Command: /guildbetaapply
**Handler Macro:** UNKNOWN
**Handler Value:** 999
**Required Status:** 0
**Arguments:**
None

View File

@ -0,0 +1,13 @@
### Command: /guilds
**Handler Macro:** COMMAND_GUILDS
**Handler Value:** 258
**Required Status:** 0
**Arguments:**
None
**Notes:**
- Help command, Result: "Usage: /guilds [create|delete|add|remove|list]

View File

@ -0,0 +1,14 @@
### Command: /guilds add guild_id character_name
**Handler Macro:** COMMAND_GUILDS_ADD
**Handler Value:** 261
**Required Status:** 10
**Arguments:**
- `arg[0]`: `int guild_id`
- `arg[0]`: `string character_name`
**Notes:**
- Adds the `character_name` to the guild specified by `guild_id`

View File

@ -0,0 +1,14 @@
### Command: /guilds create guild_name [player_name]
**Handler Macro:** COMMAND_GUILDS_CREATE
**Handler Value:** 259
**Required Status:** 0
**Arguments:**
- `arg[0]`: `string guild_name`
- `arg[1]`: `string player_name`
**Notes:**
- Creates a new guild with the `guild_name`. The `player_name` is optional, it will assign to yourself, also if you are not a GM/Admin you cannot assign others a guild.

View File

@ -0,0 +1,13 @@
### Command: /guilds delete guild_id
**Handler Macro:** COMMAND_GUILDS_DELETE
**Handler Value:** 260
**Required Status:** 10
**Arguments:**
- `arg[0]`: `int guild_id`
**Notes:**
- Deletes the guild with `guild_id`

View File

@ -0,0 +1,13 @@
### Command: /guilds list
**Handler Macro:** COMMAND_GUILDS_LIST
**Handler Value:** 263
**Required Status:** 200
**Arguments:**
None
**Notes:**
- Lists out all the guilds on the server one per line to the client, Eg. 1) My New Guild

View File

@ -0,0 +1,14 @@
### Command: /guilds remove guild_id character_name
**Handler Macro:** COMMAND_GUILDS_REMOVE
**Handler Value:** 262
**Required Status:** 10
**Arguments:**
- `arg[0]`: `int guild_id`
- `arg[1]`: `string character_name`
**Notes:**
- Removes a member of a guild by using the `guild_id` and the `character_name` specified. Use /guilds list to get a guild id.

View File

@ -0,0 +1,13 @@
### Command: /guildsay message
**Handler Macro:** COMMAND_GUILDSAY
**Handler Value:** 250
**Required Status:** 0
**Arguments:**
- `arg[0]`: `string message`
**Notes:**
- If player is in a guild this will transmit a message to the guild.