I would like to know how to minecraft command for craft / craft maybe that's one of you.
What should happen as soon as you enter / craft?
It opens the side of the crating table
So you can't "script" something like that.
Such commands are programmed with the help of plugins in Java. If you want to program something like that yourself then you have to learn the Java Basics and then familiarize yourself with the Spigot Api.
Alternatively, you can search for plugins that have a / craft command, and then you can download them.
Ok but thanks.
There's a method called Player.openWorkbench (null, true);
This should work!
However, this is a spigot method that can only be performed using the SpigotAPI.
@ LukaMc Unfortunately, I can't do the scripting yourself, you can send the finished script with it once, that was very nice
Unfortunately, I can't do any scripts myself. You can send the finished script with it once. That was very nice
https://hastebin.com/...vowas.java That would be the simplest method for such a command. I do not know if that helps you a lot…
Can you do that with java scripts?
Would you like to use this command in the singleplayer or do you have a server?
A server
But we only have javascript
What kind of server is that? Spigot?
I do not quite know I just need a script (.sk file)
I can't help you with that! But on any standard Minecraft server, you can easily install plugins written with the SpigotAPI in Java.