socialSpy status reset on join.
molor opened this issue ยท 7 comments
If player enable socialSpy and rejoin the server, socialSpy disables, but in file "plugins/Essentials/userdata/player_uuid.yml" socialspy: true.
Does it just not work but say it's enabled or does it claim to be disabled? Mine seems to work. What is the output of running social spy after logging into the server as a player that had it enabled when they logged out?
player performed /socialSpy command: "SocialSpy for player: enabled";
player left the server (in Essentials/userdata/player_uuid.yml "socialspy:" is saved as "true");
player joined the server;
player performed /socialSpy command: "SocialSpy for player: enabled", but expected "SocialSpy for player: disabled".
Try to reproduce it.
I am unable to reproduce this as of commit 7290dbc. The player receives "SocialSpy for player: disabled" as expected when the command is run after rejoining.
Then I don't understand why this is happening to only me. There may be some factors affecting it..?
Closing due to inactivity, pastebin server logs with debug mode on if it still occurs
I'm found the reason. Try to reproduce this on server witn AuthMe and EssentialsX.
After rejoining to the server, /socialspy status resets..
[2016-09-10 13:10:22] player issued server command: /socialspy
[2016-09-10 13:10:22] [Essentials] checking if player has essentials.mail - true
[2016-09-10 13:10:22] [Essentials] checking if player has essentials.socialspy - true
[2016-09-10 13:10:22] [Essentials] checking if player can afford charge.
[2016-09-10 13:10:22] [Essentials] calculated command (socialspy) cost for player as 0
[2016-09-10 13:10:22] [Essentials] attempting to charge user player
[2016-09-10 13:10:22] [Essentials] calculated command (socialspy) cost for player as 0
[2016-09-10 13:10:22] [Essentials] charge user player completed
[2016-09-10 13:10:25] player lost connection: Disconnected
[2016-09-10 13:10:25] [Essentials] checking if player has essentials.silentquit - true
[2016-09-10 13:10:25] [Essentials] checking if player has essentials.vanish.effect - true
[2016-09-10 13:10:27] UUID of player player is d1d6f5d7-d38b-38e1-810a-d1c78ccc2441
[2016-09-10 13:10:27] player[/192.168.1.1:62216] logged in with entity id 239 at ([sadness]-136.1113140126608, 67.0, -149.841375068499)
[2016-09-10 13:10:27] [Essentials] checking if player has essentials.geoip.hide - true
[2016-09-10 13:10:27] [Essentials] looking up groupname of player - default
[2016-09-10 13:10:27] [Essentials] checking if player has essentials.sleepingignored - false
[2016-09-10 13:10:27] [Essentials] checking if player has essentials.silentjoin - true
[2016-09-10 13:10:27] [Essentials] checking if player has essentials.silentjoin.vanish - true
[2016-09-10 13:10:27] [Essentials] checking if player has essentials.motd - true
[2016-09-10 13:10:27] [Essentials] Keyword Replacer execution time: User Grab: 0.026ms - Text Replace: 0.295ms - Total: 0.322ms
[2016-09-10 13:10:27] [Essentials] checking if player has essentials.mail - true
[2016-09-10 13:10:27] [Essentials] checking if player has essentials.fly.safelogin - false
[2016-09-10 13:10:27] [Essentials] checking if player has essentials.speed - false
[2016-09-10 13:10:42] [AuthMe] player logged in!
[2016-09-10 13:10:43] player issued server command: /socialspy
[2016-09-10 13:10:43] [Essentials] checking if player has essentials.mail - true
[2016-09-10 13:10:43] [Essentials] checking if player has essentials.socialspy - true
[2016-09-10 13:10:43] [Essentials] checking if player can afford charge.
[2016-09-10 13:10:43] [Essentials] calculated command (socialspy) cost for player as 0
[2016-09-10 13:10:43] [Essentials] attempting to charge user player
[2016-09-10 13:10:43] [Essentials] calculated command (socialspy) cost for player as 0
[2016-09-10 13:10:43] [Essentials] charge user player completed