i made this awhile ago never used it tho, feel free to use it, these are only p2p worlds
int[] p2pWorlds = {302, 303, 304, 305, 306, 309, 310, 311, 312, 313, 314, 318, 319, 320, 322, 327, 328, 329, 330, 333,
334, 336, 338, 341, 342, 343, 344, 346, 349, 350, 351, 352, 353, 354, 357, 358, 359, 360, 361, 362, 365,
366, 367, 368, 369, 370, 373, 375, 377, 386};
private boolean hop() {
int random = random(0, p2pWorlds.length - 1);
while(random == worlds.getCurrentWorld()) {
random = random(0, p2pWorlds.length - 1);
}
return worlds.hop(random);
}