Jump to content

SunnyLo

Members
  • Posts

    12
  • Joined

  • Last visited

SunnyLo's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Because I want to send packets both from spigot to forge and forge to spigot. I'll remove the thing. I've found this thread which someone ask the same thing as me. But he/you didn't show the code. Can you post an example code of using ByteArrayDataOutput? http://www.minecraftforge.net/forum/topic/59154-communication-between-forge-mod-and-bukkit-plugin/
  2. It seems to be not working. know why? Code for the plugin: https://hastebin.com/avijezutus.java Code for the mod: https://hastebin.com/pajegewofi.java
  3. Oh yeah, I'm dump. Why I need this check. I'm new to forge, please forgive me.
  4. The check that you say makes zero sense.
  5. Okay, so sponge is actually a bukkit replacement. So can spigot plugins work on sponge server? And what should I do to perform the check?
  6. But if I use sponge, every player MUST install this mod, I just want this mod to be extra. Such as betterpvp mod or 5zig. Please correct me if I'm wrong
  7. EntityPlayer entityPlayer = Minecraft.getMinecraft().thePlayer; if (entityPlayer == serverPlayer) { System.out.println(msg); } Like this?
  8. Forget to quote, deleted msg
  9. First, I'm using this class to receive packets. https://hastebin.com/amijotirif.java How do I check if the "EntityPlayerMP" to the player that is playing? Second, What should I do to receive packets in spigot? Third, What should I do to send packets in spigot?
  10. Thanks for the respond. But can you tell me more detail about it?
  11. 1. I want to send a packet in forge client when a player joins the server 2. I want spigot to send a packet when issue a spigot command. Then the forge mod reacts back with another packet. Spigot link with same things: https://www.spigotmc.org/threads/how-to-send-and-receive-packets-between-spigot-and-forge.321331/
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.