#1. Stability & Fixes (Security)
- Asynchronous License System: License verification no longer freezes the server on startup (asynchronous callback).
- Redis Security: Protection against crashes if the Redis server is offline.
- NMS Thread-Safety: Bot injection (EntityPlayer) is now forced onto the "Main Thread" to prevent physics-related crashes.
- Robust Cleanup: New system for forced bot disconnection when the plugin shuts down (eliminates "ghost players").
#2. Performance Optimizations (Scalability)
- Smooth NMS Movement: Replaced
teleportwithabsMoveTovia NMS. Bots now move smoothly instead of stuttering.- Batch Processing (Worker Pattern): AI processes bots in batches of 10 per tick to smooth CPU load and maintain 20 TPS.
- Collision Cache: Caching system for block heights (HeightMap), refreshed every 5 minutes.
- Asynchronous Saving: Bot data files (
.json) are written in the background without blocking the server.
#3. Artificial Intelligence & Realism (Immersion)
- Fake Ping System: Realistic latency fluctuations in the tab list (+/- 10ms random).
- Movement Recorder (
/abyss record): Record your own movements and replay them on any bot.- Random Equipment: Bots automatically equip armor/items based on their configured rank.
- Faction Behavior: Bots from the same faction group together and follow each other to simulate teams.
- Interaction Reactions: Bots react when hit (messages, fleeing, aggressive stares).
#4. New Features & Customization
- Dynamic Population: Automatic curve that adjusts the number of bots based on time (peak in the evening) and day (weekends).
- RGB / Hex Support: Integration of
<#RRGGBB>format everywhere (chat, names, logs) for a modern look.- Dynamic Placeholders: Bots can reference the name, health, or hunger of the nearest real player in their messages.
- messages.yml: Centralization of all texts for easy translation.
- Config Validation: Automatic detection of errors in bot spawn coordinates.
##5. Administration & API
/abyss killallCommand: Instantly disconnects all active bots.- Developer API: Creation of
AbyssBotJoinEventandAbyssBotLeaveEvent.- API Documentation: New
tuto.mdfile included to help third-party developers.
