Vanished players matched by nickname/online only commands
Type of bug
Exploit, Other unexpected behaviour
/ess dump all output
https://essentialsx.net/dump.html?bytebin=dwDD4WsGAz
Error log (if applicable)
No Error.
Bug description
When I'm online and in vanish mode, my balance is displayed, but when I'm offline, it says "Player not found." This allows players to determine when my staff and I are online monitoring them.
Steps to reproduce
https://youtu.be/wNH9Qj_F1WE
1. Get an Alt Account
- Create or use an alternate (alt) account. This is an additional account you will use alongside your main account.
2. Log on to Both the Alt and Main Accounts
- Log into your alt account first.
- Then, log into your main account.
- Both accounts should be logged in at the same time on the same server (if applicable).
3. Vanishing One of the Accounts
- "Vanishing" an account typically means making it disappear or become hidden from other players.
- If you're using a game server or similar platform, the vanish command could be something like
/vanishor a similar variation depending on the server’s plugins or settings. - This step ensures that one account is not visible to others while you check balance information.
- If you're using a game server or similar platform, the vanish command could be something like
4. Check the Balance of the Visible Account
- On the account that is still visible, use the following command:
/bal <name>- Replace
<name>with the username of the account you're checking. - This will return the balance of the player, showing how much currency or points that account has.
- Replace
5. Log off of the Vanished Account
- After checking the balance of the visible account, log off the vanished account.
6. Check the Balance on the Vanished Account
- Once the vanished account is logged off, use the
/bal <name>command again for the vanished account (even though it's now offline). - When you try to check the balance of the vanished account after logging off, the system will not be able to find that player.
- It should return a message saying something like:
Player not found
Summary:
- Visible account:
/bal <name>shows the balance of the player. - Vanished account:
/bal <name>after logging off results in "Player not found".
This process requires having vanish ability and using a balance command that works with usernames to check the balance of accounts on the platform.
Expected behaviour
To either return the players balance no matter what if they are vanished or not.
Actual behaviour
online = return balance offline = "Player Not FOund"
Additional Information
No response
Kind of related of https://github.com/EssentialsX/Essentials/issues/4078, but /seen was also the same thing but that was a simple fix disabling rthe command or removing command access to players.
If not anyone have a soultion to this, I use PremuiumVanish Plugin, my players would frick if I removed /bal
https://github.com/EssentialsX/Essentials/pull/6103