User Tools

Site Tools


leaderheads:holograms

Holograms Setup

Holograms are a nice way to display leaderboards and that's why we believe it's an important feature. To create holograms for LeaderHeads, you must have HolographicDisplays installed.

  1. To start off, create a hologram using the commands of HolographicDisplays. It doesn't really matter what text you use, we can change this afterwards
  2. Open the file at /plugins/HolographicDisplays/database.yml and navigate to your hologram.
  3. You can now edit the hologram in depth. To show some data from LeaderHeads, you must use the LeaderHeads placeholders. Here's how you use them. You can use /hd reload ingame to reload HolographicDisplays and see the changes. Take in mind that it might take a few seconds for LeaderHeads to detect the new holograms.
    • For an alltime leaderboard, use the following placeholders.
      • <{leaderboard}_name_{rank}> to show the name of the player that is at this rank in the specified leaderboard. {leaderboard} represents the leaderboard and {rank} represents the rank in the leaderboard. Example: <kills_name_1>
      • <{leaderboard}_score_{rank}> to show the score of the player that is at this rank in the specified leaderboard. {leaderboard} represents the leaderboard and {rank} represents the rank in the leaderboard. Example: <kills_score_1>
    • For an alltime leaderboard that is synced, use the following placeholders.
      • <{leaderboard}_{server}_name_{rank}> to show the name of the player that is at this rank in the specified leaderboard. {leaderboard} represents the leaderboard from that server, {rank} represents the rank in the leaderboard and {server} represents the server that you're syncing from. Example: <kills_skywars_name_1>
      • <{leaderboard}_{server}_score_{rank}> to show the score of the player that is at this rank in the specified leaderboard from that server. {leaderboard} represents the leaderboard, {rank} represents the rank in the leaderboard and {server} represents the server that you're syncing from. Example: <kills__skywars_score_1>
    • For a daily, weekly or monthly leaderboard, use the following placeholders.
      • <{leaderboard}_{time}_name_{rank}> to show the name of the player that is at this rank in the specified leaderboard for the specified time interval. {leaderboard} represents the leaderboard and {rank} represents the rank in the leaderboard and {time} represents the time interval (Options: daily, weekly and monthly). Example: <kills_weekly_name_1>
      • <{leaderboard}_{time}_score_{rank}> to show the score of the player that is at this rank in the specified leaderboard for the specified time interval. {leaderboard} represents the leaderboard and {rank} represents the rank in the leaderboard, {server} represents the server that you're syncing from and {time} represents the time interval (Options: daily, weekly and monthly). Example: <kills_weekly_score_1>
    • For a daily, weekly or monthly leaderboard that is synced, use the following placeholders.
      • <{leaderboard}_{server}_{time}_name_{rank}> to show the name of the player that is at this rank in the specified leaderboard for the specified time interval from that server. {leaderboard} represents the leaderboard and {rank} represents the rank in the leaderboard and {time} represents the time interval (Options: daily, weekly and monthly). Example: <kills_weekly_name_1>
      • <{leaderboard}_{server}_{time}_score_{rank}> to show the score of the player that is at this rank in the specified leaderboard for the specified time interval from that server. {leaderboard} represents the leaderboard and {rank} represents the rank in the leaderboard, {server} represents the server that you're syncing from and {time} represents the time interval (Options: daily, weekly and monthly). Example: <kills_weekly_score_1>

Here's an example from a hologram that shows the 10 richest people and their balance.

leaderheads/holograms.txt · Last modified: 2017/04/15 11:43 by robirami