Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /konto [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- send "&7>> &6Poprawne uzycie komendy: /konto <minecraft/historia/dodaj>"
- send "&aAktualna ilosc kont: %size of {konta::*}%"
- if arg 1 is "dodaj":
- if player has permission "konto.dodaj":
- if {konto.dodaj.limit.%player%} is not "1":
- set {konto.dodaj.%player%} to arg 2
- set {konto.dodaj.limit.%player%} to "1"
- loop all players:
- if loop-player has permission "konto.sprawdz":
- send "&e%player% udostepnil konto!" to loop-player
- if arg 1 is "minecraft":
- set {_konto} to random element of {konta::*}
- send "%{_konto}%"
- if {konto.pierwsze.%player%} is not {_konto}:
- set {konto.pierwsze.%player%} to {_konto}
- else:
- set {konto.trzecie.%player%} to {konto.drugie.%player%}
- set {konto.drugie.%player%} to {konto.pierwsze.%player%}
- set {_konto} to {konto.pierwsze.%player%}
- if arg 1 is "historia":
- send "&6Historia"
- send "&a- %{konto.pierwsze.%player%}%"
- send "&a- %{konto.drugie.%player%}%"
- send "&a- %{konto.trzecie.%player%}%"
- command /kontosprawdz [<offline player>] [<text>]:
- permission: konto.sprawdz
- trigger:
- if arg 1 is set:
- if arg 2 is not set:
- if {konto.dodaj.limit.%arg 1%} is "1":
- send "&7Gracz %arg 1%: &6%{konto.dodaj.%arg 1%}%"
- else:
- send "&cGracz %arg 1% nie dodal jeszcze zadnego konta!"
- if arg 2 is "zatwierdz":
- add {konto.dodaj.%arg 1%} to {konta::*}
- send "&aZatwierdziles konto gracza %arg 1%"
- set {konto.dodaj.limit.%arg 1%} to "0"
- delete {konto.dodaj.%arg 1%}
- if arg 2 is "usun":
- set {konto.dodaj.limit.%arg 1%} to "0"
- delete {konto.dodaj.%arg 1%}
- command /kontousun [<text>]:
- permission: konto.usun
- trigger:
- if arg 1 is set:
- loop {konta::*}:
- if loop-value is arg 1:
- remove arg 1 from {konta::*}
- send "&aUsunales %arg 1%!"
- stop
- else:
- send "&cNie ma takiego konta!"
- stop
- command /kontolista:
- permission: konto.lista
- trigger:
- loop {konta::*}:
- send "%loop-value%"
Advertisement
Add Comment
Please, Sign In to add comment