Very strange situation with teams/placeholders not working #1753
Labels
Status: Cannot replicate
Could not replicate the issue on a fresh install. More details are needed.
Status: Done
This issue has been completed or answered. This pull request has been merged.
Type: Bug
So. I'm having issues with the placeholder %bskyblock_visited_island_members_max%
No matter whos island im on it always shows MY members max. And not the actual owners members max.
Doing papi parse me %bskyblock_visited_island_members_max% no matter whos island i'm on will show me my max teamsize permission value.
This is me on a persons island who has a max teamsize of 3 permission
![5](https://user-images.githubusercontent.com/62724418/117070947-5a489200-ad26-11eb-96f8-f73546eec222.png)
Basically the %bskyblock_visited_island_members_max% and %bskyblock_island_members_max% Return the same value regardless of whos island youre on, it shows your own value based on the teamsize permission you have.
I'm unsure why this is happening, But i have triple checked my configs,
This was discovered by finding a huge bug, So, the standard size team you're suppose to be allowed is 2. You and 1 other friend, I had the permission to have 3, I teleported to a team of 2's island and it let them add another team member when i was visiting it basically took my teamsize permission and let them use it while i was temporarily on the island. I left and now the scoreboard says Members 3/2 for them.
Steps to reproduce the behavior
Give yourself bskyblock.team.maxsize.14
Visit someones island who has a different max size value.
Parse the permission %bskyblock_visited_island_members_max%
and it will return your value of 14. not the island youre on.
Expected behavior
The permission should show the visited islands count not your own and it definitely shouldn't apply your permission to the island your visiting,
I tested the other permissions like island size to see if they mess up too, but the only one that seems to affect is the max team size.
Screenshots and videos (Optional)
Environment
Output of
/bbox version
(Mandatory)I cannot provide a text output i think chatcontrol is blocking the output going to console or logs sorry but i have a picture
![send](https://user-images.githubusercontent.com/62724418/117077516-2b371e00-ad30-11eb-9e6f-c30dd34f9b30.png)
Plugins (Optional)
Additional context (Optional)
Updated every other plugin on my server to see if it helps and It didn't also tried on an older build of bentobox and bskyblock with no luck either.
Created brand new install on a new server with the same issue
The text was updated successfully, but these errors were encountered: