ScriptCraft

ScriptCraft

14.6k Downloads

Things such as placing wall signs and the server.executeVanillaCommand don't work anymore.

nanocodex opened this issue · 5 comments

commented

Are there any ways around these?

commented

I use the magikcraft/scriptcraft docker image and the @magikcraft/core npm package.

With that you can do:

import {server} from '@magikcraft/core'

server.executeCommand('someCommand goes here')

See: https://github.com/Magikcraft/magikcraft-core/blob/master/server/index.ts#L25

commented

Thanks, but what’s a docker image and an npm package? I don’t know any of those.

commented

Can I ask you more questions on what Magikcraft is on Discord if I have any @jwulf?

commented

Sure. Also, you can try a hosted version at https://play.magikcraft.io

commented

Thanks. :)