Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SunnyLo

Members
  • Joined

  • Last visited

  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. 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?
  9. Thanks for the respond. But can you tell me more detail about it?
  10. 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/

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.