SHARE
TWEET

Untitled

a guest Feb 14th, 2020 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.     ban: &c&lBansystem
  3.     server: &6&lMyserver
  4.     perm: &cDu hast keine Rechte für dies!
  5.     ts: &4Wartung
  6.    
  7. command /kicki [<offline player>] [<text>]:
  8.     permission: system.ban
  9.     permission message: {@perm}
  10.     trigger:
  11.         if arg 1 is set:
  12.             if arg 2 is set:
  13.                 kick arg 1 due to "&cDu wurdest gekickt!%nl%%nl%&7Grund&8: &c%arg 2%%nl%&7Gekickt von&8: &e%executor%%nl%%nl%&7Falls du fragen hast, melde dich auf unserem TeamSpeak: {@ts}"
  14.                 message "{@ban} &7Du hast erfolgreich %arg 1% gekickt!"
  15.             else:
  16.                 send "{@ban} &7/kicik <Spieler> <Grund>"
  17.         else:
  18.             send "{@ban} &7/kicki <Spieler> <Grund>"
  19.            
  20. command /bani [<offline player>] [<text>]:
  21.     permission: system.ban
  22.     permission message: {@perm}
  23.     trigger:
  24.         if arg 1 is not set:
  25.             message "{@ban} &7/bani <Spieler> <Grund>"
  26.             stop
  27.         if arg 2 is not set:
  28.             message "{@ban} &7/bani <Spieler> <Grund>"
  29.             stop
  30.         if arg 1 has permission "system.ban.ignore":
  31.             message "{@ban} &7Du kannst %arg 1% nicht bannen!"
  32.             stop
  33.         if arg 1 is set:
  34.             if {ban.%arg 1%} is set:
  35.                 message "{@ban} &7Dieser Spieler ist bereits gebannt!"
  36.                 stop
  37.         if arg 1 is set:
  38.             if arg 2 is set:
  39.                 set {ban.%arg 1%} to true
  40.                 set {banreason.%arg 1%} to arg 2
  41.                 add "%arg 1%" to {banlist::*}
  42.                 loop all players:
  43.                     if loop-player has permission "system.ban":
  44.                         send "" to loop-player
  45.                         send "{@ban} &7Der Spieler %arg 1% wurde gebannt!" to loop-player
  46.                         send "{@ban} &7Grund&8: &e%arg 2%" to loop-player
  47.                         send "" to loop-player
  48.                 send "{@bani} &7Du hast %arg 1% wegen %arg 2% gebannt!"
  49.                 kick arg 1 due to "&cDu wurdest gebannt!%nl%%nl%&7Grund&8: &c%arg 2%%nl%&7Gebannt von&8: &e%executor%%nl%%nl%&7Falls du fragen hast, melde dich auf unserem TeamSpeak: {@ts}"
  50.                 stop
  51.                
  52. command /unbani [<offline player>]:
  53.     permission: system.ban
  54.     permission message: {@perm}
  55.     trigger:
  56.         if arg 1 is not set:
  57.             message "{@ban} &7/unban <Spieler>"
  58.             stop
  59.         if arg 1 is set:
  60.             if {ban.%arg 1%} is set:
  61.                 delete {ban.%arg 1%}
  62.                 remove "%arg 1%" from {banlist::*}
  63.                 loop all players:
  64.                     if loop-player has permission "system.ban":
  65.                         send "" to loop-player
  66.                         send "{@ban} &7Der Spieler %arg 1% wurde entbannt!" to loop-player
  67.                         send "{@ban} &7Von&8: &e%executor%" to loop-player
  68.                         send "" to loop-player
  69.                         message "{@ban} &7Du hast %arg 1% entbannt!"
  70.                         stop
  71.             else:
  72.                 message "{@ban} &7Dieser Spieler ist nicht gebannt!"
  73.                
  74. on connect:
  75.     if {ban.%player%} is set:
  76.         kick the player due to "&cDu wurdest gebannt!%nl%%nl%&7Grund&8: &c%{banreason.%player%}%%nl%%nl%&7Falls du fragen hast, melde dich auf unserem TeamSpeak: {@ts}"
  77.    
  78. command /banliste:
  79.     permission: system.ban
  80.     permission message: {@perm}
  81.     trigger:
  82.         message "&7Alle gebannten Spieler: &c%{banlist::*}%"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top