Facebook
From Queen Pintail, 7 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 203
  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 1 rows named "&2podeirzany '&4&l%arg 1%'" to player
  12.                         wait 0.1 second
  13.                         format slot 0 of player with 1 of lava bucket named "&4&lBanHamer" to close then run [execute player command "/banh %arg 1%"]
  14.                         format slot 8 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.  
  16. command /banh [<offlineplayer>]:
  17.         permission: BanHamer.bp
  18.         permission message: &8>> &9Brak uprawnien!
  19.         aliases: bp
  20.         trigger:
  21.                 arg 1 is set:
  22.                         wait 0.2 second
  23.                         open chest with 6 rows named "&2&lBanHamer '&4&l%arg 1%'" to player
  24.                         wait 0.1 second
  25.                         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"]
  26.                         format slot 15 of player with 1 of redstone block named "&4&lZbanui %arg 1% za Spam" to close then run [execute player command "/cheaty %arg 1% &c&lSpam"]
  27.                         format slot 31 of player with 1 of fishing rod named "&4&lkick %arg 1% za Spam" to close then run [execute player command "/kick %arg 1% &c&lSpam"]
  28.                         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"]
  29.                                                
  30. on connect:
  31.         if {ban::%player%} is set:
  32.                 kick player due to "&cMasz jeszcze bana. %nl%&3Pozostaly czas w sekundach: %{ban::%player%}%%nl%&fWytrwalosci."
  33.                 stop
  34.                
  35. command /kick [<player>] [<text>]:
  36.         trigger:
  37.                 send "&4&lBanHamer:&2Gracz %arg 1% został zkokowany za &c&l%arg 2%" to all players
  38.                 kick arg 1 due to "&czostałesi zkikowany z servera powód: %arg 2%"
  39.  
  40. every 1 second:
  41.         loop {ban::*}:
  42.                 if {ban::%loop-index%} is larger than 0:
  43.                         remove 1 from {ban::%loop-index%}
  44.                 else if {ban::%loop-index%} is 0:
  45.                         clear {ban::%loop-index%}
  46. command /Cheaty [<offlineplayer>] [<integer>] [<text>]:
  47.         trigger:
  48.                 if player has permission "{@pex}":
  49.                         if arg 1 is not set:
  50.                                 send "&a/bansk <nick> <czas_w_sekundach> <powud>&8- &7daje bana dla gracza."
  51.                                 stop
  52.                         if arg 1 is set:
  53.                                 if arg 2 is set:
  54.                                         set {ban::%arg 1%} to arg 2
  55.                                         kick arg 1 due to "&2Zostales zbanowany za &c&l%arg 3%&fWygasa za: &c%arg 2%"
  56.                                         send "&4&lBanHamer:&2Gracz %arg 1% został zbanowany za &c&l%arg 3%" to all players
  57.                                         stop
  58.                                 send "&cMusisz podac czas bana."
  59.                                 stop
  60.                         stop
  61.                 send "&cYou don't have permission."
  62.                 stop