FreedyMinigameMaker2 is a script-type minigame creation plugin.
Executing a command is the basic principle.
//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 →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta