You are not logged in.

  • Login

[Bukkit-Plugin] ArrayList + Auto teleport

Bitte besucht unser neues Forum unter https://forum.nitrado.net | Please visit our new Forum at https://forum.nitrado.net

Dear visitor, welcome to Nitrado.net Prepaid Gameserver Community-Support - Archiv. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Pascalpas07

User / Kunde

  • "Pascalpas07" is male
  • "Pascalpas07" started this thread

Posts: 92

Occupation: Java schüler

  • Send private message

1

Thursday, May 1st 2014, 1:57pm

ArrayList + Auto teleport

Hallo zusammen,
kann mir jemand helfen =?
Ich brauche folgenden Code: ArrayList wo alle Spieler gespeichert werden und am ende meines countdowns alle automatisch /sg join 1 machen. BITTE um schnelle Hilfe!

mcf_

User / Kunde

Posts: 1,363

Thanks: 22

  • Send private message

2

Thursday, May 1st 2014, 2:06pm

Mit so einer Einstellung kommst du nicht weit...

Lern Java und Bukkit! Bitte!



Blackbird1604

User / Kunde

Posts: 79

Thanks: 2

  • Send private message

3

Thursday, May 1st 2014, 3:02pm

:cookie: Okay,aber du musst das dann noch für dich anpassen:


Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
List<String> player = new ArrayList<String>(); 


public void onCountDownEnde() {


for(int i=0;i < Player.size();i++) { 

DeineKlasse.deinMethodezumJoinen(Player.get(i)); 

} 

}

Bitte besucht unser neues Forum unter https://forum.nitrado.net| Please visit our new Forum at https://forum.nitrado.net

Similar threads