diff --git a/readme.md b/readme.md index 84ed43a..49c9236 100644 --- a/readme.md +++ b/readme.md @@ -46,6 +46,26 @@ commands: 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 When new treasure map is generated, usually via cartographer villager or opening a chest with treasure map in it, the @@ -76,7 +96,7 @@ world-settings: #### Option 2 -Alternatively, you can keep the maps enabled, but set up vanilla worldborder and make sure your world is pregenerated +Alternatively, you can keep the maps enabled, but set up vanilla world border and make sure your world is pregenerated within the border. Then you can just make sure that already discovered treasures are valid as the search result. This will prevent the treasure search from loading chunks that are not generated.