Please, make a Plugin Where you hits a player so is it 25% for it pops out diamonds of the player i hope it is Possible to make.
What you're trying to say is, you want a plugin, that when you hit a player, it has a 25% chance to pop out a diamond?
KazukiMC, Assuming that you wanted a plugin that simply gives a player a diamond 25% of the time they hit another player, I created this plugin for you. I don't believe this is worthy of a BukkitDev project, so I'll simply provide a download link to the .JAR and my source. Download (Updated!): https://dl.dropboxusercontent.com/s/iepnbdi4nk89cno/HitForDiamond.jar Source: https://github.com/EssexIO/HitForDiamonds/tree/master/HitForDiamond
KazukiMC It's very possible. Do you want to give the user more diamonds every time, or increase the chances of getting them? If you'd like to increase the number, tell me how many you want to give them, else, tell me the chance to increase it to.
Is it Possible to get diamond a little bit slower?? Diamonds can do Almost Everything on my server.? Please
That's giving the attacker a diamond roughly 70% of the time. Also you should consider removing the useless else{}
AndyMcB1 - Thanks for noticing that, coded this on absolutely no sleep. I'll push an update right now. In the mean time, KazukiMC, you still haven't told me what you'd like. I'm going to set it to 20% (like you wanted) and that means out of every ten hits approximately, two of those will reward diamonds. I'll update my above post with a new download link in a moment, and will also publish my source again, AndyMcB1.
One, I've already coded this and fulfilled the request. Two, that was uploaded a month ago. Three, you're using a five percent chance, not a 20 percent one. Please allow me to continue to fulfill this request.
In the plugin i gave him, you can edit the percent chance. And i think if you ask him what server he saw this on, i can guess it was redstonepvp. The plugin i gave him is also the original plugin, that is being used on redstonepvp.
HyVe What did you send me? HyVe I get diamonds when i hit in safe-zone EDIT by Moderator: merged posts, please use the edit button instead of double posting.
should not happend. try to make a worldguard region on the same area as the safezone and it should work.
But, you see it's not stopping from hitting them simply just stopping the damage. So, it would still count as a hit.