vanished players still go afk
mheiden opened this issue ยท 6 comments
When players are /v fq and have the pem node hook for essentials, they still go in afk mode
when they are idle too long.
How to solve this issue, because the afk status will warn players that a staff member is online. in /list staff members are also showned instead of having the [Hidden] tag
hooks:
essentials: true
dynmap: false
JSONAPI: false
spoutcraft: false
If i use the essentials command (/ev) i go into vanish and inside the /list i have the [Hidden] tag. The hook doesn't work properly is what has my bet.
Because while on /ev the afk mode doesnt get activated, only while going into vanish using this plugin.
The ticket got closed 2 times already and its a vanishnopacket issue, a bit ignorant to close tickets every time while a issue isn't solved or needs more info
True. Is VNP reporting to have succeeded in hooking to Essentials?
Does this show on the console log?
"Now hooking into Essentials"
Or maybe this?
"You wanted Essentials support. I could not find Essentials."
If the first one appears there are two possibilities. Either VNP has bugged not triggering its hook, or Essentials's API may not be working when VNP calls its .setHidden method.
I do not know Essentials's code but VNP's, so I'd vote on the second one.
Hmz good question, the current log is too big (couple days ago) so i will look for it when the server is going down tonight for a couple plugin updates. Will make a fresh log then.
Please also set debug: true on your config.yml, and check whether something like this appears on the console:
[DEBUG] Failed to add hook Essentials
May I say something? This "afk" mode is controlled by Essentials, right? In this case I suppose that it's up to Essentials to check whether the player is vanished or not, in order to bypass the afk state/broadcasts.
What does control the/list and its [Hidden] tag? Is not that handled by Essentials as well?
I know the whole VNP code, and in my humble opinion it's not its fault that whatever other plugins do implement commands and mechanics that spoil the vanish state of players/staff.
Another approach...
Do your staff have perm node "vanish.hooks.essentials.hide" ?