Location loc = player.getLocation(); WorldGuardPlugin guard = getWorldGuard(); Vector v = new Vector(loc.getX(), loc.getY(), loc.getZ());...
http://wiki.bukkit.org/Configuration_API_Reference^ Under "Arbitrary Configurations".
I know, but I can't find the location. I have searched through the entire project several times without any luck.
Hi My plugin is making an error saying "java.sql.SQLException: database is locked". I'm using SQLite. I have remembered to put...
aha, thank you so much! Im such an idiot.
Hello, my PlayerFishEvent method wont get fired, though every other event in the class gets fired. When I try to fish, nothing happens, no error...
public class MaroServer extends JavaPlugin implements Listener { public Connection con = mysqlConnect(); Permission Permission = new...
Hi, I have this plugin that I'm developing using MySQL to store data. I have a problem where my connection is ok the first time I call a method,...
Thanks, it works now. I have made my own very simple economy system, I don't know why I called the class 'Iconomy' :P
Thanks, I understand it much better now! But I need an instance of Permission in the class Iconomy, and an instance of Iconomy in the class...
Hi, my plugin is making a stackoverflowerror. I've tried all I can to fix it, but I can't seem to make it. I know that a StackOverflowError occurs...
Oh, I feel like such a beginner now, I should have figured it out myself.. But I got that to work though. But I still get that annoying...
I tried that now, but I still get errors when I use the variable con (in my IDE) 'Cannot make a static reference to the non-static field con'.
Oh, that was because the whole onEnable wasn't relevant at that time, but here is it: @Override public void onEnable() {...
Tried it, but I still get the error. I get it in onEnable, where I didn't get it before, on line 184: if (Permission.isUser(p.getName())) { Which...
I think it's in the connection the problem lies, because I've used this code for a long time now, and i haven't had any problems until now, when I...
Line 125: PreparedStatement sporring = con.prepareStatement("SELECT reason FROM bans WHERE playername = '"+ p.getName() + "'");
BanCheck is a method; @EventHandler public void Bancheck(PlayerJoinEvent e) { Player p = e.getPlayer(); try {...
Wrong port, username or password is not the problem, because I have never changed the username, password or port, and the variables has been the...
Hi, I have this huge plugin for my server, that stores a lot of information in my MySQL database. But when I tried to to so that I only use 1...
Separate names with a comma.