07.06.2014, 11:25
Quote:
@AirKite: What do you mean by MultiThread Query? You can use all java code that you could usually use in a normal java application.
If you want to make a Thread you should do: Код:
new Thread(() -> System.out.println("This messages comes from a other Thread !")).start(); Код:
Shoebill.get().runOnSampThread(() -> { for(Player player1 : Player.getHumans()) { player1.sendMessage(Color.GREEN, "You got this message from a other thread!"); } }); |