With joining I assume you made a SQL reference? To answer your question, Create a class for each command which implements CommandExcecutor...
I think all errors appear as Exceptions (NullPointer, ClassNotFound, NumberFormat) So I think global 'Exception' is catching all errors. Not...
mine-care RuthlessRage He says that the lightning isn't appearing, strikeLightingEffect would show the lightning too. RuthlessRage Do you have...
FerusGrim Necrodoom teej107 Excuse me sirs ;) I went full retard and use the wrong string inside the config. ChatColor.stripColor did the job like...
teej107 Does not work ;) I used ChatColor.stripColor(e.getLine(1));. @EventHandler public void onInteract(PlayerInteractEvent e){...
Is there a way to get the content of a sign without the actual color? Somehow getLine(#) returns the actual format on the sign (including color...
ActivisionDevReloaded You could always listen for the ItemSpawnEvent and remove the items dropped :p
glassbillen Does the 'big server' have citizins?
DevManABCD if(p.hasPotionEffect(PotionEffectType.SLOW)){ p.removePotionEffect(PotionEffectType.SLOW); }
Bump again. Please guys :l
glassbillen Code, error, good version?
DSCxSander Listen for the PlayerInteractEvent Check if he is RightClicking a block e.getAction == Action.RIGHT_CLICK_BLOCK Get the Clicked...
TheGamesHawk2001 I want the plugin now and someone give me what I need Look for the 'Plugin Requests' forum. I want to make the plugin myself...
Fiddy_percent Bukkit.getWorld() returns the Entire world, what did you expect :p. p.playSound(loc, Sound.FART, Integer.MAX_VALUE, 0); does the...
Skye Good point lol. 1.7.5 ? Is that okay?
Hi, I have this weird error. Method public String getCreatorName(String arenaname){ //Get name of creator FileConfiguration config =...
Cookie_ You should really start learning java, because this code is a mess. This replaces your 34 lines of 'add item' code: Potion potion = new...
lrdemolition Don't capitalize your variables. Instead of checking if the inventory is survival, just check the players gamemode using...
wptcraft No, for example, if you have 'Kills' and 'Deaths', and you want to have Kills ABOVE Deaths (locked), you need to make a 'permanent'...
Yekllurt Well, I don't exactly use the 'whole' world, just a big plot (400x300-ish). How would I (somewhere in the world) mark the land I want to...
Separate names with a comma.