Advertisement
Guest User

config.yml

a guest
Aug 4th, 2013
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.25 KB | None | 0 0
  1. # config properties
  2. #
  3. properties:
  4.  
  5. # whether to broadcast out the buy message or not
  6. # look for 'lottery.mess.buy' in 'lang.properties' to edit the message
  7. buy-enable: true
  8.  
  9. # delay between lottery savings, x minutes: can also use '/lottery save' to force save lotteries
  10. save-delay: 15
  11.  
  12. # enable lottery savings
  13. save-enable: true
  14.  
  15. # delay between update checks, x minutes: can also use '/lottery update' to check on updates
  16. update-delay: 60
  17.  
  18. # enable the update checks
  19. update-enable: false
  20.  
  21. # the delay that takes place between a lottery drawing and when it announces the winner, x seconds
  22. draw-delay: 3
  23.  
  24. # the delay that people have to wait after buying a ticket from a lottery
  25. # NOTE: this is the delay between a lottery NOT all lotteries
  26. buy-delay: 30
  27.  
  28. # delay between reminder messages, look for 'lottery.mess.reminder' in 'lang.properties' to edit the message
  29. reminder-message-delay: 10
  30.  
  31. # enable the reminder message
  32. reminder-message-enable: true
  33.  
  34. # whether item rewards should drop on the ground near players or
  35. # should it go in their inventory, applies to economies
  36. should-drop: true
  37.  
  38. # whether rewards should be allowed drop if there is no room for them
  39. # if false and there is no room for them it will create a lottery claim for the player
  40. drop-reward: false
  41.  
  42. # whether to log lottery savings or not
  43. should-log: false
  44.  
  45. # whether players should be allowed to buy tickets during the lottery drawing
  46. buy-during-draw: false
  47.  
  48. # the line separator used in the 'lang.properties'
  49. line-separator: '<newline>'
  50.  
  51. # the format used for money, must contain '<money>' in format
  52. money-format: '$<money>'
  53.  
  54. # sign tag used for lottery signs, can have color codes
  55. sign-tag: '&a[Lottery+]'
  56.  
  57. # prefix used in chat, can have color codes
  58. chat-prefix: '&e[LotteryPlus] - '
  59.  
  60. # the lottery that will be used when a user doesn't specify one in the buy command
  61. main-lottery: 'MAIN'
  62.  
  63. # the lotteries that the user will be notified about when a player joins the server
  64. # ex: 'MAIN1 MAIN2 MAIN3', ect...
  65. # look for 'lottery.mess.main' in the 'lang.properties' to edit the message
  66. main-lotteries: ''
  67.  
  68. # the default filter used in '/lottery list <page>'
  69. default-filter: ''
  70.  
  71.  
  72. # various sign formats used in different states of a lottery
  73. #
  74. # <name> - name of the lottery
  75. # <ticketcost> - cost of a ticket for the lottery
  76. # <reward> - reward of the lottery
  77. # <time> - time until drawing
  78. # <winner> - most recent winner of the lottery
  79. # <ticket_tax> - ticket tax of the lottery
  80. # <pot_tax> - pot tax of the lottery
  81. sign-formats:
  82.  
  83. # this format is used when the lottery is running and is doing a time update
  84. Update:
  85. line-2: '<name>'
  86. line-3: '<time>'
  87. line-4: '<reward>'
  88. # this format is used when the lottery is drawing
  89. Drawing:
  90. line-2: '<name>'
  91. line-3: 'Drawing...'
  92. line-4: '<reward> '
  93. # this format is used when "repeat" has been set to false and a winner has been drawn
  94. Over:
  95. line-2: '<name>'
  96. line-3: 'Over'
  97. line-4: '<winner>'
  98.  
  99.  
  100. # lottery defaults, these can be defined in any lottery,
  101. # though you can alter these settings to where they affect
  102. # each lottery globally
  103. defaults:
  104.  
  105. # time between drawings, x hours
  106. time: 48
  107.  
  108. # max tickets a player can buy, set to negative for 0 limit
  109. max-tickets: -1
  110.  
  111. # min players needed in order to draw the lottery
  112. min-players: 2
  113.  
  114. # max players that is allows in the lottery, set to negative for 0 limit
  115. max-players: 10
  116.  
  117. # time taken from the lottery when a player buys a ticket, x seconds
  118. cooldown: 0
  119.  
  120. # time added to the lottery timer when a player buys a ticket, x seconds
  121. warmup: 0
  122.  
  123. # seed used for the random generator
  124. seed: 'LotteryPlus'
  125.  
  126. # this account will receive all taxes from 'pot-tax' and "ticket-tax"
  127. tax-account: ''
  128.  
  129. # whether to use timers on lotteries or not
  130. use-timer: true
  131.  
  132. # whether to keep the tickets if the lottery failed to draw a winner
  133. keep-tickets: true
  134.  
  135. # the worlds to which this lottery will belong to, leave blank for global
  136. # NOTE: This is not for use as a default, must specify under lottery
  137. worlds: ''
  138.  
  139. # the towns in Towny to which this lottery will belong to, leave blank for global
  140. # NOTE: This is not for use as a default, must specify under lottery
  141. towny: ''
  142.  
  143. # the aliases for a lottery, can work with 'main-lottery'
  144. # NOTE: This is not for use as a default, must specify under lottery
  145. aliases: ''
  146.  
  147. # number of tickets to reward for voting
  148. votifier-reward: 0
  149.  
  150. # whether players should allowed to buy tickets
  151. buy-tickets: true
  152.  
  153. # whether a player can win a lottery twice in a row
  154. win-again: true
  155.  
  156. # item rewards that are added to the lottery
  157. # defined examples: '35:3*64' - stack of light blue wool
  158. # format -> 'materialID:meta_data*amount'
  159. # more examples: '351:0 351*1 351:2*1'
  160. #
  161. # for enchantments, create your item like described above,
  162. # add '^', the enchantment, add ':', then the level, like so:
  163. # '278^DURABILITY:3' -> this creates a diamond pickaxe with a DURABILITY with a level of 3
  164. #
  165. item-rewards: ''
  166.  
  167. # whether this lottery should repeat after the next drawing
  168. repeat: true
  169.  
  170. # whether the pot should be cleared if a winner is not drawn
  171. clear-pot: false
  172.  
  173. # whether the rewards should be cleared if a winner is not drawn
  174. clear-rewards: false
  175.  
  176. # how many tickets are available for a lottery, set to 0 for infinite tickets
  177. ticket-limit: 0
  178.  
  179. # the starting pot
  180. pot: 1000.00
  181.  
  182. # whether to use a pot or not
  183. use-pot: true
  184.  
  185. # cost of lottery tickets
  186. ticket-cost: 10.00
  187.  
  188. # whether to use vault
  189. use-vault: true
  190.  
  191. # id for material used when 'use-vault' is false
  192. material-id: 266
  193.  
  194. # alias for the currency when 'use-vault' is false
  195. material-name: Gold Ingot
  196.  
  197. # ticket tax used
  198. # ex:
  199. # ticket-tax: 10.00
  200. # ticket-cost: 50.00
  201. #
  202. # 10 tickets -> player pays 500.00, but 450.00 of it goes to the pot
  203. #
  204. ticket-tax: 0.0
  205.  
  206. # ticket tax used
  207. # ex:
  208. # pot-tax: 10.00
  209. # pot: 1000.00
  210. #
  211. # only 900.00 is awarded to the player
  212. #
  213. pot-tax: 0.0
  214.  
  215. # used to alert players about the current time of the lottery
  216. # how to:
  217. #
  218. # '24h 12h 6h 3h 1h'
  219. # this will alert the players at 24, 12, 6, 3, and 1 hours
  220. #
  221. # <amount><symbol>
  222. # symbols:
  223. # w: weeks
  224. # d: days
  225. # h: hours
  226. # m: minutes
  227. # s: seconds
  228. #
  229. #look for 'lottery.mess.warning' to 'lang.properties' to edit the message
  230. warning-times: ''
  231.  
  232. # amount added to ticket-cost after failed drawing
  233. reset-add-ticket-cost: 0.00
  234.  
  235. # amount added to pot after failed drawing
  236. reset-add-pot: 0.00
  237.  
  238. # amount added to ticket-tax after failed drawing
  239. reset-add-ticket-tax: 0.00
  240.  
  241. # amount added to pot-tax after failed drawing
  242. reset-add-pot-tax: 0.00
  243.  
  244. # amount added to max-tickets after failed drawing
  245. reset-add-max-tickets: 0
  246.  
  247. # amount added to min-players after failed drawing
  248. reset-add-min-players: 0
  249.  
  250. # amount added to max-players after failed drawing
  251. reset-add-max-players: 0
  252.  
  253. # amount added to cooldown after failed drawing
  254. reset-add-cooldown: 0
  255.  
  256. # amount added to warmup after failed drawing
  257. reset-add-warmup: 0
  258.  
  259. # amount added to time after failed drawing
  260. reset-add-time: 0
  261.  
  262. # items add after failed drawing
  263. # defined examples: '35:3*64' - stack of light blue wool
  264. # format -> 'materialID:meta_data*amount'
  265. # more examples: '351:0 351*1 351:2*1'
  266. #
  267. # for enchantments, create your item like described above,
  268. # add '^', the enchantment, add ':', then the level, like so:
  269. # '278^DURABILITY:3' -> this creates a diamond pickaxe with a DURABILITY with a level of 3
  270. #
  271. reset-add-item-rewards: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement