SunSteel
SunSteel
Steel Version Info
Bukkit Compatibility: 1.2.4
What is it?
Sun Steel is a Golden Item Enhancement Plugin.
I created this for my own server out of a desire to increase the value and usability of golden items on our pvp server. This was a private plugin that I am releasing as is to the community for your use. You are welcome to make comments and/or leave suggestions and requests but unless I see a personal value in these things to my own community I make no promises that I will add them. Feel free to create a fork of it you want or submit a feature requests, pull requests or any other requests.
Video Tutorial
Special thanks to: Recolance for making this video tutorial.
Current Enhancements
- Fire Resistance - Nullification of fire ticks and fire damage.
- Lava Resistance - Individual Lava Resistance amounts on Helm, Chest, and Legs.
- Fire Riposte - Riposte enemy attacks by setting them ablaze!
- Water Breathing - Fear the depths no more as water is evaporated in fluid air for your protection.
- Water Walker - Tread lightly as you cross rivers, lakes and oceans.
- Lava Walker - Removal of the dangers involved in lava mining as you can now hover over lava pools.
- Searing Blade - Weapon attacks set your opponents on fire.
- Inferno Axe - Axes cut through logs charring them into coal as well as optionally setting enemies ablaze.
- Molten Pick - A superheated pick smelts stone, cobblestone, iron ore, and gold ore directly to their final products.
- Solar Spade - Dig up some sandy glass, and bricks of clay!
- Anti-Cheat Play-Nice - This plugin will run along anti-cheat plugins and still provide it's functionality.
Customization
This plugin does come with a very simple config which can be viewed on our Configuration page. Armor ID's allow you to choose which armor type you want the effects attached to, you don't have to use gold. Held Item Id's allow you to change which tool/weapon set the effects attach to. Duration settings for both flame attacks and flame ripostes. Separate Chance for success adjustments for both chance to hit for attacks, and chance of success for tools.
Permissions
Ya we have Permissions :) for any permission manager that supports Bukkit | Super Permissions such as PEX.
Bugs | Issues | Feature Requests
If you have located a bug or are having an issue please Submit a Ticket. Make sure you follow the outlined template as closely as possible as this will help me to eliminate bugs much quicker.
If you would like to make a feature request you also should Submit a Ticket, and set the type to Enhancement. Please be as detailed and precise as possible when requesting a feature and make sure what your requesting is within the scope of this plugin. Also remember at all times, I wrote this plugin for my own community and released it to the public simply to hopefully let others enjoy it, if I don't find a feature of interest I may not implement it, the same holds true if I feel it is far to difficult as I juggle a very heavy plate between being a Full Time: Husband, Father of 3, Masters Student at Texas Tech, Solo Server Admin/ Web Admin/Web Dev of Acyrid. Please do not be offended if I cant add it. I may take your idea and put it to use at a later time.
Thank You's
I just want to extend a HUGE amount of THANK YOU's to the following people for their help as I worked on this project:
- dumptruckman - part of the multiverse team, this gentleman spent several days helping me problem solve different facets of the plugin. He also has continued to provide support and advice through out the lifecycle of this plugin from beginning to it's current state.
- H31IX - a frequent idler in the #BukkitDev channel, got me started with my first plugin.
- w4rgo for inspirational feature ideas.
- fernferret - part of the multiverse team, this gentlemen helped me get mvn working correctly and fully explaining pom.xml to me.
- Drakia - creater of the famous Stargates plugin, the gentleman helped me find a bold faced "S" error that was killing my config read ins :P.
- cole2 - another #BukkiDev vet, helping me shoot down NPE's and other miscellaneous irritants.
- Afforess - part of the Spout project, this gentleman helped me get my sendBlockChange under control.
- celticminstrel - well known through out the bukkit community, celticminstrel helped me to understand HashSets and HashMaps better for reverting sendBlockChanges. Thanks to the entire #multiverse channel for letting me bug the hell out of you guys :D
Donors
A Special thank you section to those that have shown their appreciation with the all mighty $$ (If you would prefer I do not list you here just pm me)
- jinkos32 my first donor! :) Thanks man.
@w4rgo
Maybe so man, I have several projects I'm working on. Feel free to stop by the Acyrid IRC channel anytime. irc.esper.net #Acyrid
@JadeonAcyrid
Thank you for adding my name again.
If you wish we can colaborate in the future.
@w4rgo Hey w4rgo
I'll be happy toss you're name back in the credits, now that your plugins page has legitimate download links. That was the only reason I removed your post here and my refrences to you as well as my own post in your own comment section. It is nothing personal I just do not agree with using pay for click links on this site.
As far as the code optimizations they are under way for a future 1.03 Release. Unfortunately in order to circumvent no cheats style plugins it caused almost a 200% size increase to the PlayerMovement Events. So at this time I was more concerned with getting all features working 100%. Everyone knows PlayerMoveEvents can be taxing to large servers however I can add a single conditional to the check that cuts its usage by more than half. As of this weeks testing on the 3 volunteer tst servers I have seen no major performance hits on 20 - 40 (max was 52 I think ) player servers. I do however fully agree alot of optimizations are needed and are coming.Thanks for your feedback
Just some tips:
I have been watching your code and it will be a pain to mantain in the future.
A good way to implement the listeners now with the new bukkit events is to create customized event classes that implements an interface or abstract class if you have some common code. Each class for each perk, so if you want to add something new, you dont have to start swimming between a lot of ifs and elses that are your listeners now. Read something about desing-patterns using java and OO.
Also, you have a lot of code into the PlayerMoveEvent listener, that is very intensive for the servers, because that event is triggered when each player moves in a server. If your plugin is in a server with 40 players moving at the same time, then the code you have in that event listener will be executed thousands of times in a minute, even hundred of times in a second. I solved this in the upcoming update on firelord.
Im talking you from the experience.
Greetings.
PD- You should still give me credit in your description like before because this is my idea and all my features.
I have uploaded Version 1.02f as of 5:27p.m. CST
Version: 1.02f
Change Log :
I have uploaded Version: 1.02e as of 2:37a.m. CST
Version: 1.02e
Change Log :
This was tested usingCraftbukkit Dev Version #2124
Earlier versions contain known duping issues.
@AvariceSyn
I am afraid I am unsure what you mean by LMB? I have created and started on Ticket 8 & I have started on Ticket 7.
Also I am testing against Dev build #2120 Direct Link
Version: 1.02d
CB Ver: 2117
When users with the tools permissions use the spade on sand and are holding down LMB, when the durability of the tool runs out all of the sand drops at the last block that the spade was able to dig up. Glass is still dropped, but so is all the sand it was made from.
I have uploaded 1.02d
Version: 1.02d
Change Log :
NoCheat will not currently allow golden boots to give lava/water walking privledges unless you give flying exemptions. A temporary fix is in the works until a better solution can be put in place.
THANK YOU TO EVERYONE
I didn't realize what a hit this plugin would be when I released it and I just wanted to say thank you to all of you who have tried it, and to everyone providing feedback. I may not be able to include everything everyone wants but I'm doing what I can.
Please continue to leave comments and feedback here or on the forums. All Bugs and Feature Request should be submitted via the Ticket System.
I have uplaoded 1.02c
Version: 1.02c
Change Log :
I will hopefully be fixing the NPE in 1.02b later today, unfortunately I had to do some traveling this past weekend. Thank you for your patience.
@Pandamatak
I've already created a ticket for this view-able here.
Got a big bug using the latest sunsteel (1.02b)
I keep getting the message (in console) 07:17 PM [SEVERE] Could not pass event PlayerMoveEvent to SunSteel
In my config, I've disabled axe as weapon, set riposte to 5, fire ticks to 300, and made riposte % chance 80.
It might seem like an odd request, but is there anyway to also adjust the durability of gold items? How many uses or hits they have in addition to the effects above?
That is a common complaint of making gold items, but if there was a way it would capture your awesome effects and also make them worthwhile to use!
EDIT: Ah! I did make a new enhancement request ticket. Sorry! a bit new to these forums!
@TfT_02
If a user has the permissions for example
sunsteel.armor.* sunsteel.special.*
All they must do is equip the piece of armor and they have the effect. Enchants can still be placed on the items. This adds the above listed Enhancements as the default behavior of Golden Items.
I have uploaded version 1.02b.
Version: 1.02b
Change Log :
Please test and let me know if you have any feedback.
@Pandamatak
Do me a favor and Submit a Ticket on this with as much detail as possible.
What version of the plugin your using is highly important as well as does this bug exist in both 1.02 and 1.02a or even prior to that?.
Thanks
Hey, I don't know if this is the reason why, but I took the golden helmet off underwater and put it back on (underwater) and it doesn't work anymore for me or anyone else. I don't know if it was working before, though.
Also, nocheat seems to be blocking people from using gold boots to walk on fluids, you think there's a way around this?
@VexFallstar
I suppose that depends on your interpretation of the name, as mine is that the metals these are crafted with have been infused with the heat of the Sun. I will add it to the list of possibles.
I'd like to be true to the plugin's name and have these only work during day :3