Sobky

Lottery - Config.yml

May 28th, 2017
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.19 KB | None | 0 0
  1. #Available languages: EN, SK and CZ. If you want other, you can create it and insert file to lang folder. And here write name of file (Without .yml)
  2. language: "EN"
  3.  
  4. #Storage of all data. Plugin supports MySQL.
  5. #Types: MYSQL
  6. database:
  7.     type: "MYSQL"
  8.     user: "name"
  9.     host: "ip"
  10.     database: "db"
  11.     password: "password"
  12.  
  13. #Plugin depends on economy plugin. On server has to be installed Vault or PlayerPoints
  14. #Types: VAULT, POINTS
  15. economy:
  16.     type: "VAULT"
  17.  
  18. ticket:
  19.    #Maximal amount of purchased tickets per player
  20.     max: 10
  21.     #Price of one ticket (double)
  22.     price: 5.0
  23.     #Amount of ticket, which will be purchased after click in GUI
  24.  
  25. core:
  26.    #Extra money, which player can win in lottery
  27.     extraPot: 0
  28.     #Minimal count of players to successful draw
  29.     minPlayers: 3
  30.     #Taxes from amount of money which winner won (In percent)
  31.     tax: 0
  32.     #Use decimals at displaying money
  33.     decimalFormat: true
  34.     cycle:
  35.        #Round starts immediately after load of plugin and repeats
  36.         automatic: false
  37.         #Duration of round (In seconds)
  38.         duration: 3600
  39.         #Send info about lottery round each X seconds (X => info)
  40.         info: 900
  41.         #Send message about lottery round when player joins the game
  42.         joinInfo: true
  43.         #Server can win too, it has average count of tickets. The pot in next round will be increased by this won money
  44.         serverWin: false
  45. #Send message to ALL players when player bought ticket or when lottery round ends
  46. broadcast:
  47.     purchase: true
  48. #Count of players who will be displayed in statistics
  49. stats:
  50.     limit: 5
  51.  
  52. #Sounds
  53. sounds:
  54.    #Melody will be played to winner
  55.     WINNER: "ENTITY_EXPERIENCE_ORB_PICKUP"
  56. GUI:
  57.     SetUp:
  58.         lines: 6
  59.         oneTicket:
  60.             enable: false
  61.             GUI_CLICK:
  62.                 LEFT: 1
  63.                 RIGHT: 10
  64.         quitItem: true
  65.     Items:
  66.         INFO:
  67.             RUNNING:
  68.                 material: "BOOK"
  69.                 materialData: 0
  70.                 slot: 4
  71.             STOPPED:
  72.                 material: "BOOK"
  73.                 materialData: 0
  74.                 slot: 4
  75.         TOP:
  76.             material: "SKULL_ITEM"
  77.             materialData: 3
  78.             slot: 19
  79.         LAST:
  80.             material: "SKULL_ITEM"
  81.             materialData: 3
  82.             slot: 22
  83.         OWN:
  84.             material: "SKULL_ITEM"
  85.             materialData: 3
  86.             slot: 25
  87.         QUIT:
  88.             material: "BARRIER"
  89.             materialData: 0
  90.             slot: 49
  91.         PURCHASE_DEFAULT:
  92.             material: "PAPER"
  93.             materialData: 0
  94.             slot: 8
  95.         PURCHASE:
  96.             1:
  97.                 material: "PAPER"
  98.                 materialData: 0
  99.                 slot: 27
  100.             3:
  101.                 material: "PAPER"
  102.                 materialData: 0
  103.                 slot: 29
  104.             5:
  105.                 material: "PAPER"
  106.                 materialData: 0
  107.                 slot: 31
  108.             7:
  109.                 material: "PAPER"
  110.                 materialData: 0
  111.                 slot: 33
  112.             10:
  113.                 material: "PAPER"
  114.                 materialData: 0
  115.                 slot: 35
Add Comment
Please, Sign In to add comment