86df28a1b4
Code cleanup. Fixed bug with bots still being on fire when respawned after death
MrTransistor2023-08-11 21:21:24 +03:00
6d6bde5daf
Update to 1.19.4. IP address fix
BuildTools2023-08-09 05:21:30 +03:00
6f3b9bf1b3
1.19.2 update (changed spigot version in gradle build script, changed CraftBukkit version, changed chat.Component.getContents() to .getString()) Added e.printStackTrace when CommandDispatcher is failing to find a method
v3.0.0
MrTransistor2022-08-19 19:25:20 +03:00
4ab5b3319f
[+] Added locale field to prevent 3rd party plugins that are using aikar`s ACF library from throwing NoSuchFieldException when a bot joins. [+] Added pathfinding test (commented out) [+] Bots now don't shoot at endermen and dead entitied [+] Shooting range increased from 35 to 50 blocks [+] /afkutils controlBot changed to /afkutils control
MrTransistor2022-04-07 01:04:25 +03:00
3fcfacd74e
[+] Added locale field to prevent 3rd party plugins that are using aikars ACF library from throwing NoSuchFieldException when a bot joins. [+] Added pathfinding test (commented out) [+] Bots now dont shoot at endermen [+] /afkutils controlBot changed to /afkutils control
MrTransistor2022-04-07 01:04:25 +03:00
677a6ee101
Added ranged attacks!!! (finally) Bots can now use bows, crossbows, tridents and snowballs/eggs to attack nearest mob with command. Fixed some bugs to do with occupied names.
MrTransistor2022-04-06 01:11:49 +03:00
585696552a
[-] move xp calculation to DummyPlayer#die() - cant do but fixed some problems with xp drops [+] use kick instead of force disconnecting when removing with specified command [+] Prevent dummies from overwriting online players [+] test if dummy can be auto-kicked by a player for duplicate login [+] test if player cache works in offline mode - works but players somehow get different uuids from what they had with online mode [+] remove dropping inventory and xp on disconnect [+] reimplement saving bots (maybe with manually refreshed skins if theres no native way to do that) [+] add a method to rejoin bots without resetting position, gamemode, etc. [+] remove command for removing bots by name [+] delete messages for spawning/removing bots [+] fix bots teleporting to their disconnect coords if being removed after kill [+] fix bots rejoining while server is running delayed init tasks [+] fix bot disconnect not removing them from bot list [+] move event listeners into separate class [+] fix a bug that newly added players that are not actual accounts will be invincible and don`t load all skin layers [+] fix a bug with bot names using registered account names [+] add a system for storing active server players to prevent bots using their names [+] 1.18.2 update [+] bump the version number
MrTransistor2022-04-03 01:41:51 +03:00
38a359c950
Moving to native PlayerEntity handling (no more packet manipulation). Added fix for PaperMC's post-chunk-load player join handling. Added WIP bot saving. Added automatic resource processing to gradle build script. Switched to reflection-based command dispatcher. Removed unnecessary stuff
MrTransistor2022-03-03 03:57:10 +03:00
79e1ab20f3
NMS 1.18.1 update. Moved to Gradle project. Added remapping script for Mojang mappings.
v2.6.1
MrTransistor2022-02-03 11:38:47 +03:00
57e6271669
Fixed bug with entity tracer tracing to all entities. Added AFKUtils command. Bots now can be controlled with commands, single attack, continuous attacking, self defence mode and force point of interest switches are available.
BuildTools2021-06-27 13:50:49 +03:00
ef7396726f
Fixed bugs related to entity tracer. Added chaseAttacker code that should be run inside tick() to chase last attacker.
BuildTools2021-06-27 00:23:49 +03:00
0ec5e04095
Fixed bug with PacketPlayOutEntityHeadRotation not working on PlayerJoinEvent. Added partially working targeted entity tracing method Added attack(org.bukkit.entity.Entity) method overload DummyPlayers now drop all experience upon death (but no exp on remove command)
BuildTools2021-06-26 21:05:38 +03:00
b631e5cd01
DummyPlayer class was rewritten as extension of NMS EntityPlayer class to allow for better flexibility in adding new features. Removed unnecessary checks on disconnect. Added player ticking and position updating.
v2.3
BuildTools2021-06-26 01:28:49 +03:00