Sueta

FreedyMinigameMaker2

2.0.4

Create arcade games with a script system.

·Script

FreedyMinigameMaker2 is a script-type minigame creation plugin.
Executing a command is the basic principle.

WikiPage here!

Discord community here!

//remove join and leave message
on join { set data(joinMessage, null) }
on left { set data(leftMessage, null) }


//remove death screen
on player damage {
  if (health <= data(damageFinal)) {  //when player damaged, player health will be going to death
    set health get size health
    clear potion
    set food 20
    create location("spawnpoint", "world", 0, 0, 0)
    teleport "spawnpoint"
    title (0, 20, 0, "&cBoom! You dead!", "")
    return false  //cancel the event
  }
 
  //heal command
  on command {
    split (data(command), " ", args)  //divide command string as blank
    if (get list(args, 0) == "/heal") {
      set health 20
      return false  //cancel the event
    }
  }

Similar projects

Script →