forked from chromiecraft/mod-gm-commands
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands.sql
More file actions
652 lines (646 loc) · 14.5 KB
/
commands.sql
File metadata and controls
652 lines (646 loc) · 14.5 KB
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
-- lvl 0: Player
-- lvl 1: GM T0 (Triager)
-- lvl 2: GM T1 (Entertainer/Moderator)
-- lvl 3: GM T2 (Protector)
-- lvl 4: Administrator
--
-- Player
--
UPDATE `command`
SET `security` = 0
WHERE `name` IN (
'account',
'account 2fa',
'account 2fa remove',
'account 2fa setup',
'account lock country',
'account lock ip',
'account password',
'commands',
'debug',
'debug hostile', -- Matches live
'gobject',
'gobject near', -- Matches live
'gobject target', -- Matches live
'gps',
'help',
'npc',
'npc info', -- Matches live
'npc near',
'save',
'server',
'server info',
'server motd',
'settings', -- Matches live
'settings announcer', -- Matches live
'spect',
'spect leave',
'spect reset',
'spect spectate',
'spect version',
'spect watch'
);
--
-- GM T0 (Triager)
--
UPDATE `command`
SET `security` = 1
WHERE `name` IN (
'account addon',
'appear',
'arena info',
'arena lookup',
'ban', -- Matches live
'ban account', -- Matches live
'bindsight',
'cache',
'cache info',
'character',
'character check bag',
'character check bank',
'character check profession',
'character rename', -- Matches live
'character reputation',
'character titles',
'cheat',
'cheat casttime',
'cheat cooldown',
'cheat explore',
'cheat god',
'cheat power',
'cheat taxi',
'cheat waterwalk',
'combatstop',
'cooldown',
'dismount',
'distance',
'event',
'event activelist',
'gear repair',
'gear stats',
'gm', -- Matches live
'gm chat', -- Matches live
'gm fly', -- Matches live
'gm ingame', -- Matches live
'gm visible', -- Matches live
'gmannounce', -- Matches live
'gmnameannounce', -- Matches live
'gmnotify', -- Matches live
'go',
'go creature',
'go creature id',
'go creature name',
'go graveyard',
'go grid',
'go quest',
'go taxinode',
'go trigger',
'go xyz',
'go zonexy',
'gobject activate', -- Matches live
'gobject info',
'gps',
'guild info',
'instance',
'instance getbossstate',
'instance listbinds',
'instance unbind',
'inventory',
'inventory count',
'item move',
'learn',
'learn all',
'learn all crafts',
'learn all default',
'learn all gm',
'learn all lang',
'learn all my',
'learn all my class',
'learn all my pettalents',
'learn all my spells',
'learn all my talents',
'learn all recipes',
'lfg group',
'lfg player',
'lfg queue',
'list',
'list auras',
'list creature',
'list item',
'list object',
'lookup',
'lookup area',
'lookup creature',
'lookup event',
'lookup faction',
'lookup gobject',
'lookup item',
'lookup item set',
'lookup map',
'lookup object',
'lookup quest',
'lookup skill',
'lookup spell',
'lookup spell id',
'lookup taxinode',
'lookup teleport',
'lookup title',
'mailbox',
'maxskill',
'modify',
'modify drunk',
'modify energy',
'modify hp',
'modify mana',
'modify mount',
'modify phase',
'modify rage',
'modify reputation',
'modify runicpower',
'modify scale',
'modify speed', -- Matches live
'modify speed all',
'modify speed backwalk',
'modify speed fly',
'modify speed swim',
'modify speed walk',
'modify standstate',
'modify talentpoints',
'morph',
'morph mount',
'morph reset',
'mute', -- Matches live
'mutehistory', -- Matches live
'neargrave',
'npc guid',
'npc near',
'npc playemote',
'npc say',
'npc textemote',
'npc whisper',
'npc yell',
'pet',
'pet create',
'pet learn',
'pet unlearn',
'pinfo', -- Matches live
'player learn',
'player unlearn',
'possess',
'quest',
'quest add',
'quest complete',
'quest remove',
'quest reward',
'recall',
'respawn',
'revive',
'server debug',
'setskill',
'showarea',
'summon', -- Matches live
'teleport',
'titles',
'titles add',
'titles current',
'titles remove',
'titles set',
'titles set mask',
'unaura',
'unbindsight',
'unlearn',
'unpossess',
'whispers'
);
--
-- GM T1 (Entertainer/Moderator)
--
UPDATE `command`
SET `security` = 2
WHERE `name` IN (
'achievement',
'achievement add',
'achievement checkall',
'arena rename',
'bags',
'bags clear',
'ban character',
'ban ip',
'ban playeraccount',
'baninfo',
'baninfo account',
'baninfo character',
'baninfo ip',
'banlist',
'banlist account',
'banlist character',
'banlist ip',
'cache delete',
'cache refresh',
'cast',
'cast back',
'cast dest',
'cast dist',
'cast self',
'cast target',
'character changefaction',
'character changerace',
'character customize',
'commentator',
'debug play', -- Matches live
'debug play cinematic', -- Matches live
'debug play movie', -- Matches live
'debug play sound', -- Matches live
'deserter bg add',
'deserter bg remove',
'deserter instance add',
'deserter instance remove',
'dev',
'die',
'event start',
'event stop',
'freeze',
'go ticket',
'gobject add',
'gobject add temp',
'gobject delete',
'gobject move',
'gobject respawn',
'gobject set',
'gobject set phase',
'gobject set state',
'gobject turn',
'group',
'group disband',
'group join',
'group leader',
'group list',
'group remove',
'groupsummon',
'guid',
'guild',
'guild create',
'guild delete',
'guild invite',
'guild rank',
'guild rename',
'guild uninvite',
'hidearea',
'instance setbossstate',
'item refund',
'item restore',
'item restore list',
'kick',
'levelup', -- Matches live
'lfg', -- Matches live
'lfg options',
'lookup player',
'lookup player account',
'lookup player email',
'lookup player ip',
'modify bit',
'modify gender',
'morph target',
'movegens',
'npc add',
'npc add formation',
'npc add item',
'npc add move',
'npc add temp',
'npc delete',
'npc delete item',
'npc follow',
'npc follow stop',
'npc move',
'npc set',
'npc set allowmove',
'npc set data',
'npc set entry',
'npc set faction original',
'npc set faction permanent',
'npc set faction temp',
'npc set flag',
'npc set level',
'npc set link',
'npc set model',
'npc set movetype',
'npc set phase',
'npc set spawntime',
'npc set wanderdistance',
'npc tame',
'send',
'send mail',
'send message',
'string',
'teleport group',
'teleport name',
'teleport name npc guid',
'teleport name npc id',
'teleport name npc name',
'ticket',
'ticket assign',
'ticket close',
'ticket closedlist',
'ticket comment',
'ticket complete',
'ticket escalate',
'ticket escalatedlist',
'ticket list',
'ticket onlinelist',
'ticket response',
'ticket response append',
'ticket response appendln',
'ticket response delete',
'ticket response show',
'ticket unassign',
'ticket viewid',
'ticket viewname',
'unban',
'unban account',
'unban character',
'unban ip',
'unban playeraccount',
'unfreeze',
'unmute',
'unstuck'
);
--
-- GM T2 (Protector)
--
UPDATE `command`
SET `security` = 3
WHERE `name` IN (
'account set',
'account set 2fa',
'account set addon',
'account set email',
'account set gmlevel',
'account set password',
'additem', -- Matches live
'additem set', -- Matches live
'announce',
'arena captain',
'arena create',
'arena disband',
'aura',
'aura stack',
'bf',
'bf enable',
'bf start',
'bf stop',
'bf switch',
'bf timer',
'character changeaccount',
'character deleted list',
'character deleted restore',
'character level',
'cometome',
'damage',
'debug anim',
'debug areatriggers',
'debug arena',
'debug bg',
'debug cooldown',
'debug dummy',
'debug entervehicle',
'debug getitemstate',
'debug getitemvalue',
'debug getvalue',
'debug itemexpire',
'debug lfg',
'debug lootrecipient',
'debug los',
'debug Mod32Value',
'debug moveflags',
'debug objectcount',
'debug play music',
'debug play visual',
'debug send',
'debug send buyerror',
'debug send channelnotify',
'debug send chatmessage',
'debug send equiperror',
'debug send largepacket',
'debug send opcode',
'debug send qinvalidmsg',
'debug send qpartymsg',
'debug send sellerror',
'debug send setphaseshift',
'debug send spellfail',
'debug setaurastate',
'debug setbit',
'debug setitemvalue',
'debug setvalue',
'debug setvid',
'debug spawnvehicle',
'debug threat',
'debug update',
'debug uws',
'deserter bg remove all',
'deserter instance remove all',
'disable add battleground',
'disable add map',
'disable add outdoorpvp',
'disable add quest',
'disable add spell',
'disable add vmap',
'disable remove battleground',
'disable remove map',
'disable remove outdoorpvp',
'disable remove quest',
'disable remove spell',
'disable remove vmap',
'flusharenapoints',
'gm list',
'honor', -- Matches live
'honor add', -- Matches live
'honor add kill', -- Matches live
'honor update', -- Matches live
'instance savedata',
'lfg clean',
'linkgrave',
'mmap',
'mmap loadedtiles',
'mmap loc',
'mmap path',
'mmap stats',
'mmap testarea',
'modify arenapoints', -- Matches live
'modify faction',
'modify honor', -- Matches live
'modify money', -- Matches live
'nameannounce',
'notify',
'pdump',
'pdump load',
'pdump write',
'playall',
'reload',
'reload achievement_criteria_data',
'reload achievement_reward',
'reload achievement_reward_locale',
'reload acore_string',
'reload all',
'reload all achievement',
'reload all area',
'reload all gossips',
'reload all item',
'reload all locales',
'reload all loot',
'reload all npc',
'reload all quest',
'reload all scripts',
'reload all spell',
'reload areatrigger_involvedrelation',
'reload areatrigger_tavern',
'reload areatrigger_teleport',
'reload auctions',
'reload autobroadcast',
'reload battleground_template',
'reload broadcast_text',
'reload command',
'reload conditions',
'reload config',
'reload creature_linked_respawn',
'reload creature_loot_template',
'reload creature_movement_override',
'reload creature_onkill_reputation',
'reload creature_questender',
'reload creature_queststarter',
'reload creature_template',
'reload creature_template_locale',
'reload creature_text',
'reload creature_text_locale',
'reload disables',
'reload disenchant_loot_template',
'reload dungeon_access_requirements',
'reload dungeon_access_template',
'reload event_scripts',
'reload fishing_loot_template',
'reload gameobject_loot_template',
'reload gameobject_questender',
'reload gameobject_queststarter',
'reload gameobject_template_locale',
'reload game_graveyard',
'reload game_tele',
'reload gm_tickets',
'reload gossip_menu',
'reload gossip_menu_option',
'reload gossip_menu_option_locale',
'reload graveyard_zone',
'reload item_enchantment_template',
'reload item_loot_template',
'reload item_set_names',
'reload item_set_name_locale',
'reload item_template_locale',
'reload lfg_dungeon_rewards',
'reload mail_level_reward',
'reload mail_loot_template',
'reload mail_server_template',
'reload milling_loot_template',
'reload module_string',
'reload motd',
'reload npc_spellclick_spells',
'reload npc_text_locale',
'reload npc_trainer',
'reload npc_vendor',
'reload page_text',
'reload page_text_locale',
'reload pickpocketing_loot_template',
'reload player_loot_template',
'reload points_of_interest',
'reload points_of_interest_locale',
'reload prospecting_loot_template',
'reload quest_greeting',
'reload quest_poi',
'reload quest_template',
'reload quest_template_locale',
'reload reference_loot_template',
'reload reserved_name',
'reload skill_discovery_template',
'reload skill_extra_item_template',
'reload skill_fishing_base_level',
'reload skinning_loot_template',
'reload smart_scripts',
'reload spell_area',
'reload spell_bonus_data',
'reload spell_group',
'reload spell_group_stack_rules',
'reload spell_linked_spell',
'reload spell_loot_template',
'reload spell_pet_auras',
'reload spell_proc',
'reload spell_proc_event',
'reload spell_required',
'reload spell_scripts',
'reload spell_target_position',
'reload spell_threats',
'reload vehicle_accessory',
'reload vehicle_template_accessory',
'reload waypoint_data',
'reload waypoint_scripts',
'respawn all',
'saveall',
'send items', -- Matches live
'send money', -- Matches live
'server corpses',
'server idlerestart cancel',
'server idleshutdown cancel',
'server restart',
'server restart cancel',
'server set motd',
'server shutdown',
'server shutdown cancel',
'skirmish',
'teleport add',
'teleport del',
'ticket delete',
'ticket togglesystem',
'wchange',
'wp',
'wp add',
'wp event',
'wp load',
'wp modify',
'wp reload',
'wp show',
'wp unload',
'wpgps'
);
--
-- Administrator
--
UPDATE `command`
SET `security` = 4
WHERE `name` IN (
'account create',
'account delete',
'account onlinelist',
'character deleted delete',
'character deleted purge',
'character erase',
'reset',
'reset achievements',
'reset all',
'reset honor',
'reset items',
'reset items all',
'reset items allbags',
'reset items bags',
'reset items bank',
'reset items currency',
'reset items equipped',
'reset items keyring',
'reset items vendor_buyback',
'reset level',
'reset spells',
'reset stats',
'reset talents',
'server exit',
'server idlerestart',
'server idleshutdown',
'server set closed',
'server set loglevel',
'ticket reset',
'modify spell'
);