
Fake Player Plugin (FPP)
Spawn realistic fake players on your Paper server — complete with tab list presence, server list counts, join/quit messages, and in-world entities. Can also be used as configurable AFK bots to keep your server active.
2.2K
13
Список изменений
v1.5.6 (2026-04-03)
Knockback fix (1.21.9 – 1.21.11)
- Bots now correctly receive knockback on 1.21.9+ servers
- In MC 1.21.9 Mojang replaced the individual
getXa/Ya/Za()packet accessors with a singlegetMovement()→Vec3; the old code silently skipped knockback because all accessors returnednull - New tiered strategy system resolves the correct API once at startup and caches it — zero reflection overhead per hit:
- GET_MOVEMENT (1.21.9+):
packet.getMovement()→Vec3→player.lerpMotion(Vec3)(matches hello09x/fakeplayer reference plugin) - GET_XA (≤ 1.21.8):
packet.getXa/Ya/Za()→lerpMotion(double,double,double)orsetDeltaMovement(Vec3)fallback - NONE: no compatible API found — silently skipped, debug-logged
- GET_MOVEMENT (1.21.9+):
- Enable
logging.debug.nms: trueto see which strategy was selected on first use
Double-disconnect crash fix (Paper 1.21+)
- Fixed
IllegalStateException: Already retiredspam in server logs when a bot is slain - Root cause:
injectFakeListenerwas replacingServerPlayer.connectionbut notConnection.packetListener— the fieldConnection.handleDisconnection()uses to callonDisconnect(); the vanilla SGPL (with no double-retirement guard) was being called instead of our override - Fix:
injectPacketListenerIntoConnection()now scans theConnectionobject's field hierarchy at spawn time and replaces the vanilla listener reference with ourFakeServerGamePacketListenerImpl; the existingonDisconnecttry-catch then correctly suppresses the second "Already retired" error - Side-effect improvement:
Connection.tick()now calls our fake listener'stick()instead of the vanilla SGPL, eliminating any lingeringawaitingPositionFromClientprocessing
Bot Protection System
- Command blocking — bots can no longer execute commands from ANY source (4-layer protection system)
- Lobby spawn fix — 5-tick grace period prevents lobby plugins from teleporting bots during spawn
- New
BotCommandBlockerlistener blocks commands at LOWEST, HIGHEST, and MONITOR priorities - New
BotSpawnProtectionListenerprevents lobby/spawn plugin teleports - Command suggestion blocking prevents auto-command discovery
- Blocks all execution paths: typing,
Player.performCommand(),Bukkit.dispatchCommand() - Works with first-join command plugins, auto-command schedulers, and permission-based executors
Файлы
fpp-1.5.6.jar(17.12 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.5.6
Загрузчики
PaperPurpur
Версии игры
1.21–1.21.11
Загрузок
53
Дата публикации
1 нед. назад
