MineYuanlu / yuanluServerDo

一个跨群组服的传送插件
10 stars 2 forks source link

1.19 support #1

Open YrChen1001 opened 2 years ago

YrChen1001 commented 2 years ago

Dose it support paper 1.19?

MineYuanlu commented 2 years ago

I haven't tested all versions one by one, but many servers use 1.19 at present.

No version features are used in the design, so I think it can support any version. If you find any problems in 1.7.10 and later versions, you can tell me.

YrChen1001 commented 2 years ago
[17:31:11 INFO]: [yuanluServerDo] Loading yuanluServerDo v1.2.0-SNAPSHOT
[17:31:11 WARN]: java.nio.file.NoSuchFileException: C:\Server\1.18.2%20-%20Survival1\plugins\yuanluServerDo.jar
[17:31:11 WARN]:        at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
[17:31:11 WARN]:        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
[17:31:11 WARN]:        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
[17:31:11 WARN]:        at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)
[17:31:11 WARN]:        at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)
[17:31:11 WARN]:        at java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:199)
[17:31:11 WARN]:        at java.base/java.nio.file.Files.readAttributes(Files.java:1851)
[17:31:11 WARN]:        at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1264)
[17:31:11 WARN]:        at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:709)
[17:31:11 WARN]:        at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:243)
[17:31:11 WARN]:        at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:172)
[17:31:11 WARN]:        at java.base/java.util.jar.JarFile.<init>(JarFile.java:347)
[17:31:11 WARN]:        at java.base/java.util.jar.JarFile.<init>(JarFile.java:318)
[17:31:11 WARN]:        at java.base/java.util.jar.JarFile.<init>(JarFile.java:257)
[17:31:11 WARN]:        at yuanluServerDo.jar//yuan.plugins.serverDo.bukkit.PackageUtil.getClassNameByJar(PackageUtil.java:104)
[17:31:11 WARN]:        at yuanluServerDo.jar//yuan.plugins.serverDo.bukkit.PackageUtil.getClassName(PackageUtil.java:54)
[17:31:11 WARN]:        at yuanluServerDo.jar//yuan.plugins.serverDo.bukkit.cmds.CommandManager.init(CommandManager.java:76)
[17:31:11 WARN]:        at yuanluServerDo.jar//yuan.plugins.serverDo.bukkit.Main.onLoad(Main.java:309)
[17:31:11 WARN]:        at org.bukkit.craftbukkit.v1_19_R1.CraftServer.loadPlugins(CraftServer.java:427)
[17:31:11 WARN]:        at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:278)
[17:31:11 WARN]:        at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1122)
[17:31:11 WARN]:        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:303)
[17:31:11 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)
MineYuanlu commented 2 years ago

This error was fixed in the 1.2.0-SNATHOST-5 version and later because the file path contains special characters (spaces, brackets, etc., which are caused by spaces here)

YrChen1001 commented 2 years ago

Which version should I use? bungee cord and paper. image

MineYuanlu commented 2 years ago

Which version should I use? bungee cord and paper.

You can only download yuanluServerDo-bukkit-bungeecord-1.2.0-SNATHOST-7.jar, and then use this file on bungeerecord and paper

Or you can download yuanluServerDo-bungeecord-1.2.0-SNATHOST-7.jar and yuanluServerDo-bukkit-1.2.0-SNATHOST-7.jar for bungeerecord and paper respectively

YrChen1001 commented 2 years ago

is that will cover essentials 's command when server restart?

MineYuanlu commented 2 years ago

is that will cover essentials 's command when server restart?

There are different situations: If you restart the server completely or use the reload command to restart the plug-in only, there is no problem. However, if a third-party plug-in manager is used, it will not work without full reloading.

YrChen1001 commented 2 years ago

when player use command , won't show player name. how can show player name with tabcomplete? and /back command always time out, then player cant back to last location but it still send a message to player and say succeese to back.

MineYuanlu commented 2 years ago

Under normal circumstances, there is a player name completion feature. Can you provide your contact information? I need to collect error information. As for the /back feature, it really cannot be used and may be repaired in the future, but I am busy with other things at present.

YrChen1001 commented 2 years ago

But player name didn't display on tab-complete

Discord:Patronsaint1#4337 WeChat:yrchen1001