Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

BouncyBall: A MCPE Bouncer/Proxy

Comments in 'Tools' started by jython234, Apr 24, 2015.

  1. Kvetinac97
    Offline

    Kvetinac97 Active Member Plugin Developer

    Joined:
    Nov 17, 2014
    Posts:
    276
    Plugins:
    1
    Minecraft User:
    Kvetinac97
    OK. I put the BouncyBall.jar file onto my VPS, I ran java -jar BouncyBall.jar, it wrote that server started, but I don't know how to configure it. In config.yml, there's only on which ip and port will the proxy be running.
  2. myst02
    Offline

    myst02 Active Member

    Joined:
    Mar 23, 2015
    Posts:
    97
    Minecraft User:
    myst02
    Same problem as @Kvetinac97. I am just too stupid o_O :p

    EDIT: I think you have to edit the code (not tested)

    from
    PHP:
    public RemoteServerSession(MinecraftPEServer serverSocketAddress serverAddressSocketAddress clientAddr){
    this.server server;
    this.clientAddr clientAddr;
    this.serverAddress serverAddress;
    }
    to
    PHP:
    public RemoteServerSession(MinecraftPEServer serverSocketAddress serverAddressSocketAddress clientAddr){
    this.server server;
    this.clientAddr clientAddr;
    this.serverAddress play.lbsg.net;
    }
    play.lbsg.net as an example. I'll test it later.
    I can't ensure that it works, but it's definitely worth a try.
    Last edited: Dec 30, 2015
  3. Kvetinac97
    Offline

    Kvetinac97 Active Member Plugin Developer

    Joined:
    Nov 17, 2014
    Posts:
    276
    Plugins:
    1
    Minecraft User:
    Kvetinac97
    I found out also how to add more servers. Just use something like
    PHP:
    mt_rand();
    in php to randomly connect to server 1/2/3...
  4. myst02
    Offline

    myst02 Active Member

    Joined:
    Mar 23, 2015
    Posts:
    97
    Minecraft User:
    myst02
    So my way worked for you? Or did you use another way? If you used another way, may you post the code snippet here, thanks :D
  5. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    incorrect, learn a bit Java >.< (Joking)
    serverAddress is defined from the void (or function) when it's ran.
  6. jython234
    Offline

    jython234 Notable Member Plugin Developer

    Joined:
    Nov 4, 2013
    Posts:
    324
    Plugins:
    1
    Minecraft User:
    jython234
    Where did you get the JAR? did you compile from source?
  7. Kvetinac97
    Offline

    Kvetinac97 Active Member Plugin Developer

    Joined:
    Nov 17, 2014
    Posts:
    276
    Plugins:
    1
    Minecraft User:
    Kvetinac97
    i downloaded src folder, pom.xml, installed maven and Java 8 on my VPS (Ubuntu 15.10).

    The problem I wrote has been solved, I just wanted to run new MinecraftPEServer on port 12345... (just no 19132 cuz 19132 is bugging ~ no MCPE|other servers with port 19132 don't run on it).
    However, when I join server with proxy & disconnect from it, it "ipbans" me until next restart of proxy.
  8. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    A "proxy" server is where all players join with the same IP.

Share This Page

Advertisement