Join our Discord to obtain a license key and receive support: https://discord.gg/xJFw9HyMgs
SmartAntiLag is a multithreaded and asynchronous plugin designed to optimize and eliminate lag from your server. The plugin allows you to customize various activities that occur in the world in a diverse manner, helping optimize the process of lag elimination.
Requirements:
- Java 8+
- Server version 1.9+
- Bukkit/Spigot/Folia is not supported.
Dependencies:
- PlaceholderAPI plugin. (Optional)
- SmartAntiLag-Discord-API plugin. (Optional)
Features:
1. EntityCleaner -> Cleans up entities in the world.
2. EntityLimiter -> Limits the number of entities per chunk and across all worlds.
3. BlockLimiter -> Limits the number of blocks per chunk.
4. RedstoneControl -> Limits the number of times redstone is activated during a period and the number of blocks a piston can push.
5. AntiLavaCast -> Prevents Lavacast by not generating COBBLESTONE when water touches lava.
6. LagDetector: ⭣ (Can be activated only when the server is lagging)
- EventHandler: Enable or disable world events.
- WorldOptimizer: Unloads unused chunks, set simulationDistance, viewDistance, randomTickSpeed,....
- LivingEntityAI: Enable or disable the AI of living entities in the world.
- Alert: Notifies all players that the server is lagging, takes measures to reduce lag, and saves a log file with server statistics and the number of specific entities in each world. (Alerts can be sent to Discord)
7. CheckUUID: Saves and checks the player's UUID upon each login. If it differs from the stored UUID, access will be denied. (Fixes some exploits)
Commands and Permissions:
* Commands:
- /smartantilag clear : smartantilag.command.clear
- /smartantilag ramclean : smartantilag.command.ramclean
- /smartantilag redstonecontrol : smartantilag.command.redstonecontrol
- /smartantilag reload : smartantilag.command.reload
- /smartantilag stats : smartantilag.command.stats
- /smartantilag unloadchunks : smartantilag.command.unloadchunks
- /smartantilag writelogs : smartantilag.command.writelogs
* Others:
- BypassAntiTeleportEvent : smartantilag.events.bypass.antiteleport
- BypassAntiPlayerLoginEvent : smartantilag.events.bypass.antiplayerlogin
- BypassAntiPlayerDropItemEvent : smartantilag.events.bypass.antiplayerdropitem
- BypassAntiBlockPlaceEvent : smartantilag.events.bypass.antiblockplace
- BypassAntiBlockBreakEvent : smartantilag.events.bypass.antiblockbreak
- BypassAntiElytraEvent : smartantilag.events.bypass.antielytra
- BypassAntiElytraBoostEvent : smartantilag.events.bypass.antielytraboost
- CheckUpdate : smartantilag.checkupdate
Placeholders:
- %SmartAntiLag_getCurrentTPS% : Current TPS of the server.
- %SmartAntiLag_getCurrentMSPT% : Current MSPT of the server.
- %SmartAntiLag_getCurrentCPU% : Current CPU of the server.
- %SmartAntiLag_getAVGPing% : Average ping of all players.
- %SmartAntiLag_autoRemoval_getRemainingTime% : Remaining time of automatic entity cleanup.