root/trunk/sql/updates/5772_mangos_command.sql @ 2

Revision 2, 12.6 kB (checked in by yumileroy, 17 years ago)

[svn] * Proper SVN structure

Original author: Neo2003
Date: 2008-10-02 16:23:55-05:00

Line 
1DELETE FROM `command` WHERE `name` = 'addgo';
2DELETE FROM `command` WHERE `name` = 'addquest';
3DELETE FROM `command` WHERE `name` = 'addspw';
4DELETE FROM `command` WHERE `name` = 'addtele';
5DELETE FROM `command` WHERE `name` = 'addvendoritem';
6DELETE FROM `command` WHERE `name` = 'addweapon';
7DELETE FROM `command` WHERE `name` = 'allowmove';
8DELETE FROM `command` WHERE `name` = 'anim';
9DELETE FROM `command` WHERE `name` = 'money';
10DELETE FROM `command` WHERE `name` = 'morph';
11DELETE FROM `command` WHERE `name` = 'movecreature';
12DELETE FROM `command` WHERE `name` = 'moveobject';
13DELETE FROM `command` WHERE `name` = 'name';
14DELETE FROM `command` WHERE `name` = 'nametele';
15DELETE FROM `command` WHERE `name` = 'nearobjects';
16DELETE FROM `command` WHERE `name` = 'npcflag';
17DELETE FROM `command` WHERE `name` = 'npcinfo';
18DELETE FROM `command` WHERE `name` = 'npcinfoset';
19DELETE FROM `command` WHERE `name` = 'npcwhisper';
20DELETE FROM `command` WHERE `name` = 'castback';
21DELETE FROM `command` WHERE `name` = 'casttarget';
22DELETE FROM `command` WHERE `name` = 'changelevel';
23DELETE FROM `command` WHERE `name` = 'delete';
24DELETE FROM `command` WHERE `name` = 'delobject';
25DELETE FROM `command` WHERE `name` = 'deltele';
26DELETE FROM `command` WHERE `name` = 'delvendoritem';
27DELETE FROM `command` WHERE `name` = 'drunk';
28DELETE FROM `command` WHERE `name` = 'factionid';
29DELETE FROM `command` WHERE `name` = 'getvalue';
30DELETE FROM `command` WHERE `name` = 'gocreature';
31DELETE FROM `command` WHERE `name` = 'gograveyard';
32DELETE FROM `command` WHERE `name` = 'gogrid';
33DELETE FROM `command` WHERE `name` = 'goobject';
34DELETE FROM `command` WHERE `name` = 'gotrigger';
35DELETE FROM `command` WHERE `name` = 'goxy';
36DELETE FROM `command` WHERE `name` = 'goxyz';
37DELETE FROM `command` WHERE `name` = 'gozonexy';
38DELETE FROM `command` WHERE `name` = 'grouptele';
39DELETE FROM `command` WHERE `name` = 'listcreature';
40DELETE FROM `command` WHERE `name` = 'listgm';
41DELETE FROM `command` WHERE `name` = 'listitem';
42DELETE FROM `command` WHERE `name` = 'listobject';
43DELETE FROM `command` WHERE `name` = 'playemote';
44DELETE FROM `command` WHERE `name` = 'playsound';
45DELETE FROM `command` WHERE `name` = 'removequest';
46DELETE FROM `command` WHERE `name` = 'resetall';
47DELETE FROM `command` WHERE `name` = 'setmodel';
48DELETE FROM `command` WHERE `name` = 'setmovetype';
49DELETE FROM `command` WHERE `name` = 'setvalue';
50DELETE FROM `command` WHERE `name` = 'spawndist';
51DELETE FROM `command` WHERE `name` = 'spawntime';
52DELETE FROM `command` WHERE `name` = 'speed';
53DELETE FROM `command` WHERE `name` = 'standstate';
54DELETE FROM `command` WHERE `name` = 'subname';
55DELETE FROM `command` WHERE `name` = 'targetobject';
56DELETE FROM `command` WHERE `name` = 'textemote';
57DELETE FROM `command` WHERE `name` = 'titles';
58DELETE FROM `command` WHERE `name` = 'turnobject';
59DELETE FROM `command` WHERE `name` = 'update';
60DELETE FROM `command` WHERE `name` = 'visible';
61
62INSERT INTO `command` (`name`,`security`,`help`) VALUES
63('cast back',3,'Syntax: .cast back #spellid\r\n  Selected target will cast #spellid to your character.'),
64('cast target',3,'Syntax: .cast target #spellid\r\n  Selected target will cast #spellid to his victim.'),
65('debug anim',2,'Syntax: .debug anim #emoteid\r\n\r\nPlay emote #emoteid for your character.'),
66('debug getvalue',3,'Syntax: .debug getvalue #field #isInt\r\n\r\nGet the field #field of the selected creature. If no creature is selected, get the content of your field.\r\n\r\nUse a #isInt of value 1 if the expected field content is an integer.'),
67('debug playsound',1,'Syntax: .debug playsound #soundid\r\n\r\nPlay sound with #soundid.\r\nSound will be play only for you. Other players do not hear this.\r\nWarning: client may have more 5000 sounds...'),
68('debug setvalue',3,'Syntax: .debug setvalue #field #value #isInt\r\n\r\nSet the field #field of the selected creature with value #value. If no creature is selected, set the content of your field.\r\n\r\nUse a #isInt of value 1 if #value is an integer.'),
69('debug standstate',2,'Syntax: .debug standstate #emoteid\r\n\r\nChange the emote of your character while standing to #emoteid.'),
70('debug update',3,'Syntax: .debug update #field #value\r\n\r\nUpdate the field #field of the selected character or creature with value #value.\r\n\r\nIf no #value is provided, display the content of field #field.'),
71('gm list',0,'Syntax: .gm list\r\n\r\nDisplay a list of available Game Masters.'),
72('gm visible',1,'Syntax: .gm visible on/off\r\n\r\nOutput current visibility state or make GM visible(on) and invisible(off) for other players.'),
73('go creature',2,'Syntax: .go creature #creature_guid\r\nTeleport your character to creature with guid #creature_guid.\r\n.gocreature #creature_name\r\nTeleport your character to creature with this name.\r\n.gocreature id #creature_id\r\nTeleport your character to a creature that was spawned from the template with this entry.\r\n*If* more than one creature is found, then you are teleported to the first that is found inside the database.'),
74('go graveyard',2,'Syntax: .go graveyard #graveyardId\r\n Teleport to graveyard with the graveyardId specified.'),
75('go grid',1,'Syntax: .go grid #gridX #gridY [#mapId]\r\n\r\nTeleport the gm to center of grid with provided indexes at map #mapId (or current map if it not provided).'),
76('go object',1,'Syntax: .go object #object_guid\r\nTeleport your character to gameobject with guid #object_guid'),
77('go trigger',2,'Syntax: .go trigger #trigger_id\r\n\r\nTeleport your character to areatrigger with id #trigger_id. Character will be teleported to trigger target if selected areatrigger is telporting trigger.'),
78('go xy',1,'Syntax: .go xy #x #y [#mapid]\r\n\r\nTeleport player to point with (#x,#y) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.'),
79('go xyz',1,'Syntax: .go xyz #x #y #z [#mapid]\r\n\r\nTeleport player to point with (#x,#y,#z) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.'),
80('go zonexy',1,'Syntax: .go zonexy #x #y [#zone]\r\n\r\nTeleport player to point with (#x,#y) client coordinates at ground(water) level in zone #zoneid or current zone if #zoneid not provided. You can look up zone using .lookup area $namepart'),
81('gobject add',2,'Syntax: .gobject add #id <spawntimeSecs>\r\n\r\nAdd a game object from game object templates to the world at your current location using the #id.\r\nspawntimesecs sets the spawntime, it is optional.\r\n\r\nNote: this is a copy of .gameobject.'),
82('gobject delete',2,'Syntax: .gobject delete #go_guid\r\nDelete gameobject with guid #go_guid.'),
83('gobject move',2,'Syntax: .gobject move #goguid [#x #y #z]\r\n\r\nMove gameobject #goguid to character coordinates (or to (#x,#y,#z) coordinates if its provide).'),
84('gobject near ',3,'Syntax: .gobject near  [#distance]\r\n\r\nOutput gameobjects at distance #distance from player. Output gameobject guids and coordinates sorted by distance from character. If #distance not provided use 10 as default value.'),
85('gobject turn',2,'Syntax: .gobject turn #goguid \r\n\r\nSet for gameobject #goguid orientation same as current character orientation.'),
86('list creature',3,'Syntax: .list creature #creature_id [#max_count]\r\n\r\nOutput creatures with creature id #creature_id found in world. Output creature guids and coordinates sorted by distance from character. Will be output maximum #max_count creatures. If #max_count not provided use 10 as default value.'),
87('list item',3,'Syntax: .list item #item_id [#max_count]\r\n\r\nOutput items with item id #item_id found in all character inventories, mails and auctions. Output item guids, item owner guid, owner account and owner name. Will be output maximum #max_count items. If #max_count not provided use 10 as default value.'),
88('list object',3,'Syntax: .list object #gameobject_id [#max_count]\r\n\r\nOutput gameobjects with gameobject id #gameobject_id found in world. Output gameobject guids and coordinates sorted by distance from character. Will be output maximum #max_count gameobject. If #max_count not provided use 10 as default value.'),
89('modify drunk',1,'Syntax: .modify drunk #value\r\n Set drunk level to #value (0..100). Value 0 remove drunk state, 100 is max drunked state.'),
90('modify morph',2,'Syntax: .modify morph #displayid\r\n\r\nChange your current model id to #displayid.'),
91('npc add',2,'Syntax: .npc add #creatureid\r\n\r\nSpawn a creature by the given template id of #creatureid.'),
92('npc additem',2,'Syntax: .npc additem #itemId <#maxcount><#incrtime><#extendedcost>r\r\n\r\nAdd item #itemid to item list of selected vendor. Also optionally set max count item in vendor item list and time to item count restoring and items ExtendedCost.'),
93('npc addweapon',3,'Not yet implemented.'),
94('npc allowmove',3,'Syntax: .npc allowmove\r\n\r\nEnable or disable movement for the selected creature.'),
95('npc changelevel',2,'Syntax: .npc changelevel #level\r\n\r\nChange the level of the selected creature to #level.\r\n\r\n#level may range from 1 to 63.'),
96('npc delete',2,'Syntax: .npc delete\r\n\r\nDelete the selected creature from the world.'),
97('npc delitem',2,'Syntax: .npc delitem #itemId\r\n\r\nRemove item #itemid from item list of selected vendor.'),
98('npc factionid',2,'Syntax: .npc factionid #factionid\r\n\r\nSet the faction of the selected creature to #factionid.'),
99('npc flag',2,'Syntax: .npc flag #npcflag\r\n\r\nSet the NPC flags of creature template of the selected creature and selected creature to #npcflag. NPC flags will applied to all creatures of selected creature template after server restart or grid unload/load.'),
100('npc info',3,'Syntax: .npc info\r\n\r\nDisplay a list of details for the selected creature.\r\n\r\nThe list includes:\r\n- GUID, Faction, NPC flags, Entry ID, Model ID,\r\n- Level,\r\n- Health (current/maximum),\r\n\r\n- Field flags, dynamic flags, faction template, \r\n- Position information,\r\n- and the creature type, e.g. if the creature is a vendor.'),
101('npc move',2,'Syntax: .npc move [#creature_guid]\r\n\r\nMove the targeted creature spawn point to your coordinates.'),
102('npc name',2,'Syntax: .npc name $name\r\n\r\nChange the name of the selected creature or character to $name.\r\n\r\nCommand disabled.'),
103('npc playemote',3,'Syntax: .npc playemote #emoteid\r\n\r\nMake the selected creature emote with an emote of id #emoteid.'),
104('npc setmodel',2,'Syntax: .npc setmodel #displayid\r\n\r\nChange the model id of the selected creature to #displayid.'),
105('npc setmovetype',2,'Syntax: .npc setmovetype [#creature_guid] stay/random/way [NODEL]\r\n\r\nSet for creature pointed by #creature_guid (or selected if #creature_guid not provided) movement type and move it to respawn position (if creature alive). Any existing waypoints for creature will be removed from the database if you do not use NODEL. If the creature is dead then movement type will applied at creature respawn.\r\nMake sure you use NODEL, if you want to keep the waypoints.'),
106('npc spawndist',2,'Syntax: .npc spawndist #dist\r\n\r\nAdjust spawndistance of selected creature to dist.'),
107('npc spawntime',2,'Syntax: .npc spawntime #time \r\n\r\nAdjust spawntime of selected creature to time.'),
108('npc subname',2,'Syntax: .npc subname $Name\r\n\r\nChange the subname of the selected creature or player to $Name.\r\n\r\nCommand disabled.'),
109('npc textemote',3,'Syntax: .npc textemote #emoteid\r\n\r\nMake the selected creature to do textemote with an emote of id #emoteid.'),
110('npc whisper',1,'Syntax: .npc whisper #playerguid #text\r\nMake the selected npc whisper #text to  #playerguid.'),
111('quest add',3,'Syntax: .quest add #quest_id\r\n\r\nAdd to character quest log quest #quest_id. Quest started from item can\'t be added by this command but correct .additem call provided in command output.'),
112('quest remove',3,'Syntax: .quest remove #quest_id\r\n\r\nSet quest #quest_id state to not completed and not active (and remove from active quest list) for selected player.'),
113('reset all',3,'Syntax: .reset all spells\r\n\r\nSyntax: .reset all talents\r\n\r\nRequest reset spells or talents at next login each existed character.'),
114('targetobject',2,'Syntax: .gobject target[#go_id|#go_name_part]\r\n\r\nLocate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.'),
115('tele add',3,'Syntax: .tele add $name\r\n\r\nAdd current your position to .tele command target locations list with name $name.'),
116('tele del',3,'Syntax: .tele del $name\r\n\r\nRemove location with name $name for .tele command locations list.'),
117('tele group',1,'Syntax: .tele group#location\r\n\r\nTeleport a selected player and his group members to a given location.'),
118('tele name',1,'Syntax: .tele name #playername #location\r\n\r\nTeleport a player to a given location.');
Note: See TracBrowser for help on using the browser.