I have moved this project over to Spigot.
Can this be modified so that items that get the lore are listed in a configuration file?
The reason I ask is that I'd like to control what items get lore added to them when crafted depending on what server I'm running.
For example, an MCPC+ (v1.6.4) server setup and running OreSpawn v15 and would like the ability for this plugin to address the custom items that mod adds.
GearStats 0.2 works on CraftBukkit 1.7.2-R0.1 with Java 1.7.0_45 (64-bit) and PermissionsEx 1.20.4
EDIT 2014-03-18: GearStats 0.2 works on CraftBukkit 1.7.2-R0.3 and Spigot 1.7.2-R0.4 with Java 1.7.0_51 (64-bit) and PermissionsEx 1.20.4
That looks pretty good. The magnifying glass / bits and placement looks perfect. It seems the expanded "A" and "R" characters are detracting from the name rather than enhancing it. Emphasis should be on the initial "G" and "S" such as GearStats so it is easier to read. As it stands now, seems like it says GE ARST ATS. Don't know about the rainbow background either. Something more technical or mathematical would be more appropriate than a color rainbow.
Just my 2 cents.
Sorry for the late reply I've been stuck developing for a server. Anyway the logo looks great! The only thing I would change is the background to a darker gradient. Thanks in advance! :)
Link Removed: http://www.mediafire.com/download/qwuys5nagurssvm/gearstats.png
There is the link to the thumbnail I made. I was busy at the time so dont judge. I can change parts of it if you want.
That would be great! I have currently been sidetracked with a server I am developing for. So it may be a while before it is released.
Want me to make a good logo or maybe make a video on the plugin when you add more?
NP I was put on this world to develop lol. Anyway I think your idea is better than item UUIDs. It will be persistent through reloads, and it is actually simple to read it, convert it to a number and change it back updated. So I'll work on it.
No need to apologize. Thank you for spending any time on this at all.
I would imagine the data store would be in the lore itself...not an external file. So if the server restarted and the plugin loaded up, it would examine the lore on the item, read the values and then set them when needing to be updated. I would assume it would be better memory-wise to do the read/write whenever an update occurred. But performance-wise, might need to retain the numbers in memory for a while (in cases of pvp combat/mining where updates are happening frequently). Don't know about the tradeoff.
Srry for the late reply been really wrapped up in a plugin. UUID means a unique identifier. So by using item UUIDs, I can now store basic item number data. I don't think it will be persistent through reloads and thats why I'm hesitant to add them.
What does that mean?
Apparently there are item uuids working on it now...
Oh, I missed the perm note. :) That is prolly why 0.2 didn't work for me.
The dynamic stats have been implemented in another mod called Tool Stats which has worked from 1.4.7 to 1.6.2 so it is possible...not sure how it is being done or performance of it. :)
EDIT: Yep, I added the permission node and it works like a champ. The server will be updated to version 0.2 tomorrow. Thanks.
Do you have the permission gear.loreoncraft as I still need to add the gear.* permission....
Sorry for the late reply I was on vacation and I just got back....
Edit: I also know you wanted it to show things like kills, hits, etc. but with the current Bukkit API it is nearly impossible/ hard/ laggy. I may make an experimental build with this but I'm not sure its possible.
Awesome. Downloading 0.2 now...
FYI - If you want to see it in action, the location of the pre-alpha version of my server is hammondslegacy.com:25555 (Keep in mind that anything done on that server is wiped out whenever I upload a new version from my master copy...at least until the config is stable...at that point, the port will change to the standard so just the domain is needed to access it)
EDIT: Looked at the plugin.yml. Here are some ideas as to how you could arrange it (just a quick/incomplete example)...I have more ideas to put in it but have to go somewhere ATM.
description: Adds lore to crafted gear.
description: General command.
usage: Type /<command> for instructions.
aliases: [gs, gstat]
description: Gives access to all GearStats commands
description: Reload GearStats configuration.
description: Sets the lore for the item held.
description: Removes the lore from the item held.
description: Toggle auto-creation of lore for crafted items for the player.
description: Toggle auto-creation of lore for crafted items for other players.
description: Allows lore to be automatically added to crafted items.
EDIT: Version 0.2 does not seem to be working for me. I deleted the config and let it regen a new one which has 3 lines in it instead of just 1 but when I craft items, no lore is attached. I tried wood and stone tools.
Sure coming out next update.
Updated to add that permission. Also added editable Tags. Awaiting Approval.
Good plugin! Can you please add commands to add the lore onto any sword, this will be good if you have a pre made sword with enchants and you want to add lore. Keep up the good work! :)