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. /uxmplayerhider reload applies every change except storage.

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"playerhider.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"uxmplayerhider_"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
sync-seconds2How often this server reads what other servers on the same database changed for a player who is here: the state they chose; 0 turns it off. SQLite reads nothing
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 for each backend and for moving between them.

worlds

KeyDefaultWhat it does
worlds[]The worlds the tool and the command work in, without regard to case; empty is every world

See Worlds and cooldown.

cooldown

KeyDefaultWhat it does
ms2000Milliseconds between two changes; 0 turns it off. uxmplayerhider.cooldown.bypass never waits

tool

KeyDefaultWhat it does
enabledtrueHand out the tool
slot7The hotbar slot, 0 to 8
lock-in-slottrueThe tool cannot be moved, dropped, swapped or placed, and never drops on death
give-on-jointrueHand it out on join
give-on-respawntrueHand it out on respawn
give-on-world-changetrueHand it out on a world change
select-on-givefalseMake it the held item when it is handed out
icons.allLIME_DYE, no glowThe icon of all: material, glow, custom-model-data
icons.importantYELLOW_DYE, no glowThe icon of important
icons.noneGRAY_DYE, glowingThe icon of none

See The tool.

feedback

KeyDefaultWhat it does
effects.alla subtitle, an action bar line, a plingRuns when a player moves into all
effects.importantthe same for importantRuns when a player moves into important
effects.nonethe same for none, with a bass noteRuns when a player moves into none

The lines, and how one is written, are on Effects.

Related: Configuration, Messages