Player target = getServer().getPlayer(String name);
Oh, didn't know it works the other way around, too.
The problem is your plugin.yml. If you have more than one author, you have to list it like this: authors: [name1,name2,name3]
You have an int "123". You put it in the method: splitInt(123); Then you get the chars length of the int: String[] strings = new...
public void splitInt(int example) { String[] strings = new String[String.valueOf(example).toCharArray().length]; for(int i...
File file = new File(getServer().getWorldContainer(), "<foldername>"); if(file.exists()) { } Should do it ;)
Maybe create an own object: public class PPlayer { private Player player; private String string; private String otherstring;...
Agree with that. I have a fix for that: private void deleteMap(File dir) { File[] files = dir.listFiles(); for(File file :...
Add the colors with a loop. What you're adding is a List and not a single color. I thinks thats the error.
Find "Creative Fireworks" here!
Create a HashMap that saves if the player has enabled blockchanger. public Map<Player,Boolean> blockchangers = new HashMap<Player,Boolean>(); So...
Create a public list of players where all players get listed who are freezed. public List<Player> freezedPlayers = new ArrayList<Player>(); So...
Check if the character length is 4.
Ok, thanks.
Throws error (not allowed to use). So it is not possible to set the color in the plugin.yml itself? Thanks for your replies!
Separate names with a comma.