Sobky

Voting - Config.yml

Oct 15th, 2017
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.19 KB | None | 0 0
  1. #Available languages: EN, SK, CZ If you want other, you can create it and insert file to language folder. And here write name of file (Without .yml)
  2. language: "EN"
  3.  
  4. #List of worlds, where is voting not allowed. (You cannot start voting for this world)
  5. disabledWorlds:
  6. - "world_nether"
  7. - "world_the_end"
  8.  
  9. #Duration of cycle for voting (In seconds)
  10. countDown: 60
  11.  
  12. #Minimum players for start voting
  13. playersToStart: 2
  14.  
  15. #Settings of bossBar
  16. #Available colors: BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
  17. #Available styles: SEGMENTED_10, SEGMENTED_12, SEGMENTED_20, SEGMENTED_6, SOLID
  18. bossBar:
  19.     color: "YELLOW"
  20.     style: "SEGMENTED_20"
  21. #In ActionBar is displayed progress of current voting. (In %)
  22. actionBar:
  23.     resultChar: "\u25CF"
  24.  
  25. #Intervals, when will be displayed BossBar and ActionBar
  26. #Usage: "XX:YY" XX-> Time, when bossBar starts displaying YY-> Time, when BossBar ends displaying
  27. warnIntervals:
  28. - "60:55"
  29. - "45:40"
  30. - "30:25"
  31. - "10:1"
  32.  
  33. #Duration of pause between voting cycles (In seconds)
  34. pauseAfterVoting: 10
  35.  
  36. #Each cycle and vote can be paid. Here you can configure it!
  37. economy:
  38.     enable: false
  39. #Supported types of economy: VAULT, POINTS(PlayerPoints)
  40.     type: "VAULT"
  41.     price:
  42.         start: 25.0
  43.         vote: 5.0
  44.  
  45. #If true, player can participate only when he is in the same world as world chosen in voting cycle
  46. requireTheSameWorlds: false
  47.  
  48. #Items, which will be displayed in GUI after command /voting
  49. #It is highly recommended to do not change lines and slots!
  50. #Only on own risk!
  51. GUI:
  52.     lines: 6
  53.     CommonItems:
  54.         NULL_SLOT:
  55.             material: "STAINED_GLASS_PANE"
  56.             materialData: 15
  57.         INFO:
  58.             material: "BOOK"
  59.             materialData: 0
  60.             slot: 49
  61.     Buttons:
  62.         AGREE:
  63.             material: "STAINED_CLAY"
  64.             materialData: 13
  65.             slot: 47
  66.         DISAGREE:
  67.             material: "STAINED_CLAY"
  68.             materialData: 14
  69.             slot: 51
  70.     States:
  71.         DAY:
  72.             material: "WATCH"
  73.             materialData: 0
  74.             slot: 18
  75.         NIGHT:
  76.             material: "CONCRETE"
  77.             materialData: 15
  78.             slot: 20
  79.         SUN:
  80.             material: "DOUBLE_PLANT"
  81.             materialData: 0
  82.             slot: 22
  83.         RAIN:
  84.             material: "SPONGE"
  85.             materialData: 1
  86.             slot: 24
  87.         STORM:
  88.             material: "FLINT_AND_STEEL"
  89.             materialData: 0
  90.             slot: 26
  91.         CUSTOM:
  92.             material: "NETHER_STAR"
  93.             materialData: 0
  94.     Core:
  95.         Custom:
  96.             Running:
  97.                 material: "REDSTONE"
  98.                 materialData: 0
  99.                 slot: 4
  100.         Waiting:
  101.             material: "SULPHUR"
  102.             materialData: 0
  103.             slot: 4
  104.         Running:
  105.             material: "REDSTONE"
  106.             materialData: 0
  107.             slot: 4
  108.         Ending:
  109.             material: "GLOWSTONE_DUST"
  110.             materialData: 0
  111.             slot: 4
  112.  
  113. #Commands, which will be performed after end of voting cycle
  114. #To disable commands use: 'commands: []'
  115. resultCommands:
  116.    #These commands performs for all players after end of voting cycle
  117.     GLOBAL:
  118.         commands: []
  119.     #These commands performs for all players after SUCCESSFUL voting cycle
  120.     SUCCESS_FOR_ALL:
  121.         commands: []
  122.     #These commands performs for players, who voted YES in voting cycle
  123.     SUCCESS_FOR_YES_VOTERS:
  124.         commands:
  125.        - "tell {player} You voted YES in previous voting cycle!"
  126.     #These commands performs for all players after FAILED voting cycle
  127.     FAIL_FOR_ALL:
  128.         commands: []
  129.     #These commands performs for players, who voted NO in voting cycle
  130.     FAIL_FOR_NO_VOTERS:
  131.         commands:
  132.        - "tell {player} You voted NO in previous voting cycle!"
  133.  
  134. #List of custom voting cycles
  135. #All messages is configurable in language file!
  136. Custom:
  137.     Event:
  138.         GLOBAL:
  139.             commands: []
  140.         SUCCESS_FOR_ALL:
  141.             commands: []
  142.         SUCCESS_FOR_YES_VOTERS:
  143.             commands:
  144.            - "warp Event {player}"
  145.         FAIL_FOR_ALL:
  146.             commands: []
  147.         FAIL_FOR_NO_VOTERS:
  148.             commands: []
Add Comment
Please, Sign In to add comment