1
Intermediate / Small Plugin Request
Hiya!
So, I'm requesting an (I believe) fairly easy plugin, or at most intermediate plugin. It's no where near expertee level, and it is a very small plugin. It only really has one or two full functions.
Plugin Name: ToolRepair
Functions:
- Plugin should have the ability to have {varying_item} be placed on a tool. When they do that, it will fully repair the tool they put the {varying_item} on. The item should FULLY repair, meaning, if they went to go do it in an anvil, the enchanting price would go back down again so that it's not "too expensive!" anymore. Reset the Xp level and stuff for the enchants needed, how ever you'd go about that. Once the user puts the {varying_item} over the tool, the {varying_item} will be deducted from their inventory. Kind of like its being thrown into the tool if that makes sense.
Definitions:
- Varying_Item:
* This should be an item that can be defined in a .yml file. You pick the name. This will be the only item that is able to be put over the tool to fully repair it.
An example would be:
Item: glowstone_dust
Name: &3Repair Dust
Lore: []
amount: 1 (How many it takes to repair anything)
enchants: unbreaking 10, fortune 1 (It can be in order like that, or backwards. Unbreaking, fortune, or fortune, unbreaking.)
(If no enchants or lore, [] will be put.)
(Use | or something else (just let me know what) for line breaks in lore.
Hi! | noodles.
would look like=
Hi!
noodles)
- Tools able to be enchanted:
All. Don't put a restriction to this.
Other stuff that needs to be mentioned:
- The user should only be able to use it once, as i said, destroy it once they place it on the tool.
- There shouldn't be any commands or permissions, except for maybe a /tr reload. If you want, the only other command I would like would be where it can be like /Tr give {player} {item} so when they win it or buy it from a crate / shop, they get the {varying_item}. If you don't want to do that, I can just make a glowstone have the enchants listed under varying_item type thing.
- The varying_item should be EXACTLY how it is said. It can't work with only the item. For example, if someone places just a normal glowstone on a tool, it should NOT repair it. It MUST have everything else. Name, Lore, Enchants, Item type, if available. If [] it voids that.
- When a tool is repaired, it should keep EVERYTHING on the tool the same EXCEPT FOR THE DURABILITY. The enchants, name, lore, etc, should stay the same. It's also required that when repairing, it doesn't reset the non-vanilla enchants. If someone has Eff 10, it should stay eff 10 once repaired instead of going down to the max, Eff 5.
Here's an example for the visual people like me:
- Notice:
* Name & enchants stay the same
* Glowstone gets removed and the tool gets fully repaired.
Sucky skills but i tried :p
https://gyazo.com/c4dae686e455c37aa764d4efc748a7de
Thank you very much to whoever can help me with this plugin.
because of PMCs no money rule, I can not pay you for this plugin.
So, I'm requesting an (I believe) fairly easy plugin, or at most intermediate plugin. It's no where near expertee level, and it is a very small plugin. It only really has one or two full functions.
Plugin Name: ToolRepair
Functions:
- Plugin should have the ability to have {varying_item} be placed on a tool. When they do that, it will fully repair the tool they put the {varying_item} on. The item should FULLY repair, meaning, if they went to go do it in an anvil, the enchanting price would go back down again so that it's not "too expensive!" anymore. Reset the Xp level and stuff for the enchants needed, how ever you'd go about that. Once the user puts the {varying_item} over the tool, the {varying_item} will be deducted from their inventory. Kind of like its being thrown into the tool if that makes sense.
Definitions:
- Varying_Item:
* This should be an item that can be defined in a .yml file. You pick the name. This will be the only item that is able to be put over the tool to fully repair it.
An example would be:
Item: glowstone_dust
Name: &3Repair Dust
Lore: []
amount: 1 (How many it takes to repair anything)
enchants: unbreaking 10, fortune 1 (It can be in order like that, or backwards. Unbreaking, fortune, or fortune, unbreaking.)
(If no enchants or lore, [] will be put.)
(Use | or something else (just let me know what) for line breaks in lore.
Hi! | noodles.
would look like=
Hi!
noodles)
- Tools able to be enchanted:
All. Don't put a restriction to this.
Other stuff that needs to be mentioned:
- The user should only be able to use it once, as i said, destroy it once they place it on the tool.
- There shouldn't be any commands or permissions, except for maybe a /tr reload. If you want, the only other command I would like would be where it can be like /Tr give {player} {item} so when they win it or buy it from a crate / shop, they get the {varying_item}. If you don't want to do that, I can just make a glowstone have the enchants listed under varying_item type thing.
- The varying_item should be EXACTLY how it is said. It can't work with only the item. For example, if someone places just a normal glowstone on a tool, it should NOT repair it. It MUST have everything else. Name, Lore, Enchants, Item type, if available. If [] it voids that.
- When a tool is repaired, it should keep EVERYTHING on the tool the same EXCEPT FOR THE DURABILITY. The enchants, name, lore, etc, should stay the same. It's also required that when repairing, it doesn't reset the non-vanilla enchants. If someone has Eff 10, it should stay eff 10 once repaired instead of going down to the max, Eff 5.
Here's an example for the visual people like me:
- Notice:
* Name & enchants stay the same
* Glowstone gets removed and the tool gets fully repaired.
Sucky skills but i tried :p
https://gyazo.com/c4dae686e455c37aa764d4efc748a7de
Thank you very much to whoever can help me with this plugin.
because of PMCs no money rule, I can not pay you for this plugin.
1
sorry that this has nothing to do with the topic. well in a way it does. "Tool repair" grammar is a tool and yours seems to be a tiny bit broken. "Hiya! So, I'm requesting an (I believe) fairly easy plugin" AN??!! ITS A. this is all a joke but i noticed it when i messed up reading that. also sorry i know nothing about plugins.
