Alright, that ended up helping a lot. I made a few syntax corrections and things, but I think I just needed to see how its done so that I can...
So I'm working on a plugin for my roleplay server. The idea is that there are six gods, and each day, players can type /pray <god> and receive a...
For my plugin, which creates diseases that can spread between players, it would be nice if the disease effects did not vanish on player death. So...
EcMiner Again, thanks for the help. I'm just going to go with Ecminer's solution, but can anybody answer the above question?
EcMiner Thank you, that worked! Also, on a slightly related note, is there a way to stop potion effects from leaving on death without messing...
iFamasssxD I changed it to player.getKiller() (I couldn't do event.getKiller(), I'm not sure if that was a typo or not.) Still no luck. I'm...
Jakpok Yeah, that's what I thought. That means I'm still stumped :/. My other listener for PlayerJoinEvent worked fine so I'm pretty sure that...
xTrollxDudex Ah, yes, I forgot to mention that. Yes, the class does implement Listener. And also, The zombie would count as a living entity,...
In my plugin, I'd like something to happen whenever a player is killed by a zombie. Here are some snippets of my code: My onEnable: @Override...
xTrollxDudex I did try the Player[] offline = Bukkit.getOfflinePlayers(); already. The problem is that eclipse gives me an error saying that you...
xTrollxDudex Okay, thanks. I have the disease effects and spreading mechanics down pretty much. One thing I'm trying to do is create a...
EDIT: Nevermind, fixed this. Check below. xTrollxDudex Update: I found out what was causing the lag. Now I'm just having trouble with detecting...
Hello everybody. I'm working on a plugin that I might propose to a Roleplay server I'm currently staff on that will create configurable diseases...
Oh, alright. Thanks for the help :D
Hey all. I'm working on a plugin, and I was wondering, is there a way to make it so that if a player is within, say, five blocks of someone, a...
Separate names with a comma.