add join spam

This commit is contained in:
2023-04-17 19:18:57 +02:00
parent f76cb358b3
commit 01aee9ab4c
+20
View File
@@ -46,6 +46,26 @@ commands:
spam-exclusions: [] spam-exclusions: []
``` ```
### Join spam
Sometimes shear quantity of players joining the server can cause the server to lag out. This is especially true for bot
attacks and moments after server restart. This can be fixed by setting max joins per tick. Players joining will be
delayed in time so server can properly tick between handling them. If joins still overwhelm the server, you can also
enable max-joins-per-second in purpur.yml that will make it so value from paper config will be applied per second
instead of per tick.
`paper-global.yml`
```yaml
misc:
max-joins-per-tick: 3
```
`purpur.yml`
```yaml
settings:
network:
max-joins-per-second: true
```
### Treasure search ### Treasure search
When new treasure map is generated, usually via cartographer villager or opening a chest with treasure map in it, the When new treasure map is generated, usually via cartographer villager or opening a chest with treasure map in it, the