add some more exploit fixes

This commit is contained in:
2023-04-17 18:54:14 +02:00
parent 3df85b4c74
commit f76cb358b3
+27
View File
@@ -8,6 +8,33 @@ find mods that fix them on those loaders.
## Exploits ## Exploits
### Armor stand lag machines
Armor stands can be used to create lag machines. This is done by placing huge amounts of armor stands and forcing them
to move via water, pistons or other means. This can be fixed by disabling armor stand tick and collision lookups. This
will cause armor stands to not being able to be pushed or pulled (even by gravity).
`paper-world-defaults.yml`
```yaml
entities:
armor-stands:
do-collision-entity-lookups: false
tick: false
```
### Collision lag machines
This exploit is similar to the armor stand one, but instead of armor stands, it uses entities that can be pushed by
other entities. This can be fixed by setting a smaller limit on how many entities can collide with a singular entity.
You can set the max-entity-collisions to 2 to still have relatively natural behavior, or set it to 0 to completely
disable collisions.
`paper-world-defaults.yml`
```yaml
collisions:
max-entity-collisions: 2
```
### Command spam ### Command spam
While even spigot will protect you from this exploit, there's a slight oversight that will enable a single command to be While even spigot will protect you from this exploit, there's a slight oversight that will enable a single command to be