… | |
… | |
4 | *** The source for this file is in CFPlus/pod/dmcommand_help.pod |
4 | *** The source for this file is in CFPlus/pod/dmcommand_help.pod |
5 | *** Make any changes there and then run ./copy_doc |
5 | *** Make any changes there and then run ./copy_doc |
6 | *** |
6 | *** |
7 | =end comment |
7 | =end comment |
8 | |
8 | |
9 | =head1 Crossfire+ Dungeon Master Commands |
9 | =head1 Crossfire TRT Dungeon Master Commands |
10 | |
10 | |
11 | The following commands are only available to you if you are dungeon |
11 | The following commands are only available to you if you are dungeon |
12 | master, that is, a kind of server administrator with special privileges. |
12 | master, that is, a kind of server administrator with special privileges. |
13 | |
13 | |
14 | =head2 abil |
14 | =head2 abil |
15 | |
15 | |
16 | abil <player> <attribute> <value> |
16 | abil <player> <attribute> <value> |
17 | |
17 | |
18 | abil will permanently change the ability scores of players. Attribute is |
18 | B<abil> will permanently change the ability scores of players. Attribute is |
19 | one of str, dex, con, int, wis, pow, cha. Value may not exceed 30. |
19 | one of str, dex, con, int, wis, pow, cha. Value may not exceed 30. |
20 | |
20 | |
21 | =head2 addexp |
21 | =head2 addexp |
22 | |
22 | |
23 | addexp <player> <how much> |
23 | addexp <player> <how much> |
… | |
… | |
71 | |
71 | |
72 | Without arguments, debug will simply print the current level of |
72 | Without arguments, debug will simply print the current level of |
73 | debugging. Valid debugging levels are 0-3 where: llevError = 0, llevInfo = |
73 | debugging. Valid debugging levels are 0-3 where: llevError = 0, llevInfo = |
74 | 1, llevDebug = 2, llevMonster = 3 |
74 | 1, llevDebug = 2, llevMonster = 3 |
75 | |
75 | |
|
|
76 | =head2 dm |
|
|
77 | |
|
|
78 | dm <password> |
|
|
79 | |
|
|
80 | Try to become dungeon master. |
|
|
81 | |
|
|
82 | =head2 dmhide |
|
|
83 | |
|
|
84 | dmhide <password> |
|
|
85 | |
|
|
86 | Same as becoming dm and hiding at the same time. See B<hide>. |
|
|
87 | |
76 | =head2 dump |
88 | =head2 dump |
77 | |
89 | |
78 | dump <tag> |
90 | dump <tag> |
79 | |
91 | |
80 | Using dump, you can see the attributes of any item in the game. To find |
92 | Using dump, you can see the attributes of any item in the game. To find |
81 | the object number of an item you wish to view, click on it. If this item |
93 | the object number of an item you wish to view, click on it. If this item |
82 | is in your inventory, or you are standing over, click on yourself and the |
94 | is in your inventory, or you are standing over, click on yourself and the |
83 | item tags will be displayed. see also: patch |
95 | item tags will be displayed. see also: patch |
84 | |
96 | |
85 | =head2 dumpallarchtypes |
|
|
86 | |
|
|
87 | dumpallarchtypes |
|
|
88 | |
|
|
89 | This prints out a list of all archtypes to stderr. |
|
|
90 | |
|
|
91 | =head2 dumpallmaps |
|
|
92 | |
|
|
93 | dumpallmaps |
|
|
94 | |
|
|
95 | This prints out map information for all active maps to stderr. |
|
|
96 | |
|
|
97 | =head2 dumpallobjects |
|
|
98 | |
|
|
99 | dumpallobjects |
|
|
100 | |
|
|
101 | This prints out a list of all active objects to stderr. |
|
|
102 | |
|
|
103 | =head2 dumpbelow |
97 | =head2 dumpbelow |
104 | |
98 | |
105 | dumpbelow |
99 | dumpbelow |
106 | |
100 | |
107 | Will dump the attributes of the top item you are standing over. see also: |
101 | Will dump the attributes of the top item you are standing over. see also: |
… | |
… | |
121 | |
115 | |
122 | =head2 free |
116 | =head2 free |
123 | |
117 | |
124 | free <tag> |
118 | free <tag> |
125 | |
119 | |
126 | C<free> should ONLY be used after remove. Freeing an object that has |
120 | Removes (if necessary) and destroys the given object. |
127 | not been removed will cause the game to crash. For most objects, simply |
|
|
128 | removing them is sufficient and they will eventually be freed. See Also: |
|
|
129 | remove |
|
|
130 | |
121 | |
131 | =head2 goto |
122 | =head2 goto |
132 | |
123 | |
133 | goto <mapname> |
124 | goto <mapname> [<x> <y>] |
134 | |
125 | |
135 | Using this command will instantly move you to the start point of the map |
126 | Using this command will instantly move you to the start point of the map |
136 | specified. |
127 | and position specified. If the position is omitted, the map entry point |
|
|
128 | will be used instead. |
137 | |
129 | |
138 | =head2 hide |
130 | =head2 hide |
139 | |
131 | |
140 | hide |
132 | hide |
141 | |
133 | |
… | |
… | |
202 | |
194 | |
203 | nodm or nowiz |
195 | nodm or nowiz |
204 | |
196 | |
205 | Both of these commands will return you to normal player status. |
197 | Both of these commands will return you to normal player status. |
206 | |
198 | |
207 | =head2 overlay_save |
199 | =head2 observe |
208 | |
200 | |
209 | overlay_save |
201 | observe <playername> |
210 | |
202 | |
211 | This will save everything on the current map that was not originally part |
203 | Observes the given object (currently players only). This means that the |
212 | of it as an overlay. The overlay will then be loaded anytime the map |
204 | map and stats of the observed object will be displayed instead of ones |
213 | itself is loaded. Be careful with this as EVERYTHING on the map will be |
205 | own map and stats. Using observe without argument will switch bakc to |
214 | saved in an overlay, such as spawned monsters and dropped objects. |
206 | displaying your own map and stats. |
215 | |
207 | |
216 | =head2 patch |
208 | =head2 patch |
217 | |
209 | |
218 | patch <tag> <variable> <value> |
210 | patch <tag> <variable> <value> |
219 | |
211 | |
220 | Using the patch command, you can radically modify the properties of |
212 | Using the patch command, you can radically modify the properties of |
221 | objects in the game. Simply specify the object to modify and the new |
213 | objects in the game. Simply specify the object to modify and the new |
222 | values of its variables (or completely new variables). See Also: dump |
214 | values of its variables (or completely new variables). See Also: dump |
223 | |
215 | |
224 | =head2 perl-reload |
216 | =head2 reload |
225 | |
217 | |
226 | Will first unload all loaded perl extensions and modules loaded from the |
218 | Will first unload all loaded perl extensions and modules loaded from the |
227 | extension directory, followed by loading the perl part of the plugin and |
219 | extension directory, followed by loading the perl part of the plugin and |
228 | all extensions found. |
220 | all extensions found. |
229 | |
221 | |
230 | This is done in an as atomic way as possible so it is safe to do at |
222 | This is done in an as atomic way as possible so it is safe to do at |
231 | anytime. |
223 | anytime, but it will freeze the swerver for multiple seconds. |
232 | |
|
|
233 | =head2 plugin |
|
|
234 | |
|
|
235 | plugin <plugin name> |
|
|
236 | |
|
|
237 | This will load a new plugin into memory. Using this with no arguments, |
|
|
238 | or invalid arguments will cause a server crash. Plugin name should be as |
|
|
239 | it appears in your plugin directory. Double check the names before using |
|
|
240 | plugins. |
|
|
241 | |
|
|
242 | =head2 pluglist |
|
|
243 | |
|
|
244 | pluglist |
|
|
245 | |
|
|
246 | This shows currently loaded plugins. |
|
|
247 | |
|
|
248 | =head2 plugout |
|
|
249 | |
|
|
250 | plugout <plugin name> |
|
|
251 | |
|
|
252 | This will remove a loaded plugin from memory. |
|
|
253 | |
224 | |
254 | =head2 possess |
225 | =head2 possess |
255 | |
226 | |
256 | possess (nr) |
227 | possess <tag> |
257 | |
228 | |
258 | Take over the body of a given monster. It is not suggested you try to |
229 | Take over the body of a given monster. It is not suggested you try to |
259 | possess another player, as bad things will undoubtably happen. Allows DM |
230 | possess another player, as bad things will undoubtably happen. Allows DM |
260 | to control the monster directly with his client. |
231 | to control the monster directly with his client. |
261 | |
232 | |
… | |
… | |
272 | C<remove> will, suprisingly enough, remove the object specified by the tag |
243 | C<remove> will, suprisingly enough, remove the object specified by the tag |
273 | supplied. see also: free |
244 | supplied. see also: free |
274 | |
245 | |
275 | =head2 reset |
246 | =head2 reset |
276 | |
247 | |
277 | reset <mapname> |
248 | reset |
278 | |
249 | |
279 | All other characters must be off of the map at the time of reset. This |
250 | Temporarily moves off all characters from the current map, then resets it. |
280 | will NOT reset any unique items, such as players apartments, in the case |
251 | It works exactly as if the map reached its reset time prematurely. |
281 | of unique items being on a map, it will cause them to be saved before the |
|
|
282 | map is reset. |
|
|
283 | |
|
|
284 | Using C<reset .> will reset the map that the player is currently on. |
|
|
285 | |
|
|
286 | =head2 server_speed |
|
|
287 | |
|
|
288 | server_speed [newspeed] |
|
|
289 | |
|
|
290 | Without arguments, this prints current server speed. If given an argument, |
|
|
291 | it will set server speed to the new speed. |
|
|
292 | |
252 | |
293 | =head2 set_god |
253 | =head2 set_god |
294 | |
254 | |
295 | set_god <player> <diety> |
255 | set_god <player> <diety> |
296 | |
256 | |
… | |
… | |
298 | |
258 | |
299 | =head2 shutdown |
259 | =head2 shutdown |
300 | |
260 | |
301 | shutdown |
261 | shutdown |
302 | |
262 | |
303 | This will cause a Crossfire+ to shut down entirely by first kicking out |
263 | This will cause a Crossfire TRT server to shut down entirely by first |
304 | all players, saving all maps and finally exiting. Crossfire servers will |
264 | kicking out all players, saving all maps and finally exiting. Crossfire |
305 | kick out players and might or might not save some players or maps. |
265 | servers will kick out players and might or might not save some players or |
306 | |
266 | maps. |
307 | =head2 spellreset |
|
|
308 | |
|
|
309 | spellreset |
|
|
310 | |
|
|
311 | This causes the spell table to be reinitialized. |
|
|
312 | |
|
|
313 | =head2 ssdumptable |
|
|
314 | |
|
|
315 | ssdumptable |
|
|
316 | |
|
|
317 | This will print out the current hash table to stderr. |
|
|
318 | |
267 | |
319 | =head2 stats |
268 | =head2 stats |
320 | |
269 | |
321 | stats <player> |
270 | stats <player> |
322 | |
271 | |
… | |
… | |
330 | |
279 | |
331 | =head2 summon |
280 | =head2 summon |
332 | |
281 | |
333 | summon <player> |
282 | summon <player> |
334 | |
283 | |
335 | Summoning a player will bring them immediately to your location. There |
284 | Summoning a player will bring them immediately to your location. There |
336 | is no 'reverse' summoning, except to go to a map yourself and summon the |
285 | is no 'reverse' summoning, except to go to a map yourself and summon the |
337 | player again. |
286 | player again. |
338 | |
287 | |
339 | =head2 teleport |
288 | =head2 teleport |
340 | |
289 | |
341 | teleport <player> |
290 | teleport <player> |
342 | |
291 | |
343 | C<teleport> will bring you immediately next to the player's location. |
292 | C<teleport> will bring you immediately next to the player's location. |
344 | |
293 | |
345 | =head2 toggle_shout |
|
|
346 | |
|
|
347 | toggle_shout <player> |
|
|
348 | |
|
|
349 | Will toggle the no_shout bit for the named player. This will prevent or |
|
|
350 | enable the player to use the shout command. |
|
|
351 | |
|
|
352 | =head2 wizcast |
294 | =head2 wizcast |
353 | |
295 | |
354 | wizcast [<on_off>] |
296 | wizcast [<on_off>] |
355 | |
297 | |
356 | This will enable/disable your ability to cast spells and prayers anywhere |
298 | This will enable/disable your ability to cast spells and prayers anywhere |