Edit I Fixed It Seems e.getBlock().setType(Material.AIR); was causing my problem not sure why thanks anyway
where have I cancelled the event ?
Hey I'm Currently working on BlockFortune Plugin which works perfectly fine other than item durability when mining a block that is naturally...
I just cannot seem to fix everything I try I come across another error
what do call it then and a player had died
I have been trying to get "the killers" to display when you type /wanted here is my code import java.util.ArrayList; import org.bukkit.ChatColor;...
My List Is Empty ? How shouldn't wanted.add(event.getEntity().getKiller().getName()) ; add the killers ?
Hey again I resoleved my last issue now I have this import java.util.ArrayList; import java.util.Arrays; import org.bukkit.ChatColor; import...
If Your Asking For Credit and Want Ownership of part of the plugin sure !
I don't suppose you cold show me what you mean ?
If I Cast Then first if(entity.getType() == EntityType.PLAYER) { it would check if its a player first right ?
:D:/ Yeh Sure Its Not Done but It Works Fine !? import java.util.ArrayList; import java.util.List; import org.bukkit.Bukkit; import...
I have 3 classes a main(TrustedCops) a CommandClass(CopCommand) and TheClass I Posted Above (WantedList) here is my main import org.bukkit.Bukkit;...
I need help with EntityDeathEvent this is what I have import org.bukkit.Bukkit; import org.bukkit.entity.Player; import...
@ximsilentx The player becomes wanted when he kills another player and when wanted player gets killed by lets say cop his wanted lv is removed and...
@teej107 @bwfcwalshy Where would be the best place to start / start learning
@teej107 Thanks for the links but I mean have you any pointers or suggestions for me I'm new to java I mean like really new so I have no clue...
Hello to who ever is reading this I have been trying to use an event "PlayerDeathEvent" to get the "Player Only" name that killed the player then...
Hey I'm new to java and trying to create my first plugin , but I'm a bit stuck. I need your help I'm trying to create a command where if you kill...
I Mean only players should be able to /cop console cannot become a cop :D?
Separate names with a comma.