Guest User

Untitled

a guest
Dec 28th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.33 KB | None | 0 0
  1. # FactionsTop by Novucs.
  2. #
  3. # Configuration walkthrough:
  4. # - config-version: Should not be touched, determines config version.
  5. # - command-aliases: List of command to rebind to "/ftop".
  6. # - gui-settings: All settings related to GUIs.
  7. # - - line-count: Number of inventory lines.
  8. # - - inventory-name: Name used in inventory header.
  9. # - - layout: Fully configurable GUI layout.
  10. # - ignored-faction-ids: Faction IDs to not calculate for factions top.
  11. # - disable-chest-events: Disables chest events, improves performance.
  12. # - factions-per-page: Number of factions displayed per page in "/ftop".
  13. # - sign-update-ticks: Duration in ticks between sign updates.
  14. # - liquid-update-ticks: Duration in ticks between liquid economy updates.
  15. # - chunk-queue-size: Hard-limit maximum chunks to be queued for recalculation.
  16. # - chunk-recalculate-millis: Duration in millis between chunk recalculations.
  17. # - database: Various database settings, MySQL and H2 are supported.
  18. # - - persist-interval: Millis between database updates.
  19. # - - persist-factions: Saves factions in database for websites to parse.
  20. # - enabled: Toggles whether specific worth types should be recalculated.
  21. # - perform-recalculate: Toggles chunk recalculation for the listed reasons.
  22. # - bypass-recalculate-delay: Toggles which reason bypasses the delay.
  23. # - spawner-prices: Value for specific spawners.
  24. # - block-prices: Value for specific blocks.
  25. #
  26. # Layout types:
  27. # - button_back/button_next: When clicked, moves to relavent page.
  28. # - - enabled/disabled: Button looks, enabled when the page is available.
  29. # - - - text: Item name.
  30. # - - - lore: Item lore.
  31. # - - - material: Item material.
  32. # - - - data: Item data.
  33. # - faction_list: Adds a list of factions to the GUI.
  34. # - - faction-count: Number of factions to add to the GUI.
  35. # - - fill-empty: Leaves the remainder slots blank when true.
  36. # - - text: Item name.
  37. # - - lore: Item lore.
  38. #
  39. # Valid spawners (Case insensitive):
  40. # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
  41. #
  42. # Valid materials (Case insensitive):
  43. # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  44. #
  45. # Valid worth types (Case insensitive):
  46. # - CHEST
  47. # - PLAYER_BALANCE
  48. # - FACTION_BALANCE
  49. # - SPAWNER
  50. # - BLOCK
  51. #
  52. # Valid recalculation reasons (Case insensitive):
  53. # - COMMAND
  54. # - UNLOAD
  55. # - CLAIM
  56. # - BREAK
  57. # - PLACE
  58. # - EXPLODE
  59. # - CHEST
  60. #
  61. # Placeholders:
  62. # Header/Footer only:
  63. # - {button:back} - Goes to previous page.
  64. # - {button:next} - Goes to next page.
  65. #
  66. # Header, footer and body:
  67. # - {page:back} - Previous page number.
  68. # - {page:this} - Current page number.
  69. # - {page:next} - Next page number.
  70. # - {page:last} - Last page number.
  71. #
  72. # Body only:
  73. # - {rank} - Faction rank.
  74. # - {relcolor} - Relation color of the faction listed to the viewer.
  75. # - {faction} - Faction name.
  76. # - {worth:total} - Total worth of faction listed.
  77. # - {count:total:spawner} - Total spawner count.
  78. # - {worth:<worth type>} - Value of a specific worth type.
  79. # - {count:spawner:<spawner>} - Count of a specific spawner type.
  80. # - {count:material:<material>} - Count of a specific material.
  81.  
  82. config-version: 5
  83. messages:
  84.   count-format: '#,###'
  85.   currency-format: $#,###.##
  86.   button-back:
  87.     enabled: '&b[<]'
  88.     disabled: '&7[<]'
  89.     tooltip:
  90.     - '&dCommand: &b/f top {page:back}'
  91.   button-next:
  92.     enabled: '&b[>]'
  93.     disabled: '&7[>]'
  94.     tooltip:
  95.     - '&dCommand: &b/f top {page:next}'
  96.   header: '&6_______.[ &2Top Factions {button:back} &6{page:this}/{page:last} {button:next}
  97.     &6]._______'
  98.   no-entries: '&eNo entries to be displayed.'
  99.   body:
  100.     text: '&e{rank}. {relcolor}{faction} &b{worth:total}'
  101.     tooltip:
  102.    - '&e&l-- General --'
  103.     - '&dTotal Worth: &b{worth:total}'
  104.     - '&dBlock Worth: &b{worth:block}'
  105.     - '&dChest Worth: &b{worth:chest}'
  106.     - '&dSpawner Worth: &b{worth:spawner}'
  107.     - '&dPlayer Balances: &b{worth:player_balance}'
  108.     - '&dFaction Bank: &b{worth:faction_balance}'
  109.     - ''
  110.     - '&e&l-- Spawners --'
  111.     - '&dSlime: &b{count:spawner:slime}'
  112.     - '&dSkeleton: &b{count:spawner:skeleton}'
  113.     - '&dZombie: &b{count:spawner:zombie}'
  114.     - ''
  115.     - '&e&l-- Materials --'
  116.     - '&dEmerald Block: &b{count:material:emerald_block}'
  117.     - '&dDiamond Block: &b{count:material:diamond_block}'
  118.     - '&dGold Block: &b{count:material:gold_block}'
  119.     - '&dIron Block: &b{count:material:iron_block}'
  120.     - '&dCoal Block: &b{count:material:coal_block}'
  121.   footer: ''
  122.   permission: '&cYou do not have permission.'
  123.   recalculation-start: '&eAll faction totals are being resynchronized'
  124.   recalculation-finish: '&eResynchronization of faction totals complete'
  125.   recalculation-stop: '&eResynchronization of faction totals stopped'
  126. gui-settings:
  127.   command-aliases:
  128.  - f topgui
  129.   line-count: 1
  130.   inventory-name: '&lTop Factions | Page {page:this}'
  131.   layout:
  132.   - type: button_back
  133.     enabled:
  134.       text: '&bBack'
  135.       lore: []
  136.       material: wool
  137.       data: 5
  138.     disabled:
  139.       text: '&7Back'
  140.       lore: []
  141.       material: wool
  142.       data: 14
  143.   - type: faction_list
  144.     faction-count: 7
  145.     fill-empty: true
  146.     text: '&e{rank}. {relcolor}{faction} &b{worth:total}'
  147.     lore:
  148.    - '&e&l-- General --'
  149.     - '&dTotal Worth: &b{worth:total}'
  150.     - '&dBlock Worth: &b{worth:block}'
  151.     - '&dChest Worth: &b{worth:chest}'
  152.     - '&dSpawner Worth: &b{worth:spawner}'
  153.     - '&dPlayer Balances: &b{worth:player_balance}'
  154.     - '&dFaction Bank: &b{worth:faction_balance}'
  155.     - ''
  156.     - '&e&l-- Spawners --'
  157.     - '&dSlime: &b{count:spawner:slime}'
  158.     - '&dSkeleton: &b{count:spawner:skeleton}'
  159.     - '&dZombie: &b{count:spawner:zombie}'
  160.     - ''
  161.     - '&e&l-- Materials --'
  162.     - '&dEmerald Block: &b{count:material:emerald_block}'
  163.     - '&dDiamond Block: &b{count:material:diamond_block}'
  164.     - '&dGold Block: &b{count:material:gold_block}'
  165.     - '&dIron Block: &b{count:material:iron_block}'
  166.     - '&dCoal Block: &b{count:material:coal_block}'
  167.   - type: button_next
  168.     enabled:
  169.       text: '&bNext'
  170.       lore: []
  171.       material: wool
  172.       data: 5
  173.     disabled:
  174.       text: '&7Next'
  175.       lore: []
  176.       material: wool
  177.       data: 14
  178. settings:
  179.   command-aliases:
  180.  - f top
  181.   ignored-faction-ids:
  182.  - none
  183.   - safezone
  184.   - warzone
  185.   - '0'
  186.   - '-1'
  187.   - '-2'
  188.   disable-chest-events: false
  189.   factions-per-page: 9
  190.   sign-update-ticks: 1
  191.   liquid-update-ticks: 100
  192.   chunk-queue-size: 200
  193.   recalculate-chunks-per-tick: 50
  194.   chunk-recalculate-millis: 120000
  195.   database:
  196.     jdbc-url: jdbc:h2:./plugins/FactionsTop/database
  197.     username: root
  198.     password: pa$$w0rd
  199.     maximum-pool-size: 10
  200.     max-lifetime: 5000
  201.     idle-timeout: 5000
  202.     connection-timeout: 5000
  203.     persist-interval: 60000
  204.     persist-factions: false
  205.   enabled:
  206.     chest: true
  207.     player_balance: true
  208.     faction_balance: true
  209.     spawner: true
  210.     block: true
  211.   perform-recalculate:
  212.     command: true
  213.     unload: true
  214.     claim: true
  215.     break: true
  216.     place: true
  217.     explode: true
  218.     chest: true
  219.   bypass-recalculate-delay:
  220.     command: true
  221.     unload: true
  222.     claim: true
  223.     break: false
  224.     place: false
  225.     explode: false
  226.     chest: false
  227.   spawner-prices:
  228.     skeleton: 30000.0
  229.     zombie: 25000.0
  230.     slime: 75000.0
  231.   block-prices:
  232.     gold_block: 250.0
  233.     iron_block: 75.0
  234.     diamond_block: 1000.0
  235.     emerald_block: 1250.0
  236.     coal_block: 25.0
Add Comment
Please, Sign In to add comment