Ok, I know that you can't add new items into a bukkit plugin, I get that. BUT could you make duplicates of an item? My idea is that you make a plugin that stores a separate data file for item copies, then you use a custom texture pack to change what those items look like. I think it may be easier to just do swords for more weapons because right now that's all I'm wanting, however, if someone wants to do it for tools later on then have at it. The config file would just have the basics. item_id: (insert ID number) item_name: (what the new item will be called in the inventory) damage: (A no brainer. How much damage the item will cause to targets) texture_id: (possibly a name or number that you would assign to a custom texture in the plugins folder that decides what texture to assign) I know that things like this are possible because of the Guns plugin; they use custom textures for the golden hoe, bucket, etc... which are used for the gun items. I simply want to see if it can be taken a step further, combined with a custom recipe plugin. allowing complete customization of weaponry! I would love to have things like lances, daggers (maybe even throwing daggers if the bow were included,) war hammers, clubs and whatever else the person can make a custom texture for! I hope someone out there thinks that this has enough merit to look into. Thanks in advance everyone!
Make a custom texture pack, which you get your players to download. In it, (for example) only change sticks to the texture of guns and let everything else be default. /Aron
I merely thought that if a file were to use replicas of already existing items then it could be a loop hole. And also, I have played on the "Walking Dead Craft" server and they have guns set up without spout. The textures are added to already existing items, yes but they fire "Bullets" as an added function. If someone else can think of a way to do this then feel free to post.
Hmm... Seems I was mistaken then. A moderator may now close this thread. Thanks everyone for the replies. Does anyone happen to know of a plugin that can adjust a tools damage level?
Necromedes OtherDrops may be able to assist with the damage from tools, here's an example config: PHP: PLAYER: - action: HIT tool: GOLDEN_HOE lorename: Golden Club # optional: require a custom lorename damage.victim: 5 # does 5 hp damage (2.5 hearts) ANY_CREATURE: - action: HIT tool: GOLDEN_HOE lorename: Golden Club # optional: require a custom lorename damage.victim: 5 # does 5 hp damage (2.5 hearts) Currently you need to specify players and creatures separately, I'm working on an easier solution for this. You can also make "new items" using OtherDrops - similar to above but you can add messages, potioneffects, lightning, etc. You can change the name (displayname) of the item but you can't change the texture.
Thank you Zarius. I was looking at Other Drops but wasn't sure if it could do the job. Thread can now be closed.
Note: I should have also mentioned this applies to the latest OtherDrops beta versions. Hitting the normal download button gets an old version at the moment.