Skript Custom Crafting Help?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

PotteryTNT

Member
Jul 21, 2017
41
0
0
Hello im potterytnt and I am pretty new to skript. I want to add custom crafting to my server for example:
if you have like 2 blaze powder 1 gold axe, 1 head and 2 redstone blocks, it makes a gold axe named Axe Of Perun. any ideas how I can do something like this? I am pretty new and need help ;-;
Server is 1.8, spigot.
 
Hello im potterytnt and I am pretty new to skript. I want to add custom crafting to my server for example:
if you have like 2 blaze powder 1 gold axe, 1 head and 2 redstone blocks, it makes a gold axe named Axe Of Perun. any ideas how I can do something like this? I am pretty new and need help ;-;
Server is 1.8, spigot.
You should be able to find what you're looking for on the skript documents, here's a link that takes you to what I believe you're asking for: http://skunity.com/search?search=Crafting+recipe

You need the 'register recipe' code.
Hope I've helped! Good Luck! ❤️
 
Ok thanks but how do I make it so once they crafted the item, once they hit a player with the axe, it will smite the player? But they cant spam the axe, the lightning/smite is on a cooldown of like 10seconds?
 
check the name of your custom item in the on damage event like this:
code_language.skript:
on damage of player:
    attacker is holding diamond axe named "NameHere"
    strike lightning at the victim
For your cooldown reference the cooldown example that comes with skript in your sk files:emoji_slight_smile:
 
Ok thanks but how do I make it so once they crafted the item, once they hit a player with the axe, it will smite the player? But they cant spam the axe, the lightning/smite is on a cooldown of like 10seconds?
Use the request forum.
 
Status
Not open for further replies.