5zig / the-5zig-mod-api-2.0 Goto Github PK
View Code? Open in Web Editor NEWThe 5zig Mod ServerAPI is a plugin created for easy communication from a Plugin to a Client using Custom Payloads
Home Page: http://5zig.net
The 5zig Mod ServerAPI is a plugin created for easy communication from a Plugin to a Client using Custom Payloads
Home Page: http://5zig.net
Hello,
during startup on the 1.7/1.8 Protocol hack:
22.04 11:27:06 [Server] INFO Enabling The5zigMod v2.3.2
22.04 11:27:06 [Server] INFO Trying to setup Hooks for CraftBukkit v1_7_R4
22.04 11:27:06 [Server] WARN java.lang.ClassNotFoundException: eu.the5zig.mod.server.util.protocol.BufferUtils_v1_7_R4
22.04 11:27:06 [Server] WARN at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
22.04 11:27:06 [Server] WARN at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101)
22.04 11:27:06 [Server] WARN at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)
22.04 11:27:06 [Server] WARN at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
22.04 11:27:06 [Server] WARN at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
22.04 11:27:06 [Server] WARN at java.lang.Class.forName0(Native Method)
22.04 11:27:06 [Server] WARN at java.lang.Class.forName(Class.java:264)
22.04 11:27:06 [Server] WARN at eu.the5zig.mod.server.The5zigMod.setupHooks(The5zigMod.java:68)
22.04 11:27:06 [Server] WARN at eu.the5zig.mod.server.The5zigMod.onEnable(The5zigMod.java:39)
22.04 11:27:06 [Server] WARN at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316)
22.04 11:27:06 [Server] WARN at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332)
22.04 11:27:06 [Server] WARN at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:412)
It looks like 1.7 isn't supported with the API. Can you please add support for it? I went through the work to get a plugin developed for it and I can't use it without 1.7 support for the API.
Which is the maximum available size to send?
Running sendLargeText fails to send text to the 5Zig client on login with the beta4 client.
Pastebin'd dummy code: http://pastebin.com/8EgAhcWm
Running latest version of the ServerAPI (I downloaded and tested latest build right before posting this).
The 5ZigServerModAPI is currently programmed using 1_8_R1 NMS data - however, the mod itself uses version 1.8.3, leading users to believe that server version 1.8.3 (R2) is necessary to run. Additional checks/hooks should be made for running on 1_8_R1 and 1_8_R2.
Log from Server Console: http://pastebin.com/KMYjMP5g
Hey 5zig,
during startup, the following error appears in the console:
[10:54:08] [Server thread/INFO]: [The5zigMod] Enabling The5zigMod v2.3
[10:54:08] [Server thread/INFO]: [The5zigMod] Trying to setup Hooks for CraftBukkit v1_9_R2
[10:54:08] [Server thread/WARN]: java.lang.ClassNotFoundException: eu.the5zig.mod.server.util.protocol.BufferUtils_v1_9_R2
[10:54:08] [Server thread/WARN]: at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[10:54:08] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101)
[10:54:08] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)
[10:54:08] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[10:54:08] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[10:54:08] [Server thread/WARN]: at java.lang.Class.forName0(Native Method)
[10:54:08] [Server thread/WARN]: at java.lang.Class.forName(Class.java:264)
[10:54:08] [Server thread/WARN]: at eu.the5zig.mod.server.The5zigMod.setupHooks(The5zigMod.java:68)
[10:54:08] [Server thread/WARN]: at eu.the5zig.mod.server.The5zigMod.onEnable(The5zigMod.java:39)
[10:54:08] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)
[10:54:08] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
[10:54:08] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
[10:54:08] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_9_R2.CraftServer.loadPlugin(CraftServer.java:362)
[10:54:08] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_9_R2.CraftServer.enablePlugins(CraftServer.java:322)
[10:54:08] [Server thread/WARN]: at net.minecraft.server.v1_9_R2.MinecraftServer.t(MinecraftServer.java:416)
[10:54:08] [Server thread/WARN]: at net.minecraft.server.v1_9_R2.MinecraftServer.l(MinecraftServer.java:381)
[10:54:08] [Server thread/WARN]: at net.minecraft.server.v1_9_R2.MinecraftServer.a(MinecraftServer.java:336)
[10:54:08] [Server thread/WARN]: at net.minecraft.server.v1_9_R2.DedicatedServer.init(DedicatedServer.java:268)
[10:54:08] [Server thread/WARN]: at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:532)
[10:54:08] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:745)
[10:54:08] [Server thread/ERROR]: [The5zigMod] Could not find support for this CraftBukkit version
It seems that v1_9_R2 isn't supported. I only found v1_9_R1 in the javadocs. Please add the v1_9_R2 support. After that you can say, that the api is supporting all minecraft versions from 1.8 to 1.11 :)
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.