Once you have completed building the Trinitycore 3.3.5 version World of Warcraft server side (see:Trinitycore Series: World of Warcraft Trinitycore 3.3.5 Version Setup Dummy Guide) and have already added NPCBot bots (see:Trinitycore Series: Adding NPCBots to Version 3.3.5), then the next step is how to operate and control the bots in the game. There are detailed NPCBot command instructions on GitHub, which you can check directly. The link is as follows:https://github.com/trickerer/Trinity-Bots。
However, firstly, domestic access to this is quite difficult, and secondly, reading it in English might not be as comfortable, so I have posted some of the commonly used commands along with Chinese annotations below as a memorandum. After all, logging in occasionally, you will probably have forgotten most of them when you need to use the commands~.
[VIP]
COMMAND: .npcbot, .npcb – (Player command) itself will list all available syntax
lookup
= Class ID (i.e., 1 for WARRIOR). .npcbot lookup (.npcb loo) (without parameters) lists class IDs
Example usage:
.npcbot lookup 1 (list all Warriors)
.npcbot lookup 2 (list all Paladins)
.npcbot lookup 3 (list all Hunters)
.npcbot lookup 4 (list all Rogues)
.npcbot lookup 5 (list all Priests)
.npcbot lookup 6 (list all Death Knights)
.npcbot lookup 7 (list all Shamans)
.npcbot lookup 8 (list all Mages)
.npcbot lookup 9 (list all Warlocks)
.npcb loo 11 (list all Druids)
1: Human Human
2: Orc Orc
3: Dwarf Dwarf
4: Night Elf Night Elf
5: Undead Undead
6: Tauren Tauren
7: Gnome Gnome
8: Troll Troll
10: Blood Elf Blood Elf
11: Draenei Draenei
add _TARGET_ – (GM command) the selected NPCBot bypasses price conditions to become yours. Only works for NPCBots without an owner
TARGET = Selected NPCBot
Example usage:
.npcbot add
.npcb add
remove _TARGET_ – (GM command) removes control of the NPCBot
TARGET = Selected NPCBot (dismisses the selected NPCBot)
TARGET = Selected player (dismisses all NPCBots)
Example usage:
.npcbot remove
.npcb rem
spawn
= NPCBot ID (can be obtained from the lookup list)
= Creature template link added by Shift-clicking (obtained from the lookup list)
Example usage: - (Spawn NPCBot with ID 70001) – (Spawn NPCBot with ID 70002) – (
Spawn NPCBot via link) .npcbot spawn 70001
.npcb sp 70002
.npcb sp [Haromm]
spawned – (GM command) lists all spawned bots in the world, their locations, and quick status
Example usage:
-.npcbot spawned
move
= NPCBot ID
= Creature template link added by Shift-clicking (obtained from the lookup list)
TARGET = Selected NPCBot
Example usage:
.npcbot move 70001 (moves the NPCBot with ID 70001 to your location)
delete _TARGET_ – (GM command) deletes the NPCBot from the world, removes the NPCBot from its owner (if any), and deletes it from the database
TARGET = Selected NPCBot
Example usage:
.npcbot delete
.npcb del
set (General command)
faction _TARGET_ – sets the faction for the selected NPCBot
a = 1802 (Alliance team)
h = 1801 (Horde team)
m = 14 (Monster, hostile to everyone)
f = 35 (Friendly to everyone)
factionID = ID from FactionTemplate.dbc (experts only). This is not what you get using the .lookup faction command
TARGET = Selected NPCBot
Example usage:
.npcbot set faction (itself will display a list of faction subcommands)
.npcb s f m (sets the faction of the selected NPCBot to HostileToAll)
owner
GUID = player database guid
NAME = player name
TARGET = Selected NPCBot
Example usage:
.npcbot set owner 312 (sets the owner of the selected NPCBot to the player with guid 312)
.npcb s o Myplayer (sets the owner of the selected NPCBot to player Myplayer by name)
spec
NUMBER = number between 1 and 30
TARGET = Selected NPCBot
Example usage:
.npcbot set spec 2 (the selected NPCBot is immediately reassigned to the Fury talent tree; talents will only apply to warrior NPCBots)
revive _TARGET_ – (GM command) revives NPCBot(s)
TARGET = selected NPCBot (revives this NPCBot)
TARGET = selected player (revives all NPCBots of the selected player)
Example usage:
.npcbot revive
.npcb rev
reloadconfig – (GM command) reloads NPCBot system settings
(no arguments)
Example usage:
`.npcbot reloadconfig
command
command = command string
follow, f = follow mode
standstill, stand = STAY mode
stop, stopfully = idle mode
walk, w = walk mode (toggle)
TARGET = selected (your) NPCBot (command affects this NPCBot)
TARGET = any other unit or no selection (command affects all NPCBots)
Example usage:
.npcbot command standstill (NPCBot stops moving and stays in place)
.npcb c sta (same as above)
.npcbot command stopfully (NPCBot will interrupt all actions, stop and do nothing)
.npcbot command follow (NPCBot will follow you, if not already)
info _TARGET_ – (player command) displays information about owned bots
TARGET = selected group player or self (displays information for that player)
Example usage:
.npcbot info
.npcb in
hide – (player command) forces NPCBots to temporarily disappear. They will teleport out of the map and leave the world until allowed back. Cannot be used in combat
(no arguments)
Example usage:
.npcbot hide
.npcb h
unhide| show – (Player command) opposite of the command .npcbot hide; your NPCBots will appear shortly. Cannot be used in combat
(no arguments) Example usage:
.npcbot unhide
.npcbot show
recall – (player command) forces NPCBots to move directly to your location. Can be used while dead. Mainly designed for situations when you are dead and your NPCBots are stuck under textures while in combat
TARGET = selected NPCBot (moves a single NPCBot)
TARGET = self (moves all NPCBots)
Example usage:
.npcbot recall
kill| suicide – (player command) forces NPCBots to die. Designed for troubleshooting in situations where NPCBots are not functioning properly. This can be caused by rare bugs that cause creatures to retain unit states. If this does not work, try using /tickle on them
TARGET = selected NPCBot (kill single NPCBot troublemaker)
TARGET = self (kill all NPCBots)
Example usage:
.npcbot kill
.npcbot suicide
order – (Player command) allows you to issue commands to your NPCBot. Commands take precedence over any other actions. Each bot can have up to 3 queued orders at a time (it will display a list of subcommands by itself)
cast
BOT_NAME OR CLASS_NAME = your bot's name in the client locale, case-insensitive, or English bot class name, lowercase
SPELL_NAME = spell name in the client locale. All_spaces_must_be_replaced_with_underscores. Case-insensitive
TARGET_TOKEN = optional target identifier string. If left blank, the bot will target itself. Case-insensitive. Possible values:
bot, self = self-cast
me, master = bot owner (you)
target = bot's current target (will not work if the bot has no target)
mytarget = your current target (will not work if you have no target)
Example usage:
.npcbot order cast javad lesser_healing_wave me
.npcbot order cast javad purge mytarget
distance _ATTACK_
ATTACK = if skipped, you set the follow distance (default); if set to ”attack”, you set the attack distance
VALUE = desired value for the selected distance type (within standard distance range)
Example usage:
.npcbot distance 75
.npcbot distance attack 20
vehicle eject – (Player command) allows you to eject NPCBots from vehicles (bots will not automatically dismount from vehicles during combat)
Example usage:
– .npcbot vehicle eject
-.npcb veh e
dump – (Admin command) allows you to migrate bot data, similar to pdump for players (will display a list of subcommands by itself)
write
FILENAME = the name of the file to be created, which will be saved in the server root folder (Windows) or home directory (Linux); if no file extension is provided, .sql will be appended
Example usage:
.npcbot dump write bots_backup (writes to bots_backup.sql)
.npcb du w 1.txt (writes to 1.txt)
load
FILENAME = your backup file name, must be stored in the server root folder (Windows) or home directory (Linux); if no file extension is provided, .sql will be appended
Example usage:
.npcbot dump load bots_backup (loads from bots_backup.sql)
.npcb du l 1.txt (loads from 1.txt)
createnew
NAME = the name of the created NPCBot. Please note that the first letter will always be capitalized
CLASS = This refers to the NPCBot class. Use the .npcbot lookup command to list all available classes
RACE = You must provide a race for your new NPCBot, unless you are creating a special class of NPCBot whose race is predefined along with other details
1: Human Human
2: Orc Orc
3: Dwarf Dwarf
4: Night Elf Night Elf
5: Undead Undead
6: Tauren Tauren
7: Gnome Gnome
8: Troll Troll
10: Blood Elf Blood Elf
11: Draenei Draenei
GENDER = Same as RACE, for normal classes you must choose one
0: Male
1: Female
SKIN, FACE, HEARSTYLE, HAIRCOLOR, FEATURES = appearance details, 0 and above. Different race/gender combinations have different limits for this, ranging from 0-3 (female Tauren face) to 0-23 (female Human hairstyle)
SOUNDSET = NPC voice variant for the bot to use. Each race has 3 variants, and by default, the selection is random
Example usage:
.npcbot createnew Selendris 2 10 1 6 4 3 2 4 (creates a female red-haired Blood Elf Mage npcbot)
.npcb cre Selendris 2 10 1 6 4 3 2 4 (creates a female red-haired Blood Elf Mage npcbot)
[/vip]