So why ask us? Gaah forget it just put the checks in another method like void checkfile and invoke it in ur onenable
= new ArrayList<ItemStack>(); Be sure to use java.util.list not the other one No. U cannot. Use a for loop like for int i = 0; i < list.size; i++...
Something about hashmap cannot release player object when they leave, so ram cannot release it, causing memory leaks like whole player inventory...
One, use player.getname. And itemstack is a configurationserializable, so just use a list and add to list
This... Where to put this... Omg... Facepalm. Learn basic java object oriented programming before trying to make a plugin, especially one with...
If !txtfile.exists { Txtfile.mkdirs(); }
Yes! Nomnom... That cake tastes baad...
Why are u implementing runnable?!?!
I could help.. Seems easy :P ill start on it in aa bit if u want me. Add me on skype for now: william.lee9518 My plugs that i made are in ma signature
Why are u using an abstract class?!?!?! Also, show me ur plugin.yml
at line 54 of your code, there is a NullPointerException.
plugin.yml?
StringBuilder string = new StringBuilder(); for (int s = 3; s < args.length; s++) { if (s > 3) string.append(" "); string.append(args); } String...
I see your desperation :P I might make it after I finish my current plugin, Abilities
umm.... Packets?
use a string builder and a for loop to check for 2 spaces. make a string of everything after the second space. that will be ur "hello world" part.
public void loop(Location p1, Location p2) { int xmin = Math.min(p1.getBlockX(), p2.getBlockX()); int xmax = Math.max(p1.getBlockX(),...
kk
thats wut im doin...
.getType().equals(Material.BLABLA, 1, (short)data); this is for vanilla items, idk with spout
Separate names with a comma.