DialogKey DF

DialogKey DF

36k Downloads

space bar accepts players into group when they request to join

Squimbert opened this issue · 6 comments

commented

title

commented

Should we set the default keybind to anything other than spacebar?

commented

This is intended behavior.

If you find yourself accidentally accepting request invites, change your keybind to something besides spacebar, or add the prompt to the custom blacklist. I understand that the blacklist doesn't have in-game configuration yet, but it's dead simple to add it to the settings file by hand:

In WTF/Account/[AccountID]/SavedVariables/DialogKey.lua, add the dialogBlacklist key to the global subtable of DialogKeyDFDB, and set its value to a Table containing the custom strings you wish to blacklist.

For example, using my settings file:

DialogKeyDFDB = {
	["profileKeys"] = {
		-- snip
	},
	["global"] = {
		["keys"] = {
			"F", -- [1]
			"", -- [2]
		},
		["ignoreDisabledButtons"] = true,
		["dontClickSummons"] = true,
		["dontClickDuels"] = true,
		["dialogBlacklist"] = {"custom text here", "another example", "here's a third!"}
	},
}
commented

Should we set the default keybind to anything other than spacebar?

I don't think it's necessary, personally, and spacebar is as good a default as any other key.

commented

This is intended behavior.

If you find yourself accidentally accepting request invites, change your keybind to something besides spacebar, or add the prompt to the custom blacklist. I understand that the blacklist doesn't have in-game configuration yet, but it's dead simple to add it to the settings file by hand:

In WTF/Account/[AccountID]/SavedVariables/DialogKey.lua, add the dialogBlacklist key to the global subtable of DialogKeyDFDB, and set its value to a Table containing the custom strings you wish to blacklist.

For example, using my settings file:

DialogKeyDFDB = {
	["profileKeys"] = {
		-- snip
	},
	["global"] = {
		["keys"] = {
			"F", -- [1]
			"", -- [2]
		},
		["ignoreDisabledButtons"] = true,
		["dontClickSummons"] = true,
		["dontClickDuels"] = true,
		["dialogBlacklist"] = {"custom text here", "another example", "here's a third!"}
	},
}

how do i figure out the custom strings to add? i want to add the popup from people requesting to join my group to the blacklist

does this help?

image

commented
commented

The code checks if the string you give matches any part of the text in the Dialog prompt. In this case, you could use "has requested to join your group."

On Sun, Sep 3, 2023, 8:48 PM Squimbert @.> wrote: This is intended behavior. If you find yourself accidentally accepting request invites, change your keybind to something besides spacebar, or add the prompt to the custom blacklist. I understand that the blacklist doesn't have in-game configuration yet, but it's dead simple to add it to the settings file by hand: In WTF/Account/[AccountID]/SavedVariables/DialogKey.lua, add the dialogBlacklist key to the global subtable of DialogKeyDFDB, and set its value to a Table containing the custom strings you wish to blacklist. For example, using my settings file: DialogKeyDFDB = { ["profileKeys"] = { -- snip }, ["global"] = { ["keys"] = { "F", -- [1] "", -- [2] }, ["ignoreDisabledButtons"] = true, ["dontClickSummons"] = true, ["dontClickDuels"] = true, ["dialogBlacklist"] = {"custom text here", "another example", "here's a third!"} }, } how do i figure out the custom strings to add? does this help? [image: image] https://user-images.githubusercontent.com/99698377/265302919-78cd1563-c94f-4866-bb9d-f2c9aef50fc8.png — Reply to this email directly, view it on GitHub <#35 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDZD6PKJOPUFK3OG7TRS3DXYUXPFANCNFSM6AAAAAA4I3EKLE . You are receiving this because you modified the open/close state.Message ID: @.>

thank you so much! that got it working for me :)