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

능력이 안불러와집니다 #102

Open
Hinoto04 opened this issue Dec 12, 2020 · 8 comments
Open

능력이 안불러와집니다 #102

Hinoto04 opened this issue Dec 12, 2020 · 8 comments

Comments

@Hinoto04
Copy link

Hinoto04 commented Dec 12, 2020

능력 파일도 제대로 넣었고, yml도 넣었는데,
image
이렇게 뜨면서 능력이 안불러와지네요

코드는 아래와 같습니다
`
package me.hinoto04.asherangersfocus

import com.github.noonmaru.psychics.ActiveAbility
import com.github.noonmaru.psychics.AbilityConcept
import com.github.noonmaru.psychics.attribute.EsperStatistic
import com.github.noonmaru.psychics.item.isPsychicbound
import com.github.noonmaru.psychics.tooltip.TooltipBuilder
import com.github.noonmaru.tap.config.Config
import org.bukkit.ChatColor
import org.bukkit.Material
import org.bukkit.Sound
import org.bukkit.entity.Arrow
import org.bukkit.event.EventHandler
import org.bukkit.event.Listener
import org.bukkit.event.entity.EntityShootBowEvent
import org.bukkit.event.player.PlayerEvent
import org.bukkit.inventory.ItemStack

class AsheRangersFocusConcept : AbilityConcept() {

private val wandItem : ItemStack = ItemStack(Material.PRISMARINE_CRYSTALS).apply {
    val meta = itemMeta
    meta.setDisplayName("${ChatColor.AQUA}${ChatColor.BOLD}궁사의 집중")
    meta.isPsychicbound = true
    itemMeta = meta
}

@Config
var skillDurationTicks: Long = 4 * 20

@Config
var onesDamage: Double = 0.3

@Config
var arrowCount: Int = 5

@Config
var arrowDelay: Int = 2

init {
    displayName = "궁사의 집중"
    cooldownTicks = 6 * 20
    cost = 50.0
    wand = wandItem
    supplyItems = listOf(wandItem)
    description = listOf(
        "${ChatColor.WHITE}<durationSeconds>초${ChatColor.GRAY} 동안 쏘는 화살이 다발 화살로 변경됩니다.",
        "다발 화살은 ${ChatColor.WHITE}<arrowCounts>연발${ChatColor.GRAY}로 발사되며,",
        "각각 공격력의 ${ChatColor.RED}<addDMGPercent>%${ChatColor.WHITE}의 원거리 피해를 입힙니다."
    )
}

override fun onRenderTooltip(tooltip: TooltipBuilder, stats: (EsperStatistic) -> Double) {
    tooltip.addTemplates(
        "durationSeconds" to skillDurationTicks / 20,
        "arrowCounts" to arrowCount,
        "addDMGPercent" to onesDamage
    )
}

}

class AsheRangersFocus : ActiveAbility() {

private var isOn = false
private val player = esper.player
private var velocity = esper.player.velocity

override fun onCast(event: PlayerEvent, action: WandAction, target: Any?) {

    isOn = true

    psychic.runTask(DurationEnd(), concept.skillDurationTicks)

    psychic.consumeMana(concept.cost)
    cooldownTicks = concept.cooldownTicks

}

override fun onEnable() {
    psychic.registerEvents(MyListener())
}

inner class MyListener : Listener {
    @EventHandler
    fun onShootArrow(event: EntityShootBowEvent) {
        if(isOn) {
            velocity = event.projectile.velocity
            event.projectile.customName = "AsheRangersFocus"
            for(i in 1..concept.arrowCount) {
                psychic.runTask(ShootArrow(), (i * concept.arrowDelay).toLong())
            }
        }
    }
}

inner class DurationEnd : Runnable {
    override fun run() {
        isOn = false
        player.sendActionBar("${ChatColor.AQUA}${ChatColor.BOLD}궁사의 집중 ${ChatColor.WHITE}지속시간 종료")
    }
}

inner class ShootArrow : Runnable {
    override fun run() {
        val projectile = player.launchProjectile(Arrow::class.java, velocity)
        player.world.playSound(player.eyeLocation, Sound.ENTITY_ARROW_SHOOT, 1.0F, 1.0F)
        projectile.customName = "AsheRangersFocus"
    }
}

}
`

@Hinoto04
Copy link
Author

abilities: Q - Ranger's Focus: ability: .ashe-rangers-focus

입니다.
현재는 싹 갈아엎고 ActiveAbility가 아니라 Ability로 능력을 다시 만들어서
작동은 하는데, 다음에 다른 능력 만들 때 같은 문제가 종종 발생하지 않을까 싶어
이슈는 남겨두었습니다.

@Hinoto04
Copy link
Author

능력이 안불러와지는 또다른걸 찾아왔습니다.

`
package garenperseverance

import com.github.noonmaru.psychics.Ability
import com.github.noonmaru.psychics.AbilityConcept
import com.github.noonmaru.psychics.attribute.EsperStatistic
import com.github.noonmaru.psychics.item.isPsychicbound
import com.github.noonmaru.psychics.tooltip.TooltipBuilder
import com.github.noonmaru.tap.config.Config
import org.bukkit.Bukkit
import org.bukkit.ChatColor
import org.bukkit.Material
import org.bukkit.event.EventHandler
import org.bukkit.event.Listener
import org.bukkit.event.entity.EntityDamageByEntityEvent
import org.bukkit.inventory.ItemStack

class GarenPerseveranceConcept : AbilityConcept() {
private val wandItem = ItemStack(Material.LIME_DYE).apply {
val meta = itemMeta
meta.setDisplayName("인내심")
meta.isPsychicbound = true
itemMeta = meta
}

@Config
var waitTicks: Long = 8 * 20

@Config
var healCoeff: Double = 2.0

@Config
var healDelayTicks: Long = 5 * 20

@Config
var stopMinDamage: Double = 1.0

init {
    displayName = "인내심"
    wand = wandItem
    description = listOf(
        "${ChatColor.WHITE}<waitSeconds>초 ${ChatColor.GRAY}동안",
        "${ChatColor.WHITE}<minDamage> ${ChatColor.GRAY}이상의 피해를 입지 않으면,",
        "${ChatColor.WHITE}<delaySeconds>초${ChatColor.GRAY}마다 레벨의 ${ChatColor.LIGHT_PURPLE}<healCoeff>%${ChatColor.GRAY}의 체력을 회복합니다."
    )
}

override fun onRenderTooltip(tooltip: TooltipBuilder, stats: (EsperStatistic) -> Double) {
    tooltip.addTemplates(
        "waitSeconds" to waitTicks / 20,
        "minDamage" to stopMinDamage,
        "delaySeconds" to healDelayTicks / 20,
        "healCoeff" to healCoeff * 100
    )
}

}

class GarenPerseverance : Ability() {

override fun onEnable() {
    //psychic.registerEvents(EventListener())
    //psychic.runTaskTimer(CheckHeal(), 1L, 1L)
}

//var waitTimer: Long = concept.waitTicks
//var healTimer: Long = concept.healDelayTicks

inner class EventListener : Listener {
    @EventHandler
    fun onDamaged(event: EntityDamageByEntityEvent) {

// if(event.damage > concept.stopMinDamage) {
// waitTimer = concept.waitTicks
// healTimer = concept.healDelayTicks
// }
}
}

inner class CheckHeal : Runnable {
    override fun run() {
        /*if(waitTimer > 0) {
            waitTimer--
        } else if(healTimer > 0) {
            healTimer--
        } else {
            healTimer = concept.healDelayTicks
            esper.player.health += esper.getAttribute(EsperAttribute.LEVEL) * concept.healCoeff
        }*/
        Bukkit.broadcastMessage("태스크")
    }
}

}
`

지운게 더 많은 것 같은데 도대체 어디서 문제가 발생한건지...
보이시는게 있을까봐 올려봅니다.

image

@hdm1213
Copy link

hdm1213 commented Dec 25, 2020

제가 더 심각한듯[14:54:21 WARN]: java.io.IOException: 현재 연결은 사용자의 호스트 시스템의 소프트웨어의 의해 중단되었습니다
[14:54:21 WARN]: at sun.nio.ch.SocketDispatcher.write0(Native Method)
[14:54:21 WARN]: at sun.nio.ch.SocketDispatcher.write(Unknown Source)
[14:54:21 WARN]: at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)
[14:54:21 WARN]: at sun.nio.ch.IOUtil.write(Unknown Source)
[14:54:21 WARN]: at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
[14:54:21 WARN]: at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:403)
[14:54:21 WARN]: at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:934)
[14:54:21 WARN]: at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:360)[14:54:21 WARN]: at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:901)
[14:54:21 WARN]: at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1396)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:768)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:749)
[14:54:21 WARN]: at io.netty.handler.flush.FlushConsolidationHandler.flushNow(FlushConsolidationHandler.java:199)[14:54:21 WARN]: at io.netty.handler.flush.FlushConsolidationHandler.flush(FlushConsolidationHandler.java:133)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:768)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:749)
[14:54:21 WARN]: at io.netty.channel.ChannelDuplexHandler.flush(ChannelDuplexHandler.java:117)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:768)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:749)
[14:54:21 WARN]: at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:115)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:768)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:749)
[14:54:21 WARN]: at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:115)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:768)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:749)
[14:54:21 WARN]: at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:115)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:802)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:814)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:794)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:831)
[14:54:21 WARN]: at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1071)
[14:54:21 WARN]: at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:300)
[14:54:21 WARN]: at com.comphenix.protocol.injector.netty.ChannelProxy.writeAndFlush(ChannelProxy.java:327)
[14:54:21 WARN]: at net.minecraft.server.v1_16_R3.NetworkManager.b(NetworkManager.java:273)
[14:54:21 WARN]: at net.minecraft.server.v1_16_R3.NetworkManager.dispatchPacket(NetworkManager.java:249)
[14:54:21 WARN]: at net.minecraft.server.v1_16_R3.NetworkManager.sendPacket(NetworkManager.java:225)
[14:54:21 WARN]: at net.minecraft.server.v1_16_R3.NetworkManager.exceptionCaught(NetworkManager.java:133)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelHandlerAdapter.exceptionCaught(ChannelHandlerAdapter.java:87)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelHandlerAdapter.exceptionCaught(ChannelHandlerAdapter.java:87)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelHandlerAdapter.exceptionCaught(ChannelHandlerAdapter.java:87)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:131)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:131)
[14:54:21 WARN]: at com.comphenix.protocol.injector.netty.ChannelInjector.exceptionCaught(ChannelInjector.java:403)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:131)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:131)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:131)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.handler.flush.FlushConsolidationHandler.exceptionCaught(FlushConsolidationHandler.java:154)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1401)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:953)
[14:54:21 WARN]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.handleReadException(AbstractNioByteChannel.java:125)
[14:54:21 WARN]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:174)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:647)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:582)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461)
[14:54:21 WARN]: at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
[14:54:21 WARN]: at java.lang.Thread.run(Unknown Source)
[14:54:21 WARN]: java.io.IOException: 현재 연결은 사용자의 호스트 시스템의 소프트웨어의 의해 중단되었습니다
[14:54:21 WARN]: at sun.nio.ch.SocketDispatcher.read0(Native Method)
[14:54:21 WARN]: at sun.nio.ch.SocketDispatcher.read(Unknown Source)
[14:54:21 WARN]: at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
[14:54:21 WARN]: at sun.nio.ch.IOUtil.read(Unknown Source)
[14:54:21 WARN]: at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
[14:54:21 WARN]: at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288)
[14:54:21 WARN]: at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1108)
[14:54:21 WARN]: at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:345)
[14:54:21 WARN]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:647)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:582)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461)
[14:54:21 WARN]: at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
[14:54:21 WARN]: at java.lang.Thread.run(Unknown Source)

@hdm1213
Copy link

hdm1213 commented Dec 25, 2020

이건 또 뭐징? ㅎㅎ [14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] ************************************************************
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * WARNING - YOU ARE RUNNING AN OUTDATED VERSION OF JAVA.
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * PAPER WILL STOP BEING COMPATIBLE WITH THIS VERSION OF
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * JAVA WHEN MINECRAFT 1.17 IS RELEASED.
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] *
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * Please update the version of Java you use to run Paper
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * to at least Java 11. When Paper for Minecraft 1.17 is
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * released support for versions of Java before 11 will
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * be dropped.
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] *
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * Current Java version: 1.8.0_271
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] *
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * Check this forum post for more information:
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * https://papermc.io/java11
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] ************************************************************

@hdm1213
Copy link

hdm1213 commented Dec 25, 2020

근데 글씨에 요놈 있는데 뭐임?[14:38:43 WARN]: [ProtocolLib] Version (MC: 1.16.4) has not yet been tested! Proceed with caution.

@Hinoto04
Copy link
Author

제가 더 심각한듯[14:54:21 WARN]: java.io.IOException: 현재 연결은 사용자의 호스트 시스템의 소프트웨어의 의해 중단되었습니다
[14:54:21 WARN]: at sun.nio.ch.SocketDispatcher.write0(Native Method)
[14:54:21 WARN]: at sun.nio.ch.SocketDispatcher.write(Unknown Source)
[14:54:21 WARN]: at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)
[14:54:21 WARN]: at sun.nio.ch.IOUtil.write(Unknown Source)
[14:54:21 WARN]: at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
[14:54:21 WARN]: at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:403)
[14:54:21 WARN]: at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:934)
[14:54:21 WARN]: at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:360)[14:54:21 WARN]: at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:901)
[14:54:21 WARN]: at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1396)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:768)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:749)
[14:54:21 WARN]: at io.netty.handler.flush.FlushConsolidationHandler.flushNow(FlushConsolidationHandler.java:199)[14:54:21 WARN]: at io.netty.handler.flush.FlushConsolidationHandler.flush(FlushConsolidationHandler.java:133)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:768)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:749)
[14:54:21 WARN]: at io.netty.channel.ChannelDuplexHandler.flush(ChannelDuplexHandler.java:117)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:768)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:749)
[14:54:21 WARN]: at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:115)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:768)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:749)
[14:54:21 WARN]: at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:115)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:768)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:749)
[14:54:21 WARN]: at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:115)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:802)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:814)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:794)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:831)
[14:54:21 WARN]: at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1071)
[14:54:21 WARN]: at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:300)
[14:54:21 WARN]: at com.comphenix.protocol.injector.netty.ChannelProxy.writeAndFlush(ChannelProxy.java:327)
[14:54:21 WARN]: at net.minecraft.server.v1_16_R3.NetworkManager.b(NetworkManager.java:273)
[14:54:21 WARN]: at net.minecraft.server.v1_16_R3.NetworkManager.dispatchPacket(NetworkManager.java:249)
[14:54:21 WARN]: at net.minecraft.server.v1_16_R3.NetworkManager.sendPacket(NetworkManager.java:225)
[14:54:21 WARN]: at net.minecraft.server.v1_16_R3.NetworkManager.exceptionCaught(NetworkManager.java:133)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelHandlerAdapter.exceptionCaught(ChannelHandlerAdapter.java:87)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelHandlerAdapter.exceptionCaught(ChannelHandlerAdapter.java:87)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelHandlerAdapter.exceptionCaught(ChannelHandlerAdapter.java:87)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:131)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:131)
[14:54:21 WARN]: at com.comphenix.protocol.injector.netty.ChannelInjector.exceptionCaught(ChannelInjector.java:403)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:131)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:131)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:131)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.handler.flush.FlushConsolidationHandler.exceptionCaught(FlushConsolidationHandler.java:154)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:256)
[14:54:21 WARN]: at io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1401)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:285)
[14:54:21 WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:264)
[14:54:21 WARN]: at io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:953)
[14:54:21 WARN]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.handleReadException(AbstractNioByteChannel.java:125)
[14:54:21 WARN]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:174)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:647)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:582)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461)
[14:54:21 WARN]: at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
[14:54:21 WARN]: at java.lang.Thread.run(Unknown Source)
[14:54:21 WARN]: java.io.IOException: 현재 연결은 사용자의 호스트 시스템의 소프트웨어의 의해 중단되었습니다
[14:54:21 WARN]: at sun.nio.ch.SocketDispatcher.read0(Native Method)
[14:54:21 WARN]: at sun.nio.ch.SocketDispatcher.read(Unknown Source)
[14:54:21 WARN]: at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
[14:54:21 WARN]: at sun.nio.ch.IOUtil.read(Unknown Source)
[14:54:21 WARN]: at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
[14:54:21 WARN]: at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288)
[14:54:21 WARN]: at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1108)
[14:54:21 WARN]: at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:345)
[14:54:21 WARN]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:647)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:582)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499)
[14:54:21 WARN]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461)
[14:54:21 WARN]: at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
[14:54:21 WARN]: at java.lang.Thread.run(Unknown Source)

제가 올려놓은 이슈(능력을 만들고 yml파일 제작을 했으나, 파일이 불러와지지 않는 오류)와는 관계없는 내용인 듯 합니다.
다른 이슈에 따로 올려서 해결하시길 바랍니다

@ghost
Copy link

ghost commented Jan 6, 2021

이건 또 뭐징? ㅎㅎ [14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] ************************************************************
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * WARNING - YOU ARE RUNNING AN OUTDATED VERSION OF JAVA.
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * PAPER WILL STOP BEING COMPATIBLE WITH THIS VERSION OF
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * JAVA WHEN MINECRAFT 1.17 IS RELEASED.
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] *
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * Please update the version of Java you use to run Paper
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * to at least Java 11. When Paper for Minecraft 1.17 is
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * released support for versions of Java before 11 will
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * be dropped.
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] *
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * Current Java version: 1.8.0_271
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] *
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * Check this forum post for more information:
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * https://papermc.io/java11
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] ************************************************************

Java버전 문제 같습니다. Java 버전을 8로 설치하세요

이 문제는 딱히 큰 문제는 아닙니다.
Minecraft 1.17이 릴리즈 될때 PaperMC쪽에서 Java 8 지원을 중단한다는 이야기입니다.

지금으로써는 작동이 되지만 미래를 위해 Java 11을 미리 쓰는것을 추천합니다.

@myoun
Copy link

myoun commented May 20, 2021

이건 또 뭐징? ㅎㅎ [14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] ************************************************************
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * WARNING - YOU ARE RUNNING AN OUTDATED VERSION OF JAVA.
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * PAPER WILL STOP BEING COMPATIBLE WITH THIS VERSION OF
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * JAVA WHEN MINECRAFT 1.17 IS RELEASED.
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] *
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * Please update the version of Java you use to run Paper
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * to at least Java 11. When Paper for Minecraft 1.17 is
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * released support for versions of Java before 11 will
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * be dropped.
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] *
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * Current Java version: 1.8.0_271
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] *
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * Check this forum post for more information:
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] * https://papermc.io/java11
[14:38:57 WARN]: [io.papermc.paper.util.PaperJvmChecker] ************************************************************

Java버전 문제 같습니다. Java 버전을 8로 설치하세요

이 문제는 딱히 큰 문제는 아닙니다.
Minecraft 1.17이 릴리즈 될때 PaperMC쪽에서 Java 8 지원을 중단한다는 이야기입니다.

지금으로써는 작동이 되지만 미래를 위해 Java 11을 미리 쓰는것을 추천합니다.

이제는 페이퍼가 1.17로 넘어가면서 11이 아닌 자바 16을 권장하고 있습니다.

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

4 participants
@Hinoto04 @hdm1213 @myoun and others