Guest User

Untitled

a guest
Apr 30th, 2023
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. ## Scoreboards (https://github.com/r4g3baby/SimpleScore/blob/main/src/main/resources/scoreboards.yml)
  2. # This is where you create your scoreboards to be displayed.
  3.  
  4. # You can create a scoreboard by creating a node with the scoreboard name and then specifying a default "updateTime",
  5. # "renderTime" and a list of "titles" and "scores".
  6. #
  7. # "updateTime": the default update time in ticks (optional and defaults to 20 ticks/1 second)
  8. # This controls how long it takes for each frame to stay on the scoreboard
  9. # "renderTime": the default render time in ticks (optional and defaults to 10 ticks/0.5 seconds)
  10. # This controls how long it takes before rendering each frame, placeholders and variables will only get applied each
  11. # time a render occurs (the lower the render time is the heavier it will be on server performance)
  12. # "titles": text to display or a list of frames*
  13. # "scores": the score number/value followed by the text to display or a list of frames* or a map with the "conditions"
  14. # (list of conditions*) and "frames" (list of frames*) keys
  15. #
  16. # *conditions: can be prefixed with a "!" (exclamation mark) to negate the condition
  17. # *frames: is a list of strings or list of maps with the "text" (text to display),
  18. # "update" (time to stay visible, optional and defaults to "updateTime") and
  19. # "render" (time to wait before rendering, optional and defaults to "renderTime") keys
  20. #
  21. # Check out the examples bellow for more information.
  22.  
  23. # This is a simple scoreboard with only the top and bottom lines animated
  24. simple:
  25. titles: '&7&LAutofarming'
  26. scores:
  27. 10:
  28. - '&7&m+----------------+'
  29. - '&7&m------------------'
  30. 9: '&7» &6&lPlayer'
  31. 8: ' &7%player%'
  32. 7: ''
  33. 6: '&7» &6&lBalance
  34. 5: ' %vault_eco_balance%'
  35. 4: ''
  36. 3: '&7» &6&lOnline Players'
  37. 2: ' &7%online% &6players'
  38. 1:
  39. - '&7&m+----------------+'
  40. - '&7&m------------------'
  41.  
  42. # Scoreboard with a basic timing example
  43. customTiming:
  44. # Any frame without a specified update/render time will default to this values
  45. updateTime: 100
  46. renderTime: 50
  47. titles:
  48. # This frame will show for 200 ticks and render every 50 ticks (4 times)
  49. - text: '&c200 ticks/10 seconds title'
  50. update: 200
  51. # While this frame will show for 100 ticks and render every 20 ticks (5 times)
  52. - text: '&a100 ticks/5 seconds title'
  53. render: 20
  54. scores:
  55. 6: '&7You can set a per title and score time'
  56. 5: '&7instead of using the default value'
  57. 4: ''
  58. 3:
  59. - text: '&7This will last for &810 seconds'
  60. update: 200
  61. - text: '&7while this only lasts for &85 seconds'
  62. 2: ''
  63. 1:
  64. # These frames will change every 60 ticks/3 seconds and will only render once on change
  65. - text: '&6Your current world is &7%world%&6.'
  66. update: 60
  67. render: 60
  68. - text: '&6There are &7%online% &6players online.'
  69. update: 60
  70. render: 60
  71.  
  72. # Scoreboard showing how conditions work
  73. conditional:
  74. updateTime: 60
  75. conditions: [ 'hasPermission' ]
  76. titles: '&cConditional Scoreboard'
  77. scores:
  78. 9: ''
  79. 8: '&7Scoreboards with a list of conditions require'
  80. 7: '&7that the player passes all of them.'
  81. 6: ''
  82. 5: '&7You can see this scoreboard because you'
  83. 4: '&7passed the &8hasPermission &7condition.'
  84. 3: ''
  85. 2:
  86. conditions: [ 'isOverworld' ]
  87. frames:
  88. - '&7You can see this line because you..'
  89. - '&7passed the &8isOverworld &7condition.'
  90. else:
  91. conditions: [ 'isTheEnd' ]
  92. frames:
  93. - '&7You can see this line because you..'
  94. - '&7passed the &8isTheEnd &7condition but..'
  95. - '&7didn''t pass the &8isOverworld &7condition.'
  96. else: '&7You didn''t pass any of the conditions.'
  97. 1: ''
  98.  
Advertisement
Add Comment
Please, Sign In to add comment