Player target = Bukkit.getPlayerExact(args[0]); String tname = target.getDisplayName(); String pname =...
I did this: if (target == null) { player.sendMessage(ChatColor.RED + "Your target is currently offline!");...
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) { Player player = (Player) sender;...
Ok I got it working but if the target is not online it should send a message to the player saying "Your target is currently offline" but it again...
Then where should it be? NVM I fixed it thanks soo much I've been trying to fix this for so long!
That command ran out of this code: So, no public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {...
[07:07:04] [Server thread/INFO]: Fullzer0 issued server command: /gmc [07:07:04] [Server thread/ERROR]: null org.bukkit.command.CommandException:...
There is not error in eclipse it self but it still says an internal error occurred when I do /gmc so I still need to do /gmc Fullzer0
so should I do if(args.length == 0) instead of if(args[0].length == 0)? edit: I tried it and it didn't work if there is any other way please...
Hello! I'm new to developing plugins, I tried to change my /gmc command so you could do /gmc [another person] and that worked but the problem is...
Thank you so much! My plugin is now working! Thank you so much for helping me make my plugin!
Ok so it worked but when I tried to add color to the welcome messages it said Invalid plugin.yml Here is the plugin.yml name: FullzSpawn main:...
No I don't think so can, can you help me register the event?
Why didn't I think of that! I'll try that right now if it doesn't work I guess I'll just like reply or something Still doesn't work.....
Hello! I'm really new to making plugins, just wanted to make that clear! So I tried to make a plugin that teleported you to the spawn area when...
Separate names with a comma.