Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /sprawdz [<player>]:
- trigger:
- if player has permission "OP":
- if arg 1 is set:
- give head named "&4&lBan Cheaty" to player
- give head named "&4&lPrzyznanie" to player
- give head named "&4&lCzysty" to player
- give head named "&4&lLogaut" to player
- set {sprawdzany} to arg 1
- set {sprawdzany.%arg 1%} to true
- set {powrot} to location of arg 1
- teleport arg 1 to {m.sprawdzanie}
- else:
- message "&a/sprawdz (Gracz)"
- else:
- message "&4&lHey,&4 you don't have permission"
- on leftclick holding a head:
- if name of player's tool is "&4&lBan Cheaty":
- if player has permission "OP":
- set {sprawdzany.%arg 1%} to false
- run player command "/thbans:ban %{sprawdzany}% &4&lCheaty / by %player%" as op
- else:
- message "&4&lHey,&4 you don't have permission"
- if name of player's tool is "&4&lPrzyznanie":
- if player has permission "OP":
- set {sprawdzany.%arg 1%} to false
- run player command "/thbans:tempban %{sprawdzany}% 4d" as op
- else:
- message "&4&lHey,&4 you don't have permission"
- if name of player's tool is "&4&lCzysty":
- if player has permission "OP":
- teleport {sprawdzany} to {powrot}
- set {sprawdzany.%arg 1%} to false
- else:
- message "&4&lHey,&4 you don't have permission"
- if name of player's tool is "&4&lLogaut":
- if player has permission "OP":
- set {sprawdzany.%arg 1%} to false
- run player command "/thbans:ban %{sprawdzany}% &4&lLogaut podczas sprawdzania / by %player%" as op
- else:
- message "&4&lHey,&4 you don't have permission"
- `
- command /setpoint:
- trigger:
- if player has permission "OP":
- set {m.sprawdzanie} to location of player
- send "&a&l[Sprawdzanie]&c Lokalizacja ustawiona"
- else:
- message "&4&lHey,&4 you don't have permission"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement