Craftbukkit repo

Discussion in 'Plugin Development' started by sohardhun15, Feb 6, 2016.

Thread Status:
Not open for further replies.
  1. How could i import CraftPlayer, because i cant use craftbukkit thru maven?
    Code:
    public void sendJson(Player p) {
        ((CraftPlayer) p).getHandle().playerConnection.sendPacket(
        new PacketPlayOutChat(ChatSerializer.a(toString()), true));
        }
     
  2. Offline

    Xerox262

    @sohardhun15 Maven of spigot does not include NMS classes and such, breaches some laws or copyright or trademark I believe, This is why spigot uses BuildTools, it downloads both the server file and the spigot file then combines them. in order to use them you need the built version of the server, then add said jar to the build path.
     
Thread Status:
Not open for further replies.

Share This Page