DUXPLIMA Documentation

config.yml

Hooks, database, worlds, cooldowns and debug settings.

hooks

hooks:
  region-hook: "uxmClaims"
  money-hook: "Vault"
  interaction-hook: "FancyNpcs"

The three plugins uxmHelperNPC leans on. See Integrations for every accepted value and the notes that come with them.

database

database:
  driver: "SQLITE"     # SQLITE or MYSQL
  host: "localhost"
  database: "database"
  username: ""
  password: ""
  port: 3306
  use-ssl: false

See Database.

multi-server

multi-server:
  enabled: false
  redis-host: ""

Turn this on when more than one server shares the same database, so NPC changes made on one are seen by the others.

settings

OptionDefaultWhat it does
disabled-worlds["worlds"]Worlds where NPCs and their commands are refused
price15000.0What an NPC costs through the shop menu
return-price-on-deletetrueWhether deleting refunds anything
return-percent75Share of the price refunded by /helpernpc return
maximum-npc-per-player2Cap per player
place-npc-on-region-creationtrueHand a player their NPC when their region is created
helpernpc-command-opens-guifalseMake bare /helpernpc open the menu instead of printing help
helpernpc-command-opens-buy-menutrueWith the above on, open the shop when the player has no NPC
disable-buy-commandfalseTurn off /helpernpc buy so eggs are the only route
default-click-actionsmenu + soundWhat clicking the NPC body runs
first-location:
  enabled: false
  modify-by: -5.5, 1.5, 3.5
  rotation: -88, 0.8

Where an automatically placed NPC lands, relative to the centre of the region. modify-by is an X, Y, Z offset and rotation is pitch and yaw. It only applies when place-npc-on-region-creation is on.

model-settings

model-settings:
  default-entity: VILLAGER
  model-source: ModelEngine
  model-name: "test"

Only read when interaction-hook is ModelSystem. See Appearance.

hologram

Covered in Hologram.

npc

Covered in Appearance.

artificial-intelligence

Covered in AI Assistant.

cooldown

cooldown:
  return-cooldown: 120
  move-cooldown: 180
  change-glowing-cooldown: 120
  ask-question-cooldown: 15

Seconds. Every one of them can be waived per player by /uxmhelpernpc bypass, and referenced from a menu button with [cooldown] <name>.

sounds

sounds:
  on-cooldown: BLOCK_ANVIL_LAND
  try-again: BLOCK_NOTE_BLOCK_PLING
  already-using-that-glow-color: UI_BUTTON_CLICK
  blacklisted-world: BLOCK_ANVIL_BREAK

Bukkit sound names, played on the four refusals the plugin has.

Top of the file

config-version: "..."   # do not change
language: en            # tr or en
license-key: ""

config-version is written by the plugin and used to migrate your file between versions. Leave it alone. language picks which folder under languages/ is loaded, for both messages and menus.