Overriding Bukkit Functions to Implement Bungeecord IP Forward

Discussion in 'Plugin Development' started by krisdestruction, Jun 5, 2014.

Thread Status:
Not open for further replies.
  1. Offline


    I am trying to see if there's a way I can implement Bungeecord's IP forward feature through a plugin based solution. I was wondering if it would be possible to override and replace certain functions through a plugin. I want to replace player.getAddress() with my own InetSocketAddress return value.
  2. Offline


    Short of using a bytecode modification library (very hacky solution, I wouldn't recommend it) I don't believe this is possible.
  3. Offline


    This thread will be locked as we dont support. Bungee/Spigot on bukkit forums.
  4. Offline


    If you actually read the post, versus insta-triggering off of keywords, you'll see the OP is trying to implement something like BungeeCord, but as a Bukkit plugin.

    This would be super awesome if possible, I'm all for it. Even if it does something crazy like use AspectJ, and won't get approved as an official plugin, I'd still love to see it happen :)
    Arkel likes this.
  5. Offline


    Actually, he's trying to implement a feature of Spigot that passes the real IP into the server instead of the proxy. To be useful, this technically requires BungeeCord.


    Have fun trying not to break something, I guess.
    NathanWolf and fireblast709 like this.
  6. Offline


    Ahhhhhhh.. well, doh. And ok then, lock away I guess :p

    ... while I still have time, though, is anyone up for making a Bukkit plugin that somehow does what BungeeCord does? :D
  7. Offline


    We do not support bungeechord we support craftbukkit.
    Alster551 likes this.
Thread Status:
Not open for further replies.

Share This Page