Hey! I'm not new to (Java-) development, but I have basically no knowledge about adding the Bukkit jar and so on to my project without the use of...
Okay, I wrote a short test-command that sent this package to the sender, but always with my ID. If I use it, the effect is displayed in my...
Okay, I found it... it was PermissionsEx
The whole method noPermission() works, but since I added the nodes to the commands in the plugin.yml it doesn't get called anymore. I guess that...
private ConsoleCommandSender console = Bukkit.getServer().getConsoleSender(); Sending messages to console works fine ;)
That's (basically) what I'm doing. if(p != null && p.hasPermission("permission.node")) { some code } else if (p == null) { playerOnly(sender);...
In the onCommand() I check if the user has permissions, and if not I react by sending the user a message and also sending the admins a message....
Isn't chatting asynchronously? Might be better to try the command and then place a block quicly..
To be honest: I have no clue. I just wanted to see what happens if I send that package. Sorry, never worked with packets before :/
Okay, I never looked into Packets, but I'm sure I can handle it ;) Nice, when I googled around the first thing I found was your plugin :p If it's...
https://github.com/essentials/Essentials/blob/master/Essentials/src/net/ess3/commands/Commandtime.java That's how essentials does it. Looks like a...
First, use YAML files like zeeveener said, or maybe even a database (SQLite or MySQL). If you do it with (yaml or text) files: On PlayerJoinEvent,...
Okay, thanks. Looks like I need to find another way... Maybe block the effect, but vanish the player or something like this...
Probably this one, have't tested yet... http://jd.bukkit.org/apidocs/org/bukkit/event/entity/EntityExplodeEvent.html
I'm doing it (basically) the same way as you do (but without the broadcast) and it works just fine... What other plugins are on your testserver?...
*push*
Okay, thanks, that's what I wanted!
Yes, but I need to use the PlayerCommandPreprocessEvent, since I want to catch every entered command, not only from my plugin. And they're not...
When I catch a PlayerCommandPreprocessEvent, I get the message the users entered. I strip the / and the arguments, so I only have the actual...
Because you don't return true anywhere, so your code gets executed to the very bottom where it says return false. It's your job to determine...
Separate names with a comma.