main/Config

This is an example config file with comments.

# wTools version 3.6 by Woozie
# woozie.pl --- (c) 2013
# All rights reserved.
debug: false #You shouldn't touch this.

#Quiz config.
quantityOfQuestions: 2 
questions:
  0:
    question: '#DEFAULT_QUESTION1'
    answers:
      a: '#DEFAULT_ANSWER1'
      b: '#DEFAULT_ANSWER2'
      c: '#DEFAULT_ANSWER3' #You can't change the quantity of answers, at least now.
    correctAnswer: a
  1:
    question: '#DEFAULT_QUESTION2'
    answers:
      a: '#DEFAULT_ANSWER1'
      b: '#DEFAULT_ANSWER2'
      c: '#DEFAULT_ANSWER3'
    correctAnswer: b

#TheTime command NTP server URL. You can use servers like time.windows.com or time.nist.gov, the default is Polish government server.
thetime:
  ntpserver: 'tempus1.gum.gov.pl'

#Locale stuff, boring as hell. You can obviously change them as you want.
locale:
[...]

#VoteBan config.
vote:
  # #p - target
  # #time - time (for ban)
  # #tiime - alternate punishment time
  banCommand: 'tempban #p #time You are banned by community!' #You can use practically every kick/ban plugin with this.
  kickCommand: 'kick #p You are kicked by community!'                 #It's configured by default for my own ban plugin, so better change this.
  alternateKickCommand: 'tempban #p #tiime You are banned by community!' #This particular is triggered when the VoteKick target player leaves the server before the punishment.
  minimumPlayers: 5 #You can change it for 1 if you don't need any limit.
  timeOfPunishment: 24h
  timeOfAlternatePunishment: 15m
  quantityOfVotePowers: 3 #The quantity of defined vote power permissions.
  neededKickVotePercentage: 45 #This is calculated with the sum of people's vote power points.
  neededBanVotePercentage: 55  #The default values are well-calculated, so it is not recommended to change them.
  timeOfVoteDuration: 60 #Duration of vote in seconds.
  votePower:
    1: 1 #Power:Quantity of vote points.
    2: 3
    3: 5

timelock:
  # value in hours
  realTimeOffset: -1 #An offset which allows to make realtime more realistic (eg. for correcting the daytime).

Comments

Posts Quoted:
Reply
Clear All Quotes