Releases: Asteroid-Spoofer/AsteroidAPI
Release list
DisconnectAsync
[+] Added disconnectAsync for FakePlayerEntity interface
Removal of monitoring
FullStop update
Addded fullStop() to Movement interface so that when the bot has to FULLY stop (no moonwalk). (Used inside AsteroidFollowPlayer as an example)
Huge API Update
New features:
- Create custom commands that hook into /asteroid extension (your command)
- You can now use asteroid's built-in pathfinding system to create a lot of stuff (including combat O-O) check example/PathingAction.java
- Added ILookController
- Brain for fake players
- MathUtils & LocationUtils
Rename + abstractization
Abstractized ExtensionLifecycle, now it supports custom extension config.yml files, it also contains a getLogger(), getPlugin(), saveDefaultConfig(), getConfig(), basic stuff...
- fully renamed all capital letter folders to small capital letter
1.0.5 Release
FakePlayerTick now uses FakePlayerEntity as parameter instead of a normal Player
1.0.4 Release
Extension System Update Changelog
Major Changes:
- Added proper Extension lifecycle (onLoad, onEnable, onDisable)
- Improved extension loading and management
- Added dependency system for extensions
- Added type-safe extension access
- Better error handling
- Improved resource management
- Removed the need of using Priority annotation for every class
Breaking Changes:
- Extensions must now implement ExtensionLifecycle
- Old extension loading system has been replaced
For Developers
- Added proper cleanup on disable
- Simplified extension API
- Better version compatibility handling
Migration Guide
To update existing extensions:
- Implement ExtensionLifecycle
- Move initialization code to onLoad()
- Move task starting to onEnable()
- Add cleanup code in onDisable()
Updated documentation available in our GitHub repository.
https://docs.spoof.dev/asteroid/api/usage/extension-development-guide
1.0.1 Release
All functions inside FakePlayerSpawn now include FakePlayerEntity for easier use of EntityPlayer/ServerPlayer and actual CraftPlayer