kangarko / CoreArena

A high-end monster arena Minecraft plugin with procedural damage and RPG system. Maps included!
https://www.mc-market.org/resources/21643/
30 stars 12 forks source link

Add {corearena_current_player_X_level} Placeholder that displays depending on what arena the player is in. #526

Closed zylstra1313 closed 3 months ago

zylstra1313 commented 3 months ago

The placeholder "{corearena_ARENA_player_X_level}" is sort of inconvenient to use in things like scoreboards for spectators because you have to make a new scoreboard/line for each different arena. It would be much easier to use if there was a placeholder like "{corearena_current_player_X_level}" that checks what arena the player reading it is in. I think this would make all of the variable placeholders a lot easier to use.

zylstra1313 commented 3 months ago

Had to totally change this due to a huge oversight when I originally wrote it

kangarko commented 3 months ago

Already supported, use corearena_player instead of giving the arena name. I will update GitHub wiki, thanks.

zylstra1313 commented 3 months ago

I think I may have explained the feature request wrong, I wish for there to be a placeholder that applies to whatever arena you're in whether you are playing or not. I want to make a spectator mode for some of my arenas.

kangarko commented 3 months ago

I will add it: "current"! I updated the wiki already: https://github.com/kangarko/CoreArena/wiki/PlaceholderAPI#two-arguments-variables

kangarko commented 3 months ago

I meant "location" not "current", thanks for suggesting!