Garris0n Yes just have not done it in a while might pause bukkit and refresh myself
Garris0n Player.getname but player isn't called in the listener class and i cant call player Bobit thanks ,you get it completely but at the...
Garris0n Ok i referenced the hashmap using dot operators how would i reference ourPlayer though? its a string
Garris0n i thought you said the listener cant be in the same class
the listener Garris0n
Garris0n the strings and map i have created are not carried over how would i use them with the same values?
Garris0n could i do it within one class?
@Gater Garris0n ok basically i want to be able to type /cgod to make hashmap boolean true i have done that bit I also want me to be able to be...
Bobit that does not matter to be honest but think of it like this when damaged && map ourplayer = true { //example placeholder...
Bobit Yes but the if statement does not work outside of the main class. is there a way to create a instance of it with the same values because...
package me.GeorgeMarx; import java.util.HashMap; import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.ChatColor;...
Garris0n sorry the class i type my commands in didn't mean "Main" just meant the big one i guess but when i put it in there it says void is a...
Bobit So how would i use the listener in my main method , or is there a way around that?
I would like a example of this as i know you can not have a listener in a main method, so how would i use a if statement in a main method to...
Oh yeh my flash or something is screwed.
Separate names with a comma.