@Mrs. bwfctower I can't I get errors "Remove Invalid Modifiers" "Create Class "PlayerListener" in Type "Tour" public void onEnable() {...
@Mrs. bwfctower Correct, it extends JavaPlugin
@Mrs. bwfctower Oh im sorry, public Tour(PlayerListener playerListener) { this.playerListener = playerListener; }
@Mrs. bwfctower Okay, so this is whit I've come up with, although it says "an internal error has occurred" when I do /enemy. public class...
well , its not that easy if I cant make a public static variable in the PlayerListener class
Thanks for the suggestion. I looked up some threads on how I would go about doing this, but I'm still not exactly sure. I was wondering is you...
Hey Guys, I have an issue today. I am trying to access a distance variable from my PlayerListener class so that when a player does /enemy, it...
In my case, that wouldnt work due to the fact that I want a dynamic player to be banned.I can't do this :...
Hello Everyone, today I am creating a ban feature for my newest plugin that i have been working on for a few months now. Whenever I set a player...
if(input.equalsIgnoreCase(Tour.getConfig().getString(""))){ Nope, if that's what you mean, This is inside a run method by the way, Tour is my...
Hey guys, in my plugin, I have a chatbot. I would like the server owner to be able to configure what the player can say to trigger a response from...
Sorry I see now, that worked, thanks so much EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Oh, I'm stupid, I forgot to replace "this" with "tour" Thanks, I assume in my main class I would add the parameter null ? Without that, there is...
Thanks, but I still have the same outcome. private Tour tour; public PlayerListener(Tour tour) { this.tour = tour; }...
Schedule syncDelayedTask ? I got an error @EventHandler publicvoid onPlayerChat(AsyncPlayerChatEvent event){ String input =...
Separate names with a comma.