48 Commits
Author SHA1 Message Date
MrTransistor fcf1a877b6 Merge remote-tracking branch 'origin/master' 2023-10-02 03:32:07 +03:00
MrTransistor e391884484 Added shooting correction for target speed 2023-10-02 03:31:52 +03:00
Mr Transistor f48dd3c4d1 Delete .github/workflows directory 2023-08-11 21:38:40 +03:00
Mr Transistor 64991b21fd Create gradle-publish.yml 2023-08-11 21:36:13 +03:00
MrTransistor e410ee8d09 Version bump 2023-08-11 21:30:54 +03:00
MrTransistor 7d212a4c30 Code cleanup 2023-08-11 21:26:19 +03:00
MrTransistor ba1f3a1d89 Code cleanup 2023-08-11 21:26:12 +03:00
MrTransistor 4d04e75f01 Code cleanup 2023-08-11 21:26:03 +03:00
MrTransistor 86df28a1b4 Code cleanup. Fixed bug with bots still being on fire when respawned after death 2023-08-11 21:21:24 +03:00
BuildTools 6d6bde5daf Update to 1.19.4. IP address fix 2023-08-09 05:21:30 +03:00
MrTransistor 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
2022-08-19 19:25:20 +03:00
MrTransistor 6c44745317 Added more WIP pathfinding stuff 2022-04-15 22:45:03 +03:00
MrTransistor 85884dfb42 Merge remote-tracking branch 'main/master' 2022-04-07 01:10:22 +03:00
MrTransistor 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
2022-04-07 01:07:53 +03:00
MrTransistor 3fcfacd74e [+] 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
[+] /afkutils controlBot changed to /afkutils control
2022-04-07 01:04:25 +03:00
MrTransistor 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.
2022-04-06 01:11:49 +03:00
MrTransistor 585696552a [-] move xp calculation to DummyPlayer#die() - can`t 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 there`s 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
2022-04-03 01:41:51 +03:00
MrTransistor 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
2022-03-03 03:57:10 +03:00
MrTransistor 79e1ab20f3 NMS 1.18.1 update. Moved to Gradle project. Added remapping script for Mojang mappings. v2.6.1 2022-02-03 11:38:47 +03:00
BuildTools 187efe22bd Updated NMS to 1.17.1 2021-07-29 16:11:12 +03:00
BuildTools 6bf6cbab8f API version update in plugin.yml v2.5 2021-06-29 19:26:27 +03:00
BuildTools 7da67a8d19 Removed unnecessary stuff 2021-06-29 19:24:43 +03:00
BuildTools 93a6a3437c Version update 2021-06-29 19:22:07 +03:00
BuildTools cb394b6b46 1.17 update 2021-06-29 19:21:44 +03:00
BuildTools 9f7947154d Merge remote-tracking branch 'main/master'
# Conflicts:
#	src/plugin.yml
2021-06-29 19:21:32 +03:00
BuildTools 37efb669e9 1.17 update 2021-06-29 19:21:05 +03:00
Mr Transistor 2d0d338600 Update plugin.yml 2021-06-27 20:55:05 +03:00
BuildTools fc66f19b4b Added description for /afkutils command v2.4 2021-06-27 19:03:58 +03:00
BuildTools 3dda5a8222 Added "Copy to clipboard" action to UUID string in chat when spawning bot 2021-06-27 18:25:01 +03:00
BuildTools 6f0118af86 Updated license notes v2.4.pre1 2021-06-27 16:48:30 +03:00
BuildTools 2eb5e3087a Added FoodLevelChangeEvent cancelling for bots 2021-06-27 16:46:20 +03:00
BuildTools e7b5f1a674 Added entity ticking toggle for bots 2021-06-27 16:17:41 +03:00
BuildTools 392933cc69 Merge remote-tracking branch 'main/master' 2021-06-27 13:51:04 +03:00
BuildTools 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.
2021-06-27 13:50:49 +03:00
Mr Transistor bf06d3f287 Update issue templates 2021-06-27 00:48:28 +03:00
Mr Transistor 5137d86eab Update LICENSE 2021-06-27 00:42:47 +03:00
BuildTools f39b721ee4 Merge remote-tracking branch 'main/master' 2021-06-27 00:42:10 +03:00
BuildTools 75108de19b Added GNU GPLv3 license notes 2021-06-27 00:41:48 +03:00
Mr Transistor d487993e6d Create LICENSE 2021-06-27 00:33:38 +03:00
BuildTools b941a42948 Removed unnecessary imports 2021-06-27 00:28:11 +03:00
BuildTools ef7396726f Fixed bugs related to entity tracer.
Added chaseAttacker code that should be run inside tick() to chase last attacker.
2021-06-27 00:23:49 +03:00
BuildTools b815afbf6a Merge remote-tracking branch 'main/master' 2021-06-26 21:06:05 +03:00
BuildTools 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)
2021-06-26 21:05:38 +03:00
Mr Transistor 251004d491 Update README.md 2021-06-26 01:35:15 +03:00
BuildTools 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 2021-06-26 01:28:49 +03:00
Mr Transistor 8aadebbda6 Create README.md 2021-06-25 18:43:46 +03:00
BuildTools fb6f8a457e Added gitignore 2021-06-25 18:17:51 +03:00
BuildTools ac918d794c Initial commit 2021-06-25 18:15:28 +03:00