Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PaperMC 1.21 バージョンアップ #108

Open
3 of 6 tasks
zztkm opened this issue Jun 19, 2024 · 6 comments
Open
3 of 6 tasks

PaperMC 1.21 バージョンアップ #108

zztkm opened this issue Jun 19, 2024 · 6 comments

Comments

@zztkm
Copy link
Member

zztkm commented Jun 19, 2024

Minecraft 1.21 で遊べるようにすることを最優先にするために、動かないプラグインは一旦外す方向でいく。

Tasks

  • Paper MC の 1.21 初期対応(動かないプラグインは外す
  • PaperMC の 1.21 正式対応
    • PAPER_CHANNEL 環境変数なしでビルドできる
  • WorldGuard の 1.21 対応 (World Edit も
  • Dynmap
  • Hidden Armor 1.21 対応(自分でがんばらないとだめかも?

memo

  • 荒らし対策プラグインが動かないため、一旦ホワイトリスト形式を継続し、荒らし対策が追いついたら公開状態に変更する。
  • それまでこの issue はトラッキング用として残しておく
@zztkm

This comment was marked as resolved.

@zztkm
Copy link
Member Author

zztkm commented Jun 19, 2024

WorldGuard 死んでそう。一旦外す。

paper  | 2024-06-19T13:01:24.482015825Z [13:01:24 ERROR]: Could not pass event BlockFromToEvent to WorldGuard v7.0.10+d9424b1
paper  | 2024-06-19T13:01:24.482024625Z java.lang.NoClassDefFoundError: Could not initialize class com.sk89q.worldguard.bukkit.util.Materials
paper  | 2024-06-19T13:01:24.482027025Z         at worldguard-bukkit-7.0.10-dist.jar/com.sk89q.worldguard.bukkit.listener.WorldGuardBlockListener.onBlockFromTo(WorldGuardBlockListener.java:114) ~[worldguard-bukkit-7.0.10-dist.jar:?]
paper  | 2024-06-19T13:01:24.482028925Z         at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor80.execute(Unknown Source) ~[?:?]
paper  | 2024-06-19T13:01:24.482030325Z         at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
paper  | 2024-06-19T13:01:24.482032025Z         at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482033725Z         at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
paper  | 2024-06-19T13:01:24.482035325Z         at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482036925Z         at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482038425Z         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
paper  | 2024-06-19T13:01:24.482046325Z         at net.minecraft.world.level.material.FlowingFluid.spreadToSides(FlowingFluid.java:186) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482048125Z         at net.minecraft.world.level.material.FlowingFluid.spread(FlowingFluid.java:157) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482049625Z         at net.minecraft.world.level.material.FlowingFluid.tick(FlowingFluid.java:502) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482051125Z         at net.minecraft.world.level.material.FluidState.tick(FluidState.java:78) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482052625Z         at net.minecraft.server.level.ServerLevel.tickFluid(ServerLevel.java:1148) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482054125Z         at net.minecraft.world.ticks.LevelTicks.runCollectedTicks(LevelTicks.java:192) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482055625Z         at net.minecraft.world.ticks.LevelTicks.tick(LevelTicks.java:89) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482058025Z         at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:674) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482059625Z         at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1733) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482061125Z         at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:471) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482062625Z         at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1538) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482064025Z         at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1246) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482065825Z         at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:01:24.482067425Z         at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
paper  | 2024-06-19T13:01:24.482068925Z Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchFieldError: Class org.bukkit.Tag does not have member field 'org.bukkit.Tag ITEMS_MUSIC_DISCS' [in thread "Server thread"]
paper  | 2024-06-19T13:01:24.482070725Z         at worldguard-bukkit-7.0.10-dist.jar/com.sk89q.worldguard.bukkit.util.Materials.<clinit>(Materials.java:867) ~[worldguard-bukkit-7.0.10-dist.jar:?]
paper  | 2024-06-19T13:01:24.482072425Z         ... 22 more

@zztkm
Copy link
Member Author

zztkm commented Jun 19, 2024

HiddenArmar もダメそうなので、一旦外す。

このプラグイン自体しばらく開発動いていないので、自分で 1.21 対応するのでも良さそう。

https://github.com/Kteq1/HiddenArmor

paper  | 2024-06-19T13:08:21.633792561Z [13:08:21 INFO]: [HiddenArmor] Disabling HiddenArmor v1.1.2
paper  | 2024-06-19T13:08:21.636730061Z [13:08:21 ERROR]: Error occurred while disabling HiddenArmor v1.1.2
paper  | 2024-06-19T13:08:21.636749361Z java.lang.NullPointerException: Cannot invoke "me.kteq.hiddenarmor.manager.HiddenArmorManager.saveCurrentEnabledPlayers()" because "this.hiddenArmorManager" is null
paper  | 2024-06-19T13:08:21.636752061Z         at 100374.jar/me.kteq.hiddenarmor.HiddenArmor.onDisable(HiddenArmor.java:70) ~[100374.jar:?]
paper  | 2024-06-19T13:08:21.636753961Z         at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
paper  | 2024-06-19T13:08:21.636755761Z         at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:237) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:08:21.636757561Z         at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugin(PaperPluginManagerImpl.java:114) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:08:21.636759561Z         at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:550) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
paper  | 2024-06-19T13:08:21.636761461Z         at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:206) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:08:21.636763261Z         at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:08:21.636765161Z         at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
paper  | 2024-06-19T13:08:21.636766861Z         at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:629) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:08:21.636768461Z         at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:578) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:08:21.636770161Z         at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:690) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:08:21.636771861Z         at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:452) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:08:21.636773461Z         at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:327) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:08:21.636775161Z         at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1157) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:08:21.636777161Z         at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[paper-1.21.jar:1.21-9-4ea696f]
paper  | 2024-06-19T13:08:21.636779661Z         at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

@zztkm

This comment was marked as resolved.

zztkm added a commit that referenced this issue Jun 19, 2024
@zztkm
Copy link
Member Author

zztkm commented Jun 21, 2024

WorldEdit のテスト版に 1.21 対応が来てる 👀

https://builds.enginehub.org/job/worldedit

これが落ち着いたら、次は WorldGuard がくるはず

@zztkm
Copy link
Member Author

zztkm commented Jul 21, 2024

荒らし対策プラグインの導入と利用方法のドキュメント化を正式に進める。

まずは fukakoro さんに OP 権限を渡す

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

No branches or pull requests

1 participant