Facebook
From Scribby Echidna, 7 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 207
  1. options:
  2.         czas: 24 #Czas podany w godzinach
  3.         pex: skript.tempban
  4.  
  5. command /Banhamer [<offlineplayer>]:
  6.         permission: BanHamer.bh
  7.         permission message: &8>> &9Brak uprawnien!
  8.         aliases: bh
  9.         trigger:
  10.                 arg 1 is set:
  11.                         open chest with 6 rows named "&2podeirzany '&4&l%arg 1%'" to player
  12.                         wait 0.1 second
  13.                         format slot 29 of player with 1 of lava bucket named "&4&lBanHamer" to close then run [execute player command "/banp %arg 1%"]
  14.                         format slot 33 of player with 1 of ender pearl named "&4&lTeleport do %arg 1%" to close then run [execute console command "/teleport %player% %arg 1%"]
  15.                         format slot 11 of player with 1 of leather boots named "&4&lspeed 1" to close then run [execute console command "/speed %player% 1"]
  16.                         format slot 12 of player with 1 of chainmail boots named "&4&lspeed 2" to close then run [execute console command "/speed %player% 2"]
  17.                         format slot 13 of player with 1 of gold boots named "&4&lspeed 3" to close then run [execute console command "/speed %player% 3"]
  18.                         format slot 14 of player with 1 of iron boots named "&4&lspeed 4" to close then run [execute console command "/speed %player% 4"]
  19.                         format slot 15 of player with 1 of Diamond boots named "&4&lspeed 5" to close then run [execute console command "/speed %player% 5"]
  20.                                                
  21. command /banp [<offlineplayer>]:
  22.         permission: BanHamer.bp
  23.         permission message: &8>> &9Brak uprawnien!
  24.         aliases: bp
  25.         trigger:
  26.                 arg 1 is set:
  27.                         wait 0.2 second
  28.                         open chest with 6 rows named "&2&lBanHamer '&4&l%arg 1%'" to player
  29.                         wait 0.1 second
  30.                         format slot 11 of player with 1 of tnt named "&4&lZbanui %arg 1% za Cheaty" to close then run [execute player command "/Cheaty %arg 1% 7200 Cheaty"]
  31.                         format slot 15 of player with 1 of redstone block named "&4&lZbanui %arg 1% za Spam" to close then run [execute player command "/Bspam %arg 1% &c&lSpam"]
  32.                         format slot 31 of player with 1 of fishing rod named "&4&lkick %arg 1% za Spam" to close then run [execute player command "/KSpam %arg 1% &c&lSpam"]
  33.                         format slot 12 of player with 1 of paper named "&4&lZbanui %arg 1% z Reklame" to close then run [execute player command "/Cheaty %arg 1% 99999 Reklame"]
  34.                                                
  35. on connect:
  36.         if {ban::%player%} is set:
  37.                 kick player due to "&cMasz jeszcze bana. %nl%&3Pozostaly czas w sekundach: %{ban::%player%}%%nl%&fWytrwalosci."
  38.                 stop
  39. every 1 second:
  40.         loop {ban::*}:
  41.                 if {ban::%loop-index%} is larger than 0:
  42.                         remove 1 from {ban::%loop-index%}
  43.                 else if {ban::%loop-index%} is 0:
  44.                         clear {ban::%loop-index%}
  45. command /Cheaty [<offlineplayer>] [<integer>] [<text>]:
  46.         trigger:
  47.                 if player has permission "{@pex}":
  48.                         if arg 1 is not set:
  49.                                 send "&a/bansk <nick> <czas_w_sekundach> <powud>&8- &7daje bana dla gracza."
  50.                                 stop
  51.                         if arg 1 is set:
  52.                                 if arg 2 is set:
  53.                                         set {ban::%arg 1%} to arg 2
  54.                                         kick arg 1 due to "&2Zostales zbanowany za &c&l%arg 3%&fWygasa za: &c%arg 2%"
  55.                                         send "&4&lBanHamer:&2Gracz %arg 1% został zbanowany za &c&l%arg 3%" to player
  56.                                         stop
  57.                                 send "&cMusisz podac czas bana."
  58.                                 stop
  59.                         stop
  60.                 send "&cYou don't have permission."
  61.                 stop