How do I? I've tried, and failed, I'd like to know how to do this.
Here's the code: plr.getInventory().addItem(new ItemStack(Integer.parseInt(args[0]),Integer.parseInt(args[1]))); Why is this happening?
Okay, when I made a command, ((Player) sender).setGameMode(GameMode.CREATIVE); and vice versa, It doesn't set gamemode? I have the plugin.yml...
But, what did I do wrong? I need to learn before I copy and paste.
Okay, I had finally thought I did it, made a simple plugin, then I saw I failed, in the server.log, it said the YAML parser couldn't read the...
Ok, I've never compiled a plugin, or even a simple java package before, As I've always used MCP. Can someone tell me how? I feel really noobish. I...
Thanks, again, just learning this as I go.
Okay, now I don't think I'm derping on this post, there's no new Player availability, or any thing like Player.loadfromusername, I actually...
I'm stupid...
I already have the command set up, but how do I actually OP the player? I know you can check it with IsOp, but there's no SetOp. I'm new to...
Separate names with a comma.