Dear very kind Plugin makers, Plugin category: Admin-tools Suggested name: GetKilledCommands What I want: I want a plugin that enable specific commands for players ONLY when they Get killed by another player (Killing by themself doesn't count, {Shoot yourself with a bow, Killing yourself using fishing rod and then die from fall damage... ETC}) I want those commands to be disable for everyone but if someone get killed by another player Then he can use those commands and anyone who diden't die to a player wont be able To use those commands. I want in the config to be: #Commands and the messages when they're disable, under every command there's the message! kit gotkilled: MessageWhenDisable:&2No one killed you, &9You have nothing to get revenge on! gotkilled: MessageWhenDisable:&2No one killed you, &9You have nothing to get revenge on! AfterPlayerKilledMe: MessageWhenDisable: &2No one killed you, &0You can't use this command Ideas for commands: None When I'd like it by: ASAP Version: 1.7.2 R3 Thanks In the advance!
Any chance you could create an option to have a command run for the *killer*, not the person who got killed?
rf2minecraft Thanks a lot mate! rf2minecraft I'm not gonna be online at home for few hours so if you'll try contect me i wont be able to talk Btw thanks a lot for helping me, xD i'm checking my request every minute... EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Sorry, I have been busy with my server at the moment. I will get round to testing thoroughly in the next few days. =)
rf2minecraft Great ,Thanks mate! rf2minecraft I've edit the post a bit... take a quick look if you can EDIT by Moderator: merged posts, please use the edit button instead of double posting.
rf2minecraft I'm sorry for asking, but can you just say when do you think that you'll be done? (You said few days...) Thanks for you help and i'm very sorry for being not Patient
Sorry, once again; been really busy with irl stuff. I'll get to testing now. One thing I can't do is the config side with the messages; I don't think. I've got the basis of the plugin where commands take place on death... Is that okay? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Okay, it works. I tested it earlier; was just waiting on your reply about the messages thing. Here is the link: DOWNLOAD LINK: http://dl.rf2minecraft.net/plugin/GetKilledCommands.jar
I made a plugin like this a little while ago. Download: https://www.dropbox.com/s/01g1pwj2p7dm59s/KillCommands.jar Commands are for PvP kills only. Meaning it wont work if they kill themself. Permissions: killcommands.killer - anyone with this permission will have the killer command run on them when they kill another player. killcommands.killed - anyone with this permission will have the killed command run on them when they are killed by another player. Commands: You must be op to set the commands. (Sorry I forgot the permission I made) The permission is most likely killcommands.set but I could be wrong. /kc killer <command> - set the command to run on the killer /kc killed <command> - set the command to run on the killed person. Put <killer> anywhere to replace it with the killers name Put <killed> anywhere to replace it with the player that got killed. I hope this is what you are looking for, I lost the project files for some reason, so I wont be able to make any changes.
rf2minecraft I dont know why but the commands aren't disabled... Sorry to say but i've tested your plugin and its not what i'm looking for, Thanks for trying rf2minecraft The problem in your plugin is: I want some specific commands that'll be disable ANYTIME unless you'll get killed by a player! (I need this to be on OP's too so even if you are op then you wont be able to run those commands unless a player killed you) In your plugin, the commands are always enabled... EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Sw_aG Can't you use lego's plugin and then disallow usage of the command? (with permissions) 567legodude Does your plugin run the commands as console or one of the players?
kps1796 My plugin will run the command from the console on the player. (you put <killer> and <killed> in the command where you need the names) So if you want to wait until someone kills someone to get a command, you can use my plugin. Just set the killer command to add the permission. Here is an example for someone who uses GroupManager: 1. Set the killer command to add the permission. /kc killer manuaddp <killer> plugin.permission If you do that then they will get permission to run a command when they kill. Now, if you wanted to you can make them lose the permission when they die. /kc killed manudelp <killed> plugin.permission The things you can't do with my plugin: make them able only to use the command once.
*Bump* Can you config that so players will be able to run a command after died by a player (If a player dident killed them then he Wont be able to run that command and it'll say something like "&cYou cannot run this command!" EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Sw_aG It already does that, if they don't have permission, they can't use the command. (But you need a permission plugin) Then when a player (and only a player) kills them, you can run a command to give them permission. The only thing you can't do is take away the permission, so they will have it for a while after they kill someone, so the best idea would be to take away the permission if they get killed.
But that's gonna glitch Because if player will leave mid-killing then he wont have those permissions...
Sw_aG It would not be a glitch, because if the player left then there is no death and it will not try to run a command.
Sw_aG Somewhere in your server spawn, you could put signs explaining the rules, just tell them that if they kill someone they get a command and if they get killed they will lose it. Make sure the players have the permissions.
But i have that in a mini game that i cannot put signs in the map, and not all my players know english...