Default Config's

Congif.yml

title: '&2Toyz Token Shop'
prefix: '&a[&bMyTokens&a]&f'

#only one can be abled at one time (1.6+ only)
database:
  sqlite:
    use: true
    file: mytokens.db
  mysql:
    use: false
    host: 127.0.0.1
    database: mytokens
    port: 3306
    user: root
    password: password

#Mode settings (1.5+ only)
settings:
  shop:
    #max is 6 if you use 1 only first 7 items will show (1.7+)
    rows: 1 
  #Mode settings (Does work but buggy)
  pvp:
    enablethrottle: false
    killthrottle: 3
    #Cooldown till you can kill that person again in seconds
    timeout: 30
  
#Modes to drop Tokens
modes:
  #Player Vs Monster (WIP)
  pve: false
  #Player vs Player
  pvp: false
  #When a user mines a block
  blockbreak: true

#Drop Item Config
dropitem: 
  drop: false
  #Alert to tell the user they got a token
  alert: "You just got a Token!"
  #Used Token Item Message
  used: "You got %amount tokens!"
  #Item to Drop
  item:
    #399 is "Nether Star"
    id: "399"
    name: Token
    #Delay to till user can pick up (In seconds)
    delay: 1
    lore: 
      - "You got Tokens!"
      - "Amount: %amount"
      - Right Click to claim your token

#Message to send to user
dropmsg:
  say: true
  #Messages to send in order
  messages:
    - "Hey, %player you got %amount tokens!"
    - "You now have %total tokens"
    
#Info item in Interface
infoitem:
  #368 is "Ender Perl"
  id: "368"
  #Only works on certain items (Doesn't work)
  glow: true
  name: My Tokens
  lore:
    - You have %total tokens
    
#Drop Probilty
Drop:
  kills:
    #Min and max of tokens droped
    min: 1
    max: 10
    #percent of how often to drop (0.0 - 1.0)
    percent: 1
  break:
    blocks:
      #Iron Ore
      15:
        #Min and max of tokens droped
        min: 1
        max: 5
        #percent of how often to drop (0.0 - 1.0)
        percent: 1
      #Grass
      2:
        #Min and max of tokens droped
        min: 1
        max: 5
        #percent of how often to drop (0.0 - 1.0)
        percent: 1
      #Dirt
      1:
        #Min and max of tokens droped
        min: 1
        max: 5
        #percent of how often to drop (0.0 - 1.0)
        percent: 1

Shop.yml

#Order 1 - 53 (Max being 53)
Shop:
  1:
    id: '17:1'
    name: '&cSpruce Wood'
    #Only works on certain items (Doesn't work)
    glow: false
    #Count of item to display (0 means 1)
    amount: 15
    lore:
      - '&6Spruce wood 16 tokens'
      - '&ePlease dont spam click'
    cost: 16
    commands:
      - '/give %player 17:1 16'
  2:
    id: '276'
    name: '&fGodly Sword'
    #Only works on certain items (Doesn't work)
    glow: true
    #Count of item to display (0 means 1)
    amount: 0
    lore:
      - '&61 Godly Sword'
      - '&eCosts 5 tokens'
    cost: 5
    commands:
      - '/give %player 276 1'

Comments

Posts Quoted:
Reply
Clear All Quotes