Ok, so I have created a staff chat plugin, but one thing, it all works in all, but the message shows your name not the senders name, please help...
Here is the log: [SPOILER] My main.java: [SPOILER] And my plugin.yml: [SPOILER] I need help asap! I spent around 5 hours on this plugin I...
I am so confused!!!!! I am really TIRED and I want to goto bed but I need to finish this before I goto bed, this makes no sense how do I use it!?...
I have this now: p.getWorld().createExplosion(p.getLocation(), 1); But, it explodes the player not where the fireball lands
So, how would I add that if I had this: @EventHandler public void onClick(PlayerInteractEvent e) { Player p = e.getPlayer(); Action a =...
I want to play a sound when I hit someone with my magic wand ( a gun that shoots a small fireball ) I want it to play a sound, I just need to know...
Yay! It works! But how do I make it explode when it hits a block but not do any block damage, right now, it goes through all blocks.
This still Doesn't work! D: No errors in console, neither! Guys this is my entire class: package me.tripl3_cats.magicwand; import...
It doesn't work: nothing happens in game, I have this: public void interact(PlayerInteractEvent e){ Action eventAction = e.getAction(); Player...
I want to make a magical wand plugin, when someone right clicks with a stick called Magical Wand, it will put out a fireball. So far I made it so...
THANKS!!! IT WORKED :D :D :D THANK YOU SO MUCH!
lol oops I forgot xD here [09:37:28] [Server thread/INFO]: Starting minecraft server version 1.8 [09:37:28] [Server thread/INFO]: Loading...
Hmmm... I tested it out, no errors and red lines in code, but when I do /fakejoin test it displays a giant error in the console @ESSHD @ESSHD...
in the second line ( String message = message.replaceAll("{username}", args[0].toString());) it has a red line under the first message, when I...
I want to replace {username} with a choice of any name through a /fakejoin <player> command. I have this....
Thanks, now I have it all working, EXECPT the {username} part. Cannot figure out where to put .replaceAll("{username}") at, and what do I put...
It still shows the default message. Entire class: package me.tripl3_cats.fakechat; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import...
my config.yml is fakejoin: &e{username} joined the game. fakeleave: &e{username} left the game.
This doesn't work D: it comes up with the default message
I want to make a /fakejoin command that you can edit how it turns out in the config. So far I have this:...
Separate names with a comma.