serverside
|
::vote so it brings up a website
is it client or server sided? anyone care to spare one ?
thanks in advance rep++
serverside
add this in your commands.java
Code:if (cmd[0].equalsIgnoreCase("forums") { player.getPackets().sendOpenURL("yoururlhere"); }
You could client sided if you want to make your custom client but server sided would be what January posted.
I've done this and its in both the client and server side. You need to make the client send the url packet according to a case. The browse method is already done in RunClient.java and you need to make the client recognize something in a packet in order for it to know to send the browse packet. In the server side, you need to send something that the client will recognize and send the packet. Quite confusing but yeah good luck.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |