Skip to content

Java Request :)

Featured Replies

Hello guys..

I want to make on "EnterWorld.java" method with "server time"

like this:

if (serverTime > 12:00 && serverTime < 14:00)
{
   player.teleToLocation(X, Y, Z, 0);
}
else if (serverTime > 14:00 && serverTime < 16:00)
{
   player.teleToLocation(X2, Y2, Z2, 0);
}
else....

So when a player Join to be auto teleport.

 

How can i do that ? :)

Thanks.

  • Author

Solved.... Lock it :)

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.