Перейти к содержанию
SoulFire LogoSoulFire
Руководство пользователяПлагины автоматизации

Auto attack

Configure targeting ranges, cooldowns, protected players, and wall checks for combat tests.

Это руководство доступно только на английском.

What this is for

Auto attack makes a bot look at and attack the closest target in range. Use it for combat tests, PvP experiments, and entity targeting under load. Releases up to 2.10.7 call this feature Kill Aura or KillAura. The plugin ID stays kill-aura.

A target is any attackable entity, including mobs and players. The plugin skips players in creative or spectator mode, players in whitelisted-users, and bots of the same project. It controls only looking, swinging, and attacking. It does not move the bot.

Set whitelisted-users before you test near real players. Every other player in range is a target.

Settings

SettingDefaultWhat it controls
whitelisted-usersEmptyPlayer names that the bot never attacks. Case does not matter.
look-range4.8Distance at which the bot turns toward a target
swing-range3.5Distance at which the bot swings its arm. 0 turns off swings without a hit.
hit-range3.0Distance at which the bot attacks
check-wallsOnPicks only targets that have a visible point
ignore-cooldownOffIgnores the attack cooldown of Minecraft 1.9 and later
attack-delay-ticks8 to 12Random delay between attacks, used only on 1.8 and older or with ignore-cooldown on

Keep look-range the largest and hit-range the smallest.

hit-range cannot extend the bot's reach. Vanilla reach and crosshair targeting still limit each attack, and SoulFire caps the range at 2.65 blocks while the bot moves.

check-walls affects target selection only. With it off, the bot can turn toward a target behind a wall, but it still cannot hit through the wall.

Enable Auto attack

Enable the plugin

Open Plugins and enable Auto attack.

Protect players

Add every player name that the bot must not attack to whitelisted-users.

Test with one bot

Keep the default ranges and check-walls on. Check targeting and attack timing with one bot. Then change one setting at a time.

Common failure patterns

SymptomFix
The bot looks at targets but does not hitIncrease hit-range, or wait for the attack cooldown. A moving bot hits only within 2.65 blocks.
The bot swings before it can hitDecrease swing-range
The bot turns toward targets that it cannot seeTurn on check-walls, then decrease look-range
The bot attacks a protected playerCheck the spelling in whitelisted-users
The bot ignores a playerThe player is in creative or spectator mode, is whitelisted, or is a bot of the same project

Последнее обновление:

Полезна ли эта страница?