Bentobox: Add some more placeholders

Created on 31 Mar 2019  路  6Comments  路  Source: BentoBoxWorld/BentoBox

Description

Is your feature request related to a problem?

Sort of
i need %bentobox_[gamemode]-team-size%
So i can make a team upgrade gui-menu

Describe the solution you'd like us to implement.

  1. Implement the other placeholder from Askyblock.
  2. Make a wiki page with the placeholder so its easy to find :-)

Placeholders i like see implemented :
%bentobox_[gamemode]-team-size%
%bentobox_[gamemode]-island-y% "Dont know what this do"
%bentobox_[gamemode]-island-z%"Dont know what this do"
%bentobox_[gamemode]-island-world% "Dont know what this do"
%bentobox_[gamemode]-coop-islands% "Dont know what this do"
%bentobox_[gamemode]-has-island%

Describe alternatives you've considered.

No as there is none

Additional context

Done Enhancement

All 6 comments

Would also be nice to see a placeholder that displays how many island resets the player has remaining "%bentobox_[gamemode]-resets-left%"

Added the following placeholders:

  • [x] island-center: displays the coordinates of the island's center.
  • [x] island-center-x: displays the X coordinate of the island's center.
  • [x] island-center-y: displays the Y coordinate of the island's center.
  • [x] island-center-z: displays the Z coordinate of the island's center.
  • [x] has-island: displays true/false according to whether the player has an island or not.
  • [x] resets: displays how many times a player resetted his island.
  • [x] resets-left: calculates and displays how many resets the player has remaining.

Team-related placeholders might have to wait, as there may be some special handling for them. And team should no longer be the appropriate word in BentoBox, yet there are still some references to it because of the permissions...

Thanks. Take the time needed to make i perfect. :-)

Okay, time to do the team related placeholders now.

Oh, and the wiki page's here: https://github.com/BentoBoxWorld/BentoBox/wiki/Placeholders

Okay, so these will be the (team-related) placeholders I'll add:

  • [x] rank: displays the rank the player has on his island.
  • [x] world_islands: displays the amount of islands there are in this world.
  • [x] island_members_max: displays the maximum amount of members this island can have (team max size).
  • [x] island_members_count: displays the amount of members (including MEMBERs, SUBOWNERs and OWNER) on this island.
  • [ ] island_members_count_SUBOWNER: displays the amount of SUBOWNERs on this island.
  • [ ] island_members_count_MEMBER: displays the amount of MEMBERs on this island.
  • [x] island_coops_count: displays the amount of COOPs on this island.
  • [x] island_trustees_count: displays the amount of TRUSTees on this island.
  • [x] island_visitors_count: displays the amount of visitors on this island.
  • [x] island_bans_count: displays the amount of players that are banned from this island.

Done! Updating the wiki now.
Have fun with the new ones (15! :o) !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bobbbe picture Bobbbe  路  5Comments

leonardochaia picture leonardochaia  路  5Comments

mcpantheon picture mcpantheon  路  6Comments

wellnesscookie picture wellnesscookie  路  6Comments

Sckaletz picture Sckaletz  路  5Comments