Brb, gotta facepalm pretty hard. Scrolled up one extra line and noticed the net.minecraft.etcetc was imported already somehow. Fixed. >_> Lol
Doesn't work. Says it can't be found.
Using the 1.5.2R0.1 Bukkit version and whenever I do "Scoreboard board = manager.getNewScoreboard();" I get "Incompatible types; Required:...
It's only the case with %. It doesn't mess up anything in-game except show no format and doesn't show the message to anyone but the sender themselves.
It's solved. All I'm going to do next is set up a global and staff "channel" too. But I believe I've got it. Just use perms for the staff, and the...
playerChat.getRecipients().clear(); playerChat.getRecipients().addAll(Redemption.livingPlayers); Is what I used. It works how I...
Such as; if (Redemption.playerSideConfig.getString("PlayerSide." + playerChat.getPlayer().getName() + ".side").equals("living"))...
Could you, or anyone else, explain it a bit further? I have the arraylists set up correctly, how would I use the for loop to go through the list?
I'll start off by saying that yes I looked at source code of multiple chat plugins and I still don't understand how I would create a couple or so...
I may actually use that for giving out "starter items". But the reason I use this other way is to make sure that they're set in stone as Living,...
So, I really wouldn't need to use playerSide at all, would I? I just figured I could set it as a String to make it easier. Hmm.
Ooh yes, I understand now. When the player joins, the String playerSide would obviously be null since when they join, they won't have a side. Then...
Could anyone explain to me what the difference is in these two pieces of code and why the 1st one throws a NullPointerException, yet the 2nd does...
So if you see in Redemption.java, the "undeadSpawn" and "livingSpawn", how would I be able to use those variables in RedemptionEvents.java? I...
I am trying to split up my code between a couple classes which I'm having difficulty doing and I had thought everything was okay but when I use...
Hmm. Well the way it's set up, does work which I'll change it, but it still is broke since it refuses to read from the yml file after a /reload =/...
I use if (playerSideConfig.get("PlayerSide." + player.getName() + ".side", "living") == "living") {...
What do you mean? If this is what I believe it means, There was no errors thrown in the console. EDIT: Nevermind, It just refuses to allow any...
Well. I'm needing a way to set a player as "living" or "undead" which will be wrote into the yml file. Then when I do stuff such as onPlayerDeath,...
I'm already doing that. :P
Separate names with a comma.