Giter Site home page Giter Site logo

codex's Introduction

Build Build Discord

Codex (Formerly ProMCCore)

If you wish to use Codex as a dependency in your projects, Codex is available through Maven Central or snapshots through Sonatype.

<dependency>
    <groupId>studio.magemonkey</groupId>
    <artifactId>codex</artifactId>
    <version>1.0.0-R1</version>
</dependency>

A huge thanks to our contributors

codex's People

Contributors

travja avatar sentropic avatar dependabot[bot] avatar goflishmc avatar saltyaimbotter avatar

Stargazers

 avatar 枫饼干 avatar

Watchers

 avatar  avatar

codex's Issues

Will not compile at all.

The latest 097ad89 commit in git will not compile. Errors are 100+.
Could you please release a working jar for 1.18.2?

There are no problems compiling other plugins. In the same way, so I don't suspect any misconfiguration on my end.

Example of errors:

$ git clone https://github.com/promcteam/promccore.git
Cloning into 'promccore'...
remote: Enumerating objects: 1417, done.
remote: Counting objects: 100% (1417/1417), done.
remote: Compressing objects: 100% (770/770), done.
remote: Total 1417 (delta 696), reused 1170 (delta 450), pack-reused 0
Receiving objects: 100% (1417/1417), 451.86 KiB | 2.32 MiB/s, done.
Resolving deltas: 100% (696/696), done.
$ mvn clean package
[INFO] Scanning for projects...
[INFO] 
[INFO] -----------------------< mc.promcteam:promccore >-----------------------
[INFO] Building ProMCCore 1.0.3.8
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for io.lumine.xikage:MythicMobs:jar:4.9.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.mcmonkey:sentinel:jar:2.2.5-20210408.112621-407 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ promccore ---
[INFO] Deleting /root/ProBuilds
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ promccore ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (readme) @ promccore ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ promccore ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 272 source files to /root/ProBuilds/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /root/promccore/src/main/java/mc/promcteam/engine/api/meta/NBTAttribute.java:[3,28] package org.bukkit.attribute does not exist
[ERROR] /root/promccore/src/main/java/mc/promcteam/engine/api/meta/NBTAttribute.java:[4,28] package org.bukkit.inventory does not exist
[ERROR] /root/promccore/src/main/java/mc/promcteam/engine/api/meta/NBTAttribute.java:[48,19] cannot find symbol
  symbol:   class Attribute
  location: class mc.promcteam.engine.api.meta.NBTAttribute
[ERROR] /root/promccore/src/main/java/mc/promcteam/engine/api/meta/NBTAttribute.java:[51,52] cannot find symbol
  symbol:   class Attribute
  location: class mc.promcteam.engine.api.meta.NBTAttribute
[ERROR] /root/promccore/src/main/java/mc/promcteam/engine/api/meta/NBTAttribute.java:[63,12] cannot find symbol
  symbol:   class Attribute
  location: class mc.promcteam.engine.api.meta.NBTAttribute
[ERROR] /root/promccore/src/main/java/mc/promcteam/engine/api/meta/NBTAttribute.java:[68,34] cannot find symbol
  symbol:   class EquipmentSlot
  location: class mc.promcteam.engine.api.meta.NBTAttribute
[ERROR] /root/promccore/src/main/java/mc/promcteam/engine/manager/api/gui/JIcon.java:[4,18] package org.bukkit does not exist
[ERROR] /root/promccore/src/main/java/mc/promcteam/engine/manager/api/gui/JIcon.java:[5,31] package org.bukkit.enchantments does not exist

Add back support for 1.12 skillapi

The previous core, mccore supported sklillapi with 1.12.2 support. We need to add this to promccore, so that 1.12 users can update to promccore.

After using the latest version, there are the same items in the inventory bar, and it will bounce back when sliding with the pulley

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The player puts the same item in the inventory, such as a grass block
Then use the mouse wheel to scroll
You will find that you can’t slide and will always bounce back

Expected Behavior

Hope to fix it soon

Steps To Reproduce

No response

Environment

- Server Software:
- ProRPGItems Version:1.0.6-r0.1
- ProMCCore Version:1.0.6-r0.1
- Plugins: pupur 1.20.1

latest.log

no

Anything else?

no

[Mohist 1.16.5] "Could not load"

That's the problem. I'm new to setting up plugins, I don't understand what's going on.

[22:07:49 ERROR]: Could not load 'plugins/ProMCCore-v1.0.4-R0.2-20221217.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: mc/promcteam/engine/NexEngine has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:148) ~[forge:?]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:393) ~[forge:?]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:301) ~[forge:?]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:390) ~[forge:7e29f765-296df566-9fb885e8]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.reload(CraftServer.java:922) ~[forge:7e29f765-296df566-9fb885e8]
        at org.bukkit.Bukkit.reload(Bukkit.java:637) ~[forge:?]
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:27) ~[forge:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:171) ~[forge:?]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:775) ~[forge:7e29f765-296df566-9fb885e8]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchServerCommand(CraftServer.java:759) ~[forge:7e29f765-296df566-9fb885e8]
        at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:367) ~[?:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:339) ~[?:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:1003) ~[?:?]
        at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:818) ~[?:?]
        at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:269) ~[?:?]
        at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_301]
Caused by: java.lang.UnsupportedClassVersionError: mc/promcteam/engine/NexEngine has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_301]
        at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_301]
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_301]
        at org.bukkit.plugin.java.PluginClassLoader.remappedFindClass(PluginClassLoader.java:253) ~[forge:?]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:176) ~[forge:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_301]
        at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:116) ~[forge:?]
        at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:111) ~[forge:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_301]
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_301]
        at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_301]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:79) ~[forge:?]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144) ~[forge:?]
        ... 15 more

[ProMCCore] Could not set killer.

[23:37:23 ERROR]: [ProMCCore] Could not set killer.
[23:37:23 WARN]: java.lang.IllegalArgumentException: Can not set int field net.minecraft.world.entity.EntityLiving.bd to net.minecraft.server.level.EntityPlayer
[23:37:23 WARN]: at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)
[23:37:23 WARN]: at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)
[23:37:23 WARN]: at java.base/jdk.internal.reflect.UnsafeIntegerFieldAccessorImpl.set(UnsafeIntegerFieldAccessorImpl.java:98)
[23:37:23 WARN]: at java.base/java.lang.reflect.Field.set(Field.java:799)
[23:37:23 WARN]: at promccore-1.0.4-R0.2-20221217.064306-1 (4).jar//mc.promcteam.engine.utils.reflection.ReflectionUtil.setKiller(ReflectionUtil.java:191)
[23:37:23 WARN]: at proskillapi-1.1.8-R0.2-20221217.074426-1 (2).jar//com.sucy.skill.listener.KillListener.onPhysical(KillListener.java:132)
[23:37:23 WARN]: at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor386.execute(Unknown Source)
[23:37:23 WARN]: at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75)
[23:37:23 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[23:37:23 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[23:37:23 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669)
[23:37:23 WARN]: at proskillapi-1.1.8-R0.2-20221217.074426-1 (2).jar//com.sucy.skill.listener.MainListener.onPhysicalDamage(MainListener.java:376)
[23:37:23 WARN]: at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor355.execute(Unknown Source)
[23:37:23 WARN]: at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75)
[23:37:23 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[23:37:23 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[23:37:23 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669)
[23:37:23 WARN]: at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:248)
[23:37:23 WARN]: at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:1149)
[23:37:23 WARN]: at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:1008)
[23:37:23 WARN]: at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:962)
[23:37:23 WARN]: at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:1183)
[23:37:23 WARN]: at net.minecraft.world.entity.EntityLiving.damageEntity0(EntityLiving.java:2065)
[23:37:23 WARN]: at net.minecraft.world.entity.EntityLiving.a(EntityLiving.java:1346)
[23:37:23 WARN]: at net.minecraft.world.entity.player.EntityHuman.d(EntityHuman.java:1278)
[23:37:23 WARN]: at net.minecraft.server.level.EntityPlayer.d(EntityPlayer.java:2040)
[23:37:23 WARN]: at net.minecraft.server.network.PlayerConnection$5.a(PlayerConnection.java:2541)
[23:37:23 WARN]: at net.minecraft.network.protocol.game.PacketPlayInUseEntity$1.a(PacketPlayInUseEntity.java:24)
[23:37:23 WARN]: at net.minecraft.network.protocol.game.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:80)
[23:37:23 WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2468)
[23:37:23 WARN]: at net.minecraft.network.protocol.game.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:67)
[23:37:23 WARN]: at net.minecraft.network.protocol.game.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:12)
[23:37:23 WARN]: at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:51)
[23:37:23 WARN]: at net.minecraft.server.TickTask.run(TickTask.java:18)
[23:37:23 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153)
[23:37:23 WARN]: at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24)
[23:37:23 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1400)
[23:37:23 WARN]: at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:188)
[23:37:23 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.y(IAsyncTaskHandler.java:126)
[23:37:23 WARN]: at net.minecraft.server.MinecraftServer.be(MinecraftServer.java:1377)
[23:37:23 WARN]: at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1370)
[23:37:23 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136)
[23:37:23 WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1348)
[23:37:23 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1230)
[23:37:23 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316)
[23:37:23 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)

I use MMobs

An error occurred while loading the plugin.

The following is a record of the error.

[14:33:11 ERROR]: Error occurred while enabling Codex v1.0.0-R0.1-SNAPSHOT (Is it up to date?)
java.lang.NoClassDefFoundError: org/bukkit/generator/WorldInfo
at studio.magemonkey.codex.legacy.placeholder.PlaceholderRegistry.load(PlaceholderRegistry.java:93) ~[?:?]
at studio.magemonkey.codex.CodexEngine.loadCore(CodexEngine.java:179) ~[?:?]
at studio.magemonkey.codex.CodexPlugin.onEnable(CodexPlugin.java:92) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:270) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-794]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.ClassNotFoundException: org.bukkit.generator.WorldInfo
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:155) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:114) ~[patched_1.16.5.jar:git-Paper-794]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
... 12 more

Virus?

image
while iam trying to load the plugins, window defender show that!

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.