Hello fellow members of Bukkit! I come here today to request a new plugin. I figured since it'd benefit my server's community, it'll also benefit others. Currently, I do not like the way anvils are set. The way my donation kits are made, anvils can be easily used to over-power most players. When I first released my server, we had anvils disabled. Due to popular demand, I enabled anvils but now regret it. But thankfully my server is resetting for 1.6, so this is my chance to disable anvils! So what kind of plugin am I requesting? A very simple one, haha. I'd like a simple plugin that allows players to repair their armor using economy by a simple command: /Repairme (Not /repair so no conflict is made with other plugins.). Upon typing /repairme, you're prompted to the following message: "This repair will cost $---, type /yes to proceed." and there you go! The item in the hand will be repaired, and the player will go happy without breaking his armor. This is sort of how I think the config would look: LEATHER_CHESTPLATE: $100 LEATHER_HELMET: $100 LEATHER_PANTS: $100 LEATHER_BOOTS: $100 DIAMOND_CHESTPLATE: $4000 DIAMOND_HELMET: $4000 DIAMOND_PANTS: $4000 DIAMOND_BOOTS: $4000 I'd also appreciate Sword / Mining / Farm tools as well if that'd be possible. In my view I think this is a very simple, lightweight and effective plugin to those owners that would like to remove anvils (Due to keeping renamed items rare etc.) or any other specific reasons. 1.6 is coming out on July 1st, and that is when I plan on doing my reset, if anyone could get this done before then I'd appreciate it so much and It'd be awesome! Also, there is currently a plugin that does this: AutoRepair, but the plugin is a bit dated and doesn't have any confirmation prompt and the only message listed is: "Using repair" or something like that. Plus, I could figure out how to configure the economy. Anyway, great thanks guys if this can be done.
I can probably work on this plugin! I don't know of any other plugins that can do this, so I am willing to create it. Is it OK to use Vault for the economy? Do you think it would be helpful to have the command be /repairme, and add /repair as an alias? So that /repairme would work if /repair didn't, but if there were no conflicts, or the other plugin gave up the command, /repair would work. Or would you rather I just have /repairme? What do you think it would be called?
Yes, I think that would be great. I'm really excited that someone is working on it ! If you have skype, let me know. I've love to know your progress. As for GreySwordz, goodluck too! Do you guys think this can be done before 1.6?
You are free too! I will put my source on github soon as well if you want. I don't think there is any problem in creating two plugins! EDIT: I have a beta build up right now, I have done no testing but the features are all there. Source code at https://github.com/daboross/CostRepair. Initial Build attached at: http://forums.bukkit.org/attachments/costrepair-zip.14112/. EDIT 2: Just realize I had a major error that makes it not work at all. Will fix.
Daboross, could you also tell me the permissions? I received this message: You do not have permission to use /repair
Ah, sorry! The current permission is costrepair.use. EDIT: Updated build that works OK. I am not sure why, but it doesn't completely repair the items. I will try to fix that. Source in the same location, build here: http://forums.bukkit.org/attachments/costrepair-zip.14113/ This build still has a few problems.
Plugin should be fully functioning now! Command: /repair | /crepair | /costrepair Permission: costrepair.use Configuration includes comments on how to use. Source: https://github.com/daboross/CostRepair New Download: http://forums.bukkit.org/attachments/costrepair-zip.14115/as Edit: BukkitDev page: http://dev.bukkit.org/bukkit-plugins/costrepair/ I just uploaded to BukkitDev, so not files available there yet!
Very nice plugin, no bugs to be found, and lightweight. My players will love this for the reset, do you think it'll break for the 1.6 update?
I doubt that it will, unless Bukkit radically changes the API. Because it is very lightweight and doesn't use any pure minecraft code it shouldn't. Glad you like it! On another note, do you think that a feature to disable enderchests within the plugin would do it good or would be overkill?
Ahh, I plan to use enderchests. But if you'd like, an addition to the config would be great If you're ever interested in making more plugins, let me know. Our latest developer resigned after a major project. Now we only need some small projects done to benefit gameplay. We average around 30-60 players online.