Before you start flaming i would like to tell that i searched the forum but there is no list for commands.
Searching the net i found a list :
But some commands are missing :|For example : How to establish a guild using Gm commands?Code:Informational commands: .HELP displays command list .WHERE displays map number, coordinates x,y,z and orientation h .INFO displays selected object info .FACTION displays selected object faction .ONLINE displays connected players count on server .TARGETGO selects nearest gameobjects and displays its info .PINGMM displays selected NPC on mini map .LISTSP list of learned spells .LISTSK list of learned skills Creation commands: .ADD add item to your inventory, can't grant items to other players .ADDNPC add paralysed NPC at your location with your orientation .ADDGO add gameobject at your location with your orientation .ADDSPAWN add empty spawn if called without parameters .ADDSPAWN NPC add single NPC spawn .ADDSPAWN NPC N add single spawn for N NPCs Deletion/kill commands: .DEL delete selected object (your reputation not changed) .KILL kill selected NPC (your reputation decreased) .KILLALLNPC kill all NPC around you .DELALLCORP delete all player dead bodies NPC/objects manipulation: .TARGETLINK select spawn for currently selected NPC (not displayed on screen) - i.e. if spawn is unreachable, you can select its NPC then .targetlink and call for spawn to .come) .TURN turns NPC/spawn to look at you .COME asks selected NPC/spawn to come to you .SETLEVEL sets level for NPC/player/GM .SETMODEL sets model for NPC/player/GM .SETSIZE sets size for model of NPC .SETSPEED sets speed for animation and movement of selected NPC .SETSPAWNNPC sets NPC id and (optional) amount to be spawned .SETSPAWNGO sets gameobject to be spawned .SETSPAWNDIST sets spawn radius (or two radii min and max) .SETSPAWNTIME sets interval (or two intervals min and max) to spawn new NPC/gameobject instead of killed one .SETXP sets XP for player/GM .PARALYSE paralyse or free selected NPC .MOVE moves targeted gameobject (selection not visible on screen) relative to its current X Y Z Characters commands: .RESURRECT that's it .EXPORTCHAR exports character to separate file .IMPORTCHAR loads character from separate file. WARNING! make sure that there is no player in the world who has same guid! Also the same for every item in player inventory. .LEARN learn some spell for player/GM .DELSP forget some spell (spell list is limited! do not learn everything) .LEARNSK learn some skill for player/GM .DELSK forget some skill (skill list is limited! do not learn everything) Teleportation commands: .GO teleport to (map x y z) coordinates. DO NOT forget map parameter! .GOTRIGGER teleport to trigger number .GONAME teleport to player by name .GOGUID teleport to object by GUID Server control commands: .SAVE save world and players .SHUTDOWN that's it .RETCL reloads all tcl scripts .RESCP reloads all SCP databases .REHASH rehashes objects (dunno what's that shit about) .CLEARQFLAGS forgets about all completed quests .EXPORTSPAWNSXY <map> <x1> <y1> <x2> <y2> <filename> exports rectangular world area to file Misc commands: .PPON turns on pathpoint collection .PPOFF turns off .DISMOUNT dismounts you in case you have lost your mounted icon after logoff .BYTES for debug .ADDDYN for debug .STARTTIMER for debug .STOPTIMER for debug .TEST for debug .SETAURA for debug .EXPLORATION for debug .FLAG1 for debug .SETRESTSTATE for debug .SETFLAGS for debug
How to broadcast a global message ?
How to subtract an amount of money from a player?
Do the commands differ from database to database ? If so , can i have MaNGOS and Silvers commands ?
P.S.: I found MaNGOS commands. Are they the same as Silver ?
Code:MaNGOS Commands: .help = HELP [cmd] - Use .COMMANDS (or .COM) to list available commands.\nUse .HELP XXX to get help on command XXX, also you can use .HELP XXX YYY to get help on complex command.\nConsole also accepts short versions of commands. .acct = ACCT - Shows your current access level. .anim = ANIM animId - Your character does emote 'animId'. .announce = ANNOUNCE text - Broadcast worldwide message to all players. Also command known as BROADCAST. .broadcast = BROADCAST text - Broadcast worldwide message to all players. Also command known as ANNOUNCE. .goname = GONAME name - Teleports yourself to named player location. .namego = NAMEGO - Summons named player to your location. .aura = AURA auraId - Gives yourself the auraId aura. .commands = COMMANDS - Display all available commands for your access level. .commands_after = Subcommands grouped by color and brackets. Use |cffccccff.help cmd|r, or |cffccccff.help cmd subcmd|r to read short command descriptions. .version = VERSION - Print server version. .suicide = SUICIDE - You commit suicide. .revive = REVIVE - Instantly resurrect targeted player, if you are dead and can't chat use whisper to any target, like "/w 1 .revive" .control = CONTROL - Toggles control on/off, if toggled on the selected creature or player is under your control .dismount = DISMOUNT - Dismounts you and restores your movement speeds to normal (not for normal players). .gmlist = GMLIST - Shows list of all online GM on the server. .gmon = GMON - Modifies your player flags to become GM player. .gmoff = GMOFF - Restores your player flags back to non-GM player. .where = WHERE - Shows location in the world for selected NPC, player or yourself (if nothing selected). .sinfo = SINFO - Shows brief information on server status (connected players). .invis = INVIS - !Untested! toggles your invisibility for other people. .itemmove = ITEMMOVE s1 s2 - Swaps two slots in your inventory. .kick = KICK name - Forces named player to disconnect. .modify = MODIFY - used to modify some stats and values of selected player. Also works as ".MOD" command. Available options are: .morph = MORPH - Changes your display model to anything. NOT REVERSIBLE unless you know your old model id! .mount = MOUNT - Mounts yourself on specified mount, use DISMOUNT to get off. .addgo = ADDGO go_id - Creates gameobject go_id at your location. Use <.addgo NN> to test, and <.addgo NN save> to create and save in DB. .delgo = DELGO go_id dist - Deletes gameobject nn around you inside radius (deletes also from DB). Distance defaults to 5 units. .delgoinloc = DELGOINLOC dist - Deletes all gameobjects around you inside radius (deletes also from DB). Distance defaults to 5 units. .saygoinloc = SAYGOINLOC dist - Sowns the list of found GO (name + id ) at specified distance <dist>. .recall = RECALL loc_name - Quick jump to known world locations - sunr, thun, cross, ogri, neth, thel, storm, iron, under, darn. .weather = WEATHER zone_id weather_name - Sets the weather in the specified zone to one of the following possibilities - sun, fog, rain, snow, storm. .save = SAVE - Saves current player now. .security = SECURITY name accessLvl - Change GM access level of named player in database. .standstate = STANDSTATE st - Sets your own standstate to nn. .hearth = HEARTH - Teleport yourself to hearth bind location (player start or the inn). .taxicheat = TAXICHEAT 1/0 - Opens/Closes all flight locations for selected player. .go = GO x y z - Moves yourself inside current world map. .worldgo = WORLDGO map_id x y z - Moves yourself to specified map_id and xyz coordinates. .goguid = GOGUID guid - Teleports yourself to location of object with specified GUID. .addgrave = ADDGRAVE - Adds new graveyard at your location (should not be used!) .createguild = CREATEGUILD leader name - GM command to create guild without signing petition. .wp = WP... - Allows access to waypoints control commands. Available commands are: .wp add = WP ADD [N] - Add waypoint for selected NPC at your location. If you type .WP ADD N - then waypoint will be inserted at position N, shifting waypoints after it forward. .wp add0 = WP ADD0 [N] - Same as WP ADD but also sets Wait = 0. .wp info = WP INFO - Displays brief information about current waypoint. .wp show = WP SHOW - Shows all waypoints for selected NPC, indicators for previous NPC are hidden. .wp hide = WP HIDE - Hides waypoint indicators. .wp come = WP COME - Moves selected waypoint to player location (synonim - WP MOVE). .wp move = WP COME - Moves selected waypoint to player location (synonim - WP COME). .wp delete = WP DELETE - Deletes one selected waypoint. .wp clear = WP CLEAR - Deletes all waypoints for NPC. You can target any waypoint too, to clear this NPC path. .wp wait = WP WAIT n [m] - Sets wait times for selected waypoint, can be used as .WP WAIT N - for wait always for N, and as .WP WAIT N M - for random wait time between N and M. Values 0-255. .npc = NPC... - Allows access to NPC control commands. Available commands are: .npc add = NPC ADD npcId - Spawns new NPC at player position using NPC template with given npcId. .npc level = NPC LEVEL nn - Sets level for selected NPC. .npc mtype = NPC MTYPE nn - Choose movement type for NPC: 0 - random roam, 1 and 2 - walking along the path forth and back, 3 - looping over the path forth, 4 - looping back. .npc turn = NPC TURN - Turns NPC facing to you and remembers this angle until spawn time or when mob returns to original location. .npc come = NPC COME - Sets NPC spawn point to player position and orientation (synonim - NPC MOVE). .npc move = NPC MOVE - Sets NPC spawn point to player position and orientation (synonim - NPC COME). .npc sell = NPC SELL item_id - Adds item by id to selected vendor sell list. .npc delete = NPC DELETE - Deletes selected NPC and his waypoints from the world. .npc model = NPC MODEL model_id - Changes display model for selected NPC (permanent for this spawn only). .npc faction = NPC FACTION action_id - Changes faction template for selected NPC (permanent for this spawn only). .npc flags = NPC FLAGS f - Changes NPC flags for selected NPC. .npc size = NPC SIZE k - Changes size of selected NPC. .npc info = NPC INFO - Displays brief info for selected NPC. .npc listhate = NPC LISTHATE - Briefly shows hate list contents for NPC. .npc run = NPC RUN 1/0 - Sets run/walk mode for selected NPC. .npc guid = NPC GUID - Displays GUID of selected NPC. .npc sptime = NPC SPTIME t [t2] - Allows changing spawntime for selected mob. Requires 1 or 2 numbers (seconds). 2 numbers represent random wait time in range between t and t2 seconds. .npc spdist = NPC SPDIST r - Allows changing roam radius for selected mob. Requires 1 parameter expressed in game units (metres). .npc kill = NPC KILL - Makes targeted NPC die (deals damage equaling his maxhealth). Spawn point is not deleted. .npc respawn = NPC RESPAWN - Makes targeted NPC or corpse of NPC instantly respawn once. .npc freeze = NPC FREEZE 1/0 - Freezes or frees selected NPC. .npc freezecell = NPC FREEZECELL 1/0 - Freezes or frees all NPCs in your current Cell. .import = IMPORT... - Allows access to data importing commands. .import gameobj = IMPORT GAMEOBJ - Imports text file named world_gameobj.txt containing list of gameobjects. Make sure that you cleared Gameobjects table. .import world = IMPORT WORLD - Imports text file named world_spawns.txt containing list of creature spawns. Make sure that you cleared Creatures and Creatures_mov tables. .debug = DEBUG... - Access to developer commands, that possibly can ruin, or do not affect normal gameplay. Available commands are: .debug test = DEBUG TEST - Test command. .debug flags = DEBUG FLAGS nn - Sets FLAGS update field of selected NPC to nn. .debug pflags = DEBUG PFLAGS nn - Sets FLAGS update field of selected player to nn. .debug gtmst = DEBUG GTMST nn - Sets guild timestamp of selected player to nn. .debug dynamicflags = DEBUG DYNAMICFLAGS nn - Sets DYNAMICFLAGS update field of selected NPC to nn. .debug bytes0 = DEBUG BYTES0 nn - Sets BYTES0 update field of selected NPC to nn. .debug bytes1 = DEBUG BYTES1 nn - Sets BYTES1 update field of selected NPC to nn. .debug bytes2 = DEBUG BYTES2 nn - Sets BYTES2 update field of selected NPC to nn. .debug qinv = DEBUG QINV nn - Send message 'quest nn invalid'. .debug qinv = DEBUG QFAILED nn - Send message 'quest nn failed'. .debug location = DEBUG LOCATION - Shows your location on Map. .debug mailerr = DEBUG MAILERR nn - Sends to client Mail Error message with code nn. .debug grouperr = DEBUG GROUPERR nn - Sends to client Group Error message with code nn. .debug spellerr = DEBUG SPELLERR nn - Sends to client Spell Error message with code nn. .debug time = DEBUG TIME - Displays actual server time. .debug inverr = DEBUG INVERR nn - Sends to client Inventory Error message with code nn. .debug trainerr = DEBUG TRAINERR nn - Sends to client Trainer Error message with code nn. .debug reload = DEBUG RELOAD - Reloads all Python scripts attached to server. .debug transports = DEBUG TRANSPORTS - Spawns transports on server. .debug water = DEBUG WATER n - Sets water level for player, making him swim. .debug astate = DEBUG ASTATE n - Attacker State Packet Debugging. Select any Unit* before executing command (it will be your Attacker). .debug stone = DEBUG STONE V1 V2 - (dev only). .modify item = MODIFY ITEM idem_id [count = 1] - Puts item to player's inventory. .modify mana = MODIFY MANA now_mana max_mana - Change player's mana and max_mana, works even if player had no mana before, now he has, and can learn casting spells. .modify hp = MODIFY HP now_hp max_hp - Change player's health points and max_hp. .modify health = MODIFY HEALTH now_hp max_hp - Change player's health points and max_hp. .modify energy = MODIFY ENERGY now_en max_en - Adds some energy to player's energy points or take coins if coppers number is negative. .modify rage = MODIFY RAGE now_rage max_rage - Adds some rage to player's rage points or take it if coppers number is negative. .modify money = MODIFY HEALTH now_hp max_hp - Change player's health points and max_hp. .modify gold = MODIFY GOLD coppers - Adds some coin to player's inventory or takes coins if coppers number is negative (synonim - MODIFY GOLD). .modify level = MODIFY LEVEL new_lvl - Changes player level to new_lvl, adding required combo points and level up bonuses. .modify speed = MODIFY SPEED f - Temporarily changes player run speed. .modify swim = MODIFY SWIM f - Temporarily changes player swim speed. .modify size = MODIFY SIZE - Temporarily changes player's size. .modify mount n = MODIFY MOUNT 1..48 - Gives a mount to player. .modify spell = MODIFY SPELL id - Teaches selected player a spell id (set 'id' negative to forget spell). .modify skill = MODIFY SKILL id [level = 1 [maxlevel = 300]] - Teaches selected player a skill (set 'id' negative to remove skill). .modify xp = MODIFY XP - Adds XP to player within current level, leveling him not more than once. .modify qitems = MODIFY QITEMS - Adds items to selected player, that are required by quest. .modify qkill = MODIFY QKILL - Adds fake kills to complete quest objectives. .special = SPECIAL... - Access to special GM commands modifying status of selected character. Available commands are: .special disable_selection = GM DISABLE_SELECTION - Disables selected character and forces it to log out (Ghost screen in Characters Tab). .special disable_name = GM DISABLE_NAME - Disables selected by name character and forces it to log out (Ghost screen in Characters Tab). .special force_rename = GM FORCE_RENAME - Disables selected character to rename and forces it to log out (Name change request in Characters Tab).


Reply With Quote


