HireHall

Configuration

Every key in config.yml, what it controls and its default value.

config.yml holds the server wide settings: languages, storage, limits, posting modes and menu steps, progress, tax, broadcasts, ratings and the admin log. Currencies live in currencies.yml, job types in job-types.yml and menus in the menus folder.

Nine cards, one per section of config.yml, general, storage, limits, posting, jobs, tax, broadcast, ratings and admin-log, each listing its keys with default values

Apply changes with /hirehall admin reload. Only storage and jobs.expiry-check-seconds need a restart.

General

KeyWhat it doesDefault
config-versionFile version, do not change2
languageLanguage file from the lang folder. See Messages and languageen_US
menu-languageLanguage the menu files and job-types.yml are made in the first time they are created. auto follows language. Bundled: en_US, fr_FR, es_ES. See Menu languageauto

storage

See Storage for details. Changes need a restart.

KeyWhat it doesDefault
storage.typeSQLITE or MYSQLSQLITE
storage.sqlite-fileSQLite file inside the plugin folderdata.db
storage.table-prefixText in front of every table name. Letters, numbers and _ only, anything else falls back to the defaulthirehall_
storage.mysql.hostMySQL hostlocalhost
storage.mysql.portMySQL port3306
storage.mysql.databaseDatabase namehirehall
storage.mysql.usernameUserroot
storage.mysql.passwordPasswordempty
storage.mysql.use-sslUse an SSL connectionfalse
storage.mysql.pool-sizeMost connections kept open, at least 210

limits

KeyWhat it doesDefault
limits.default-employ-slotsWorkers a player may have hired at one time, when they have no hirehall.limit.<n> permission3
limits.default-job-slotsJobs a player may work on at one time, when they have no hirehall.jobs.<n> permission3
limits.max-open-postingsOpen and offered jobs one employer may have at one time, at least 15
limits.post-cooldown-secondsSeconds between two posts by the same player30
limits.max-payment-stacksMost item stacks in one item payment27
limits.max-deadline-hoursLongest deadline an employer may choose168
limits.max-quantityLargest amount any job may ask for. Job types with max-quantity: 0 use this. 0 means no limit of your own, amounts are still capped at 1,000,000,0001000000

See Permissions for the limit permissions.

posting

These set the buttons in the posting menus.

KeyWhat it doesDefault
posting.modes.communityAllow community jobstrue
posting.modes.exclusiveAllow jobs one player takes and finishestrue
posting.modes.direct-offerAllow direct offerstrue
posting.default-modeMode selected when posting starts: COMMUNITY, EXCLUSIVE or DIRECTEXCLUSIVE
posting.default-pricingPricing selected when posting starts: UNIT (price per unit) or TOTAL (one price)UNIT
posting.quantity-stepsPlus and minus steps on the amount menu[1, 10, 100]
posting.money-stepsPlus and minus steps on the currency menu[1, 10, 100, 1000]
posting.deadline-hoursDeadline choices in hours[1, 6, 12, 24, 72, 168]
posting.max-note-lengthLongest note an employer may write60
  • The mode step is skipped when only one mode is available. See Posting modes.
  • Zero and negative values in the lists are ignored. An empty list falls back to the default.
  • deadline-hours values above limits.max-deadline-hours are left out.
  • Each step and deadline needs a slot in its menu template. The default menus have 3 quantity steps, 4 money steps and 7 deadline slots. See Templates.

jobs

KeyWhat it doesDefault
jobs.milestonesProgress percentages at which the employer gets a message. Values from 1 to 99[25, 50, 75]
jobs.deadline-warning-minutesMinutes before the deadline when the worker is warned30
jobs.expiry-check-secondsHow often deadlines are checked, at least 5. Needs a restart20
jobs.exclude-spawner-mobsStop mobs from spawners counting toward hunting jobsfalse
jobs.delivery-onlyHide every job type in ACTIVITY mode, so every job ends with items handed in. See Activity or deliveryfalse

A job can expire up to expiry-check-seconds after its deadline, since that is how often deadlines are checked.

tax

KeyWhat it doesDefault
tax.enabledTake a share of every money payout for finished workfalse
tax.percentThe share, from 0 to 1005.0

See Server tax.

broadcast

KeyWhat it doesDefault
broadcast.enabledAnnounce new board jobs that pay welltrue
broadcast.thresholdsPay per currency id at or above which a job is announced. Currencies not listed are never announcedvault: 10000

See Broadcasts.

ratings

KeyWhat it doesDefault
ratings.enabledLet employers rate completed jobstrue

admin-log

KeyWhat it doesDefault
admin-log.enabledWrite admin actions to logs/admin.logtrue
admin-log.max-size-kbSize at which the log rolls over, at least 16512
admin-log.keep-filesOld log files kept5

See Admin log.

Updating

When a new version adds keys, they are added to your config.yml on startup with their defaults. Your own values are kept.

On this page