Skip to content

Configuration

Venture uses HOCON format for configuration.

Location: config/venture/ventures.conf

ventures = [
{
id = "starter_quest"
name = "First Steps"
description = "Catch your first Pokemon"
type = "catch_pokemon"
requirements = {
count = 1
}
rewards = [
{
type = "currency"
amount = 500
currency = "pokedollars"
},
{
type = "command"
command = "give @p pokeball 10"
}
]
repeatable = false
timeLimit = 0
}
]
  • catch_pokemon: Catch specific Pokemon
  • defeat_pokemon: Defeat Pokemon in battle
  • breed_pokemon: Breed Pokemon
  • collect_items: Gather items
  • travel_distance: Travel blocks
  • visit_biomes: Visit biome types
  • level_pokemon: Level Pokemon to threshold
  • evolve_pokemon: Evolve Pokemon
{
type = "currency"
amount = 1000
currency = "pokedollars"
}
{
type = "command"
command = "give @p master_ball 1"
}
{
type = "script"
script = "q.give_pokemon('pikachu', 50, true)"
}

Use MoLang for conditions and calculations:

requirements = {
condition = "q.player_level >= 10"
species = "pikachu"
minLevel = "math.floor(q.player_level * 0.5)"
}