PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
9.67k stars 2.25k forks source link

Restarting the server delete symbolic link .jar #11133

Closed Olthoo closed 1 month ago

Olthoo commented 1 month ago

Expected behavior

I would expect the links to stay after booting the server

Observed/Actual behavior

In the process of loading the server, the remapper deleted any symbolic link using the .jar extension

Steps/models to reproduce

make a symbolic link to a plugin used by the server

(exemple : ln -s /home/ubuntu/minecraft/shared/Citizens.jar /home/ubuntu/minecraft/hub/Citizens.jar )

start the server

Plugin and Datapack List

Not really related to pl or dp but here : [14:32:11 INFO]: Bukkit Plugins: (25): [14:32:11 INFO]: - Citizens, DecentHolograms, DeluxeMenus, Essentials, EssentialsSpawn, FastAsyncWorldEdit, Infiniteannouncements, IP, ItemJoin, ItemsAdder [14:32:11 INFO]: LoneLibs, LPC, LuckPerms, ModelEngine, PlaceholderAPI, *PlayTime, PluginPortal, ProtocolLib, SkinsRestorer, TAB [14:32:11 INFO]: Vault, ViaBackwards, ViaVersion, WorldEditSelectionVisualizer, WorldGuard

[14:32:45 INFO]: There are 3 data pack(s) enabled: [vanilla (built-in)], [file/bukkit (world)], [paper (built-in)] [14:32:45 INFO]: There are no more data packs available

Paper version

[14:33:14 INFO]: Checking version, please wait... [14:33:14 INFO]: Current Purpur Version: 1.21-2271-032697e (MC: 1.21)*

Other

Feel free to contact me on discord ( olthoo ) for any clarifications https://mclo.gs/kTzlmze image

Olthoo commented 1 month ago

infos are about a purpur server but it's a paper issue. I will reupload infos from a paper test server but I really don't think it's necessary

electronicboy commented 1 month ago

My testing server is primarily a server using symlinked jars and I've never had such an issue

Olthoo commented 1 month ago

My testing server is primarily a server using symlinked jars and I've never had such an issue

Here is my logs on a true papermc server

https://mclo.gs/6CUrqlZ

[12:51:12 INFO]: This server is running Paper version 1.21-107-master@aa36ae6 (2024-07-21T10:39:28Z) (Implementing API version 1.21-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21-2247-39617d5 (MC: 1.21)
[12:51:14 INFO]: Server Plugins (12):
[12:51:14 INFO]: Bukkit Plugins:
[12:51:14 INFO]:  - Datapack_reload, Essentials, EssentialsSpawn, LoneLibs, LPC, LuckPerms, PlotSquared, ProtocolLib, Tweakin, ViaBackwards
[12:51:14 INFO]:  ViaVersion, WorldEdit
[12:51:19 INFO]: There are 3 data pack(s) enabled: [vanilla (built-in)], [file/bukkit (world)], [paper (built-in)]
[12:51:19 INFO]: There are no more data packs available
Olthoo commented 1 month ago

Any news or questions about this issue ?

lynxplay commented 1 month ago

Well no one has been able to replicate this yet so. Not much we can do. I'll give it another try but, I don't have much hopes.

lynxplay commented 1 month ago

Yea, tested this even with a plugin that fails the remapping process. Symlinks remain. I'll be closing this as non-replicable. If you have replication steps that work for a minimal setup, feel free to post them here and we can investigate further, but for now no one can replicate your issue, I am sorry.