Hmm, I've got a different question. How to use the method that is in the HomeBukkit plugin? I have never seen something like this before and I'm...
You need to rename it. public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args){} Arguments are stored...
Why you putted this as an arguement? You don't need to unless you created a constructor in a main method. And you don't know if he created that...
http://dl.dropbox.com/u/51448919/Projects/Java/TogglePVP.jar Commands: /pvp on - enables PVP. /pvp off -disables PVP. Config: Default: true -...
Show the code.
Use EntityDamageEvent and than check if event is an instance of EntityDamageByEntityEvent.
You can use modifyworld to block building or anything you want to block :D.
I recommend you using permissions. It's just better way of doing this.
public void onBlockPlace (BlockPlaceEvent event){ Block block = event.getBlock(); Player player = event.getPlayer();...
You need an if statement to check if sender is a player. if(sender instanceof Player) { Player player = sender;}
Use UltraBans: link
Why you think that a normal bukkit user wouldn't answer you right? Many people here knows a lot of Plugin Development or other issues and they are...
The right way of doing it :) public void onEntityDeath(EntityDeathEvent event) { Entity e = event.getEntity(); if...
http://dev.bukkit.org/server-mods/kill4reward/ === Kill4Reward=== This simple plugin provides a simple Reward For PVP system. If you kill...
It would be hard if you want more than 1 location.
You can use HashMaps Map<String,Location> locs = new HashMap<String,Location>(); //To put value in hashmap. locs.put("NameOfJail",...
That's actually a good idea.. Thanks! //EDIT I added option if you want players to lose money :)
Yup I figured that out but forgot to post :) Working code: @Override public void onEntityDeath(EntityDeathEvent event){ Entity e...
http://dl.dropbox.com/u/51448919/Projects/Java/Kill4Reward/Kill4Reward.jar Updated. And hopefully fixed the issue. //EDIT Checked mine is working...
Something like this ? @Override public void onEntityDeath (EntityDeathEvent event) { if (event instanceof PlayerDeathEvent)...
Separate names with a comma.