NewAmazingPVP / ProxyPlayerNotify

A plugin to notify when a player joins or leaves the network or when they switch to another server
4 stars 0 forks source link

When a player not included in the whitelist tries to log in, a logout log appears #2

Closed lolplay123 closed 5 months ago

lolplay123 commented 5 months ago

I am currently using this plugin along with the velocity-whitelist plugin on a Velocity server. Every time a player not included in the whitelist tries to log in to the server, two logout logs appear. How can I prevent logout logs from appearing when a player not included in the whitelist attempts to log in?

NewAmazingPVP commented 5 months ago

Interesting @lolplay123 Try using this version where I have changed the trigger event and let me know if that fixes it. It was posted on Discord, but it's a beta version, so if it works, I'll publish it.

lolplay123 commented 5 months ago

Thank you for creating the test plugin so quickly. When I tried it, both login and logout logs were displayed.

P.S. Btw, I am using the following whitelist plugin https://github.com/BBaoVanC/bobawhitelist

lolplay123 commented 5 months ago

Also, a bug was found in the test version. Your own login log is not displayed when you log in.

NewAmazingPVP commented 5 months ago

@lolplay123 Thank you for sending me the plugin you are using. I have tweaked the event triggers to account for the sequence and to reduce false triggers. Let me know if this new beta version works as intended or not.

NewAmazingPVP commented 5 months ago

Just released a new version https://www.spigotmc.org/resources/proxyplayernotify.108035/download?version=538452

lolplay123 commented 5 months ago

I was impressed! This new release is working as intended. Thank you for responding so sincerely.

NewAmazingPVP commented 5 months ago

Perfect, glad I could help you!