9
0
mirror of https://github.com/BX-Team/DivineMC.git synced 2026-01-04 15:31:43 +00:00

Implement Linear region

This commit is contained in:
NONPLAYT
2023-12-29 03:05:10 +03:00
parent 4071363766
commit 2058f2d662
5 changed files with 1520 additions and 23 deletions

View File

@@ -14,7 +14,7 @@
- **DivineMC is a fork of [Purpur](https://github.com/PurpurMC/Purpur)** designed for configurability, new fun and exciting gameplay features.
- **Contains [Lithium](https://github.com/CaffeineMC/lithium-fabric) patches** that optimizing many areas in game.
- **Contains** some PaperMC pull requests patches.
- **Implements** Linear region support.
- **Bug fixes** for several Minecraft issues.
- **Plugin compatibility** with Spigot & Paper plugins.

View File

@@ -35,15 +35,14 @@ Global settings affect all worlds on the server as well as the core server funct
- **default**: false
- **description**: Sets whether the server should dump all configuration values to the server log on startup (this maybe not working)
### config-version
- **Do not change this for any reason!** DivineMC uses this internally to help automatically update your config
### settings
#### do-not-process-chat-commands
- **default**: true
- **description**: This function disables chat/commands processing when a player joins the server
### region-format
- #### linear
- ##### flush-frequency
- **default**: 10
- **description**: Time in seconds after which chunks will be flushed
- ##### flush-max-threads
- **default**: 1
- **description**: Maximum number of threads for flushing chunks
## world-settings
@@ -51,22 +50,29 @@ World settings are on a per-world basis. The child-node `default` is used for al
For a more clear explanation of the world settings section of the config, feel free to read through Paper's explanation here: https://docs.papermc.io/paper/per-world-configuration
### region-format
- #### format
- **default**: ANVIL
- **description**: 2 types available: [ANVIL](https://minecraft.wiki/w/Anvil_file_format) and [LINEAR](https://github.com/xymb-endcrystalme/LinearRegionFileFormatTools?tab=readme-ov-file#linear-region-file-format-for-minecraft)
- #### linear
- ##### compression-level
- **default**: 1
- **description**: Compression ratio of the region files
- ##### crash-on-broken-symlink
- **default**: true
- **description**: Server crashes if the symlink is broken/damaged
### gameplay-mechanics
- #### boat
- ##### dont-eject-players-from-boat-underwater
- **default**: true
- **description**: Players can't be ejected from boat underwater
- ##### always-allow-to-enter-the-boat
- **default**: true
- **description**: Player can enter the boat anywhere
- #### mob
- ##### shulker
- ##### despawn-bullets-on-player-death
- **default**: true
- **description**: If player is dead from shulker - bullets disappering for optimization
- #### boat
- ##### dont-eject-players-from-boat-underwater
- **default**: true
- **description**: Players can't be ejected from boat underwater
- ##### always-allow-to-enter-the-boat
- **default**: true
- **description**: Player can enter the boat anywhere

View File

@@ -11,7 +11,7 @@ DivineMC is the fork of Purpur compatible with Spigot plugins, offering the best
- **DivineMC is a fork of [Purpur](https://github.com/PurpurMC/Purpur)** designed for configurability, new fun and exciting gameplay features.
- **Contains [Lithium](https://github.com/CaffeineMC/lithium-fabric) patches** that optimizing many areas in game.
- **Contains** some PaperMC pull requests patches.
- **Implements** Linear region support.
- **Bug fixes** for several Minecraft issues.
- **Plugin compatibility** with Spigot & Paper plugins.

View File

@@ -6,6 +6,7 @@ Subject: [PATCH] Paper PR - Optimize Varints
Original license: GPLv3
Original project: https://github.com/PaperMC/Velocity
Paper pull request: https://github.com/PaperMC/Paper/pull/8418
UPD: it will be added back as soon as I figure out the minecraft network
diff --git a/src/main/java/gq/bxteam/divinemc/configuration/DivineConfig.java b/src/main/java/gq/bxteam/divinemc/configuration/DivineConfig.java
index 512afaa97e89e3beb92cf2ebc46248eddd22cf5c..50878e4948df45bc2928edbe373be639d133060f 100644

File diff suppressed because it is too large Load Diff