Skip to content

Instantly share code, notes, and snippets.

View MrPowerGamerBR's full-sized avatar
:shipit:
We facepalm, we shrug and we hack around it and never look back.

MrPowerGamerBR MrPowerGamerBR

:shipit:
We facepalm, we shrug and we hack around it and never look back.
View GitHub Profile
ao conectar:
anunciar "%player% entrou no Servidor!"
commands:
tutorial:
description: Meu primeiro comando!
usage: /<command>
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
return false;
}
name: Nome do Plugin
main: Package e Classe do Plugin
version: 1.0
# Códigozinho criado por MrPowerGamerBR
#
# Tópico: http://gamersboard.com.br/topic/7324-skript-help/
#
# MrPowerGamerBR Blog: http://mrpowergamerbr.blogspot.com.br
# SparklyPower: http://sparklypower.net
on command:
if command is "sethome":
if "%region at player%" does not contain "%player's name%_":
cancel event
on legendchat chat:
if {PowerAntiDuplicata.Players::%player%} is legendchat message:
cancel event
send "&aVocê não pode escrever a mesma mensagem!"
stop
set {PowerAntiDuplicata.Players::%player%} to legendchat message
on death of player:
if player has permission "PowerInsurance.VIP":
loop items in player's inventory:
add loop-item to {PowerInsurance.Inventarios::%player%::*}
set {PowerInsurance.InventariosArmaduras::%player%.h} to player's helmet
set {PowerInsurance.InventariosArmaduras::%player%.c} to player's chestplate
set {PowerInsurance.InventariosArmaduras::%player%.l} to player's leggings
set {PowerInsurance.InventariosArmaduras::%player%.b} to player's boots
clear drops
command /whey:
trigger:
loop 1000 times:
send "&6FICAR MONSTRAUM"
command /bau:
trigger:
if {PowerBauDaFelicidade.Players::%player%} is set:
send "Você já marcou o baú da felicidade!"
stop
set {PowerBauDaFelicidade.Players::%player%} to location of block at player's location
set block at player's location to chest
send "Você marcou o seu baú da felicidade!"
every 5 minutes:
command /warp [<text>]:
permission: reg.%arg 1%
permission message: &cSem permissão.
trigger:
if arg 1 is not set:
send "&cComando errado use: &f/warp <nome>"
stop
if arg 1 is set:
send "&aAguarde &f3 segundos!"
set {WarpsDosManos.Players::%player%} to true