Skip to content

Folia 26.1.2 Support#25

Open
DeL1TMe wants to merge 12 commits into
funniray:mainfrom
DeL1TMe:main
Open

Folia 26.1.2 Support#25
DeL1TMe wants to merge 12 commits into
funniray:mainfrom
DeL1TMe:main

Conversation

@DeL1TMe
Copy link
Copy Markdown

@DeL1TMe DeL1TMe commented Apr 21, 2026

No description provided.

AltronMaxX and others added 11 commits February 16, 2025 03:50
(JM is not working, as I know :) )
This reverts commit 02ca70a.
… handling

- Added new plugin message channels for JourneyMap and Xaeros integration.
- Refactored player join handling to send initial state and permissions.
- Introduced a method for sending multiple plugin messages at once.
- Updated JMHandler to manage multiplayer options and admin requests more effectively.
- Improved version handling and permissions management for players.
- Enhanced VoxelHandler and XaerosHandler to support new configuration options.
- Updated Gradle wrapper to version 9.4.1 and adjusted dependencies for compatibility.
- Refined Spigot integration to ensure proper task scheduling and player message handling.
- Added plugin.yml for Spigot plugin metadata and permissions configuration.
Copy link
Copy Markdown
Owner

@funniray funniray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also rebase/merge this PR on the current git history


public void handleMPOptions(MinimapPlayer player, byte[] message) {
if (message.length > 0) {
player.sendMessage(MiniMessage.miniMessage().deserialize("<red>Saving JourneyMap multiplayer options is not implemented."));
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the point in even implementing this packet if we're not saving the data?

case "mp_options_req":
handleMPOptions(player, message);
break;
case "common":
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't blatantly remove support for 1.16 versions. At the very least, we should still be sending permissions.

}

private void writeCurrentNbt(CompoundBinaryTag tag, ByteArrayDataOutput out) throws IOException {
BinaryTagIO.writer().writeNameless(tag, out);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On versions before 1.20.3, we should just call .write() instead of .writeNameless()

Comment thread common/build.gradle.kts
repositories {
mavenCentral()
maven {
url = uri("https://repo.papermc.io/repository/maven-public/")
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

common should not depend on paper at all.

Comment thread common/build.gradle.kts
}

val javaTarget = 8 // Sponge targets a minimum of Java 17
val javaTarget = 25
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should stay on Java 8, or 17 at most

if (player.isOnline()) {
this.handlePlayerJoinedRepeat(new SpigotPlayer(player));
}
}, null, 40L, 40L);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sending plugin messages every 2 seconds?

Comment thread spigot/build.gradle.kts
}

val javaTarget = 11
val javaTarget = 25
Copy link
Copy Markdown
Owner

@funniray funniray Apr 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should keep the requirements as spigot 1.16 and java 11 as a minimum.

Comment thread spigot/build.gradle.kts
exclude("org/apache/commons/**")
exclude("org/yaml/snakeyaml/**")
archiveBaseName.set("${rootProject.name}-spigot")
archiveBaseName.set("minimap-control-folia")
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be explicitly named folia

Comment thread gradlew
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we shouldn't remove the gradle wrapper

Comment thread settings.gradle.kts
rootProject.name = "minimap"
include("common")
include("sponge")
//include("sponge")
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we shouldn't remove sponge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants