SHOW:
|
|
- or go back to the newest paste.
1 | # This is the configuration file for a leaderboard page. | |
2 | ||
3 | ||
4 | # The description of the page as it appears in a search engine description. | |
5 | description: "Yom Network Player Statistics" | |
6 | ||
7 | # The title of the page as it appears in the tab of your browser. | |
8 | page_title: "Leaderboards" | |
9 | ||
10 | # Messages | |
11 | messages: | |
12 | # Time options. These are used in the dropdown select menu. | |
13 | alltime: "All Time" | |
14 | monthly: "This Month" | |
15 | weekly: "This Week" | |
16 | daily: "Today" | |
17 | # High formats as they appear when enabling 'format_high_numbers'. | |
18 | high_formats: | |
19 | thousands_format: "k" | |
20 | millions_format: "M" | |
21 | billions_format: "B" | |
22 | trillions_format: "T" | |
23 | quadrillions_format: "QD" | |
24 | quintillions_format: "QT" | |
25 | sextillions_format: "SX" | |
26 | septillions_format: "SP" | |
27 | # Time formats | |
28 | time_formats: | |
29 | time_format_days: "{days} days" | |
30 | time_format_hours: "{hours} hours" | |
31 | time_format_minutes: "{minutes} minutes" | |
32 | ||
33 | # Tables that appear as you want. You can remove and add as much tables as you want. | |
34 | leaderboards: | |
35 | # Name of the table. This name appears in the header and the caption if no other text is set. | |
36 | "DayZ": | |
37 | # Columns of the table. You can remove and add as much columns as you want. | |
38 | # The configuration works on a default-based system. This means that there's a set amount of default values. | |
39 | # If you didn't specifically set the setting in the config of a column, the default value will be applied. | |
40 | # If a value has been set for the table, this value will be applied for all columns where this value isn't set. | |
41 | # Explanation of these settings can be found under the defaults section. | |
42 | # Tables also use this system, which means that you can specifically set a setting for a certain table. | |
43 | columns: | |
44 | # Name of your row as it appears in the first column. | |
45 | "Wealth": | |
46 | # The name of the statistic as used in-game. | |
47 | type: "balance" | |
48 | format: "${amount}" | |
49 | format_high_numbers: true | |
50 | "Blocks Placed": | |
51 | type: "blocks-placed" | |
52 | format_high_numbers: true | |
53 | "Blocks Broken": | |
54 | type: "blocks-broken" | |
55 | format_high_numbers: true | |
56 | "Blocks Travelled": | |
57 | type: "distance" | |
58 | format_high_numbers: true | |
59 | "Zombie Kills": | |
60 | type: "zombiekills" | |
61 | format_high_numbers: true | |
62 | "Boss Kills": | |
63 | type: "boss-killed" | |
64 | format_high_numbers: true | |
65 | "Player Kills": | |
66 | type: "playerkills" | |
67 | format_high_numbers: true | |
68 | "Confirmed Kills": | |
69 | type: "confirmed-kills" | |
70 | format_high_numbers: true | |
71 | "Player Revives": | |
72 | type: "timesrevived" | |
73 | format_high_numbers: true | |
74 | "Deaths": | |
75 | type: "yomdeaths" | |
76 | format_high_numbers: true | |
77 | "Longest Life": | |
78 | type: "longestlife" | |
79 | statistic_type: "time" | |
80 | width: 20% | |
81 | "Time Played": | |
82 | type: "playtime" | |
83 | statistic_type: "time" | |
84 | width: 20% | |
85 | "Times looted": | |
86 | type: "times-looted" | |
87 | format_high_numbers: true | |
88 | "Times Bled": | |
89 | type: "times-bled" | |
90 | format_high_numbers: true | |
91 | "Zombie Bites": | |
92 | type: "times-biten" | |
93 | format_high_numbers: true | |
94 | "Broken Bones": | |
95 | type: "times-broken" | |
96 | format_high_numbers: true | |
97 | "Shrapnel": | |
98 | type: "times-struck" | |
99 | format_high_numbers: true | |
100 | "Lodged Bullets": | |
101 | type: "times-lodged" | |
102 | format_high_numbers: true | |
103 | settings: | |
104 | count: 10 | |
105 | enable_search_bar: true | |
106 | enable_upper_pagination: true | |
107 | enable_lower_pagination: true | |
108 | enable_caption: false | |
109 | enable_header: true | |
110 | enable_column_select: false | |
111 | enable_select: true | |
112 | enable_index_column: true | |
113 | table_width: 1000px; | |
114 | defaults: | |
115 | # Available time periods to select from using the dropdown menu. | |
116 | available_time_types: ["alltime", "monthly", "weekly", "daily"] | |
117 | # The width of the table. | |
118 | table_width: 800px; | |
119 | # How many players are shown in the table. | |
120 | count: 20 | |
121 | # Whether there should be a select bar | |
122 | enable_select: true | |
123 | # Text in the select bar. | |
124 | # {time} represents the time select dropdown menu. | |
125 | # {type} represents the type select dropdown menu. | |
126 | select_text: "Select for {time} order by {type}" | |
127 | # Whether there should be a bar to select the page above the table. | |
128 | enable_upper_pagination: true | |
129 | # Whether there should be a bar to select the page under the table. | |
130 | enable_lower_pagination: true | |
131 | # How many pages appear in the bar to select pages. | |
132 | pagination_size: 10 | |
133 | # Whether there should be a search bar above the table. | |
134 | enable_search_bar: true | |
135 | # Placeholder of the text in this search bar. | |
136 | search_bar_button_placeholder: "Username" | |
137 | # Text in the search button of this search bar. | |
138 | search_bar_button_text: "Search Player" | |
139 | # URL that this global search bar redirects to. | |
140 | search_bar_url: "/player/{name}" | |
141 | # Whether a little image of the player's skull should be displayed next to the player's name. | |
142 | enable_skull: true | |
143 | # The URL of the skull. | |
144 | skull_url: "https://crafatar.com/avatars/{name}" | |
145 | # Whether there should be a column indicating the index. | |
146 | enable_index_column: true | |
147 | # Width of the index column. | |
148 | index_column_width: 6% | |
149 | # Text in the header of the index column. | |
150 | index_column_text: "" | |
151 | # Format of the index column | |
152 | index_column_format: "{rank}" | |
153 | # Width of the player column. | |
154 | player_column_width: 10% | |
155 | # Text in the column with the player name. | |
156 | player_column_text: "Player" | |
157 | # Whether the table should have a caption or not. | |
158 | enable_caption: false | |
159 | # Whether the caption should have custom text instead of the name of the table. | |
160 | enable_caption_custom_text: false | |
161 | # Custom text of the caption if 'enable_caption_custom_text' is set to true. | |
162 | caption_custom_text: "Leaderboard" | |
163 | # Whether the table should have a header or not. The name of this table will be displayed in the header. | |
164 | enable_header: true | |
165 | # Whether you can press the header of the column to order by that statistic. | |
166 | enable_column_select: false | |
167 | # Whether you can press on a player's name to go to his profile. | |
168 | enable_click_name: true | |
169 | # URL that you get redirected to when clicking on the player's name. | |
170 | click_name_url: "/player/{name}" | |
171 | # Default column settings | |
172 | columns: | |
173 | # Tables that will be used for looking up data of this column. | |
174 | tables: | |
175 | alltime: "leaderheadsplayersdata_alltime" | |
176 | monthly: "leaderheadsplayersdata_monthly" | |
177 | weekly: "leaderheadsplayersdata_weekly" | |
178 | daily: "leaderheadsplayersdata_daily" | |
179 | # Format of this column. | |
180 | format: "{amount}" | |
181 | # Statistic type of this column. Use 'default' for normal statistics and 'time' for time related statistics. | |
182 | statistic_type: "default" | |
183 | # How many decimals should be shown after the decimal point. | |
184 | decimals: 0 | |
185 | # Whether there should be a dot between every 3 digits. | |
186 | format_3_digits: false | |
187 | # Whether the statistic should be formatted with the values from 'high_formats'. | |
188 | format_high_numbers: false | |
189 | # Width of this column. | |
190 | width: 2%; | |
191 | # Whether this column should stay to the time_type from the config, even when the dropdown menu is used | |
192 | keep_time_type: false | |
193 | # The selected time period of this statistic. Options are 'alltime', 'monthly', 'weekly' and 'daily'. | |
194 | time_type: "alltime" | |
195 | settings: | |
196 | # Whether there should be a page header above the tables. | |
197 | enable_page_header: false | |
198 | # Text of the page header. | |
199 | page_header_text: "Leaderboards" | |
200 | # Whether there should be a global search bar above the tables. | |
201 | enable_global_search_bar: true | |
202 | # Placeholder of the text in the global search bar. | |
203 | global_search_bar_button_placeholder: "Username" | |
204 | # Text in the search button of the global search bar. | |
205 | global_search_bar_button_text: "Search Player" | |
206 | # URL that the global search bar redirects to. | |
207 | global_search_bar_url: "/player/{name}" |