User Tools

Site Tools


dm_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dm_commands [2022/09/22 01:21]
leaf Added help command summary for shutdown
dm_commands [2023/08/09 16:52] (current)
leaf [recollect] typo correction
Line 513: Line 513:
 See Also: purge_quest_state See Also: purge_quest_state
 See Also: purge_quests See Also: purge_quests
 +
 +==== recollect ====
 +syntax: recollect
 +
 +NOTE: Experimental command - use with caution
 +
 +FIXME: the command is currently not documented as a help file in the game
 +
 +The recollect command will cause the server to run the archetype collection process again. An example for using this command is for testing new faces by comparing old faces with new ones without rebooting the server.
 +
 +Check the server logs for output related to this command since there currently is no output to the DM or through the game client in regard to running this command.
 +
 +Example server log output:
 +  Starting to collect assets from /​usr/​games/​crossfire/​share/​crossfire
 +  Finishing collecting assets from /​usr/​games/​crossfire/​share/​crossfire
  
 ==== remove ==== ==== remove ====
Line 585: Line 600:
 notes: this will print out the current hash table to stderr. notes: this will print out the current hash table to stderr.
  
 +==== stats ====
  
 +Usage: stats <​player>​
  
-==== shutdown ==== +This displays the named player'​s statistics. 
-syntaxshutdown <​now|time|cancel>​+(Str, Dex, Con, Int, Wis, Pow, Cha, current h.p., current s.p., AC, Damage, EXP, Grace, Food, Maximum health points, Maximum spell points, WC) 
 + 
 +Examplestats Darla 
 + 
 +The command would display all stats for the player Darla.
  
-notes: Shut down '​now',​ in '​time'​ minutes, or '​cancel'​ a pending shutdown. 
  
-When using the time option in-game players will receive a notice or warning about the pending shutdown at the following time intervals (in minutes): 120, 90, 60, 45, 30, 15, 10, 5, 4, 3, 2, 1 
  
-New players logging in during the shutdown time window will also receive a notice of the pending shutdown. 
  
 ==== style_info ==== ==== style_info ====
-syntax: style_info 
  
-notesthis will print out information regarding current styles in use.+Usagestyle_info 
 + 
 +This will print out information regarding current styles in use. The output includes Style maps load, Memory used not including objects, Style objects, and Memory for objects.
  
 ==== summon ==== ==== summon ====
-syntax: summon <​player>​ 
  
-notessummoning ​a player will bring them immediately to your location. See '​teleport'​ for the reverse. ​See Alsoteleport+Usagesummon <​player>​ 
 + 
 +Summoning ​a player will bring them immediately to your location. See '​teleport'​ for the reverse. 
 + 
 +Examplesummon Gabriel 
 + 
 +This will cause the player named Gabriel to appear in front of your character - even if it is a private map, such as a personal apartment. 
 + 
 +There is no '​reverse'​ summoning, except to go to a map yourself and summon the player again.
  
 +See Also: goto
 +See Also: teleport
 ==== teleport ==== ==== teleport ====
-syntax: teleport <​player>​ 
  
-notesthe '​reverse'​ summoning of a player. See Also: summon+Usageteleport <player>
  
 +Teleport will bring you immediately next to the player'​s location. See '​summon'​ for the reverse.
 +
 +Example: teleport Gabriel
 +
 +This will cause you to appear next to the player named Gabriel - even if it is a private map, such as their personal apartment.
 +
 +See Also: summon
 ==== time ==== ==== time ====
-syntax: time 
  
-notesthis will give additional ​information ​about server performance ​when used as dm.+Usagetime 
 + 
 +The time command ​will display in-game time along with the month, day, and year. 
 + 
 +For DMs, it also displays ​additional ​time statistics ​about server performance ​such as min, avg, and max on ticks in milliseconds for the server session. 
 + 
 +The output also displays ticks longer than 120ms, and time (avg, max, min) on the last 100 ticks.
  
 ==== toggle_shout ==== ==== toggle_shout ====
-syntax: toggle_shout <​player>​ 
  
-Will toggle the no_shout bit for the named player. This will prevent or enable the player to use the shout command.+Usage: toggle_shout <player>
  
-==== wizpass ==== +The toggle_shout command will toggle the no_shout bit for the named player.
-syntax: wizpass+
  
-notes: this will toggle on and off your ability to walk thru walls as dm.+This will prevent or enable the player to use the shout channel for communication. 
 + 
 +Example: 
 + ​toggle_shout Jessica 
 + 
 +If the player named Jessica has access to the shout channel, the command will now disable her access. 
 + 
 +If Jessica had the shout channel disabled by this command, entering the command again will re-enable shout channel access.
  
 ==== who ==== ==== who ====
-syntax: who 
  
-noteswhen used as dmthis will also print out the object tag of players. ​+Usagewho 
 + 
 +The who command will display all players who are currently logged in to the game and show which ones are AFK (if activated by the player), DMs, and bot accounts. The map path of all logged-in players is also shown. 
 + 
 +When used as a DMall of the above information is displayed in addition to the object tag of players ​and their total level. 
 + 
 +==== wizcast ==== 
 + 
 + 
 +This will enable/​disable your ability to cast spells and prayers anywhere as DM.  
 + 
 +Without argument, it toggles between on and off. 
 + 
 +For instance, with the ability set to on - the DM can cast prayers on unholy ground and spells in no_magic areas (i.e., the middle of a shop.) 
 + 
 +==== wizhelp ==== 
 + 
 +The following commands are available to you: 
 +  dmhelp <command name> 
 +  abil <​player>​ <​attribute>​ <​value>​ 
 +  accountpasswd <​account>​ <​password>​ 
 +  addexp <​name>​ <​amount>​ <​skill>​ 
 +  banish <​player>​ 
 +  create [<​number>​] [<​bonus>​] <​archetype>​ [<​variable1>​ <​value1>​] [<​variable2>​ <​value2>​] ... [of <​artifact>​] 
 +  create [<​number>​] [<​archetype>​] of [<​archetype>​] [<​attribute>​] [<​attribute value>​] 
 +  debug or debug <0 - 3> 
 +  dumpabove 
 +  dumpallarchtypes 
 +  dumpallmaps 
 +  dumpallobjects 
 +  dumpbelow 
 +  dumpfriendlyobjects 
 +  follow <​playername>​ 
 +  free <​tag>​ 
 +  freeze [ticks] <​player>​ 
 +  goto <​map_path>​ 
 +  hide 
 +  insert_into <​item>​ <​item>​ 
 +  invisible 
 +  kick <​player>​ 
 +  learn_special_prayer <prayer name> 
 +  learn_spell <spell name> 
 +  mon_aggr 
 +  nodm 
 +  nowiz 
 +  overlay_save 
 +  patch <tag> <​variable>​ <​value>​ 
 +  plugin <plugin name> 
 +  pluglist 
 +  plugout <plugin name> 
 +  possess <object number>​ 
 +  printlos 
 +  purge_quest_state 
 +  purge_quests 
 +  quest (player name) list|info|set 
 +  remove <​tag>​ 
 +  reset <​mapname>​ 
 +  server_speed <​newspeed>​ 
 +  set_god <​player>​ <​deity>​ 
 +  shutdown <​now|time|idle|cancel>​ 
 +  spellreset 
 +  ssdumptable 
 +  stats <​player>​ 
 +  style_info 
 +  summon <​player>​ 
 +  teleport <​player>​ 
 +  time 
 +  toggle_shout <​player>​ 
 +  who 
 +  wizcast [<​on_off>​] 
 +  wizpass 
 + 
 +General notes for DMs: Case sensitivity is important in player and map names. 
 + 
 +==== wizpass ==== 
 + 
 +Usage: wizpass 
 + 
 +This will toggle on and off your ability to walk through walls as DM. 
 + 
 + 
dm_commands.1663827669.txt.gz · Last modified: 2022/09/22 01:21 by leaf