Skip to content

Configuration — config.yml ​

Reference document for plugins/NXGens/config.yml. After any change run /nxgens reload.


License and keys ​

yaml
license-key: "XXXX-XXXX-XXXX-XXXX-XXXX"

Mandatory license key. In BuiltByBit downloads it comes injected automatically; with direct sales the buyer pastes it here.


General ​

yaml
general:
  prefix: "&8[&6NXGens&8]&r "
  debug: false
  language: "en"
  check-updates: true
KeyDescription
prefixPrefix of all plugin messages (legacy colors)
debugDebug messages in console
languageMessage language: en, es, pt, fr (file lang/messages_<language>.yml)
check-updatesNew version warning on startup

Storage ​

yaml
storage:
  type: "sqlite"          # "sqlite" or "mysql"
  sqlite:
    file: "nxgens.db"
  mysql:
    host: "localhost"
    port: 3306
    database: "nxgens"
    username: "root"
    password: ""
    pool-size: 10
    use-ssl: false
    table-prefix: "nxgens_"

SQLite by default (zero configuration). For large databases use MySQL: copy the credentials from the Databases tab in Pterodactyl (host, user and password). Placed generators, collectors, sales and transaction logs are stored here.


Generators ​

yaml
generators:
  max-per-player: 50
  default-interval: 400
  allow-break: true
  return-on-break: true
  world-restriction: false
  allowed-worlds:
    - "world"
    - "world_nether"
    - "world_the_end"
  physical-drops-fallback: true
  drop-y-offset: 1.30
KeyDescription
max-per-playerSimultaneous generators per player without a special rank
default-intervalTicks between shared productions (400 = 20 s)
allow-breakAllow the owner to break their generators
return-on-breakReturn the generator item when broken
world-restriction / allowed-worldsRestrict placement to specific worlds
physical-drops-fallbacktrue = if the collector is full the drop falls to the ground; false = it's lost
drop-y-offsetDrop spawn height above the generator (avoids colliding with the block)

Corrupted generators (failures) ​

yaml
corrupted-generators:
  enabled: true
  interval-minutes: 60
  chance-percentage: 5.0
  default-repair-cost: 50.0
  notify-owner: true
KeyDescription
enabledRandom malfunction engine
interval-minutesHow often the corruption check runs (60 = hourly)
chance-percentage% of active generators corrupted per cycle (5.0 = 5%)
default-repair-costRepair cost if the tier doesn't define its own
notify-ownerChat warning + sound to the owner when corrupted

See Events & Corrupted Generators.


Collectors ​

yaml
collectors:
  enabled: true
  block-material: LODESTONE
  display-name: "Chunk Collector"
  default-capacity: 1000
  auto-sell-interval: 6000
KeyDescription
block-materialBlock that represents the collector
default-capacityInitial capacity (item stacks)
auto-sell-intervalTicks between auto-sells (6000 = 5 min)

Limits ​

yaml
  limits:
    default-limit: 1   # more via nxgens.collector.limit.<n>; * = unlimited

Earnings report ​

yaml
  earnings-report:
    enabled: true
    interval-minutes: 60
    only-if-earned: true

Periodic report to online owners with what each collector earned in the period (only if it earned something, with only-if-earned).

Trust ​

yaml
  trust-can-withdraw: true
  trust-can-sell: false

What players with access to the collector (/gens trust add) can do: withdraw items and/or sell them.

Upgrades ​

yaml
  upgrades:
    capacity-increase: 500
    cost-formula: "exponential"    # exponential | linear | fixed
    base-cost: 500.0
    cost-multiplier: 2.0
    max-level: 50
    base-multiplier: 1.00
    multiplier-per-level: 0.01
KeyDescription
cost-formulaHow the price scales: exponential = base × multiplier^(level−1); linear = base × level; fixed = base always
cost-multiplierPrice increase factor per level (2.0 = each level costs twice the previous one)
max-levelMaximum level (0 = no cap)
base-multiplier / multiplier-per-levelInitial sell multiplier and bonus per level

Chunk coverage ​

yaml
  chunks:
    base-range: 1      # level 1 = 1 chunk per direction (3×3 = 9 chunks)
    range-per-level: 1 # each level adds 1 chunk to the range

Random events ​

yaml
events:
  enabled: true
  broadcast: true
  min-interval-seconds: 1800
  max-interval-seconds: 3600

Announce start/end in broadcast and delay between events (30–60 min by default). See Events & Corrupted Generators.


Ranks (LuckPerms) ​

yaml
ranks:
  max-multiplier: 100.0
  max-slots: 1000

Safety caps for /nxgens multiplier and /nxgens slots. Per-rank values are stored and managed in plugins/NXGens/ranks.yml — don't edit it by hand while the plugin is running.


Sellwands ​

yaml
sellwands:
  material: "BLAZE_ROD"
  glow: true
  action-bar: true

Sellwand item, glow effect and action bar notification when selling.


Economy ​

yaml
economy:
  enabled: true
  use-vault: true
  sell-multiplier: 1.0
  currency-format: "$#,##0.00"
  min-transaction: 0.01
KeyDescription
enabledPurchases/sales/upgrades active
use-vaultUse Vault as the provider
sell-multiplierGlobal sell multiplier (1.0 = normal price)
currency-formatMoney format in messages
min-transactionMinimum per transaction

Holograms ​

yaml
holograms:
  enabled: true
  provider: "auto"     # auto | decentholograms | fancyholograms | display
  update-interval: 40
  y-offset: 1.15

provider picks the provider: auto tries DecentHolograms → FancyHolograms → internal display entities. Lines accept legacy colors (&6) and the internal placeholders documented below.

yaml
  collector:
    enabled: true
    y-offset: 1.15
    unknown-owner: "Unknown"
    lines:
      - "&#00F5FF&l▸ Chunk Collector"
      - ...
yaml
  lines:
    - "&6{name}"
    - "&7TIER: &e{tier}"
    - "&7Production: &a{next_production}"

See all internal placeholders in PlaceholderAPI.


Integrations and performance ​

yaml
integrations:
  placeholderapi: true
  vault: true

performance:
  batch-size: 100
  async-database: true
  cache-duration: 300
  max-concurrent-queries: 10
KeyDescription
batch-sizeGenerators processed per tick (lower it if there's lag)
async-databaseAsync database queries (leave as is)
cache-durationSeconds of cache for frequent data
max-concurrent-queriesCap on concurrent queries

Logging and audit ​

yaml
logging:
  transactions: true
  admin-actions: true
  errors: true
  retention-days: 30
  console-level: "INFO"

Logging of economic transactions, admin actions, errors, retention (days; 0 = unlimited, not recommended) and console level.

Desarrollado con ❤️ por Naxito's Studios