Configuration

Almost every number in TradeSMP lives in config.yml, inside the plugins/TradeSMP/ folder. Change a value, save, and run /tradesmp reload to apply it. No restart needed, except for storage.

Storage is the one exception

Changing storage.type (SQLite to MySQL or back) needs a full server restart. A reload will not rebuild the database connection.

Related pages: Messages & Language, Permissions, Storage.

About config-version

The file has a config-version at the top. Leave it alone. TradeSMP uses it to merge in new options automatically when you update, so your old settings and comments are kept.

Leveling

Controls what moves a player’s level.

SettingDefaultWhat it does
only-pvp-deaths-lower-levelfalsefalse means any death lowers a level. true means only a death caused by another player lowers it. Raising a level always needs a player killer either way.

See Trade Levels for how this plays out.

Bread

The +1 bread-as-golden-apple perk. See Buffs.

SettingDefaultWhat it does
hunger-threshold19Bread only gives the bonus effects when hunger is at this number or below. 20 is a full bar.
absorption-amplifier1Absorption strength. 0 is level I, 1 is level II, and so on.
absorption-duration-seconds120How long the Absorption lasts.
regeneration-amplifier1Regeneration strength, same scale.
regeneration-duration-seconds5How long the Regeneration lasts.

Emerald lightning

The +2 lightning perk. See Buffs.

SettingDefaultWhat it does
hits-required10Hits in a row on the same player before lightning strikes.
hit-timeout-seconds10If this many seconds pass between two hits, the streak resets.
damage-hearts4.0Lightning damage in hearts. 4.0 hearts is 8 HP. Armor still applies.

Totem resistance

The +3 totem perk. See Buffs.

SettingDefaultWhat it does
duration-seconds30How long Resistance I lasts after a totem pops, for +3 players only.

Villager prices

The negative-level price markup. See Debuffs.

SettingDefaultWhat it does
level-minus-1-multiplier1.25Price multiplier at -1. 1.25 means 25% more.
level-minus-2-multiplier1.5Price multiplier at -2.
level-minus-3-multiplier2.0Price multiplier at -3. 2.0 means double.

Levels 0 and up always pay normal price

Only negative levels change trade prices.

Golden apple debuff

The side effects on golden apples at negative levels. See Debuffs.

SettingDefaultWhat it does
level-minus-1-slowness-seconds10Slowness after a golden apple at -1.
level-minus-2-slowness-seconds20Slowness at -2.
level-minus-3-slowness-seconds10Slowness at -3.
level-minus-3-weakness-seconds10Weakness at -3, on top of the Slowness.

Village locator

The +3 locator command. See Village Locator.

SettingDefaultWhat it does
cooldown-minutes10Wait time between uses, per player. Survives relogs.
search-radius6400How far to search, in blocks. Bigger finds farther villages but takes longer.
find-unexploredtruePrefer villages nobody has visited yet, like vanilla.

Ban on repeat death

The -3 ban. See The -3 Ban.

SettingDefaultWhat it does
enabledtrueMaster switch. false means dying at -3 does nothing extra.
permanenttruetrue bans forever. false bans for the hours below.
temporary-duration-hours0Length of a temporary ban. Only used when permanent is false.

The whole file

3 items under this folder.