summaryrefslogtreecommitdiff
path: root/doc/atcommands.txt
blob: b5a394031f01dc2be68917a12fc78dd8a9a7ff9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
//===== rAthena Documentation ================================
//= Atcommand List
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 20121112
//===== Description: =========================================
//= List of available atcommands and their functions.
//============================================================

This file describes the usage of in-game commands and assumes that
'conf/atcommand_athena.conf' has the following:
	atcommand_symbol : "@"
	charcommand_symbol: "#"

To search for a command, write "@" before the command name (ex. @commands).
The format of this file is as follows:
	1. System Commands
	2. Database Commands
	3. Player Information Commands
	4. Action Commands
	5. Administrative Commands
	6. Party Commands
	7. Guild Commands
	8. Pet Commands
	9. Homunculus Commands

======================
| 1. System Commands |
======================

@version

Displays SVN version of the server.

---------------------------------------

@rates

Displays the server rates.

Output Example:
Experience rates: Base 1.00x / Job 1.00x
Normal Drop Rates: Common 1.00x / Healing 1.00x / Usable 1.00x Equipment 1.00x / Card 1.00x
Boss Drop Rates:  Common 1.00x / Healing 1.00x / Usable 1.00x Equipment 1.00x / Card 1.00x
Other Drop Rates: MvP 1.00x / Card-Based 1.00x / Treasure 1.00x

---------------------------------------

@time

Displays the local server time, along with day/night information.
 
---------------------------------------

@uptime

Show server uptime since last map server restart.

Output Example:
Server Uptime: 3 days, 8 hours, 6 minutes, 4 seconds.

---------------------------------------

@refresh

Syncronizes the player's position on the client with the one stored on the server.

---------------------------------------

@showexp

Toggles the display of experience gain messages.

---------------------------------------

@showzeny

Toggles the display of Zeny gain messages.
Configuration for zeny being dropped by mobs is in '/conf/battle/monster.conf':
zeny_from_mobs: yes

---------------------------------------

@showdelay

Shows or hides the red "Cannot use the skills" message.

Output Example:
[Storm Gust] Cannot use the skills.

---------------------------------------

@noask

Toggles automatic rejection of deals and invites.

---------------------------------------

@noks

Toggles Kill Steal Protection.

---------------------------------------

@font <0-9>

Sets client font (0 is the default).

---------------------------------------

@agitstart
@agitend

Starts or ends War of Emperium [FE] by invoking scripts with the
OnAgitStart/OnAgitEnd labels.

---------------------------------------

@agitstart2
@agitend2

Starts or ends War of Emperium [SE] by invoking scripts with the
OnAgitStart2/OnAgitEnd2 labels.

---------------------------------------

@pvpon
@pvpoff

Enables or disables PvP (Player vs. Player) mode on a map.

---------------------------------------

@gvgon
@gvgoff

Enables or disables GvG (Guild vs. Guild) mode on a map.

---------------------------------------

@skillon
@skilloff

Enables or disables skill usage on a map.

---------------------------------------

@allowks

Toggles Kill Steal Protection on a map.

---------------------------------------

@day
@night

Sets the server to day or night mode.

---------------------------------------

@sound <filename>

Plays the specified sound.

---------------------------------------

@snow
@clouds
@clouds2
@fog
@fireworks
@sakura
@leaves

Toggles weather effects on your map.

---------------------------------------

@clearweather

Stops all weather effects. May require a map change or @refresh
for the effect to stop client-side.

---------------------------------------

@mapflag <flag> <value 0-1>

Sets a mapflag for the current map (1 = On, 0 = Off).

---------------------------------------

@addwarp <map> <x> <y> <npc name>

Creates a warp portal on the character's current coordinates that lasts until the next reboot.
The name parameter is mandatory and if it already exists, the server will automagically assign a name,
and it will be displayed only once in the chat window.

Example:
@addwarp prontera 50 50 my_warp_sample

Output:
New warp NPC 'my_warp_sample' created.

---------------------------------------

@effect <effect ID>

Creates a visual effect on or around the character.
A list of IDs can be found in '/db/const.txt'.
Descriptions of the effects can be found in '/doc/effect_list.txt'.

---------------------------------------

@misceffect

Does some visual effect on the character (more info needed).

---------------------------------------

@displayskill <skill ID> {<skill level>}

Displays the animation of a skill without really using it (debug function).

---------------------------------------

@option {<param 1> {<param 2> {<param 3>}}}

Adds visual effects to the attached character.
If no parameter is specified, a list of available options will be returned.

---------------------------------------

@displaystatus <status type> <flag> <tick> {<val1> {<val2> {<val3>}}}

Displays a status change without really applying it (debug function).

---------------------------------------

@send <Hex Number> {<value>}

Used for testing packet sends from the client (debug function).
Value: <type=B(default),W,L><number> or S<length>"<string>"

---------------------------------------

@mapinfo

Displays information about the current map.

Output Example:
------ Map Info ------
Map Name: prontera | Players In Map: 1 | NPCs In Map: 127 | Chats In Map: 0
------ Map Flags ------
Town Map
Autotrade Enabled
PvP Flags: 
GvG Flags: 
Teleport Flags: 
No Exp Penalty: On | No Zeny Penalty: On
Weather Flags: Displays Night | 
Other Flags: NoBranch | Reset | 
Other Flags: 

---------------------------------------

@gat

Gives information about terrain/area (debug function).

Output Example: 
prontera (x= 165, y= 202) 00 00 00 00 00
prontera (x= 165, y= 201) 01 00 00 00 00
prontera (x= 165, y= 200) 01 00 00 00 00
prontera (x= 165, y= 199) 01 00 00 00 00
prontera (x= 165, y= 198) 01 00 00 00 00

---------------------------------------

========================
| 2. Database Commands |
========================

@mobinfo <mob name/ID>

Displays monster information (rates, stats, drops, MVP data).

Example:
@monsterinfo Poring

Output:
Monster: 'Poring'/'Poring'/'PORING' (1002)
Lv: 1 HP:60 Base EXP:27 Job EXP:20 HIT:103 FLEE:183
DEF:2 MDEF:5 STR:6 AGI:1 VIT:1 INT:1 DEX:6 LUK:5
ATK:8~9 Range:1~10~12 Size:Medium Race:Plant Element:Water (Lv:1)
Drops:
 - Jellopy 70.00% - Knife[4] 1.00% etc...
 
---------------------------------------

@iteminfo <item name/ID>

Displays item information (type, price, weight, drops).

Example:
@iteminfo Jellopy

Output:
Item: 'Jellopy'/'Jellopy'[0] (909) Type: Etc. | Extra Effect: None
NPC Buy:6z, Sell:3z | Weight: 1.0
- Maximal monsters drop change: 75.00%

---------------------------------------

@whodrops <item name/ID>

Displays a list of mobs which drop the specified item.
Only the highest drop rates are shown. 

---------------------------------------

@autoloot {<%>}

Enables or disables autolooting items from killed mobs.
If a percentage is given, only items dropped at that rate and below will be autolooted.

---------------------------------------

@alootid <+/- item name/ID>
@alootid reset

Starts or stops autolooting a specified item.
Typing "reset" will clear the autoloot item list.
By default, 10 items can be autolooted at one time.

---------------------------------------

@mobsearch <monster name>

Locates and displays the position of a certain mob on the current map.

Output Example:
1[155:184] Poring
2[154:188] Poring
3[127:146] Poring

---------------------------------------

@idsearch <item name>

Looks up an item by name (or part of a name).

---------------------------------------

@showmobs <monster name/ID>

Locates and displays the position of a certain mob on your mini-map.
This shows up as a small white cross (+).

---------------------------------------

@whereis

Displays the maps in which monster normally spawns.
This does not include mobs summoned by scripts.

---------------------------------------

@skillid <skill name>

Looks up a skill by name (or part of a name).

---------------------------------------

@skilltree <skill ID> <target>

Lists requirements to obtain the specified skill on the target character.

---------------------------------------

@questskill {<skill ID>}
@lostskill {<skill ID>}

Permanently adds or removes the specified quest skill.
If no skill ID is specified, a list of available skills will be returned.

---------------------------------------

@useskill <skill ID> <skill level> <target>

Casts the specified skill.

Example:
@useskill 28 5 Char2
-> casts Level 5 Heal on player Char2

---------------------------------------

==================================
| 3. Player Information Commands |
==================================

@commands

Displays a list of @ commands available to the player.

---------------------------------------

@charcommands

Displays a list of # commands available to the player.

---------------------------------------

@help <command>

Displays the help message for the specified command.

---------------------------------------

@exp

Displays current levels and % progress.

Output Example:
Base Level: 13 (3.323%) | Job Level: 10 (0.000%)

---------------------------------------

@stats

Displays the stats of the attached player in your chat bar.

---------------------------------------

@storagelist <player name>

Displays Kafra storage contents of the specified player.

---------------------------------------

@cartlist <player name>

Displays cart contents of the specified player.

---------------------------------------

@itemlist

Displays inventory contents of the attached player.

---------------------------------------

@who
@who2
@who3

Returns a list of online characters.
@who will also return character positions.
@who2 will also return job classes.
@who3 will also return parties/guilds.

---------------------------------------

@whomap
@whomap2
@whomap3

Returns a list of online characters in a specific map.
@whomap will also return character positions.
@whomap2 will also return job classes.
@whomap3 will also return parties/guilds.

---------------------------------------

@whogm

Returns a list of GMs online.
For those who are higher GM level than yourself, only name is shown.
For the rest, the command acts as a combination of @who+@who2+@who3.

---------------------------------------

@users

Displays distribution of players on the server per map (% on each map which has players.)

Output Example:
prontera: 1 (50%)
prt_fild01: 1 (50%)
all: 2

---------------------------------------

@where <player_name>

Locates a player on a map. The player must be online.

---------------------------------------

@jailtime

Displays remaining jail time.
If @jail was used, the chat window will display "You have been jailed indefinitely".

---------------------------------------

@accinfo <player name/account id>

Searches for an account by ID or a character name, and outputs detailed information.
To search partial names, "%" can be used as a wildcard.

Example:
@accinfo Test%

Output:
-- Account 2000001 --
User: user123 | GM Group: 0 | State: 0
Password: password123
Account e-mail: a@a.com
Last IP: 127.0.0.1 (Unknown)
This user has logged 27 times, the last time were at 2012-11-24 17:29:07
-- Character Details --
[Slot/CID: 0/150001] Test1 | High Swordsman | Level: 99/50 | Off
[Slot/CID: 1/150002] Test2 | Rune Knight | Level: 150/50 | On

======================
| 4. Action Commands |
======================

@me <message>

Displays the text as a normal message with the format "*name <message>*" instead of "name: <message>".

---------------------------------------

@main {<message>}

Broadcasts a message to all players with @main enabled.
Using the command without a message will enable or disable main chat.

---------------------------------------

@storage

Opens your Kafra storage.
 
---------------------------------------

@mail

Opens your mailbox.

---------------------------------------

@auction

Opens the auction window.

---------------------------------------

@identify

Opens the Identification window if any unappraised items are in your inventory.

---------------------------------------

@trade <player name>

Opens the trade window with the specified player.

---------------------------------------

@autotrade

Allows you continue vending offline, then logs off.
The character will continue vending until you log in to that account again,
all items are sold, or the mapserver closes.

---------------------------------------

@monster <monster name/ID> {<amount>}
@monstersmall <monster name/ID> {<amount>}
@monsterbig <monster name/ID> {<amount>}

Spawns the specified monster.
If an amount is given, that number will be spawned.
Additionally, monster size can be adjusted.

---------------------------------------

@summon <monster name/ID> {<duration>}

Spawns mobs that treat you as their master.
If a duration is specified, they will stay with you until the duration has ended.

---------------------------------------

@clone <player name/ID>
@slaveclone <player name/ID>
@evilclone <player name/ID>

Spawns a clone of the specified player.
@clone will spawn a supportive clone.
@slaveclone will spawn a supportive clone that follows the creator around.
@evilclone will spawn an aggressive clone.

---------------------------------------

@item <item name/ID> {<amount>}
/item <item name/ID>
@delitem <item name/ID> <amount>

Creates or removes the specified item.
If an amount is given for @item, that number will be created.

---------------------------------------

@item2 <item name/ID> <quantity> <identify_flag> <refine> <attribute> <card1> <card2> <card3> <card4>

Creates an item with the given parameters (the 'cards' can be any item).
identify_flag: 0 = unidentified, 1 = identified
attribute: 0 = not broken, 1 = broken

---------------------------------------

@produce <equip name/ID> <element> <# of Very's>

Creates a weapon with the given parameters.

Example:
@produce 1602 1 2
-> crafts an item called "Very Very Strong Char's Ice Rod".

---------------------------------------

@refine <equip position> <+/- amount>

Refines an equipped item by the specified amount.
0: All Equipment
1: Lower Headgear
2: Right Hand
4: Garment
8: Left Accessory
16: Body Armor
32: Left Hand
64: Shoes
128: Right Accessory
256: Top Headgear
512: Mid Headgear

---------------------------------------

@repairall

Repairs all broken items in your inventory.

---------------------------------------

@dropall

Drops all inventory and equipped items onto the floor.

---------------------------------------

@storeall

Places all inventory and equpiped items directly into your Kafra Storage.

---------------------------------------

@itemreset

Deletes all inventory items (not equipped items).

---------------------------------------

@cleanmap

Deletes floor items in sight range.

---------------------------------------

@save

Sets your save point as your current map coordinates.

---------------------------------------

@memo {<0-2>}

Saves a warp point for the "Warp Portal" skill.
If a number is not specified, the command will output all currently saved locations.
Location "void" indicates an empty warp point.

---------------------------------------

@load

Warps to your save point.

---------------------------------------

@jump

Warps to a random coordinate on the current map.

---------------------------------------

@go {<location name/ID>}

Warps to predefined locations in major cities.
If no ID is given, all available maps will be displayed in the chat window.
Locations and coordinates are stored in '/src/map/atcommand.c'.

---------------------------------------

@warp <map> {<x> <y>}
/mm <map> {<x> <y>}
/mapmove <map> {<x> <y>}

Warps to the specified map.
If no coordinates are entered, a random location will be chosen.

---------------------------------------

@jumpto <player name/ID>
@follow <player name>

Warps to the specified player.
Aditionally, @follow will track the player's movements until turned off.

---------------------------------------

@recall <player name>
/recall <player name>
@recallall

Warps a character to your position.
Additionally, @recallall will recall the entire server.

---------------------------------------

@tonpc <npc name>

Warps to the specified npc.

---------------------------------------

@killer

Allows you to attack other players outside of PvP.

---------------------------------------

@killable

Allows other players to attack you outside of PvP.

---------------------------------------

@blvl <+/- amount>
@jlvl <+/- amount>

Changes base or job level by the specified amount.

---------------------------------------

@str <+/- amount>
@agi <+/- amount>
@vit <+/- amount>
@int <+/- amount>
@dex <+/- amount>
@luk <+/- amount>

Changes the specified stat of your character.

---------------------------------------

@allstats

Sets all stats to the maximum (default is 99).

---------------------------------------

@allskill

Gives your character all skills in their current skill tree.

---------------------------------------

@stpoint <+/- amount>
@skpoint <+/- amount>

Changes unused status or skill points by the specified amount.

---------------------------------------

@streset
@skreset
@reset

Resets stats (@streset), skills (@skreset), or both (@reset).

---------------------------------------

@feelreset

Resets a Star Gladiator's marked maps.

---------------------------------------

@jobchange <job name/ID>

Changes your job.
If no job is given, a list of all available jobs will be returned.
Note that jobs 22 (Wedding), 26 (Summer), and 27 (Christmas) are not available via @job.

---------------------------------------

@speed <0-1000>

Sets the speed at which the character walks and attacks.
Default is 150 (0 is fastest, 1000 is slowest).

---------------------------------------

@spiritball <0-100>

Summons the specified amount of spirit spheres around you.

---------------------------------------

@mount
@newmount

Toggles mounting/unmounting a peco (@mount) or cash mount (@newmount).

---------------------------------------

@zeny <+/- amount>

Changes Zeny by the specified amount.

---------------------------------------

@cash <+/- amount>

Changes Cash Points by the specified amount.

---------------------------------------

@points <+/- amount>

Changes Kafra Points by the specified amount.

---------------------------------------

@model <hair style> <hair color> <cloth color>
@hairstyle <default: 0-27>
@haircolor <default: 0-8>
@dye <default: 0-4>

Changes appearance based on the given parameters.
The min/max values are set in '/conf/battle/client.conf'.

---------------------------------------

@changelook {position} <view ID>

Changes the player's appearance to the specified view ID.
If no position is given, the command defaults to headgear.
1: Top
2: Middle
3: Bottom
4: Weapon
5: Shield
6: Shoes
7: Robe

---------------------------------------

@fakename {<text string>}

Temporarily changes name to the specified string.
If no string is given, the character's real name will be re-applied.

---------------------------------------

@size <0-2>
@sizeall <0-2>

Changes your size (0 = Normal, 1 = Small, 2 = Large).
Additionally, @sizeall will change the size of all online players.

---------------------------------------

@duel {<player name>}
@invite <player name>
@accept
@reject
@leave

Duel-organizing commands.
Some options can be found in '/conf/battle/misc.conf'.

---------------------------------------

@heal

Fully heals HP and SP. 

---------------------------------------

@alive
@raisemap
@raise

Ressurection commands.
@alive will revive the attached player.
@raisemap will revive all players on the map.
@raise will revive all players on the server.

---------------------------------------

@disguise <monster/npc name/ID>
@undisguise
@disguiseall <monster/npc name/ID>
@undisguiseall

Disguises or undisguises player as a monster/NPC sprite.
Additionally, @disguiseall/@undisguiseall will disguise all online players.

---------------------------------------

@monsterignore

Makes you immune to attacks (monsters/players/skills cannot target/hit you).

---------------------------------------

@hide
/hide

Toggles GM Hide (total invisibility to characters and monsters).

---------------------------------------

@npctalk <npc name> <message>

Command what other npcs say.
Displays the message above the NPC's head (like the 'npctalk' script command).

---------------------------------------

==============================
| 5. Administrative Commands |
==============================

@email <current@email.tld> <new@email.tld>

Changes the email address attached the player's account.
Note: This command doesn't validate the email address itself, but checks the structure of the email (xxx@xxx).

Example:
@email a@b.com b@b.com

Output:
Fail message: Invalid email. If you have default e-mail, type a@a.com.
Success message: Information sent to login-server via char-server.

---------------------------------------

@changesex

Changes the gender attached to the player's account.

---------------------------------------

@marry <player 1> <player 2>
@divorce <player>

Marries or divorces two players.

---------------------------------------

@adopt <father> <mother> <child>

Adopts a Novice into a family.

---------------------------------------

@request <message>

Sends a message to all connected GMs (via the GM whisper system).

---------------------------------------

@gmotd

Displays the motd file to all players.

---------------------------------------

@broadcast <message>
/b <message>
/nb <message>
@localbroadcast <message>
/lb <message>
/nlb <message>

Announces a message in yellow text.
Except for /nb and /nlb, the message will be prefixed with the name of the attached character.
@broadcast will be shown to the entire server.
@localbroadcast will be shown on the player's map only.

---------------------------------------

@kami <message>
@kamib <message>
@kamic <color> <message>

Announces a message without a name prefix.
@kami will broadcast in yellow text.
@kamib will broadcast in blue text.
@kamic will broadcast in the specified color (a hexadecimal value).

Example:
@kamic FF0000 This message is in red.

---------------------------------------

@killmonster
@killmonster2

Kills all monsters on the map.
Additionally, @killmonster2 will prevent the monsters from dropping items (except looted items).

---------------------------------------

@kill
@nuke <player name>
@doommap
@doom

Kill commands.
@kill will kill the attached player.
@nuke will kill the specified player and deal area splash damage.
@doommap will kill all players on the map.
@doom will kill all players on the server.

---------------------------------------

@mute <time> <player name>
@mutearea <time>
@unmute <player name>

Mutes or unmutes a player (prevents talking, usage of skills, and commands).
@mutearea will mute every player on screen for the specified time.

---------------------------------------

@jail <player name>
@jailfor <time> <player name>
@unjail <player name>

Sends the specified character to jail.
If a time is not specified (jailfor), the player will be jailed indefinitely.

---------------------------------------

@kick <player name/ID>
@kickall

Disconnects a user or all users from the server.

---------------------------------------

@ban <+/- time> <player name>
@unban <player name>

Bans or unbans a player for a limited time.
Time elements: y/a, m, d/j, h, mn, s

Example:
@ban +2d Char2
-> bans Char2's account for 2 days.

---------------------------------------

@block <player name>
@unblock <player name>

Blocks or unblocks a player from logging in indefinitely.

---------------------------------------

@mapexit

Sends quit signal to mapserver, saving all data and causing a graceful shutdown.
This will also send a packet to clients causing them to close.

---------------------------------------

@reloaditemdb
@reloadmobdb
@reloadskilldb
@reloadquestdb
@reloadscript

Reloads the specified database.
-itemdb: Item Database
-mobdb: Monster Database
-skilldb: Skill Database
-questdb: Quest Database
-script: NPC Scripts

---------------------------------------

@reloadatcommand
@reloadbattleconf
@reloadstatusdb
@reloadpcdb
@reloadmotd

Reloads the specified configuration file.
-atcommand: Atcommand Settings
-battleconf: Battle Settings (may require relog)
-statusdb: Status Settings
-pcdb: Player Settings
-motd: Message of the Day

---------------------------------------

@setbattleflag <flag> <value>

Changes a battle_config flag without rebooting the server.

---------------------------------------

@adjgroup <group ID>

Changes the group of a character (lasts until relog).
The groups are specified in '/conf/groups.conf'.

---------------------------------------

@addperm {<permission name>}
@rmvperm {<permission name>}

Changes the permissions of a character (lasts until relog).
If no permission is given, a list of available permissions will be returned.

---------------------------------------

@npcmove <x> <y> <npc name>

Moves an NPC to a specified coordinate on its map.

---------------------------------------

@hidenpc <npc name>
@shownpc <npc name>

Toggles the visibility of an NPC's sprite.

---------------------------------------

@loadnpc <path>

Loads an NPC script by path.

Example:
@loadnpc npc/custom/jobmaster.txt

---------------------------------------

@unloadnpc <npc name>

Unloads an NPC.

Example:
@unloadnpc Job Master

---------------------------------------

@unloadnpcfile <path>

Unloads all NPCs in a file.

Example:
@unloadnpcfile npc/custom/jobmaster.txt

---------------------------------------

=====================
| 6. Party Commands |
=====================

@party <party_name>

Organizes a new party, with the attached character as leader.
 
---------------------------------------

@partyoption <pickup share: yes/no> <item distribution: yes/no>

Changes party options for experience sharing and item sharing.

---------------------------------------

@changeleader <party_member_name>

Changes the leader of your party to another member.
You must be the party leader to use this command.

---------------------------------------

@partyrecall <party name>

Warps all online characters of a party to your location.

---------------------------------------

@partyspy <party name>

Allows you to spy on any party's Party Chat.
At least one member of that party must be online.
NOTE: map server needs to be configured to enable spying to use this command (enable_spy: yes)

---------------------------------------

=====================
| 7. Guild Commands |
=====================

@guild <guild name>

Creates a new guild, with the attached character as guildmaster.

---------------------------------------

@changegm <guild_member_name>

Changes the guildmaster of your guild to another member.
You must be the guildmaster to use this command.

---------------------------------------

@guildstorage

Opens your guild storage.

---------------------------------------

@glvl <+/- amount>

Changes guild level by the specified amount.

---------------------------------------

@disguiseguild <monster/npc name/ID> <guild name/ID>
@undisguiseguild

Disguises or undisguises all online characters of a guild.
 
---------------------------------------

@sizeguild <size> <guild name>

Changes the size of all online characters of a guild.

---------------------------------------

@guildrecall <guild name>

Warps all online characters of a guild to your location.

---------------------------------------

@guildspy <guild name>

Allows you to spy on any guild's Guild Chat. 
At least one member of that guild must be online.
NOTE: map server needs to be configured to enable spying to use this command (enable_spy: yes)

---------------------------------------

===================
| 8. Pet Commands |
===================

@makeegg <egg ID>

Creates a Pet Egg based on the given ID.

---------------------------------------

@hatch

Opens the Hatch window (like using a Pet Incubator).

---------------------------------------

@pettalk <message>

Command what the player's pet will say.

---------------------------------------

@petrename

If you have not already renamed your pet, you can do this on the Pet window.
If you have renamed your pet, this command will allow you to use the
the rename option on the window again.

---------------------------------------

@petfriendly <0-1000>

Sets the intimacy level of your pet, with 1000 being "Loyal".

---------------------------------------

@pethungry <0-100>

Sets the hunger level of your pet, with 100 being "Stuffed".

---------------------------------------

==========================
| 9. Homunculus Commands |
==========================

@makehomun <homunculus ID>

Creates the specified homunculus.

---------------------------------------

@homevolution

Evolves your homunculus, if possible.

---------------------------------------

@hominfo
@homstats

Displays homunculus stats in different formats.

Output Example [@hominfo]:
Homunculus Stats:
HP: 153/153 - SP: 54/54
ATK: 59 - MATK: 69~69
Hungry: 29 - Intimacy: 5
Stats: Str 24 / Agi 25 / Vit 18 / Int 40 / Dex 31 / Luk 14

Output Example [@homstats]:
Homunculus growth stats (Lv 1 Lif):
Max HP: 153 (151~160)
Max SP: 54 (50~60)
Str: 20 (18~22)
Agi: 22 (21~24)
Vit: 16 (16~20)
Int: 40 (39~45)
Dex: 29 (25~34)
Luk: 14 (13~15)

---------------------------------------

@homshuffle

Re-calculates homunculus stats, as if the homunculus was re-leveled from level 1.

---------------------------------------

@homtalk <message>

Command what the player's homunculus will say.

---------------------------------------

@homlevel <+/- amount>

Changes homunculus level by the specified amount.

---------------------------------------

@homfriendly <0-1000>

Sets the intimacy level of your homunculus, with 1000 being "Loyal".

---------------------------------------

@homhungry <0-100>

Sets the hunger level of your homunculus, with 100 being "Stuffed".

---------------------------------------