So this is the general structure of the eventhandler: onBlockPlaceEvent if (player placed block in specific area) ask the player a...
Firstly, wouldn't a blockPlaceEvent then be considered async since the player issues that event? Secondly, why do you have to check if the event...
Awesome thanks. I know very little about that thread stuff, but it's enough to know what you mean. If anybody wants to go into detail explaining...
So what's the difference between AsyncPlayerChatEvent and PlayerChatEvent?
In the plugin I am writing, I have an eventhandler which handles a blockPlaceEvent. Once a player places a block, I need to get keyboard input...
This makes sense. I still want an answer about whether this is new in 1.4.2. As I said above, I wrote a plugin with 1.3.2 that, for all intents...
So if you check if sender hasPermission and the console sent the command, would it just let the console run it or would it check if the console...
Y Changing the permission default to op works. Changing the last return to true does not.
Is this new to the 1.4.2 API? I developed a plugin with 1.3.2 with console commands which had the permission default set to false and they worked.
word
I need to check if the player has the permission, and I don't think you can check if the console has a permission
I'll try a return true, then setting the default as op and report back in a minute
so even the console can't enter commands that default to false? That seems strange.
So I have this command method in an executor class. I used the getCommand("resetcity") in my onEnable method to point to this class. Here's the...
Oh I see. So in the main class if I "extend JavaPlugin implement Listener implement CommandExecutor" (I have an event in the main class so I need...
Separate names with a comma.