I have that in blocked, but it still comes through unfortunately. (I also have tried #*#Disconnecting, no longer in game#*#)I block the following:Code:"#*#Disconnecting, no longer in game"

I have that in blocked, but it still comes through unfortunately. (I also have tried #*#Disconnecting, no longer in game#*#)I block the following:Code:"#*#Disconnecting, no longer in game"
>
> /plugin discord
[MQ2Discord] Created a default configuration. Edit this, then do /discord reload
[MQ2Discord] Warning: User id YourUserIdHere looks wrong
[MQ2Discord] Error: Channel id YourChannelForTellsHere in all looks wrong
[MQ2Discord] Error: Channel id YourCharacterChannelHere in character xxx looks wrong
[MQ2Discord] Error: Channel id YourGroupChannelHere in group YourGroup looks wrong
[MQ2Discord] Config not loaded due to errors, please fix them and /discord reload
Plugin 'MQ2Discord' loaded.
> /lua run boxhud
Running lua script 'boxhud' with PID 1
module 'utils.utils' not found:
no field package.preload['utils.utils']
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\lua\boxhud\utils\utils\init.lua'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\lua\boxhud\utils\utils.lua'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\lua\utils\utils\init.lua'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\lua\utils\utils.lua'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\modules\2.1.1697887905\luarocks\share\lua\5.1\utils\utils.lua'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\modules\2.1.1697887905\luarocks\share\lua\5.1\utils\utils\init.lua'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\modules\luarocks\share\lua\5.1\utils\utils.lua'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\modules\luarocks\share\lua\5.1\utils\utils\init.lua'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\Macros/entropy/lua/utils\utils.lua'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\macros/entropy/lua/utils\utils.lua'
no file 'C:/Users/Utente/AppData/Local/VeryVanilla/MacroQuest/Release/Macros/entropy/lua/utils\utils.lua'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\Macros\entropy\lua\utils\utils.lua'
no file '.\utils\utils.lua'
no file 'C:\Program Files (x86)\Steam\steamapps\common\Everquest F2P\lua\utils\utils.lua'
no file 'C:\Program Files (x86)\Steam\steamapps\common\Everquest F2P\lua\utils\utils\init.lua'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\lua\boxhud\utils\utils.dll'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\modules\2.1.1697887905\luarocks\lib\lua\5.1\utils\utils.dll'
no file '.\utils\utils.dll'
no file 'C:\Program Files (x86)\Steam\steamapps\common\Everquest F2P\utils\utils.dll'
no file 'C:\Program Files (x86)\Steam\steamapps\common\Everquest F2P\loadall.dll'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\lua\boxhud\utils.dll'
no file 'C:\Users\Utente\AppData\Local\VeryVanilla\MacroQuest\Release\modules\2.1.1697887905\luarocks\lib\lua\5.1\utils.dll'
no file '.\utils.dll'
no file 'C:\Program Files (x86)\Steam\steamapps\common\Everquest F2P\utils.dll'
no file 'C:\Program Files (x86)\Steam\steamapps\common\Everquest F2P\loadall.dll'
stack traceback:
[C]: in function 'require'
...Local\VeryVanilla\MacroQuest\Release\lua\boxhud\init.lua:46: in main chunk
Ending lua script 'boxhud' with PID 1 and status 2
> /discord reload
[MQ2Discord] Ready
> /lua run boxhud

token: x.x
user_ids:
- xxx
characters:
xxx:
- name: CharChannel (This field is ignored)
id: xxx
allowed:
[]
blocked:
[]
notify:
[]
prefix: ""
send_connected: false
allow_commands: true
show_command_response: 2000
servers:
{}
classes:
{}
groups:
- name: YourGroup
characters:
- xxx
- server_OtherCharInGroup
- server_OneMore
channels:
- name: Deaths
id: xxx
allowed:
- You have been slain by
blocked:
[]
notify:
[]
prefix: "[${Me.Name}]"
send_connected: false
allow_commands: false
show_command_response: 0
all:
- name: xxx
id: xxx
allowed:
- tells you
blocked:
- "|${Me.Pet.DisplayName}| tells you#*#"
notify:
[]
prefix: "[${EverQuest.Server}_${Me.Name}]"
send_connected: false
allow_commands: false
show_command_response: 0
2670 Charactersno MQ2Discord loaded
Code:> module 'utils.utils' not found: no field package.preload['utils.utils']
all:
- name: TellsChannel
id: xxxxxxxxx
allowed:
- "#*#tells General:#*#"
blocked:
- "|${Me.Pet.DisplayName}| tells you#*#"
notify:
[]
prefix: "[${EverQuest.Server}_${Me.Name}]"
send_connected: true
allow_commands: false
show_command_response: 0
I am trying to repurpose the TellsChannel section of the "All" category for General chat, with out luck. Is this supported?
Discord.Yaml
YAML:all: - name: TellsChannel id: xxxxxxxxx allowed: - "#*#tells General:#*#" blocked: - "|${Me.Pet.DisplayName}| tells you#*#" notify: [] prefix: "[${EverQuest.Server}_${Me.Name}]" send_connected: true allow_commands: false show_command_response: 0
Is this not something already handled by the config yaml file?I'm sure this is a discord thing and not MQ2 thing but is there a way to stop the incessant spam of "Connected" by the bot every time I zone my toons?
ahhhhhh... looks like it. My bad lol. It's always the simplest thing right in front of meIs this not something already handled by the config yaml file?
Not really sure what is causing the error here. I haven't changed that section of the file since I first made it and the problem has only started after the latest MQ patch. here is the error message and the section of the config causing the error. Any ideas on how to fix this?
View attachment 59819
View attachment 59822


#########################################################################################
# Setup the Discord bot, https://discord.com/developers/applications
#########################################################################################
token: # paste authentication/token from website
user_ids:
- # paste application ID from website
#########################################################################################
# Not an EQ group, just a grouping of EQ toons. Used for monitoring global chat
#########################################################################################
groups:
- name: Specific toons watching global chat
characters:
- vox_Tankname # 1 toon per line, can add multiple lines/toons as server_Name
channels:
- name: Alerts
id: # paste Discord channel id
allowed: []
blocked:
- "#*#Disconnecting#*#"
- "You are#*#A.F.K. (Away From Keyboard)"
- "You told #*#, '"
notify:
- "#*# AFK#*#"
- "#*#keyboard#*#"
prefix: "** ${Zone.ShortName} | ${Me.Name} **"
send_connected: false
#########################################################################################
# All toons monitor this
#########################################################################################
all:
- name: Info
id: # paste Discord channel id
allowed: []
blocked: []
notify: []
prefix: "** ${Zone.ShortName} | ${Me.Name} **"
send_connected: true
- name: Tells
id: # paste Discord channel id
allowed:
- "#1# tells you,#*#"
blocked:
- "#*#Disconnecting#*#"
- "|${Me.Pet.DisplayName}| tells you#*#"
- "|${Me.Name}| tells you#*#"
notify: []
prefix: "** ${Zone.ShortName} | ${Me.Name} **"
send_connected: false
- name: Deaths
id: # paste Discord channel id
allowed:
- "You have been slain by "
blocked:
- "#*#Disconnecting#*#"
notify: []
prefix: "** ${Zone.ShortName} | ${Me.Name} **"
send_connected: false
PLUGIN_API void SetGameState(int GameState)
{
if (GameState == GAMESTATE_INGAME)
{
Reload();
}
else
{
if (client)
{
client->enqueueAll("Disconnecting, no longer in game");
client.reset();
}
}
}
LamahHerder, random question but in the snippet below from your config, what exactly does "Specific toons watching global chat" and the line under "characters" mean? Should they be the same? Like, should it be "name: foromoro" and "characters: server_foromoro" ?? I'm sure it's very simple but the usage of both "toons" and "characters" is throwing me offMost of the configs in thread are old so I am sharing my config
(STUFF)
groups:
- name: Specific toons watching global chat
characters:
- vox_Tankname # 1 toon per line, can add multiple lines/toons as server_Name
channels:
- name: Alerts
Commits
(71b5ae0) ~KnightlyFix classes config overwriting servers
- Classes config was being loaded into the server config
- Classes and servers can now peacefully coexist
Just putting down a template that make it easier to maintain your allowed and blocked sections in one place versus in each toon section. All you have to do is add to the Allowed section or blocked section and than each of your channels reference it as you can see in the code below. Just need to put in your discord channel information.
allowed: *allowed
blocked: *blocked
Seeing it as well, have not spent any time looking into it yetDid MQ2Discord break for anyone else with most recent patch today?
Getting "Failed to send message to:"
Sorry I did not get back sooner but I had missed one vital piece and I have added it in so it works.... after Allowed: at the top is should look like allowed: &allowed_chat and also than blocked: &blocked_chat. I have corrected the template also. Thank you for pointing that out.I couldn't get that to work. I would get an error message that "the referenced anchor is not defined: allowed"
https://gitlab.com/mmdab86/mq2discord/-/tree/c20-fix?ref_type=heads until someone can do this proper