Skip to content

mine-js/mine.js-old

Repository files navigation

Mine.js(W-I-P)

Minecraft Bukkit Scripting with JS by Netherald

How to apply?

Download Paper or Bungee Version. and put it to plugins folder.
Script folder is plugins/js!

How to build?

Run build task of Bukkit or Bungee module!

How to use?

Wiki

Example code

let a = 'yep'
function onInit() {
  a = storage.get('test')
  createCommand('hello', [], callback)
  console.log('ok init succ')
}

function onPlayerMove(event) {
  if(event.player.name === 'hiworld') {
    event.player.send('<red>Don\'t move!')
    event.setCancelled(true)
  }
}

function callback(args, sender) {
  sender.send('hello')
  if(sender.type === 'type') {
    sender.getPlayer().teleport(location.create('world', 1, 2, 3))
  }
}

umm sib

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published