Español:
Hola, este es un tutorial de como hacer la base principal del minijuego spleef; Que consiste en que, al tocar el bloque, este desaparezca.
Plugins necesarios: MadCommands.
Codigo:
/cmd create spleef
/cmd add spleef %spleef% = blockinfo(%level%, %args%[4], %args%[5], %args%[6])
/cmd add spleef %spleef% = %spleef%[“id”]
/cmd add spleef if %spleef% notin array(0,7) then exit
/cmd add spleef if (%args%[7] = 0) or (%args%[7] = 7) then exit
/cmd add spleef cancel
/cmd add spleef if %spleef% = 0 then %c% = 7
/cmd add spleef if %spleef% = 7 then %c% =0
/cmd add spleef %xx% = %args%[4]
/cmd add spleef %yy% = %args%[5]
/cmd add spleef %zz% = %args%[6]
/cmd add spleef block %level% %xx% %yy% %zz% %c%
Ahora, usamos:
/cmd trigger touch spleef
Para que siempre este activo.
Si quieres hacerlo minijuego completo pueden usar el plugin “DeathMatch” para crear la arena y “Land Protection” para proteger.
English:
Hello, this is a tutorial on how to make the main base of the spleef minigame; That is, when you touch the block, it disappears.
Required plugins: MadCommands
Code:
/cmd create spleef
/cmd add spleef %spleef% = blockinfo(%level%, %args%[4], %args%[5], %args%[6])
/cmd add spleef %spleef% = %spleef%[“id”]
/cmd add spleef if %spleef% notin array(0,7) then exit
/cmd add spleef if (%args%[7] = 0) or (%args%[7] = 7) then exit
/cmd add spleef cancel
/cmd add spleef if %spleef% = 0 then %c% = 7
/cmd add spleef if %spleef% = 7 then %c% =0
/cmd add spleef %xx% = %args%[4]
/cmd add spleef %yy% = %args%[5]
/cmd add spleef %zz% = %args%[6]
/cmd add spleef block %level% %xx% %yy% %zz% %c%
Now:
/cmd trigger touch spleef
So that he is always active.
If you want to do complete mini-game you can use the plugin “DeathMatch” to create the arena and “Land Protection” to protect.