BentoBoxWorld / Level

Add on for BentoBox to calculate island levels for BSkyBlock and AcidIsland. Please read the Wiki!
Eclipse Public License 2.0
24 stars 31 forks source link

Request for Additional Placeholders and Sign Functionality #311

Closed mrWezyr closed 1 month ago

mrWezyr commented 3 months ago

Is your feature request related to a problem?

no

Describe the solution you'd like.

Would like to request additional placeholders for the level calculation: Owner-only island level: Calculate the island level only for the player who owns the island, not for the island team members. Alternatively, add the functionality of using placeholders on signs.

Describe alternatives you've considered.

Currently, I'm using an addon for showing placeholders on signs, but it doesn't work very well.

Agreements

Other

I like using signs for scoreboards, and I use ajLeaderboards. When I use the placeholder "Island level of the player's island," all players from the same island appear in the first place on the scoreboard.

tastybento commented 3 months ago

The level is calculated for the island itself, so it should be the same for every player on the island. Have a look at https://docs.bentobox.world/en/latest/addons/Level/#placeholders for the list. Or can you explain more what you want?

mrWezyr commented 3 months ago

Hey, Sure, here is an example: I'm using %Level_[gamemode]_island_level% for the leaderboard. Island team members are included in this leaderboard, and I don't want them to be visible. javaw_vZrJ8cxUjP I want to be able to use %Level_[gamemode]_topvalue% on a sign without needing any other plugins (since vanilla Minecraft doesn't support placeholders on signs).

tastybento commented 2 months ago

Why don't you use %Level_[gamemode]_top_name_x% where x is the top ten number?

Also you wrote:

I'm using %Level_[gamemode]island_level% for the leaderboard. Island team members are included in this leaderboard, and I don't want them to be visible.

%Level_[gamemode]_island_level% gives a number - the level of the island. What placeholder are you using to get the name of the player? I recommend the above placeholder for a leaderboard - that is what they are for.

tastybento commented 2 months ago

@mrWezyr bump ^^^^

mrWezyr commented 2 months ago

Hey sorry for late respond The main problem is with the ajleaderboard plugin, which automatically assigns player names to the placeholder. If the placeholder counts points for all players (including island members), this problem arises. Using %Level_[gamemode]topname% and %Level[gamemode]_topvalue% in combination with another plugin for displaying the placeholder on signs works fine. I would like to see this functionality integrated with the bentobox plugin

tastybento commented 1 month ago

@mrWezyr This is done in that you can use the %Level_[gamemode]_island_level_owner% placeholder. That will give the island level for the owner only and 0 for everyone else (so they will be at the bottom of the top list). I tested on ajleaderboard and it works. Just register that placeholder and then make the top ten signs.

tastybento commented 1 month ago

In looking at ajleaderboard I can see how it would add players because it is tracking the