Someone will find this useful I bet, .
|
I know this is very basic and that there are better ways to do this everyone should know how to do this
Heres How to do it
Go into Client.java
Search
Add BelowCode:if (addStarter)
Code:sendMessage("<shad=200000000>[NEW PLAYER]" +Misc.optimizeText(playerName)+" is new to Server_Name, Make them feel Welcomed. ");
Credits: 100% to who ever
> 2016
> This tutorial
Wouldnt this only be seen by the new player logging in?
This would come in good use if your starting from scratch Thanks
Should go under the addStarter method in PlayerAssistant.javaCode:sendMessage("<shad=200000000>[NEW PLAYER]" +Misc.optimizeText(playerName)+" is new to Server_Name, Make them feel Welcomed. ");
and should look more like this..
Code:c.sendGlobalMessage("<shad=200000000>[NEW PLAYER]" +Misc.optimizeText(c.playerName)+" is new to Server_Name, Make them feel Welcomed. ");^ Goes into Client.javaCode:public void sendGlobalMessage(String message){ for (Player client : PlayerHandler.players) { if (client != null) { ((Client) client).sendMessage(message); } } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |