He wants to know why, not how to get the player...
andre111 Are you registering your events?
Your main class is named Main, not bukkit.
FabeGabeMC I tested out the code you posted, it gave me a bunch of errors. Not that I needed to, just by looking at it, I could already tell.
How is that even possible?
Are you getting any errors?
Alex_Cboy That's what I just showed you.... if you notice I'm starting loop at 1.
Then get the string from the config, and split it by ", ", run a for loop on it, and use the method I said above.
Are you trying to loop through all the args? If so, do this: String reason = ""; for(int i = 1; i < args.length; i++) { reason += s[ i ] + " "; }...
zDubsCrazy MyEggs isn't a material... Get the string from the config, and put it in the Material.valueOf().
They could decompile Bukkit and update it themselves. Or they're just using some other builds.
What's exactly wrong? Also, maybe you should take a look at this tutorial. (Only one I could find, sorry): [media]
unforgiven5232 Well, you should probably initialize the variable you are passing in the class constructor.
unforgiven5232 Yea, then the variable you are passing in is null.
unforgiven5232 You're probably passing in a null variable in your constructor. Do me a favor, put this right after you initialize the schematic...
masterofsixpack He just told you... I can already tell you have no idea how to code in Java, so you should probably learn that before jumping...
Can you paste line 25 in class Building?
Um... I'm pretty sure it should work perfectly. If it doesn't, then there is no way to actually check if a player has permisson to something.
@EvenHandler public void onPlayerJoin(PlayerJoinEvent e) { Player p = e.getPlayer(); if(p.hasPermission("permission")) { // run code } } You...
You need to implement that class to listener and register your events.
Separate names with a comma.