Lore Craft
About
LoreCraft lets you add a chance to craft armor, tools & weapons with custom lore name & text. By itself LoreCraft does nothing but add the text & is designed to work alongside plugins such as Lore Attributes & SoulBound that act on custom lore text.
Features
- Custom item-names
- Custom lore text, as many lines as you want (within reason)
- Virtually unlimited custom items
- Configurable chance to craft
- Lightweight
Configuration
There are multiple config files - one for each armor, weapon & tool. Please make sure to go through them all and edit them to your liking.
Q: Each config only goes up to 6 items. Can i add more?
A: Hell YES!
Example:
GoldHelmetsix: name: '&6Super Cute Gold Helmet' lore: ['&fblah blah blah'] chance: 50 GoldHelmetblahblahblah: name: '&KSuper Ugly Gold Helmet' lore: ['&fblah blah blah'] chance: 50
The item "title" - eg. "GoldHelmetblahblahblah" - doesn't matter, just make sure not to use the same title more than once per file.
Recommended Plugins
Lore Attributes | Adding lore text such as '+3 Damage', '+20 Health' or '+5 Life Steal' to items will allow LoreAttributes to act accordingly. See their project page for more details & options. |
Soul Bound | Soulbound is a plugin that makes it possible to have Soulbound items. Whenever an item is soulbound, players cannot transfer the item to other players. Adding the lore '&4Bind on Use' (or '&4Bind on Equip' for armor) will allow Soulbound to work on those items. |
Installation instructions
- Download LoreCraft.zip & extract into your plugins folder.
- LoreCraft comes with a set of default configs (in the armor/tools/weapons folders) - check that these meet your needs and/or adjust as preferred.
Q & A:
Q: Shift+Click Fast Craft not working?
A: The way bukkit is made is when you Shift+Click to Fast Craft it makes Copys of that (First Item) thats being Crafted ,so the way LoreCraft treats that as a form of duplication/cheating so LoreCraft gives you the first item and all the following items are set to default this may be a inconvenience for Fast Crafting players but thats just the way LoreCraft prevents itself
from being abused.
Q: How do the chance values work?
A: The chance parameters aren't a chance out of 100, but rather the chance out of the total value of "chances" within that file. Eg. if there are only two items in the file (item1, item2) set to 10 each and the default is set to 30 then the chance of default is 30/(10+10+30) = 60%.
This means you can have lower than 1% by making default 1000, then item1 & item2 at 10 will give the chance of item1 = 10/(10+10+1000) = 0.0098%.
Q: What Items does LoreCraft Support and will more be added?
A: LoreCraft supports these items at this time. As for other item you will just have to wait and see =)
- L,C,I,D Armor
- W,S,I,D Sword
- W,S,I,D Pickaxe
- W,S,I,D Spade
- W,S,I,D Hoe
- W,S,I,D Axe
- Bow
- L,C,I,D = Leather, Chain, Iron, Diamond
- W,S,I,D = Wood, Stone, Iron, Diamond
Q: Why does LoreCraft have so many Configs?
A: LoreCraft has configs for each item type. It is not a "drop and go" plugin but rather needs a little time to set it up the way you want. It's recommended that you to use a test server to set-up & test configs before using the plugin on your live server.
Q: I don't want chance or lore applied to WoodenSword!
A: That's not a question! But if you don't want wooden swords or other items to be used by LoreCraft you can delete or rename the appropriate (eg. "weapons/woodsword.yml") file.
Q: How do I use SoulBound with LoreCraft?
A: When adding SoulBound you must use &4 (DARK RED) and it must be the last lore added to the item. For tools you use "&4Bind on Use" and armor uses "&4Bind on Equip", as seen in this example:
TOOL: name: '&DSuper Pickaxe' lore: ['&ASo PowerFull', 'SOO EPIC', 'You Just cant ever let go of it', '&4Bind on Use'] chance: 50
ARMOR: name: '&DSuper Cute Diamond Helmet' lore: ['&BPink is just not my color!', '&4Bind on Equip'] chance: 50
Q: I was wondering if I could use apostrophes in the names and lore? Or will it create errors? And also, if I want no lore for an item, do I just put two ' ' or [ ] ? And are the [ ] necessary in lore? (ex. 'It shines in the sunlight!')
A: O Boy you bet you can use apostrophes! You will just need to change the YML file for the item a little so here are 2 examples for you! and yes [' '] or [" "] are needed to add Lore to the item
1. Name and Lore apostrophes
WoodenSwordone: name: "&7Boom's Sword of Lore's" lore: ["Sword's", "Stick's"] chance: 20
2.Item with No Lore
WoodenSwordTwo: name: "&7Boom's Sword of Lore's" lore: chance: 30
i was wondering if there is a way to obtain the items crafted by lore craft since when i use ./lorecraft i get an error
when I load up the plugin, there are no errors in the startup log, everything looks ok but no configs are generated
@ZariusT
I'm not slow to respond or anything >.>
Really anything would be nice. I use one of the attribute plugins so I can make odd things like sticks or blaze rods into weapons, and I can make custom crafting recipes through craftbook for them, so if I could somehow define a custom crafted item to have a chance of names + lore it would be pretty epic.
Heres a question: is it possible to craft item with custom items? for example a bone named :Cursed Bone and by using only Cursed Bone you can make Bone armor hope you got it
does this work with 1.7.2?
@diannetea
What sort of item types?
I would love to see an update for this to allow for other item types. :)
I am not getting the config files in 0.1.38.
Until I read the installation instructions "Download LoreCraft.zip and extract etc."
However, 0.1.38 only consists of .jar file and I have to use 0.1.35 link for the configs. Can you make the mod create the configs when config files are not available? (I know all of the other mods I use do this, so I was rather shocked (or surprised, both doesn't seem to fit) when I couldn't find the config files for LoreCraft)
Edit: Also, can you include an option to make the craft chance as a percentage out of 100? Otherwise I have to recalculate everything whenever I change a value :|
Would love to see this work with item IDs so it would work with MCPC+ and modded items. It seems really great but won't work with my server without breaking all the modded item recipes :(
@TheDavroar
I just ran a test with the Default item changed to look like one of the other examples so I could see how changeable the default item was, as well as play with this a little more.
Default is just vanilla minecraft crafting. So if the vanilla crafting has a chance of 300 in the config and rest of them are at 1, the chance is 300+1+1+1+1+1+1=306, the way the author is finding the chance is the chance of the item being crafted (in this case we are trying to find out how much of a chance default has) divided by all of them. So 300/306 = 0.98 or a 98% chance
The default item, by default, has a 75% chance of being crafted, and I feel that reflected pretty accurately in my tests.
I don't understand the 'Chance' system, can some explain it with some examples? Thanks
So Lore Attributes stopped updating but there is a revival version out there. Will they work together.
When will this plugin get updated?
the command /lc reload conflicts with limited creative /lc reload...
@Luxape
Thanks, I'll fix that up later. The actual command "/lorecraft reload" should work fine.
@canibecooltoo
I'll look into allowing new files to be created by id number or something to allow more customisable use.
could you make a mod config for this to use mod weapons id like the tinker construct adds a ton of customize weapons and
Testet on Bukkit Build:
1.5.2-R1.0 and 1.6.2-T0.1 #2817
(Recommended), (Development)
@ragnazar
Please check more carefully :) There is a link to the source at the top of this page (green link under the logo) and it's also included inside the jar file you download.
Will you post source? If no, how you changing craft result?
I'm getting this error seemingly randomly, but the performance of the plugin is unaltered. Just a little annoying. http://pastie.org/8149928
I guess fix it at your leisure, if you decide to. Thanks ;D