Sobky

Lottery - Config.yml (For version 2.6.1 and older)

Oct 3rd, 2016
178
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Available languages: en, sk, cs 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. #How many tickets can player buy
  5. maxTickets: 10
  6.  
  7. #How many minutes will take one round of lottery
  8. lootEveryMinutes: 60
  9.  
  10. #Price of one ticket
  11. priceOfTicket: 5
  12.  
  13. #Symbol of currency. E.g. $/€
  14. currencyChar: $
  15.  
  16. #This money will be added to pot at draw
  17. extraInPot: 0
  18.  
  19. #Broadcast in how many minutes will be draw of lottery
  20. infoEverySeconds: 900
  21.  
  22. #If player buy a tickets, all players will get info about it
  23. broadcastAboutBuyTickets: true
  24.  
  25. #If true, when join player, plugin sends inforamtions.
  26. sendInfoAfterJoinTheGame: true
  27.  
  28. #How many players must be participated to draw, so that draw was successful.
  29. minPlayersToSuccessfulDraw: 3
  30.  
  31. #If true, players don't have to buy the ticket to start lottery. When one ended, seconds starts.
  32. autoStart: false
  33.  
  34. #If true, server can win too. Amount of money will be able to win with next draw.
  35. serverCanBeWinner: false
  36.  
  37. #Available types of storage data: file, mysql
  38. #As host you can use localhost
  39. database:
  40.   type: file
  41.   user: "name"
  42.   host: "ip"
  43.   database: "db"
  44.   password: "password"
  45.  
  46. #What items will be displayed in GUI. Here you have to write IDs of items. In GUI is 5 items but 3 items are heads.
  47. itemsID:
  48.   infoID: 323
  49.   ticketID: 339
RAW Paste Data