noonmaru / tap Goto Github PK
View Code? Open in Web Editor NEWMinecraft library for paper plugins
License: GNU General Public License v3.0
Minecraft library for paper plugins
License: GNU General Public License v3.0
현제, tap
을 사용할 방법이 어디에도 나와있지 않습니다.
tap
에 대한 간단한 설명이라도, 'README.md' 나 Wiki에 추가해주시거나, javadoc 를 만들어주실수 있을까요?
README.md에 https://github.com/noonmaru/tap-sample-plugin
해당 주소 추가 부탁드립니다.
Tested with the debug code from 5d851f8#diff-2413683f99c5a38e41a007146e33970e with the minor change (due to api change).
v1_14_R1, v1_15_R1 works as expected, but v1_13_R2, v1_16_R1 throws Exception (v1_13_R1 removed due to incompatibility 35d6684 incl. BoundingBox, added on 1.13.1 Bukkit.)
v1_13_R2 throws a ambiguous error: ThrownPotion entity <integer> has no item?!
. The armor stand with the Head Equipment spawned normally, but relative move didn't work.
v1_16_R1 exception seems to be caused by protocol. ProtocolLib for 1.16.1 is under development, so I think we should wait for it. The not-working packet is PacketPlayOutEntityEquipment, which changed from single equipment and item from list of equipment-item pairs.
My pull request #4 fixes v1_13_R2 PacketPlayOutRelEntityMoveLook class causing exception due to incompatibility between versions.
Task :v1_13_R2:compileKotlin FAILED
FAILURE: Build failed with an exception.
Could not resolve all files for configuration ':v1_13_R2:compileClasspath'.
Could not find org.spigotmc:spigot:1.13.2-R0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/spigotmc/spigot/1.13.2-R0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/org/spigotmc/spigot/1.13.2-R0.1-SNAPSHOT/spigot-1.13.2-R0.1-SNAPSHOT.pom
- https://papermc.io/repo/repository/maven-public/org/spigotmc/spigot/1.13.2-R0.1-SNAPSHOT/maven-metadata.xml
- https://papermc.io/repo/repository/maven-public/org/spigotmc/spigot/1.13.2-R0.1-SNAPSHOT/spigot-1.13.2-R0.1-SNAPSHOT.pom
- file:/C:/Users/S/.m2/repository/org/spigotmc/spigot/1.13.2-R0.1-SNAPSHOT/maven-metadata.xml
- file:/C:/Users/S/.m2/repository/org/spigotmc/spigot/1.13.2-R0.1-SNAPSHOT/spigot-1.13.2-R0.1-SNAPSHOT.pom
Required by:
project :v1_13_R2
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 20s
8 actionable tasks: 1 executed, 7 up-to-date
이에러가 뜹니다
Psychics로 Issue 옮겼습니다.
제가 paper 서버를 열다가 오류가 났는데 오류로그를 알려 드릴게요
[15:15:56 ERROR]: Could not load 'plugins\tap-3.0.0.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:162) ~[patched_1.16.3.jar:git-Paper-191]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:148) ~[patched_1.16.3.jar:git-Paper-191]
at org.bukkit.craftbukkit.v1_16_R2.CraftServer.loadPlugins(CraftServer.java:387) ~[patched_1.16.3.jar:git-Paper-191]
at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:208) ~[patched_1.16.3.jar:git-Paper-191]
at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:939) ~[patched_1.16.3.jar:git-Paper-191]
at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.3.jar:git-Paper-191]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
이거를 어떻게 해결을 해야 하나요?
3.0.0부터는 tap이 필요한 마인크래프트 플러그인은 어떻게 사용해야 하나요? shadowjar를 어떻게 사용하는지 잘 모르겠습니다...
GCP VM에서 작동한 기준입니다. (Debian)
파쿠르메이커 플러그인으로 인해 현재 2.3.1 버전을 사용하고있습니다.
Tap을 빌드성공하고 VM에 파일옮기고 서버돌리니
이거뜨더라고요
[15:47:23 INFO]: [Tap] Enabling Tap v2.3
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.github.noonmaru.tap.attach.Tools (file:/home/hyeonwooserver/plugins/tap-2.3-dist.jar) to field java.lang.ClassLoader.sys_paths
WARNING: Please consider reporting this to the maintainers of com.github.noonmaru.tap.attach.Tools
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
(이 부분이 Tap관련 문제인지는 모르겠지만 ParkourMaker, ProtocolLib, Kotlin은 오류가 없어 혹시 몰라 말합니다.)
이후로 서버접속이 불가하며 (User Authenticator 워닝)
여러차례 익셉션뜨다가 서버가.. 지혼자 크래쉬뜨고 꺼져요
아무 플러그인 혹은 ParkourMaker, ProtocolLib, Kotlin, Tap을 지웠을때 서버가 정상적으로 열리고 접속도 됩니다
(다른것들은 오류메시지가 없는데 유난히 Tap만 워닝띄워서 제일먼저 이슈답니다.)
필요시 서버로그 첨부하겠습니다....
TemplateSupport.kt 에서 사용중인 Nashorn JavaScript Engine 은 JEP 335 에 의해 Java 11 부터 Deprecated 되었으며, JEP 372 에 의해 Java 15 부터는 아얘 제거되었습니다.
Tap 프로젝트의 JVM Target 이 Java 11 로 높아진 만큼, JavaScript Engine 에 대한 의존성을 없애거나, GraalVM JavaScript Engine 등의 차선책을 사용하는 것이 좋을 것 같습니다.
어제 변경된 소스코드 변화에 따라 Gradle Task는 어떤것으로 해야지 빌드가 가능하나요?
Could not load 'plugins\tap-2.8.8.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:162) ~[patched_1.16.1.jar:git-Paper-135]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:148) ~[patched_1.16.1.jar:git-Paper-135]
at org.bukkit.craftbukkit.v1_16_R1.CraftServer.loadPlugins(CraftServer.java:388) ~[patched_1.16.1.jar:git-Paper-135]
at net.minecraft.server.v1_16_R1.DedicatedServer.init(DedicatedServer.java:208) ~[patched_1.16.1.jar:git-Paper-135]
at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:941) ~[patched_1.16.1.jar:git-Paper-135]
at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-135]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
... 7 more
[23:14:51 ERROR]: Could not load 'plugins\parkour-maker-0.3.jar' in folder 'plugins'
org.bukkit.plugin.UnknownDependencyException: Unknown dependency Tap. Please download and install Tap to run this plugin.
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:272) ~[patched_1.16.1.jar:git-Paper-135]
at org.bukkit.craftbukkit.v1_16_R1.CraftServer.loadPlugins(CraftServer.java:388) ~[patched_1.16.1.jar:git-Paper-135]
at net.minecraft.server.v1_16_R1.DedicatedServer.init(DedicatedServer.java:208) ~[patched_1.16.1.jar:git-Paper-135]
at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:941) ~[patched_1.16.1.jar:git-Paper-135]
at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-135]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
파쿠르 메이커를 실행하기 위해선 tap도 필요한데 사용이 안되네요... 버전은 1.16.1입니다
API 문서가 없나요?
이거 만들어야 하는데...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.