Shmobi the same craftbukkit.jar you use to run your Server.
Add Craftbukkit to your buildpath.
Change he Location one tile higher set the Blocktype at the new Location to your desired blocktype and teleport the player to the new location....
Check on BlockBreakEvent if the block is a player skull and cancel the Event.
wptcraft Your random int problem has nothing to do with java but with simple mathematics. just read the JD for the random class and about 75% of...
fireblast709 agreed.
i'm not sure if i fully understood your question but just check if the player is flying and cancel all move events which would change the block...
Marten Mooij Because your main class will be unreadable for someone who is not you if there are 100+ lines only for one onCommand(). (It looks...
fireblast709 it's an example for the method, not a whole code to set/get the color. As for the raw values: In my edit i use the Color Enumeration...
if it worked please change your thread to solved.:)
have you tried quotes in your config? like wishes: "The next showing of wishes will be on: Some date in the near future!"
oh ok, i thought you wanted one file per player. You can store an infinite Number of players in your config. but keep the loading time in mind. A...
I don't think it's a good idea to name your class 'Chicken' when working with the Bukkit class 'Chicken'. Your instance 'c' of Chicken is not the...
Entity e = (Entity) player
Just use YourConf.save(File YourFile); One thing though. If the server isn't that big i would load the config into memory when the player joins...
try to cast Player to Entity first.
LeatherArmorMeta lam = (LeatherArmorMeta) IS.getItemMeta(); lam.setColor(DyeColor.RED.getColor());
yes, but it wont create a real file on its own. In my plugins i usually use the method 'exsists();' of File to determine if the file exists and if...
Locations should be serializable. The Strings can be stored directly in the config. So just save every entry and the size of your 'Regions' list...
just set his whole Node to 'null'
Separate names with a comma.