i will try this and reporting for bugs
Why u spamming in my thread? replace the tabs with spaces and
There is no error...Just nothing happens...
not working... for me... Can you give me example for new event system?And can it be in one class?
I was type EventHandler instead of EventListener...
Look this : if (sender instanceof Player) // this is optinal... { int amount; if (command.getName().equalsIgnoreCase("expgive"))...
i will try to make it and to give you the code w8 some seconds
and you must have in your plugin.yml this: commands: kill: description: Destroys a human bean. usage: /<command> player Edit:...
Use this : Player target = player.getServer().getPlayer(args[0]); oh and in your command type return true; this tell that the command is successful.
yes but i am new and i want everything to be in one class. Edit: FORGOT TO THANK YOU. MAN YOU ROCK! i test it today but it didnt work again......
and it will work just like that without any changes?
can everything (listener + main) to be in one class file
doesnt work again it doesnt show anything... Edit:Then how to register it right ?
Hello again everyone! I tried to output the player.getlevel to console but nothing seems happens My code: public void onPlayerChatEvent(Player...
may be with a lot of coding...Whatever i don't know how i can't help.
Separate names with a comma.