GithubHelp home page GithubHelp logo

Comments (7)

HttpRafa avatar HttpRafa commented on July 22, 2024

Go to the config, activate the entity filter and remove the TNT from the list.

{
   "type": "ENTITY",
   "ignore": false,
   "entityTypes": [
       "CREEPER"
    ]
}

from creeper-recover.

paqi-cry avatar paqi-cry commented on July 22, 2024

I've configured it that way, but he's not working.

[13:19:14 ERROR]: Could not pass event EntityExplodeEvent to CreeperRecover v1.0.12
java.lang.UnsupportedOperationException: JsonNull
at com.google.gson.JsonElement.getAsString(JsonElement.java:187) ~[gson-2.10.jar:?]
at de.rafael.plugins.creeper.recover.common.manager.ConfigManager.usePlugin(ConfigManager.java:261) ~[creeper-recover-1.0.12-folia.jar:?]
at de.rafael.plugins.creeper.recover.common.listener.EntityExplodeListener.on(EntityExplodeListener.java:56) ~[creeper-recover-1.0.12-folia.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor125.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[kaiiju-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[kaiiju-api-1.20.1-R0.1-SNAPSHOT.jar:git-Kaiiju-"40d5526"]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[kaiiju-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:61) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[kaiiju-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at net.minecraft.world.level.Explosion.finalizeExplosion(Explosion.java:341) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"]
at net.minecraft.world.level.Level.explode(Level.java:1119) ~[?:?]
at net.minecraft.server.level.ServerLevel.explode(ServerLevel.java:1947) ~[?:?]
at net.minecraft.world.level.Level.explode(Level.java:1084) ~[?:?]
at net.minecraft.world.entity.monster.Creeper.explodeCreeper(Creeper.java:275) ~[?:?]
at net.minecraft.world.entity.monster.Creeper.tick(Creeper.java:162) ~[?:?]
at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1380) ~[?:?]
at net.minecraft.world.level.Level.guardEntityTick(Level.java:1046) ~[?:?]
at net.minecraft.server.level.ServerLevel.lambda$tick$12(ServerLevel.java:856) ~[?:?]
at io.papermc.paper.threadedregions.RegionizedWorldData.forEachTickingEntity(RegionizedWorldData.java:544) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:828) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1676) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:463) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1533) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"]
at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:360) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"]
at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:385) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"]
at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

from creeper-recover.

HttpRafa avatar HttpRafa commented on July 22, 2024

Can you send me your entire config.

from creeper-recover.

paqi-cry avatar paqi-cry commented on July 22, 2024

{
"configVersion": 2,
"plugin": {
"enabled": true,
"bStats": true,
"ignoreUpdates": false
},
"recover": {
"recoverSpeed": 150,
"recoverDelay": 5000,
"blockRecoverSound": "BLOCK_ROOTED_DIRT_PLACE",
"blockBlacklist": []
},
"target": [
{
"type": "WORLD",
"ignore": true,
"whitelist": [],
"blacklist": []
},
{
"type": "ENTITY",
"ignore": true,
"entityTypes": [
"CREEPER"
]
},
{
"type": "HEIGHT_RANGE",
"ignore": true,
"from": -64,
"to": 320
},
{
"type": "HEIGHT_FIXED",
"ignore": true,
"fixed": 32
}
]
}

from creeper-recover.

HttpRafa avatar HttpRafa commented on July 22, 2024

Unfortunately I could not reproduce the error. But when I tested it with this config, it worked without any problems.

from creeper-recover.

Onako2 avatar Onako2 commented on July 22, 2024

I've configured it that way, but he's not working.

[13:19:14 ERROR]: Could not pass event EntityExplodeEvent to CreeperRecover v1.0.12 java.lang.UnsupportedOperationException: JsonNull at com.google.gson.JsonElement.getAsString(JsonElement.java:187) ~[gson-2.10.jar:?] at de.rafael.plugins.creeper.recover.common.manager.ConfigManager.usePlugin(ConfigManager.java:261) ~[creeper-recover-1.0.12-folia.jar:?] at de.rafael.plugins.creeper.recover.common.listener.EntityExplodeListener.on(EntityExplodeListener.java:56) ~[creeper-recover-1.0.12-folia.jar:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor125.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[kaiiju-api-1.20.1-R0.1-SNAPSHOT.jar:?] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[kaiiju-api-1.20.1-R0.1-SNAPSHOT.jar:git-Kaiiju-"40d5526"] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[kaiiju-api-1.20.1-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:61) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[kaiiju-api-1.20.1-R0.1-SNAPSHOT.jar:?] at net.minecraft.world.level.Explosion.finalizeExplosion(Explosion.java:341) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"] at net.minecraft.world.level.Level.explode(Level.java:1119) ~[?:?] at net.minecraft.server.level.ServerLevel.explode(ServerLevel.java:1947) ~[?:?] at net.minecraft.world.level.Level.explode(Level.java:1084) ~[?:?] at net.minecraft.world.entity.monster.Creeper.explodeCreeper(Creeper.java:275) ~[?:?] at net.minecraft.world.entity.monster.Creeper.tick(Creeper.java:162) ~[?:?] at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1380) ~[?:?] at net.minecraft.world.level.Level.guardEntityTick(Level.java:1046) ~[?:?] at net.minecraft.server.level.ServerLevel.lambda$tick$12(ServerLevel.java:856) ~[?:?] at io.papermc.paper.threadedregions.RegionizedWorldData.forEachTickingEntity(RegionizedWorldData.java:544) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"] at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:828) ~[?:?] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1676) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:463) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1533) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"] at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:360) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"] at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:385) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"] at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525) ~[kaiiju-1.20.1.jar:git-Kaiiju-"40d5526"] at java.lang.Thread.run(Thread.java:833) ~[?:?]

Could you try to remove 'kaiiju-api' and all other plugins that need 'kaiiju-api'? In the stacktrace there are mentions of 'kaiiju-api' or 'kaiiju'

from creeper-recover.

HttpRafa avatar HttpRafa commented on July 22, 2024

Can you send your full config. It may have a syntax error.

from creeper-recover.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.