-
Notifications
You must be signed in to change notification settings - Fork 1
sidebars.yml
Flarin edited this page May 5, 2018
·
5 revisions
- name The name that of the sidebar
- header The name that will be displayed as the header of the sidebar
- entries The contents of the sidebar
- aliases Other names of the sidebar
- 16 lines (Others will not be rendered)
- 40 characters per line (Theoretically if I re-analyze my code and use team prefix/suffix trickery i think i can get that to 72 chars)
- No sidebars limit, but too many can cause performance derps
%player%
- Gets the player name
%x% %x.player% %y% %y.player% %z% %z.player%
- Gets the location of a player
%balance% %balance.player%
- Gets the balance of a player
%date.HH:mm:ss, dd/MM/yyyy% %time.HH:mm:ss, dd/MM/yyyy%
- Uses a format to encode the current time (Required)
- Read about format codes here:
- https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html (Difficulty level: Overwhelming for first time readers)
- (Currently date and time do the same thing)
%timezone%
- Gets your timezone (e.g +00:00)
%region.1% %region.player.1%
- Gets a region from the player's region list
- Number signifies the rank (1st in the list, 2nd in the list, etc)
%stat.LEAVE_GAME% %mstat.MINE_BLOCK.STONE% %estat.MOB_KILLS.CHICKEN%
- Gets a statistic monitored by the Spigot server
- Use mstat for statistics that require a material (A block type)
- Use estat for statistics that require an entity (A mob type)
- Read about possible inputs here: 1 https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Statistic.html
- https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html (Difficulty level: Moderately easy for first time readers)
%afktime% %afktimeleft%
- Gets time past AFK or AFK time left (Inverse from each other)