Spigot BKCommonLib 1.16.1-v1

Common utility library adding unique new features and API's

  1. @Anathos This is not the same error. Your error is this:
    Code (Text):
    Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "createSecurityManager")
    You have a security manager set up for your Java installation, which makes at-runtime code generation impossible. (something the plugin has to do). To fix this you will need to grant all (most?) permissions to the server. I don't know why you have this in the first place, as nobody else does, so I can only assume this was done on purpose.

    What version of java are you running this on? I recommend downgrading to Java 8 if problems continue.
     
  2. @Anathos also make sure to use latest spigot/paper build (do not compile yourself ive heard of ppl have issues when they compile it themselves instead of downloading the latest release build that's provided) and make sure to use latest bkcommonlib dev build (instead of release builds) if you arent already. There have been a fair few fixes/adjustments recently so might wanna keep that in mind just in case
     
    #162 Alter-Ego, Apr 5, 2019
    Last edited: Apr 5, 2019
  3. Code (Text):
    [21:16:06] [BKCommonLib] Loading BKCommonLib v1.13.2-v2

    [21:16:07] [REFLECTION] A class member of net.minecraft.server.v1_13_R2.World was not found!

    [21:16:07] [REFLECTION] Failed to find field public final (List<EntityHandle>) com.destroystokyo.paper.PaperWorldEntityList entityList; - Alternatives:

    [21:16:07] [REFLECTION] - public ArrayList<org.bukkit.craftbukkit.v1_13_R2.block.CraftBlockState> capturedBlockStates;

    [21:16:07] [REFLECTION] - public final List<Entity> entityList;

    [21:16:07] [REFLECTION] - public boolean guardEntityList;

    [21:16:07] [REFLECTION] - public final List<TileEntity> tileEntityListTick;

    [21:16:07] [REFLECTION] - private org.spigotmc.TickLimiter entityLimiter;

    [21:16:07] [REFLECTION] - public boolean captureBlockStates;

    [21:16:07] [REFLECTION] - public final co.aikar.timings.WorldTimingsHandler timings;

    [21:16:07] [REFLECTION] - public final boolean isClientSide;

    [21:16:09] [REFLECTION] Field 'entityList' not found in template for net.minecraft.server.v1_13_R2.World

    [21:16:10] [LightCleaner] Loading LightCleaner v1.13.1-v1
    Using paper v614. updated from an older paper build to get this error.
    Code (Text):
    [21:46:41] Preparing start region for level minecraft:overworld (Seed: 7218447005024066164)

    [21:46:41] Preparing start region for level minecraft:the_nether (Seed: 7218447005024066164)

    [21:46:41] Preparing start region for level minecraft:the_end (Seed: 7218447005024066164)

    [21:46:41] Could not pass event WorldLoadEvent to BKCommonLib v1.13.2-v2

    [21:46:41] java.lang.UnsupportedOperationException: Field net.minecraft.server.World.entityList is not available

    [21:46:41] at com.bergerkiller.mountiplex.reflection.util.FastField.checkInit(FastField.java:59) ~[?:?]

    [21:46:41] at com.bergerkiller.mountiplex.reflection.util.FastField$FastFieldInitProxy.read(FastField.java:213) ~[?:?]

    [21:46:41] at com.bergerkiller.mountiplex.reflection.util.FastField$FastFieldInitProxy.get(FastField.java:279) ~[?:?]

    [21:46:41] at com.bergerkiller.mountiplex.reflection.util.FastField.get(FastField.java:167) ~[?:?]

    [21:46:41] at com.bergerkiller.mountiplex.reflection.declarations.Template$Field.get(Template.java:2159) ~[?:?]

    [21:46:41] at com.bergerkiller.bukkit.common.internal.CommonMapController.iterateItemFrames(CommonMapController.java:1671) ~[?:?]

    [21:46:41] at com.bergerkiller.bukkit.common.internal.CommonMapController.onWorldLoad(CommonMapController.java:658) ~[?:?]

    [21:46:41] at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:520) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:546) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:431) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:316) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:787) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

    [21:46:41] Could not pass event WorldLoadEvent to BKCommonLib v1.13.2-v2

    [21:46:41] java.lang.UnsupportedOperationException: Field net.minecraft.server.World.entityList is not available

    [21:46:41] at com.bergerkiller.mountiplex.reflection.util.FastField.checkInit(FastField.java:59) ~[?:?]

    [21:46:41] at com.bergerkiller.mountiplex.reflection.util.FastField$FastFieldInitProxy.read(FastField.java:213) ~[?:?]

    [21:46:41] at com.bergerkiller.mountiplex.reflection.util.FastField$FastFieldInitProxy.get(FastField.java:279) ~[?:?]

    [21:46:41] at com.bergerkiller.mountiplex.reflection.util.FastField.get(FastField.java:167) ~[?:?]

    [21:46:41] at com.bergerkiller.mountiplex.reflection.declarations.Template$Field.get(Template.java:2159) ~[?:?]

    [21:46:41] at com.bergerkiller.bukkit.common.internal.CommonMapController.iterateItemFrames(CommonMapController.java:1671) ~[?:?]

    [21:46:41] at com.bergerkiller.bukkit.common.internal.CommonMapController.onWorldLoad(CommonMapController.java:658) ~[?:?]

    [21:46:41] at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:520) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:546) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:431) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:316) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:787) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

    [21:46:41] Could not pass event WorldLoadEvent to BKCommonLib v1.13.2-v2

    [21:46:41] java.lang.UnsupportedOperationException: Field net.minecraft.server.World.entityList is not available

    [21:46:41] at com.bergerkiller.mountiplex.reflection.util.FastField.checkInit(FastField.java:59) ~[?:?]

    [21:46:41] at com.bergerkiller.mountiplex.reflection.util.FastField$FastFieldInitProxy.read(FastField.java:213) ~[?:?]

    [21:46:41] at com.bergerkiller.mountiplex.reflection.util.FastField$FastFieldInitProxy.get(FastField.java:279) ~[?:?]

    [21:46:41] at com.bergerkiller.mountiplex.reflection.util.FastField.get(FastField.java:167) ~[?:?]

    [21:46:41] at com.bergerkiller.mountiplex.reflection.declarations.Template$Field.get(Template.java:2159) ~[?:?]

    [21:46:41] at com.bergerkiller.bukkit.common.internal.CommonMapController.iterateItemFrames(CommonMapController.java:1671) ~[?:?]

    [21:46:41] at com.bergerkiller.bukkit.common.internal.CommonMapController.onWorldLoad(CommonMapController.java:658) ~[?:?]

    [21:46:41] at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:520) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:546) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:431) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:316) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:787) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:41] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

    [21:46:41] Time elapsed: 70 ms
    and

    Code (Text):
    [21:46:48] Preparing start region for level 3 (Seed: -964685688390069955)

    [21:46:48] Could not pass event WorldLoadEvent to BKCommonLib v1.13.2-v2

    [21:46:48] java.lang.UnsupportedOperationException: Field net.minecraft.server.World.entityList is not available

    [21:46:48] at com.bergerkiller.mountiplex.reflection.util.FastField.checkInit(FastField.java:59) ~[?:?]

    [21:46:48] at com.bergerkiller.mountiplex.reflection.util.FastField$FastFieldInitProxy.read(FastField.java:213) ~[?:?]

    [21:46:48] at com.bergerkiller.mountiplex.reflection.util.FastField$FastFieldInitProxy.get(FastField.java:279) ~[?:?]

    [21:46:48] at com.bergerkiller.mountiplex.reflection.util.FastField.get(FastField.java:167) ~[?:?]

    [21:46:48] at com.bergerkiller.mountiplex.reflection.declarations.Template$Field.get(Template.java:2159) ~[?:?]

    [21:46:48] at com.bergerkiller.bukkit.common.internal.CommonMapController.iterateItemFrames(CommonMapController.java:1671) ~[?:?]

    [21:46:48] at com.bergerkiller.bukkit.common.internal.CommonMapController.onWorldLoad(CommonMapController.java:658) ~[?:?]

    [21:46:48] at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:520) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at org.bukkit.craftbukkit.v1_13_R2.CraftServer.createWorld(CraftServer.java:1066) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at org.bukkit.Bukkit.createWorld(Bukkit.java:520) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at org.bukkit.WorldCreator.createWorld(WorldCreator.java:279) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(WorldManager.java:467) ~[?:?]

    [21:46:48] at com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(WorldManager.java:448) ~[?:?]

    [21:46:48] at com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(WorldManager.java:423) ~[?:?]

    [21:46:48] at com.onarandombox.MultiverseCore.utils.WorldManager.loadWorlds(WorldManager.java:728) ~[?:?]

    [21:46:48] at com.onarandombox.MultiverseCore.MultiverseCore.onEnable(MultiverseCore.java:310) ~[?:?]

    [21:46:48] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:265) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:334) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:412) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:443) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:357) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at net.minecraft.server.v1_13_R2.MinecraftServer.l(MinecraftServer.java:608) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:570) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:431) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:316) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:787) ~[patched_1.13.2.jar:git-Paper-614]

    [21:46:48] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

    [21:46:48] [Multiverse-Core] 4 - World(s) loaded.

    [21:46:48] [Multiverse-Core] Version 3.0.0-SNAPSHOT-b758 (API v22) Enabled - By Rigby, fernferret, lithium3141, main-- and dumptruckman
     

    Attached Files:

  4. TeamBergerhealer updated BKCommonLib with a new update entry:

    Server compatibility update and bugfixes

    Read the rest of this update entry...
     
  5. @LaxWasHere ah yes you're right, they refer to old dev bukkit pages. They had some rename many years ago. I'll at least fix up the links, though they really should be migrated and updated off of there.
     
  6. i know this is early days, but have you started looking at 1.14 ? I wanted to get the lightcleaner plugin working because my friend has OCD issues with odd lighting bugs xD

    TIA Oz
     
  7. Yeah, itll be worked on soon! :)
     
  8. Not to be a pain, but do you guys have an idea of how soon? I'd be happy with even a dev build!
     
  9. @AllMightySilence I can't give an ETA while I'm working on this right now. The problem is, a 'dev build' isn't enough when so many pieces fell out of order with 1.14. I hope I can push a dev build in the weekend, but I can't guarantee it.
     
    • Informative Informative x 1
  10. That's all I needed to hear! Much appreciated :)
     
  11. Code (Text):
    [14:53:31 INFO]: [BKCommonLib] Enabling BKCommonLib v1.14-v1-SNAPSHOT
    [14:53:31 ERROR]: [BKCommonLib] This version of BKCommonLib is not compatible with: Paper(Spigot) (git-Paper-21) : v1_14_R1 (Minecraft 1.14.1)
    [14:53:31 ERROR]: [BKCommonLib] It could be that BKCommonLib has to be updated, as the current version is built for MC 1.8, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.9, 1.9.2, 1.9.4, 1.10.2, 1.11, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2 and 1.14
    [14:53:31 ERROR]: [BKCommonLib] Please look for a new updated BKCommonLib version that is compatible:
    [14:53:31 ERROR]: [BKCommonLib] https://www.spigotmc.org/resources/bkcommonlib.39590/
    [14:53:31 ERROR]: [BKCommonLib] Unstable development builds for MC 1.14.1 may be found on our continuous integration server:
    [14:53:31 ERROR]: [BKCommonLib] https://ci.mg-dev.eu/job/BKCommonLib/
    [14:53:31 ERROR]: [BKCommonLib] BKCommonLib and all depending plugins will now disable...
    [14:53:31 INFO]: [BKCommonLib] Disabling BKCommonLib v1.14-v1-SNAPSHOT
     
  12. @shuiqing2046 Im still working on 1.14 support, which is quite finished now. I'll add 1.14.1 support once that is all stable. If I start supporting 1.14.1 right away it's going to be too big of a change.
     
    • Friendly Friendly x 1
  13. Good to hear you are up to speed, it is a pity that almost 10 months ago 1.13 came to us and now we are being pushed towards 1.14.2 and further.
    Hope you have succes in making progress... Good luck and GOD speed!(is also possible with train carts :cool:)
     
  14. Andre_601

    Supporter

    I wonder one thing @TeamBergerhealer
    BkCommonLib downloads the Client Jar from Minecraft... For what do you use it? What does it offer that you can use that the spigot/bukkit API doesn't?
     
  15. @Andre_601 Minecraft vanilla resources such as block/item 3d models and textures. They are required when rendering such things as item icons or blocks onto maps. The client is only downloaded when this is first requested: https://github.com/bergerhealer/BKC...er/bukkit/common/map/MapResourcePack.java#L77

    Obvious example use case: maplands
    [​IMG]
     
    #178 TeamBergerhealer, May 29, 2019
    Last edited: May 29, 2019
  16. When comes the Update for 1.14.2
     
  17. @PatrickBronke I think very soon, I've fixed all major issues and as of the latest 1.14.3 builds all remaining worries are gone too. There is something on 1.14.2 and before that I cannot control that can cause the server to crash though, so if you can, move to 1.14.3.

    In particular, this bugfix is important. As far as I know it isn't retroactively applied to 1.14/1.14.1/1.14.2.

    Meanwhile you can grab the latest development builds from the jenkins CI. If you run into problems, let me know, or join the discord :)

    https://ci.mg-dev.eu/job/BKCommonLib/574/
    https://ci.mg-dev.eu/job/TrainCarts/475/