I need help with scripting custom items

  • 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!

Jan 20, 2026
4
0
1
So I have watched a lot of RPG Minecraft videos and I wanted to add them to my server but I dont know how to script. I have found a few but they don't really quite fit so I have a really good idea and if anyone can script it for me it would be a pleasure.
 
Hey, @thewellknownmemer,
as I understand it, you're trying to create a new item directly in the game. This isn't possible.

You can modify your gameplay by using modpacks. For this, you'll need Forge and mods.

Alternatively, you can register existing items as new recipes. Here's the syntax and a few examples :

(Click me) Register Recipes
 
Hey, @thewellknownmemer,
as I understand it, you're trying to create a new item directly in the game. This isn't possible.

You can modify your gameplay by using modpacks. For this, you'll need Forge and mods.

Alternatively, you can register existing items as new recipes. Here's the syntax and a few examples :

(Click me) Register Recipes
I wasn't trying to make new weapons just like a Netherite sword with custom abilities and etc
 
Last edited:
The reference to the weapons that I think would be good is in this video but if any of yall can figure out how to change the key binds it would be awesome
 
Hi,

if I understand correctly, you're trying to apply enchantments to something like a sword.

Code:
if player's tool is a sword:
    set {_sword} to player's tool
    enchant sword with sharpness 5 # // with all sorts of things
    give {_sword} to player
 
Hi,

if I understand correctly, you're trying to apply enchantments to something like a sword.

Code:
if player's tool is a sword:
    set {_sword} to player's tool
    enchant sword with sharpness 5 # // with all sorts of things
    give {_sword} to player
Yes but also that a sword with abilities like when you right click you shoot dragon breath and etc