DUXPLIMA Documentation

config.conf

Every key of the main file, with its shipped value and what it does.

The main settings file. Every key is shown with the value the plugin ships. /uxmdailyrewards reload applies every change except those marked as needing a restart.

language

KeyDefaultWhat it does
default"en"What a player reads when nothing else answers, and the fallback for a line a translation has not reached
follow-clienttrueA player who has chosen nothing reads the language their client is set to; false starts everyone in default
force""One language for everybody, whatever they chose and whatever their client says; empty for none

The languages are the files in messages/; nothing here lists them. See Languages.

storage

KeyDefaultWhat it does
type"sqlite"sqlite, mysql, mariadb or postgresql
file"dailyrewards.db"The SQLite file, inside data/. Read only for sqlite
host"localhost"The database server, for the other three types
port0Its port; 0 is the type's own, 3306 for MySQL and MariaDB, 5432 for PostgreSQL
database"minecraft"The database name
username"minecraft"The user
password""The password
table-prefix"uxmdailyrewards_"Written in front of every table, so two plugins, or two copies of one, can share a database. Letters, digits and underscores
pool-size4How many connections the pool may open; SQLite always uses one
local-onlyfalseThis one server keeps its rows in the SQLite file whatever type says, for a server of a network that has no business in the shared database
copy-from-filefalseCopies the rows of the SQLite file into the empty tables of the new database once, at the start

The storage is opened once: a change needs a restart. See Database.

claim

KeyDefaultWhat it does
window"24h"How long one claim holds a player off
grace"24h"How much longer the streak survives after the window

calendar

KeyDefaultWhat it does
length28Days in one round, each a file in days/

See The calendar.

ranks

KeyDefaultWhat it does
source"auto"auto, luckperms or permission. Needs a restart
permission-prefix"uxmdailyrewards.rank."The node of a rank on the permission path, before the rank id
ladder["default", "vip", "mvp"]The ranks that count, worst first

See Ranks.

reminder

KeyDefaultWhat it does
enabledtrueRemind a player who joins with a day ready
delay"5s"How long after the join
effectsa title and subtitle, an action bar line, a plingWhat the reminder does

economy

KeyDefaultWhat it does
treasury-wait-ms250How long one Treasury payment may take before it is given up and pays nothing; more than 0. Reaches Treasury alone. Needs a restart

celebration

KeyDefaultWhat it does
actionsthe level up sound, totem particlesRuns after every claim, on top of the day's reward

See Reminder and celebration.

KeyDefaultWhat it does
sounds.clickblock.note_block.pling, volume 0.6, pitch 1.5A button that does something, when its own actions play no sound
sounds.pageitem.book.page_turn, 0.7, 1.0A page arrow
sounds.deniedblock.note_block.bass, 0.6, 0.9A click that is refused, such as on a day that is not ready

Each sound is { name, volume, pitch }; an empty name silences it.

Related: Configuration, Day files