Advertisement
LudnicaKiller

Untitled

Jun 24th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 7.71 KB | None | 0 0
  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: "SarmaCraft | Statistike"
  6.  
  7. # The title of the page as it appears in the tab of your browser.
  8. page_title: "SarmaCraft | Statistike"
  9.  
  10. # Messages
  11. messages:
  12.     # Time options. These are used in the dropdown select menu.
  13.     alltime: "od otvorenja"
  14.     monthly: "ovaj mjesec"
  15.     weekly: "ovaj tjedan"
  16.     daily: "danas"
  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}d, {hours}h, {minutes}m"
  30.         time_format_hours: "{hours}h, {minutes}m"
  31.         time_format_minutes: "{minutes}m"
  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.     "Factions":
  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.            "Kill":
  45.                type: "kills"
  46.            "Novac":
  47.                type: "balance"
  48.                format: "$ {amount}"
  49.            "KoTH Wins":
  50.                type: "koth-wins"
  51.                format: "{amount}"
  52.        settings:  
  53.            server: factions
  54.    "Prison":
  55.        columns:
  56.            "Iskopano blockova":
  57.                type: "ez-blocks"
  58.            "Kill":
  59.                type: "kills"
  60.            "Death":
  61.                type: "deaths"
  62.            "Novac":
  63.                type: "balance"
  64.                format: "$ {amount}"
  65.            "KoTH Wins":
  66.                type: "koth-wins"
  67.                format: "{amount}"
  68.        settings:  
  69.            server: prison
  70.    "SkyPvP":
  71.        columns:
  72.            "Kill":
  73.                type: "kills"
  74.            "Death":
  75.                type: "deaths"
  76.            "Novac":
  77.                type: "balance"
  78.                format: "$ {amount}"
  79.        settings:  
  80.            server: skypvp
  81.    "SkyBlock":
  82.        columns:
  83.            "Island lvl":
  84.                type: "asb-level"
  85.            "Kill":
  86.                type: "kills"
  87.            "Death":
  88.                type: "deaths"
  89.            "Novac":
  90.                type: "balance"
  91.                format: "$ {amount}"
  92.        settings:  
  93.            server: skyblock
  94.    "Creative":
  95.        columns:
  96.            "BrziPrst":
  97.                type: "cr-wins"
  98.                format: "{amount}"
  99.            "Novac":
  100.                type: "balance"
  101.                format: "$ {amount}"
  102.            "Letenje":
  103.                type: "fly"
  104.            "Hodanje":
  105.                type: "walk"
  106.        settings:  
  107.            server: creative
  108. defaults:
  109.    # Available time periods to select from using the dropdown menu.
  110.    available_time_types: ["alltime", "monthly", "weekly", "daily"]
  111.    # The width of the table.
  112.    table_width: 1000px;
  113.    # How many players are shown in the table.
  114.    count: 3
  115.    # Whether there should be a select bar
  116.    enable_select: true
  117.    # Text in the select bar.
  118.    # {time} represents the time select dropdown menu.
  119.    # {type} represents the type select dropdown menu.
  120.    select_text: "Odaberi za {time} i poredaj po {type}"
  121.    # Whether there should be a bar to select the page above the table.
  122.    enable_upper_pagination: true
  123.    # Whether there should be a bar to select the page under the table.
  124.    enable_lower_pagination: true
  125.    # How many pages appear in the bar to select pages.
  126.    pagination_size: 10
  127.    # Whether there should be a search bar above the table.
  128.    enable_search_bar: true
  129.    # Placeholder of the text in this search bar.
  130.    search_bar_button_placeholder: "Nick"
  131.    # Text in the search button of this search bar.
  132.    search_bar_button_text: "Pretraži"
  133.    # URL that this global search bar redirects to.
  134.    search_bar_url: "/igrac/{name}"
  135.    # Whether a little image of the player's skull should be displayed next to the player's name.
  136.    enable_skull: true
  137.    # The URL of the skull. "https://crafatar.com/avatars/{name}"
  138.    skull_url: "https://minotar.net/avatar/{name}"
  139.    # Whether there should be a column indicating the index.
  140.    enable_index_column: true
  141.    # Width of the index column.
  142.    index_column_width: 6%
  143.    # Text in the header of the index column.
  144.    index_column_text: ""
  145.    # Format of the index column
  146.    index_column_format: "{rank}"
  147.    # Width of the player column.
  148.    player_column_width: 10%
  149.    # Text in the column with the player name.
  150.    player_column_text: "Igrac"
  151.    # Whether the table should have a caption or not.    
  152.    enable_caption: false
  153.    # Whether the caption should have custom text instead of the name of the table.
  154.    enable_caption_custom_text: false
  155.    # Custom text of the caption if 'enable_caption_custom_text' is set to true.
  156.    caption_custom_text: "Leaderboard"
  157.    # Whether the table should have a header or not. The name of this table will be displayed in the header.
  158.    enable_header: true
  159.    # Whether you can press the header of the column to order by that statistic.
  160.    enable_column_select: false
  161.    # Whether you can press on a player's name to go to his profile.
  162.     enable_click_name: true
  163.     # URL that you get redirected to when clicking on the player's name.
  164.    click_name_url: "/igrac/{name}"
  165.    # Default column settings
  166.    columns:
  167.        # Default column server
  168.        server: default
  169.        # Default column format.
  170.        format: "{amount}"
  171.        # Default statistic type of a column. Use 'default' for normal statistics and 'time' for time related statistics.
  172.        statistic_type: "default"
  173.        # Default decimals that should be shown after the decimal point.
  174.        decimals: 0
  175.        # Whether there should be a dot between every 3 digits.
  176.        format_3_digits: false
  177.        # Whether the statistic should be formatted with the values from 'high_formats'.
  178.        format_high_numbers: false
  179.        # Width of this column.
  180.        width: 8%;
  181.        # Whether this column should stay to the time_type from the config, even when the dropdown menu is used
  182.        keep_time_type: false
  183.        # The selected time period of this statistic. Options are 'alltime', 'monthly', 'weekly' and 'daily'.
  184.        time_type: "alltime"
  185. settings:
  186.    # Whether there should be a page header.
  187.    enable_page_header: false
  188.    # Text of the page header.
  189.    page_header_text: "Statistike na serverima"
  190.    # Whether there should be a global search bar in the page header.
  191.    enable_global_search_bar: true
  192.    # Placeholder of the text in the global search bar.
  193.    global_search_bar_button_placeholder: "Nick"
  194.    # Text in the search button of the global search bar.
  195.    global_search_bar_button_text: "Pretrazi"
  196.    # URL that the global search bar redirects to.
  197.    global_search_bar_url: "/igrac/{name}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement