Repository navigation
Upgrading
Replace the jar and start the server. Nothing else is required. This page says exactly what the first start does to your files, so nothing in the console is a surprise.
Everything you set. Your warden.yml, warden-gui.yml and warden-messages.yml are read as they
are; your database, your network-salt.txt and your findings carry across; and a Levels table is
added to the database with CREATE TABLE IF NOT EXISTS, which never touches the tables you have.
Before it changes a file, X-Warden copies it into plugins/X-Warden/backups/ with a timestamp in
the name. Then:
-
New settings go into
warden.yml— one block per key, with the comment that explains it, at the end of the section it belongs to. The rest of the file is left byte for byte as you had it: an upgrade no longer re-emits the whole document through a YAML writer, which is what used to re-indent every comment a little more each version. The console lists what was added:warden.yml gained 66 new settings from this version, each with its comment: config-version, actions, ... -
Nine threshold pairings 1.0.0 shipped are corrected. Decay is charged per minute, and the pairings below drained faster than the check could report again, so each of those checks detected what it was built for and told nobody, for ever. If your file still holds exactly the old pairing it is rewritten to what this version ships — one line each, and the console names every change:
warden.yml upgrade: income-per-block: vl-threshold 4.0 -> 2.0, vl-decay 0.4 -> 0.05 - the old pairing drained faster than the check could report, so it could never reach its action.Check Old pairing New pairing income-per-block4.0 / 0.4 2.0 / 0.05 balance-velocity4.0 / 0.4 2.0 / 0.05 circular-payment3.0 / 0.3 1.5 / 0.05 lifetime-spike2.0 / 0.2 1.5 / 0.05 circulation-anomaly2.0 / 0.1 1.5 / 0.02 composite-score3.0 / 0.5 2.0 / 0.1 challenge-failed2.0 / 0.5 0.8 / 0.0 break-speed2.0 / 0.5 0.9 / 0.0 duplicate-item1.0 / 0.0 0.9 / 0.0 A threshold you set yourself is never matched and never touched. If you had raised one of these on purpose and want the old pairing back, set it again after the first start; the migration runs once.
-
config-version: 2is written underenabled:, so the migration does not run again. -
warden-gui.ymlgains this version's menus and buttons the same way, with their comments. A button this version moved to a different slot is moved in your file rather than drawn over the one already there; where the new slot is taken by something you placed, the new button is hidden (slot: -1) and the console says so. An early build laid the currencies menu out without anitems:block; that layout is removed once the new one is in. -
The other four files are written fresh if you do not have them:
warden-punishments.yml,client-signatures.yml,vulnerabilities.yml,anticheats.yml, and the three free presets underpresets/.
A second start touches nothing and prints none of the lines above.
-
Every unstackable item is now stamped, not only the materials you listed. The live index
finds a duplicate the moment it appears rather than at the next sweep, and the copy is
quarantined. If you sell kits, shops or crates that carry saved items, the second holder of one
will be flagged and their copy taken until a third holder proves it a template — then the
findings are withdrawn and the copy handed back. Hold the template and run
/xwarden unstampbefore the first crate opens to skip that. See Anti-Dupe. - Operator-only contraband in ordinary hands is quarantined; overstacked stacks are reported.
-
A confirmed cheat client is kicked on join by default (
cheat-clientshipsKICK, the one check besidesduplicate-itemallowed to). Bedrock players are never probed; Lunar, Feather, Fabric and the rest are on the allow list. See Client Detection. -
The storage default is now
h2. A 1.0.0 file that saysstorage.type: autokeeps that setting and keeps sharing X-Prison's database exactly as before — nothing is moved. To switch to X-Warden's own file, settype: h2and restart; the history stays in the old database. - Violation levels persist across restarts. A player who was climbing a ladder on the last restart is where they were, less the decay for the downtime.
-
Presets are files in
plugins/X-Warden/presets/.preset: balancedin your file still means what it did; the free three are written on the first start.
If you are coming from the build that lived in plugins/X-Prison/addons/, delete
X-Prison-Warden-*.jar from there first or both will load. See
Installation.