Getting started
Requirements
| Minecraft 26.3 | Minecraft 1.21.1 | |
|---|---|---|
| Loader | NeoForge 26.3.0.115 or newer | NeoForge 21.1.268 or newer |
| Java | 25 | 21 |
| Players need the mod | No | No |
Optional mods, each works without the others:
- LuckPerms: ranks, prefixes, permissions and per-rank limits (
brita-max-homes,brita-max-pwarps). Without it, every permission keeps the default the module pages show (everyone, operators or nobody). - TAB: the player list shows nicknames and name colours;
%brita_nick%works in TAB's texts. - Open Parties and Claims or FTB Chunks: player warps can only be set where the player may build.
Install
- Stop the server.
- Put the Brita Essentials jar for your Minecraft version into the server's
modsfolder. - Start the server. The mod writes its files into
config/britaessentials/. - Join and try
/spawn,/nickor/chatcolor. Most changes need only/brita reload, no restart.
The files
Everything lives in config/britaessentials/. Each .toml file explains every option in a comment above it.
| File or folder | Holds |
|---|---|
modules.toml | Which modules are on (see below) |
general.toml | Language, message prefix and message colour |
chat.toml, nicknames.toml, mentions.toml, items.toml, menu.json | Chat |
spawn.toml, back.toml | Spawn and back |
menus.toml, menus/, commands.toml, commands.json | Menus and own commands |
economy.toml, economy.json | Economy |
shop.toml, worth.json, shop.json | Shop |
warps.toml | Warps |
homes.toml | Homes |
tpa.toml | Teleport requests |
playerwarps.toml | Player warps |
lang/ | Every text the players see, see Language files |
Saved data (nicknames, balances, warps, homes) lives in the world folder in files named
britaessentials-*.json. Back them up with the world.
First settings
general.toml:
| Setting | What it does | Default |
|---|---|---|
language | Language used when a player's own language has no file | en |
usePlayerLanguage | Show texts in the language of each player's game, if there is a file for it | true |
prefix | Put in front of the mod's messages, wherever a text says {prefix} | orange "Brita »" |
messageColor | Colour of the normal text in the mod's messages | gray |
Colour settings accept red, &c, #ff6400, rainbow or gradient:#ff6400:#ffffff.
Modules
Every part of the mod is a module. A module switched off in modules.toml has, after a restart, no
commands, permissions, listeners or settings files. Its saved data stays and is used again once it is
switched back on. Modules missing from the file are added, switched on.
teleport = false
| Module | Contains | Needs |
|---|---|---|
chat | Nicknames, name colours in chat and TAB, chat format, mentions, /chatcolor, /rename, /sign | |
teleport | /spawn, /setspawn, spawn on join, /back | |
menus | Menus from files, /menu, own commands | |
economy | Balances, /balance, /pay, /baltop, /eco, command prices | |
shop | /sell, /buy, /worth, /shop, shop signs | economy |
warps | /warp, /warps, /setwarp, /delwarp | menu: menus, prices: economy |
homes | /home, /homes, /sethome, /delhome | menu: menus, prices: economy |
tpa | /tpa, /tpahere, /tpaccept, /tpdeny, /tpcancel, /tptoggle | prices: economy |
playerwarps | /pwarp with icons, categories, ratings and an edit menu | menus: menus, prices: economy |
A module that needs another one stays off while that one is off, with a line in the server log. Without
menus, the warp, home and player warp lists show as clickable lists in chat instead.
The enabled switch inside each settings file turns a feature off without a restart, but its commands
stay registered. Use modules.toml to remove a part completely.
Permissions
Every permission is brita. plus a name, such as brita.essentials.spawn or brita.pwarps.set. Each
module page lists its permissions and who has them by default. With LuckPerms:
/lp group default permission set brita.pwarps.set false
/lp group vip meta set brita-max-homes 10
/brita reload (operators) reloads texts, menus, own commands, prices and layouts.
Known issues
- On Minecraft 1.21.1, LuckPerms 5.4.140 has a bug of its own that stops players from joining; it is fixed by LuckPerms only for 1.21.3 and newer.
- In singleplayer LuckPerms and TAB do not start; colours there need cheats.
- Formatted chat messages cannot be reported to Mojang.