Lag-Creator [Skript] icon

Lag-Creator [Skript] -----

This is a real and simple lag creator. Not a scam.




Version: v1.0.1
I can't launch my server anymore; it's like hell. Please, I think I've lost all my data because of this plugin.

Version: v1.0.1
First review:
I'm not sure if this script is a joke or not, but this is god awful.

Lets start with this bit of code:
```
on player chunk load:
loop all blocks in event-chunk:
if distance between player and loop-block is higher than {@max.Chunk.Distance}:
unload event-chunk
```
A couple things here:
1) Every time a chunk loads, you're looping all 98304 blocks in a chunk, and check distance between player and said block... #OOOOOOOF
2) "unload event-chunk" this doesn't even work as you can't unload a chunk that Minecraft is holding open for a player.
3) This causes an insane amount of lag when moving about. Here look at my console when just moving around a bit on my server:
```
[09:20:12 WARN]: Can't keep up! Is the server overloaded? Running 5819ms or 116 ticks behind
[09:20:30 WARN]: Can't keep up! Is the server overloaded? Running 3160ms or 63 ticks behind
[09:20:41 WARN]: ShaneBee moved too quickly! -8.113926369696856,0.0,11.576833385974169
[09:20:44 WARN]: ShaneBee moved too quickly! -8.653325106948614,3.3656475061981723,13.099624995142221
[09:20:47 WARN]: ShaneBee moved too quickly! -6.133209627121687,1.6556444892650148,10.574986390769482
[09:20:51 WARN]: ShaneBee moved too quickly! -7.720821090042591,0.5568239890178148,12.414737053215504
[09:20:54 WARN]: ShaneBee moved too quickly! -7.829829551279545,2.078246482582088,11.359757155179977
[09:20:58 WARN]: ShaneBee moved too quickly! -6.621594749391079,0.0,13.04050962626934
[09:21:02 WARN]: ShaneBee moved too quickly! -5.5907404981553555,3.564540875082116,13.200104422867298
[09:21:07 WARN]: ShaneBee moved too quickly! -7.081695970147848,0.0,14.082358311861753
[09:21:10 WARN]: ShaneBee moved too quickly! -8.84137438237667,2.078246482582088,15.322166912257671
[09:21:10 WARN]: ShaneBee moved too quickly! -8.314950540661812,1.713744068098066,14.487335182726383
[09:21:18 WARN]: ShaneBee moved too quickly! -7.971213880926371,1.3047980181288494,21.432180147618055
[09:21:34 WARN]: Can't keep up! Is the server overloaded? Running 4476ms or 89 ticks behind
```
And this is just ONE player... I can't imagine what it's like for more players.


This resource should be renamed to "Lag-Creator"

After this, the "dev" responded saying "oops my bad", to which they posted a "new release" claimed to have removed said "fatal code"
The release was not any different and still contains said "fatal code"

Version: 2024-02-13
I'm not sure if this script is a joke or not, but this is god awful.

Lets start with this bit of code:
```
on player chunk load:
loop all blocks in event-chunk:
if distance between player and loop-block is higher than {@max.Chunk.Distance}:
unload event-chunk
```
A couple things here:
1) Every time a chunk loads, you're looping all 98304 blocks in a chunk, and check distance between player and said block... #OOOOOOOF
2) "unload event-chunk" this doesn't even work as you can't unload a chunk that Minecraft is holding open for a player.
3) This causes an insane amount of lag when moving about. Here look at my console when just moving around a bit on my server:
```
[09:20:12 WARN]: Can't keep up! Is the server overloaded? Running 5819ms or 116 ticks behind
[09:20:30 WARN]: Can't keep up! Is the server overloaded? Running 3160ms or 63 ticks behind
[09:20:41 WARN]: ShaneBee moved too quickly! -8.113926369696856,0.0,11.576833385974169
[09:20:44 WARN]: ShaneBee moved too quickly! -8.653325106948614,3.3656475061981723,13.099624995142221
[09:20:47 WARN]: ShaneBee moved too quickly! -6.133209627121687,1.6556444892650148,10.574986390769482
[09:20:51 WARN]: ShaneBee moved too quickly! -7.720821090042591,0.5568239890178148,12.414737053215504
[09:20:54 WARN]: ShaneBee moved too quickly! -7.829829551279545,2.078246482582088,11.359757155179977
[09:20:58 WARN]: ShaneBee moved too quickly! -6.621594749391079,0.0,13.04050962626934
[09:21:02 WARN]: ShaneBee moved too quickly! -5.5907404981553555,3.564540875082116,13.200104422867298
[09:21:07 WARN]: ShaneBee moved too quickly! -7.081695970147848,0.0,14.082358311861753
[09:21:10 WARN]: ShaneBee moved too quickly! -8.84137438237667,2.078246482582088,15.322166912257671
[09:21:10 WARN]: ShaneBee moved too quickly! -8.314950540661812,1.713744068098066,14.487335182726383
[09:21:18 WARN]: ShaneBee moved too quickly! -7.971213880926371,1.3047980181288494,21.432180147618055
[09:21:34 WARN]: Can't keep up! Is the server overloaded? Running 4476ms or 89 ticks behind
```
And this is just ONE player... I can't imagine what it's like for more players.


This resource should be renamed to "Lag-Creator"
-
Author's response
thank you for reporting the problem, i'll fix it right now, sorry for the problem

Resource Information
Author:
----------
Total Downloads: 210
First Release: Feb 14, 2024
Last Update: Feb 14, 2024
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings