PvpBot Wiki
Reference

Settings

Every option that changes how bots behave, with its default and limits.

Changing settings

  • In game: /pvpbot set <name> <value>. Applies to every bot at once and is written to config.yml.
  • For one faction: /pvpbot faction set <faction> <name> <value>. Applies only to that faction's bots.
  • In the file: edit plugins/PvpBot/config.yml, then run /pvpbot reload.
  • To see them: /pvpbot settings, or /pvpbot settings combat for one group, or /pvpbot settings pearl to filter by name.

Values outside the limits are refused. Times are in ticks (20 ticks = 1 second), distances in blocks, and health in half-hearts (20 = full health).

Which value wins

When a bot reads a setting, the most specific layer wins:

  1. config.yml (or the default, if the key isn't there);
  2. the active preset, if any;
  3. the bot's faction settings.
Active preset If the active preset sets the same key, /pvpbot set writes it to config.yml but the preset's value still wins. The command tells you so: use /pvpbot preset off, or save the preset again with /pvpbot preset save <name>.

General

Group general: periodic checks, restarts and compatibility with other plugins.

SettingDefaultValuesWhat it does
check-interval201 – 200Ticks between equipment checks (best armour and weapon).
bots-relogtruetrue / falseBring bots back after a server restart.
force-vulnerabletruetrue / falseClear the invulnerable flag on bots. Login plugins set it and never clear it.
auth-autologintruetrue / falseRegister bots with the login plugin (AuthMe and similar) so it stops freezing them.
bypass-damage-protectionfalsetrue / falseUn-cancel damage involving bots. Overrides region and PvP protection, so use with care.
target-scan-interval101 – 60Ticks between target searches. Raise it if a large crowd of bots lags.

Combat

Group combat: who to attack, how, and with which techniques. Longer explanations on Combat.

SettingDefaultValuesWhat it does
auto-targettruetrue / falseHunt the nearest enemy unprompted.
target-playerstruetrue / falsePick players as targets unprompted (off = mobs only, unless ordered or hit).
target-passive-mobsfalsetrue / falseAlso pick passive and neutral mobs as targets (off = hostile mobs only).
revengetruetrue / falseFight back against whoever hits the bot.
friendly-firefalsetrue / falseAllow hitting allies.
bot-vs-botfalsetrue / falseBots pick fights with each other unprompted.
attack-invinciblefalsetrue / falseAlso attack players in creative or spectator mode.
max-target-distance32.01 – 128How far (in blocks) a bot looks for targets.
melee-range3.01 – 6Reach, from the eyes to the hitbox as vanilla measures it (3.0 = a player's).
melee-standoff2.20.5 – 5Distance held in melee, so bots don't stand inside each other.
attack-cooldown121 – 100Ticks between swings (lower = faster).
ping-millis500 – 500Simulated latency: delays when a decided attack lands, like a real client's round trip (0 = instant, unrealistically perfect).
miss-chance100 – 100Percent of swings and shots missed on purpose.
mistake-chance120 – 100Chance to hesitate or panic on a clutch action (0 = flawless).
leader-call-seconds300 – 600How many seconds a faction stays hostile to whoever its leader is fighting (0 = off).
reaction-ticks300 – 200Ticks a bot sizes up a player it noticed on its own before attacking (0 = at once).
spawn-grace50 – 600Seconds after spawning before a bot starts a fight with a player on its own.
skill500 – 100How human a bot's reactions, timing and aim are. Never frame-perfect, even at 100.
turn-speed30.01 – 180Most degrees a bot turns per tick (180 = instant snap-aim, the old behaviour).
special-weapon-melee-chance350 – 100Percent of fights where a mace carrier uses an ordinary weapon instead.
shield-disable-chance700 – 100Percent of raised shields a bot reacts to by switching to an axe.
mace-range-bonus0.00 – 4Extra reach on a mace smash, on top of melee-range (a deliberate advantage).
attribute-swapfalsetrue / falseMaster switch for the weapon-swap techniques (breach swap, mace stun, lunge).
breach-swaptruetrue / falseHit with a sword carrying the mace's Breach/Density enchantments.
mace-stuntruetrue / falseAxe to break a raised shield, then the mace straight after without waiting for the cooldown.
spear-lungetruetrue / falseChain spear jabs to close distance (needs Lunge to actually dash).
swap-cooldown300 – 200Ticks between swap combos. This is the real limit, since combos skip the normal attack cooldown.
mace-pearl-launchfalsetrue / falseThrow a pearl, then pop a wind charge on it mid-flight for a much higher launch.
mace-defence-shield550 – 100Percent of incoming mace smashes answered with a shield.
mace-defence-flee200 – 100Percent answered by getting out of the way (the rest are taken).
mace-totem-chance350 – 100Percent of mace fights where the bot keeps a totem in the offhand instead of a shield.
macetruetrue / falseUse mace jump attacks.
elytra-macefalsetrue / falseElytra mace: climb on rockets, dive and smash without landing (needs elytra, rockets and a mace).
elytra-mace-height208 – 60Blocks above the target to climb before diving. Higher hits harder.
cart-pvpfalsetrue / falseCart PvP: a Flame arrow, then a rail and a TNT minecart in its path (needs all three, plus arrows).
cart-max-self-damage10.00 – 40Most damage (after armour, on an average roll) a bot accepts from its own cart. Never a lethal roll without a totem.
cart-cooldown800 – 1200Ticks between cart plays.
crit-chaintruetrue / falseChain jump crits back to back instead of resting between hops.
cooldown-tricktruetrue / falseSwing at 84.8% attack cooldown instead of 100%: full crit and knockback, just faster.
jump-resetfalsetrue / falseChain another mace smash right after landing one, instead of waiting for the cooldown.
mirror-punishtruetrue / falseSwing back mid-air off the enemy's own knockback the instant they hit (a punish crit).
hit-selecttruetrue / falseHold a swing until the angle and spacing are favourable, instead of swinging on cooldown alone.
d-taptruetrue / falseA brief sideways sprint reset after landing a hit: the w-tap idea on a lateral axis.
hit-web-combotruetrue / falseFollow a landed cobweb trap with an immediate swing instead of leaving the web to work alone.
sweep-hittruetrue / falseDrop sprint to land vanilla's sweep attack when 2 or more enemies are close in melee.
priority-hp-targettruetrue / falseWithin the same priority, prefer the lowest-health target over the nearest.
shield-read-winduptruetrue / falseRaise the shield early when reading a jump-crit windup, not only against a mace smash.
orbitaltruetrue / falseFire Orbital Strike Cannon rods, staying clear of their own blast.
orbital-cooldown20020 – 2000Ticks between orbital strikes.
critstruetrue / falseJump before swinging to land critical hits.
stasisfalsetrue / falseBlock a killing hit and teleport away (ender pearl effect) instead of dying. Off makes a protected faction killable again.
shield-disabletruetrue / falseSwitch to an axe to break a blocking enemy's shield.
break-stashestruetrue / falseBreak a shulker box or ender chest the target placed nearby, denying a mid-fight restock.

Movement

Group movement.

SettingDefaultValuesWhat it does
bhoptruetrue / falseJump constantly while chasing.
speed1.00.1 – 2Movement speed (1.0 = sprint).
wandertruetrue / falseWalk around when idle.
follow-distance3.51 – 20How far a follower stays from whoever it escorts.

Utility and survival

Group utility: gear, healing, totems, pearls, cobwebs, water.

SettingDefaultValuesWhat it does
auto-equiptruetrue / falseWear the best armour and hold the best weapon carried.
auto-repairtruetrue / falseCollect nearby XP orbs and mend damaged gear with them.
auto-repair-bottlestruetrue / falseOnce nearby orbs run out, crack carried XP bottles to mend gear.
auto-totemtruetrue / falseGrab a totem when close to death.
totem-health8.00 – 20Health at which the totem goes into the hand.
retreattruetrue / falseBack off when low on health.
retreat-health6.00 – 20Health at which to retreat.
auto-foodtruetrue / falseEat when hungry.
food-threshold160 – 20Food level below which to eat.
auto-shieldtruetrue / falseRaise a shield when hurt.
shield-health8.00 – 20Health at which to start blocking.
auto-potiontruetrue / falseDrink healing potions and eat golden apples.
potion-health10.00 – 20Health at which to heal.
buff-potionstruetrue / falseDrink strength, speed and fire resistance before a fight.
pearlstruetrue / falseUse ender pearls to escape and to chase runners.
pearl-escape-health5.00 – 20Health at which to pearl away.
pearl-chase-distance14.04 – 64How far a fleeing target must be before the bot pearls after them.
pearl-cooldown12020 – 600Ticks between pearls.
cobwebsfalsetrue / falseWeb enemies to pin them.
cobweb-range3.50.5 – 6How close before webbing (lower = must commit).
cobweb-cooldown16020 – 600Ticks between webs from one bot.
cobweb-global-cooldown600 – 600Ticks between webs from ANY bot, so a squad can't chain-web you (0 = off).
draintruetrue / falseScoop up water an enemy places (MLG denial).
drain-delay200 – 100Reaction delay in ticks before draining.
web-escape-delay150 – 100Ticks a webbed bot takes to react and reach for its water bucket (each web adds up to 50% more).
web-escape-fumble-chance350 – 100Percent of water escapes a webbed bot botches, losing a beat before trying again.
totem-delay-ticks100 – 60Pause before a panic totem reaches the offhand (instant would look inhuman).
water-clutchtruetrue / falseMLG a water bucket to survive a long fall.
water-clutch-min-fall5.00 – 64Shortest fall worth a bucket (below this the bot takes the damage).
water-clutch-window5.01 – 32Blocks above the ground where the water goes down (widens with falling speed).
water-clutch-pickuptruetrue / falseScoop the water back up after landing.

Ranged

Group ranged: bows and crossbows.

SettingDefaultValuesWhat it does
rangedtruetrue / falseUse bows and crossbows.
ranged-min-range6.00 – 64Closer than this, switch to melee.
ranged-optimal-range12.01 – 64Distance to hold while shooting.
bow-min-draw-ticks181 – 60Draw time before releasing (20 = full draw).
arrow-predictiontruetrue / falseLead shots ahead of moving targets.
ranged-shot-gap250 – 200Fewest ticks between one arrow and the next draw.
ranged-volley-size31 – 20Most arrows in a row before lowering the bow (each volley is 1 to this many).
ranged-rest-ticks800 – 600How long the bot stops shooting after a volley, closing in meanwhile.

Building

Group building: what bots may do to the world's blocks. They only ever break soft natural blocks (dirt, sand, gravel, clay, leaves, undergrowth, cobwebs), never stone, ore, builds or containers.

SettingDefaultValuesWhat it does
buildingtruetrue / falseLet bots bridge, pillar and dig through soft cover (never stone or anything built).
building-bridgetruetrue / falsePlace a block to cross a gap.
building-pillartruetrue / falseTower up toward a target that is above and out of reach.
building-clear-softtruetrue / falseDig through dirt, sand, gravel, leaves and undergrowth in the way.
building-cooldown60 – 200Ticks between block actions.
building-budget640 – 2000Most blocks a bot may place and break per minute.
building-max-pillar60 – 64Tallest tower a bot will build.

Detection

Group detection: when a bot notices a target. The multipliers scale the distance you're noticed at: below 1 means you have to be closer to be seen.

SettingDefaultValuesWhat it does
detectiontruetrue / falseBots must actually see a target to know about it (off = the old plain-radius sweep).
detection-touch-radius3.00 – 16Within this distance a target is noticed even without line of sight.
detection-memory-ticks1000 – 1200How long a spotted target stays known after leaving line of sight.
detection-invisible0.150 – 2Notice-range multiplier against an invisible player (0.15 = spotted at 15% of the usual distance).
detection-sneaking0.50 – 2Multiplier against a crouching player.
detection-armoured1.00 – 2Multiplier against a player wearing armour.
detection-unarmoured0.70 – 2Multiplier against a player wearing none.

Other parts of config.yml

These parts of config.yml can't be changed with /pvpbot set: edit the file, then run /pvpbot reload.

KeyDefaultWhat it does
active-preset''The active preset. Changed with /pvpbot preset.
presetscasual, normal, sweaty, passiveThe saved presets. See Presets.
skins.randommissingmissing, always or off. See Skins and names.
skins.built-in-pooltrueUse the few hundred skins that ship with the plugin.
skins.pool[]Extra account names whose skins bots can wear.
name-tablesdefault, banditsName lists for /pvpbot spawn names:<table>.
companions.holding-worldtest_worldThe world companions are parked in while their owner is offline. See Companions.
PvpBot Wiki · for Paper and Spigot 1.21.11 / 26.2 · Download on Modrinth