Hi all, I got a simple request for a plugin This plugin counts mob kills. So if someone kills a mob, his mobstreak will increase by 1. When you have reached a mobstreak of 3 (customisable) the server will run a command that you have setup in the config file. If you get killed, this mobstreak will be reset. Who can make this ASAP?
i can try making this when i get back to the uk tomorrow, this shouldn't be to difficult, as long as you don't mind the count being erased on server restart/shutdown then it can be done with a list. Just don't rely on me to actualy carry this through, i have a very bad habbit of dropping everything and playing skyrim if i get bored of what i'm doing, but I will try to do this and it doesn't sound as hard as some of my projects.
Ok starting on it now, any idea what you want it called, because I am very uncreative and will most likely call it "Mob Streak".
ok finished it, it's fairly basic atm, but it does everything you have asked for. Just waiting for an administrator to approve it. ok here it is http://dev.bukkit.org/server-mods/mob-streak/ EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I can do this simply without it resetting on restarts/reloads. When do you need it? I will start it now.
pure1101 Secrets .. Haha, nah jokes. Uh, I'm doing it by using custom methods to save/get/set killstreaks, so I use them, and in the config.yml it stores their name, and their killstreak. Like this. Code: killstreaks: kreashenz: 12 I'm kinda having a problem sending multiple commands through the command list, but other than that, I'm done, and I will upload it to dev.bukkit.org and link the download.
kreashenz by multiple commands, do you mean the ability to run more than one when they get to the desired streak, or multiple streaks, so at five, ten, and fifteen kills different commands are run?
pure1101 More than one when they get the killstreak. I seemed to have gotten it now I'm gunna be posting this to bukkit in about 20 minutes, then we have to wait for the plugin to get accepted.
kreashenz yep, I just added some stuff to mine and fixed a bug, and the jar has got to be reviewed :/
pure1101 I still have to upload mine I have to fix one little spamming bug, and remove a few mobs from the list ( Cows, pigs, chickens, squids ).
kreashenz I just added a list in the config that contains all the mobs that effect the streak, thinking of adding a list that resets the streak or something.
So my plugin BattleTracker has streaks and maxstreak for both PvP and PvE. You might want to check it out.
pure1101 I love this plugin, but it's for the 1.5 build. Is there a way you could port this to 1.2.5 R4? I've a modified Tekkit server where the spawns are set crazy high, and I'd love a plugin that keeps track of monster kills, and give rewards. Also, have you added a command where you can see other player's killstreaks by running a command? That would be a neat idea, to check up on other's streak
Natesky9 I have the /mb stats command, but I haven't implemented the /mb stats <player>.. If you want I can add that, upload it to something, and link it.
Where is your plugin? Most of your other ones aren't very straight-forward with the description, so I don't know if I overlooked it. Also, is yours compatible with 1.2.5? I'm running tekkit, which unfortunately never made it to 1.3 If you could also make it as lightweight as possible, and PvP isn't neccesary
Natesky9 I'm not sure if its compatible with 1.2.5.. I'm not even sure if its compatible with Tekkit, but anyway, I will try it with 1.2.5..
Almost every plugin for 1.2.5 works fine with tekkit, even some of the modded blocks work correctly with the plugins
Natesky9 if I can get hold of the api for 1.2.5 I can port it, also I like the idea of being able to check others scores, I will add it in the next update, thanks for the idea. --edit-- have you tried running the plugin anyway? its a long shot as i don't know what bukkit is like with foward compatability but the backwards compatability is great, so maybe if not much has changed it might work...
Also, I noticed that whenever you reached a milestone, it would run a command, usually to give the player an item. Did you ever think of adding a flag that will drop the reward on the mob that you killed? And on that note, since zombies already drop random drops, you can make it to where specific mobs have seperate milestones, and with that, seperate achivements. Also, I have tried MBR, but it was just too heavy for my liking. I've already several heavy mods and plugins on the server, and I want to keep it running as smooth as I can, while adding a few more things to keep it interesting
Natesky9 I reckon I could, but why.. I can do it, and I will do the drops where the mob dies. And that separate achievement thing I could add, if I had the time. ( I kinda do, just not tonight ) because I am trying to fix my Kreas-Kit plugin for the 300 people who have downloaded.
Natesky9 I used the 1.2.5 craftbukkit jar as my refrence with Mob Streak instead of the 1.5.1 api, no errors flagged up, so I suggest you try using the 1.5.1-R0.2 mobstreak.jar with tekkit. I my self have no way of testing (I can't run tekkit due to graphics problems) but see if it works and hopefully it will. Natesky9 I just tested it with a friend, it works. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Well, it works, and it's also quite fun. However, with the default config, everyone would have gotten diamond swords in less than 5 minutes, So I had to change that. I run a challenge server, so there are TONS of mobs that spawn, and at night, there's nowhere that you can't find at least 50 of them. I added this so that the fighters had a good incentive to fight mobs, but I also had to add about 100 levels of rewards, each at 10 kills. Now, the people on my server aren't casuals, and neither am I, and it's unlikely that either of us will die easilly, so I have the challenge of constantly creating rewards, probably past the 1000 kills mark. If you would be able to, can you add in some sort of method that will loop the rewards, so that they don't run out? Either that, or add some sort of flag and logic that will allow you do give a number of items based off of kills: Code: - give &name &ksn/100 diamond Where &ksn is the number of kills. This will give a diamond for every 100 kills, so if they have a streak of 500, they'll get 5. And one last thing, because this is kinda important because it's tekkit. Can you add it, or add it in the config to be toggleable, so that the rewards drop on the ground from the mob that you killed? This is kinda important because I noticed that if you had a full inventory, you wouldn't get the prize. That, and it looks neater, being dropped on the ground. But, great plugin. Thanks And also, on top of this, I'd like to request a feature to be added on top of this, since I've seen this happen quite alot. Whenever someone gets pretty high up on kills, the rewards get better and better. However, it's just as easy for another player to kill you, but you also only drop at most 6 levels of exp. These two could be improved upon to make it a better plugin. First of all, if you could add it so that when a player kills another player, they drop a number of experience relative to the number of their killstreak. So if someone had a killstreak of 100, they'd drop/give 1000 exp to their killer. And second, probably best of all, in the config, make a modifier for pvp resilience, so that in the config, for each milestone, you set the new resilience so that you take less damage from player attacks Code: #100 kills - res &name 15 ... #1000 kills - res &name 25 Where getting 100 killstreak will make all player damage taken reduced by 15%, and getting a 1000 killstreak would reduce it by 25%. This would reset on death. And lastly, probably a longer-term thing, would to add in potion effects as well, as this will expand the scope of what your plugin can do. I think adding these two mechanics to the game would make you plugin better overall, without making it too overly complicated. Definitely will make it more fun, too! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
sure I'll start on it as soon as I can, while I'm at it I'll add permissions as well. The drops where the entity was will have to be a New command or similar though as I cannot change how the give command works.
Ok, that all works, thanks for the update. One last thing, streaks still don't carry over from server restarts. Can you add a .yml to save streaks over server restarts, or possible a command to set streaks?