The scoreboard has this feature built into it already. Command: /scoreboard teams option <team> friendlfire <true|false>
I will start working on this now. I will probably be working on it on and off so I'm not exactly sure when I will finish.
Assuming that you saved your region with two coordinates you will want to make some if statements in the death event getting the location of the...
To set the duribility on an item you can use: ItemStack sword = new ItemStack(Material.DIAMOND_SWORD); sword.setDurability((short) 400);...
You need to remove the semi-colons after the if statements. Those shouldn't be there. For Example:...
You need to add e.getDrops().clear(); e.getDrops().addAll(drops); Which was what added the drops. Add it after the if statements.
To get the items to randomly drop use the Random class. Example: Random rand = new Random(); int sword = rand.getInt(1) + 1; int chest =...
Add org.bukkit.block.Chest to your imports. I believe that you imported the chest as a Material.
What you would need to do is assign the block that you want to the Chest type but of course you need to add a check to make sure that this block...
if(event.getClickedBlock().getType() == Material.CHEST) { Chest chest = (Chest) event.getClickedBlock().getState(); for(int blockID :...
if(event.getClickedBlock().getType() == Material.CHEST) { Chest chest = (Chest) event.getClickedBlock().getState(); ItemStack[]...
Try adding this "Class.forName("com.mysql.jdbc.Driver");" inside of the try catch statement.
The event that you are looking for is PlayerInteractEntity event.
I would suggest adding support for both SQLite and MySQL. From what I know they both share the same syntax so you wont have to write the code...
Can you give us the error please?
Separate names with a comma.