Skip to content

Configuration

Daniel Norris edited this page Oct 22, 2021 · 2 revisions

Example Config:

Default config text with explanatory comments
sql-database-details: # Database details - Only required if economy-handler = tokens
    pool-name: UltimatePokeBuilder
    ip: localhost
    port: 3306
    username: username
    password: password
    database: database
economy-handler: tokens # Economy handler - tokens for the tokens or pixelmon for pixelmon
default-tokens: 500 # Default number of tokens if using token economy
shiny-cost: 200 # Cost for changing to/from shiny
ability-cost: 500 # Cost for changing ability
hidden-ability-cost: 1000 # Cost for changing to hidden ability
ev-increment-costs: # cost for changing the ev values (cost * number of level changes)
    defence: 100
    attack: 100
    hp: 100
    specialattack: 100
    specialdefence: 100
    speed: 100
cost-per-level: 200 # cost per change of level
ball-costs: # Cost to change to each pokeball type
    lureball: 100
    dreamball: 100
    netball: 100
    cherishball: 100
    friendball: 100
    levelball: 100
    beastball: 100
    ultraball: 100
    diveball: 100
    healball: 100
    heavyball: 100
    duskball: 100
    moonball: 100
    fastball: 100
    masterball: 100
    loveball: 100
    sportball: 100
    safariball: 100
    quickball: 100
    luxuryball: 100
    gsball: 100
    pokeball: 100
    nestball: 100
    parkball: 100
    premierball: 100
    greatball: 100
    timerball: 100
    repeatball: 100
growth-costs: # Cost to change to each growth
    small: 100
    pygmy: 100
    giant: 100
    ordinary: 100
    huge: 100
    ginormous: 100
    microscopic: 100
    enormous: 100
    runt: 100
nature-costs: # Cost to change to each nature
    lax: 100
    docile: 100
    bashful: 100
    timid: 100
    mild: 100
    hardy: 100
    sassy: 100
    bold: 100
    quirky: 100
    modest: 100
    relaxed: 100
    rash: 100
    calm: 100
    adamant: 100
    impish: 100
    hasty: 100
    serious: 100
    brave: 100
    quiet: 100
    gentle: 100
    lonely: 100
    naughty: 100
    jolly: 100
    naive: 100
blacklist-specs: # Blacklists any pokemon matching the specs
- 'ditto'
- 'islegendary:true'
min-price-modifiers: # Modifies the price https://github.com/Daniel-Forge-Development/API/wiki/PokeSpec-Price-Modifier
    example:
        spec: 'shiny:1'
        min-price:
            type: '*'
            value: 2.0
    example2:
        spec: ditto
        min-price:
            type: '+'
            value: 20000.0
Default config text
sql-database-details:
    pool-name: UltimatePokeBuilder
    ip: localhost
    port: 3306
    username: username
    password: password
    database: database
economy-handler: tokens
default-tokens: 500
shiny-cost: 200
ability-cost: 500
hidden-ability-cost: 1000
ev-increment-costs:
    defence: 100
    attack: 100
    hp: 100
    specialattack: 100
    specialdefence: 100
    speed: 100
cost-per-level: 200
ball-costs:
    lureball: 100
    dreamball: 100
    netball: 100
    cherishball: 100
    friendball: 100
    levelball: 100
    beastball: 100
    ultraball: 100
    diveball: 100
    healball: 100
    heavyball: 100
    duskball: 100
    moonball: 100
    fastball: 100
    masterball: 100
    loveball: 100
    sportball: 100
    safariball: 100
    quickball: 100
    luxuryball: 100
    gsball: 100
    pokeball: 100
    nestball: 100
    parkball: 100
    premierball: 100
    greatball: 100
    timerball: 100
    repeatball: 100
growth-costs:
    small: 100
    pygmy: 100
    giant: 100
    ordinary: 100
    huge: 100
    ginormous: 100
    microscopic: 100
    enormous: 100
    runt: 100
nature-costs:
    lax: 100
    docile: 100
    bashful: 100
    timid: 100
    mild: 100
    hardy: 100
    sassy: 100
    bold: 100
    quirky: 100
    modest: 100
    relaxed: 100
    rash: 100
    calm: 100
    adamant: 100
    impish: 100
    hasty: 100
    serious: 100
    brave: 100
    quiet: 100
    gentle: 100
    lonely: 100
    naughty: 100
    jolly: 100
    naive: 100
blacklist-specs:
- 'ditto'
- 'islegendary:true'
min-price-modifiers:
    example:
        spec: 'shiny:1'
        min-price:
            type: '*'
            value: 2.0
    example2:
        spec: ditto
        min-price:
            type: '+'
            value: 20000.0

Clone this wiki locally