Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ProtocolLibrary.getProtocolManager().addPacketListener(new PacketAdapter(this, ListenerPriority.NORMAL, PacketType.Status.Server.OUT_SERVER_INFO) {
- @SuppressWarnings("deprecation")
- public void onPacketSending(PacketEvent e) {
- final WrappedServerPing ping = (WrappedServerPing) e.getPacket().getServerPings().read(0);
- ping.setPlayers(Arrays.asList(new WrappedGameProfile("id1" , "§ejogar.timepvp.com")));
- ping.setVersionName("§eFase BETA");
- ping.setVersionProtocol(99);
- ping.setMotD("§c§lTime§f§lPvP §7(1.8.*)\n§fNovidades em breve...");
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment