Core/Commands: Add new spy command (#1263)

Add a new spy command for game masters and administrators to receive all conversations of followed players.

How to use:

- Use command .spy follow <characterName> with a GM 
- Make that player whisper another player
- You (GM) should receive the message sent
- Use command .spy status. You should get a list with the test subject's name in it.
- Use command .spy unfollow <characterName>
- You should not receive any more messages sent or received by that player


* Core/Commands: Add new spy command
* Importing pending sql
* Fix missing comma in SQL
* Fix travis compile: comment unused parameter
This commit is contained in:
José González
2019-01-15 15:47:14 -03:00
committed by GitHub
parent 55d006c16d
commit a4d8134e38
5 changed files with 334 additions and 2 deletions

View File

@@ -1146,7 +1146,19 @@ enum TrinityStrings
LANG_COMMAND_MUTEHISTORY_EMPTY = 5060,
LANG_COMMAND_MUTEHISTORY_OUTPUT = 5061,
// Room for more Trinity strings 5062-9999
// Spy command
LANG_COMMAND_SPY_FOLLOWING = 5062,
LANG_COMMAND_SPY_UNFOLLOW = 5063,
LANG_COMMAND_SPY_ALREADY_FOLLOWED_BY = 5064,
LANG_COMMAND_SPY_FOLLOWING_GROUP = 5065,
LANG_COMMAND_SPY_UNFOLLOW_GROUP = 5066,
LANG_COMMAND_SPY_NOT_FOLLOWING_GROUP = 5067,
LANG_COMMAND_SPY_CLEARED = 5068,
LANG_COMMAND_SPY_LIST = 5069,
LANG_COMMAND_SPY_WHISPERS_PLAYER = 5070,
LANG_COMMAND_SPY_TELLS_GROUP = 5071,
// Room for more Trinity strings 5072-9999
// Level requirement notifications
LANG_SAY_REQ = 6604,