Author SHA1 Message Date
NotAlexNoyle 4ee29a9d82 Exclude CODEOWNERS from language statistics 2026-10-29 16:18:55 -04:00
NotAlexNoyle e3f9505144 Add CODEOWNERS (one staff approval) 2026-10-29 16:18:55 -04:00
NotAlexNoyle dd805b2c4c Update core 2026-10-08 17:30:53 -04:00
NotAlexNoyle f639b13527 Update core 2026-09-16 11:40:52 -04:00
NotAlexNoyle 7f93f43538 Update core 2026-09-14 19:55:55 -04:00
NotAlexNoyle 5ecb83cd32 Update core 2026-09-14 11:28:59 -04:00
NotAlexNoyle 8bea16af0c Update core 2026-09-14 00:13:05 -04:00
NotAlexNoyle 3e627c4f3e Update core 2026-09-12 19:03:21 -04:00
NotAlexNoyle 2a8b6c8ebe Update core 2026-09-12 17:09:57 -04:00
NotAlexNoyle 050fb29b85 Update core 2026-09-10 13:14:32 -04:00
NotAlexNoyle 2285890116 Update core 2026-08-24 10:37:53 -04:00
NotAlexNoyle 77f5170adb Update core 2026-08-19 10:01:42 -04:00
NotAlexNoyle 3eff6cd72d Update core 2026-08-15 10:13:22 -04:00
NotAlexNoyle 4173f2c12a Update core 2026-08-11 23:25:56 -04:00
NotAlexNoyle e39933e086 Update core 2026-08-09 22:19:13 -04:00
NotAlexNoyle ec907cfbe6 Update core 2026-08-09 11:13:56 -04:00
NotAlexNoyle 245c02f588 Update core 2026-08-09 10:00:32 -04:00
NotAlexNoyle aa9e04fd2f Update core 2026-08-07 13:01:40 -04:00
NotAlexNoyle f5bf79b0f7 Update core 2026-08-05 12:25:21 -04:00
NotAlexNoyle df2a9bf7be Update core 2026-08-03 10:05:05 -04:00
NotAlexNoyle 255490458e Update core 2026-08-01 17:01:40 -04:00
NotAlexNoyle e78d65d1ac Update core 2026-07-29 11:20:21 -04:00
NotAlexNoyle 87867e623b Update core 2026-07-27 09:10:05 -04:00
NotAlexNoyle 89d6dae3e9 Update core 2026-07-27 06:52:11 -04:00
NotAlexNoyle d2a9ffbe33 Update core 2026-07-26 09:15:16 -04:00
NotAlexNoyle 1a1c2b0dba Update core 2026-07-24 12:48:15 -04:00
NotAlexNoyle cad2e19e74 Update core 2026-07-23 18:56:36 -04:00
NotAlexNoyle c172275950 Update core 2026-07-22 09:14:15 -04:00
NotAlexNoyle fcb1a05867 Update core 2026-07-20 00:44:57 -04:00
NotAlexNoyle 94f2254007 Update core 2026-07-18 18:27:16 -04:00
NotAlexNoyle 75d46368a5 Update core 2026-07-18 10:56:14 -04:00
NotAlexNoyle e0347f8f46 Update core 2026-07-15 10:23:40 -04:00
NotAlexNoyle ebed48f48a Update core 2026-07-13 15:40:49 -04:00
NotAlexNoyle 09901d58e9 Update core 2026-07-12 17:05:48 -04:00
NotAlexNoyle 6d4edcb51f Update core 2026-07-08 08:50:17 -04:00
NotAlexNoyle e6a539223b Update core 2026-06-24 11:41:26 -04:00
NotAlexNoyle 11abd2659d Update core 2026-06-21 20:32:54 -04:00
NotAlexNoyle ed2bf0d8d8 Update core 2026-06-21 08:52:48 -04:00
NotAlexNoyle b3c83308a9 Update core 2026-06-18 14:54:49 -04:00
NotAlexNoyle 4719b2291b Update core 2026-06-17 10:03:53 -04:00
NotAlexNoyle be2fe7d135 Update core, update config 2026-06-17 05:06:05 -04:00
NotAlexNoyle 868c84685c Update core 2026-06-15 00:34:15 -04:00
NotAlexNoyle f9caa2b83a Update core 2026-06-13 15:58:15 -04:00
NotAlexNoyle 92547f33f5 Update core 2026-06-13 10:50:16 -04:00
NotAlexNoyle 7b4029512e Update core 2026-06-08 09:30:30 -04:00
NotAlexNoyle 14154d693a Update core 2026-06-07 08:40:22 -04:00
NotAlexNoyle 286bccdb5a Update core 2026-06-06 11:13:46 -04:00
NotAlexNoyle bf7c2d0e82 Update core 2026-06-04 14:33:29 -04:00
NotAlexNoyle 162dd9d31e Update core 2026-06-03 18:00:54 -04:00
NotAlexNoyle b3a03b1421 Update core 2026-06-01 15:00:28 -04:00
NotAlexNoyle 82af055a04 Update core 2026-05-31 10:58:48 -04:00
NotAlexNoyle fc386b057c Update core 2026-05-24 12:30:50 -04:00
NotAlexNoyle f364e834f9 Update core 2026-05-21 10:56:57 -04:00
NotAlexNoyle 15ecdc6de5 Update core 2026-05-20 05:06:20 -04:00
NotAlexNoyle 3ec982ab54 Update core 2026-05-17 22:44:06 -04:00
NotAlexNoyle d7ab0c6b69 Update core 2026-05-15 11:41:34 -04:00
NotAlexNoyle 4a44064e4b Update core 2026-05-14 17:46:48 -04:00
NotAlexNoyle 4c8f21e172 drops touched-LOD entries for worlds that have already unloaded (myworlds support) 2026-05-11 04:18:26 -04:00
NotAlexNoyle 05b2fb0b21 Update core 2026-05-04 12:34:30 -04:00
NotAlexNoyle 3682aa9b2c Update core 2026-05-04 02:13:48 -04:00
NotAlexNoyle 906a08a4d5 Update core 2026-04-30 09:18:50 -04:00
NotAlexNoyle cff5b5a74e Update core 2026-04-28 09:34:13 -04:00
NotAlexNoyle f038e26663 Update core 2026-04-24 09:15:14 -04:00
NotAlexNoyle 5901f9829f Update core 2026-04-23 09:55:16 -04:00
NotAlexNoyle 4b1a04dc42 Update core 2026-04-22 16:19:25 -04:00
NotAlexNoyle 9c3746790a Update core 2026-04-22 13:14:27 -04:00
NotAlexNoyle 8a0f20bd95 Update core 2026-04-22 07:09:16 -04:00
NotAlexNoyle e76afe5d6a Update core 2026-04-21 10:56:04 -04:00
NotAlexNoyle e2fdbec6cf Update core 2026-04-20 01:47:11 -04:00
NotAlexNoyle f6bcb08b7a Use live TrueOG Network config.yml 2026-04-15 07:05:53 -04:00
NotAlexNoyle 79e8da3f78 Update core 2026-04-15 07:01:01 -04:00
NotAlexNoyle 2814a07cc8 Disable update checker 2026-04-13 07:21:07 -04:00
NotAlexNoyle af241821c7 Update core 2026-04-13 03:46:15 -04:00
NotAlexNoyle 52848cea3d Update core 2026-04-11 13:50:46 -04:00
NotAlexNoyle ceb3a13bde Update core 2026-04-11 12:57:28 -04:00
NotAlexNoyle 7036e9fdab Update core 2026-04-10 15:27:38 -04:00
NotAlexNoyle cecb6e6af2 Update core 2026-04-08 12:51:31 -04:00
NotAlexNoyle 3c4af4cda2 Update core 2026-03-27 11:05:04 -04:00
NotAlexNoyle 1ee5497c8c Update core 2026-03-24 11:21:23 -04:00
NotAlexNoyle a3b4166e58 Update core 2026-03-23 04:04:45 -04:00
NotAlexNoyle c0ca37f73b Update core 2026-03-18 10:09:38 -04:00
NotAlexNoyle 23a296e74c Merge pull request #1 from true-og/codex/fix-structuregrowevent-runtime-errors
Handle Bukkit update events that return BlockState values
2026-03-16 06:29:53 -04:00
5 changed files with 45 additions and 15 deletions

No files matched your search

+1
View File
@@ -3,3 +3,4 @@
# are changed when only line endings change.
src/generated/**/.cache/cache text eol=lf
src/generated/**/*.json text eol=lf
.gitea/CODEOWNERS linguist-detectable=false
+3
View File
@@ -0,0 +1,3 @@
# Pull requests request review from the eligible staff team(s).
# One approval from either an Admin or Developer satisfies branch protection.
* @trueog/Admins @trueog/Developers
@@ -131,7 +131,7 @@ public class DhSupport implements Configurable
this.warning("If you understand what this means and would like to disable this warning, set " + DhsConfig.GENERATE_NEW_CHUNKS_WARNING + " to false in your config.");
}
if (this.getConfig().getBool(DhsConfig.CHECK_FOR_UPDATES, true)) {
if (this.getConfig().getBool(DhsConfig.CHECK_FOR_UPDATES, false)) {
this.getScheduler().runOnSeparateThread(() -> {
this.checkUpdates();
return null;
@@ -507,7 +507,16 @@ public class DhSupport implements Configurable
return;
}
this.debug("Touched LOD at " + this.getWorldInterface(worldId).getName() + " " + x + " " + z + (reason == null ? "." : ": " + reason));
WorldInterface world = this.getWorldInterface(worldId);
if (world == null) {
this.debug("Ignoring touched LOD for unloaded world " + worldId + " " + x + " " + z
+ (reason == null ? "." : ": " + reason));
return;
}
this.debug("Touched LOD at " + world.getName() + " " + x + " " + z
+ (reason == null ? "." : ": " + reason));
this.touchedLods.put(key, lodModel);
}
@@ -527,8 +536,18 @@ public class DhSupport implements Configurable
LodModel lodModelToDelete = this.touchedLods.get(key);
this.touchedLods.remove(key);
if (lodModelToDelete == null) {
continue;
}
WorldInterface world = this.getWorldInterface(lodModelToDelete.getWorldId());
if (world == null) {
this.debug("Dropping touched LOD for unloaded world " + lodModelToDelete.getWorldId() + " "
+ lodModelToDelete.getX() + " " + lodModelToDelete.getZ() + ".");
continue;
}
this.debug("Changes detected in " + world.getName() + " " + lodModelToDelete.getX() + " " + lodModelToDelete.getZ() + ".");
this.getLodRepository().lodExistsAsync(lodModelToDelete.getWorldId(), lodModelToDelete.getX(), lodModelToDelete.getZ()).thenAccept((exists) -> {
@@ -574,8 +593,15 @@ public class DhSupport implements Configurable
int playersOutOfRangeCount = 0;
int playersWithoutDhCount = 0;
org.bukkit.World bukkitWorld = Bukkit.getWorld(newLodModel.getWorldId());
if (bukkitWorld == null) {
this.debug("Skipping real-time LOD update for unloaded world " + newLodModel.getWorldId() + ".");
return;
}
// TODO: Don't use Bukkit classes.
for (Player player : Bukkit.getWorld(newLodModel.getWorldId()).getPlayers()) {
for (Player player : bukkitWorld.getPlayers()) {
Configuration playerConfig = this.getPlayerConfiguration(player.getUniqueId());
// No config for this player? Probably not using DH.
+11 -11
View File
@@ -27,7 +27,7 @@ real_time_updates_enabled: true
# How close to an update players have to be in order to receive it.
# Required.
# Default: 128
real_time_update_radius: 128
real_time_update_radius: 256
# Let clients ask for updates to LODs they've previously downloaded.
# Required.
@@ -37,7 +37,7 @@ login_data_sync_enabled: true
# How far away can a player request updates for during login sync?
# Required.
# Default: 128
login_data_sync_radius: 128
login_data_sync_radius: 64
# How many login sync requests can a client send at once?
# Required.
@@ -53,12 +53,12 @@ max_data_transfer_speed: 0
# If you disable this, the plugin will not be able to create LODs in areas where chunks don't already exist.
# Optional.
# Default: true
#generate_new_chunks: false
generate_new_chunks: false
# Show warning during startup if chunk generation is enabled?
# Optional.
# Default: true
#generate_new_chunks_warning: false
generate_new_chunks_warning: true
# How frequently (in seconds) should LODs be updated if world changes are detected?
# Required.
@@ -117,7 +117,7 @@ worlds:
# Enable if your world has floating islands or mountains/structures with large overhangs above sea level.
# Optional.
# Default: false
#scan_to_sea_level: true
scan_to_sea_level: true
# When using the FastOverworldBuilder, should the bottom data point be stretched to the lowest permitted build
# height? This will make the LODs look more complete, and gives a theoretical boost to render performance.
@@ -134,12 +134,12 @@ worlds:
world_nether:
# It might make sense to have a lower view distance in the nether, since visibility will be low simply because of
# the level design anyway.
render_distance: 64
render_distance: 128
# This is a hack to prevent light from shining through ceilings, mostly noticeable on the nether ceiling.
# Only works with the FullBuilder, should only be used with builder_resolution=1, and does have some side effects.
#perform_underglow_hack: true
#builder_resolution: 1
perform_underglow_hack: true
builder_resolution: 1
# List of events that should trigger LOD updates.
# Required.
@@ -166,12 +166,12 @@ update_events:
# Does not affect Folia servers.
# Required.
# Default: 4
scheduler_threads: 4
scheduler_threads: 8
# Should we notify server admins when a new version of the plugin is available?
# Optional.
# Default: true
#check_for_updates: false
# Default: false
check_for_updates: false
# Enable debug logging?
# Optional.