SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. variables:
  2.     {BANwarn} = 5
  3.  
  4. command /mywarn:
  5.     trigger:
  6.         message "&aあなたが警告された回数は%{warn.%player%}%です。"
  7.         message "&e※<none>と書かれている場合は0回。%{BANwarn}%回警告でBAN。"
  8.  
  9. command /warnset <number>:
  10.     permission: skript.warnset
  11.     trigger:
  12.         if arg 1 is not set:
  13.             message "&a/warnset <数字>"
  14.         if arg 1 is set:
  15.             set {BANwarn} to arg 1
  16.             message "&bBAN警告回数を%arg +1%回に設定しました。"
  17.             broadcast "&8[&cAdvancedSystem&8] &a%player%&eさんがBAN警告回数を&d%arg +1%&a回に設定しました。"
  18.  
  19. command /cwarn <player> <text>:
  20.     permission: skript.cwarn
  21.     trigger:
  22.         if {warn.%arg 1%} is 0:
  23.             message "&cこれ以上減らすことはできません。"
  24.         if {warn.%arg 1%} is larger than or equal to  1:
  25.             add -1 to {warn.%arg 1%}
  26.             broadcast "&a%player%さんが%arg 1%さんのことを%arg 2%の理由により警告スコアを1減らしました!"
  27.             broadcast "&a%arg 1%さんの警告スコアは&e%{warn.%arg 1%}%&aです!"
  28.  
  29. command /nwarn <player> <text>:
  30.     permission: skript.warn
  31.     trigger:
  32.         add 1 to {warn.%arg 1%}
  33.         if arg 1 and arg 2 is set:
  34.             broadcast "&c%arg 1%さんが&4%arg 2%&Cの理由により警告されました。"
  35.             broadcast "&c%arg 1%さんの警告スコアは&4%{warn.%arg 1%}%&cです。"      
  36.         if {warn.%arg 1%} is larger than or equal to {BANwarn}:
  37.             execute console command "/bans %arg 1% Warning%{BANwarn}%Ban due to times"
  38.  
  39. command /warns <player>:
  40.     permission: skript.warns
  41.     trigger:
  42.         message "&e%arg 1%&bの警告スコアは&e%{warn.%arg 1%}%&bです。"
  43.  
  44. command /kicks [<offlineplayer>] [<text>]:
  45.     description: ?jecter un joueur.
  46.     usage: /kicks <joueur> <motif>
  47.     permission: sanction.kick
  48.     permission message: {@noperm}
  49.     aliases: ekick
  50.     trigger:
  51.         if arg 1 is not set:
  52.             json("%player%", "&4[&cAdvancedSystem&4] &7Commande demand?e : &o/kick <joueur> <motif>||ttp:&7&oCliquez ici !||sgt:/kick")
  53.             stop
  54.         if arg 1 is set:
  55.             if arg 1 is not online:
  56.                 send "&4[&cAdvancedSystem&4] &7%arg 1% n'est pas connect? !"
  57.                 stop
  58.             else:
  59.                 if arg 3 is not set:
  60.                     kick arg 1 due to "&4[&cAdvancedSystem&4] &7あなたはkickされました!"
  61.                     kick arg 2 due to "&4[&cAdvancedSystem&4] &7あなたはkickされました!"
  62.                     broadcast "&4[&cAdvancedSystem&4] &7%arg 1%&はKICKされました"
  63.                 if arg 2 is set:
  64.                     kick arg 1 due to "&4[&cAdbancedsystem&4] &7あなたはKickされました理由→%arg 2%"
  65.  
  66.                     broadcast "&4[&cserver&4] -----------------------------------------"
  67.                     broadcast "&4[&cKick&4] &7%arg 1%の不正行為を確認したためタイムアウトさせました"
  68.                     broadcast "&4[&cKick&4] &7%arg 1%&7理由→%arg 2%"
  69.                     broadcast "&4[&cserver&4] -----------------------------------------"
  70.  
  71. command /jail [<player>]:
  72.     permission:admin
  73.     trigger:
  74.         execute console command "/pex user %arg% prefix &8Jail&f"
  75.         execute console command "/tp %arg% 2987 4 3015 "
  76.         broadcast "&4[AdvancedSystem] >>> %arg%さんがJailに入れられました"
  77.         execute console command "/clear %arg%"
  78.         execute console command "/easykits give Jail %arg%"
  79.         execute console command "/gamemode 2 %arg%"
  80.  
  81. command /jail2 [<player>]:
  82.     permission:admin
  83.     trigger:
  84.         execute console command "/pex user %arg% prefix &8Jail&f"
  85.         execute console command "/tp %arg% 2980 4 3015 "
  86.         broadcast "&4[AdvancedSystem] >>> %arg%さんがJailに入れられました"
  87.         execute console command "/clear %arg%"
  88.         execute console command "/easykits give Jail %arg%"
  89.         execute console command "/gamemode 2 %arg%"
  90.  
  91. command /jail3 [<player>]:
  92.     permission:admin
  93.     trigger:
  94.         execute console command "/pex user %arg% prefix &8Jail&f"
  95.         execute console command "/tp %arg% 2980 4 3015 "
  96.         broadcast "&4[AdvancedSystem] >>> %arg%さんがJailから出ました"
  97.         execute console command "/clear %arg%"
  98.         execute console command "/easykits give Jail %arg%"
  99.         execute console command "/gamemode 1 %arg%"
  100.  
  101.  
  102.  
  103. #BAN#
  104. command /ban [<offline player>] [<text>]:
  105.     trigger:
  106.         if player has permission "server.ban":
  107.             if arg 1 is set:
  108.                 if arg 2 is set:
  109.                     kick the arg 1 due to "&7[&6Server&7]%newline%&cYou have been banned from the Server%newline%%newline%&7Reason:&e %arg 2%%newline%%newline%&7Banned from&7: &c%player%"
  110.                     set {banned.%arg 1%} to "%arg 1%"
  111.                     set {ban.%arg 1%} to 1
  112.                     set {banreason.%arg 1%} to "%arg 2%"
  113.                     add 1 to {bans.%arg 1%}
  114.                     send "&7[&cBan&7] &cBanned&7."
  115.                     loop all players:
  116.                         if loop-player has permission "server.ban":
  117.                             send "&7[&cBan&7] &e%player% &7has &cbanned &e%arg 1%&7 for the Reason: &e%arg 2%" to loop-player
  118.                 else:
  119.                     send "&7[&cBan&7] &e/ban &7[&ePlayer&7] [&eReason&7]"
  120.             else:
  121.                 send "&7[&cBan&7] &e/ban &7[&ePlayer&7] [&eReason&7]"
  122.         else:
  123.             send "&cNo Permission"
  124.  
  125. on join:
  126.     if {ban.%player%} is 1:
  127.         set join message to ""
  128.         kick the player due to "&7[&6Server&7]%newline%&cYou have been banned from the Server%newline%%newline%&7Reason:&e %{banreason.%player%}%%newline%%newline%&7Banned from&7: &c%{banned.%player%}%"
  129.  
  130. on quit:
  131.     if {ban.%player%} is 1:
  132.         set quit message to ""
  133.  
  134. #UNBAN#
  135. command /unban [<offline player>]:
  136.     trigger:
  137.         if player has permission "server.ban":
  138.             if arg is set:
  139.                 if {ban.%arg%} is 1:
  140.                     set {ban.%arg%} to 0
  141.                     set {banned.%arg%} to 0
  142.                     set {banreason.%arg%} to 0
  143.                     send "&7[&cBan&7] &aUnbanned&7."
  144.                     loop all players:
  145.                         if loop-player has permission "server.ban":
  146.                             send "&7[&cBan&7] &e%player%&7 has &aunbanned &c%arg%" to loop-player
  147.                 else:
  148.                     send "&7[&cBan&7] &c%arg%&7 is &cnot&7 banned."
  149.             else:
  150.                 send "&7[&cBan&7] &e/unban &7[&ePlayer&7]"
  151.         else:
  152.             send "&cNo Permission"
  153.    
  154. #BANS#
  155. command /bans [<offline player>]:
  156.     trigger:
  157.         if player has permission "server.ban":
  158.             if arg is set:
  159.                 if {ban.%arg%} is 1:
  160.                     if {bans.%arg%} is set:
  161.                         send "&7[&cBan&7] &e%arg%&7 is &cbanned&7."
  162.                         send "&7[&cBan&7] The Player &e%arg%&7 has &c%{bans.%arg%}%&7 bans."
  163.                     else:
  164.                         send "&7[&cBan&7] The Player &e%arg%&7 has &a0 &7bans."
  165.                 if {ban.%arg%} is 0:
  166.                     if {bans.%arg%} is set:
  167.                         send "&7[&cBan&7] The Player &e%arg%&7 has &c%{bans.%arg%}%&7 bans."
  168.                     else:
  169.                         send "&7[&cBan&7] The Player &e%arg%&7 has &a0 &7bans."
  170.             else:
  171.                 send "&7[&cBan&7] &e/bans &7[&ePlayer&7]"
  172.         else:
  173.             send "&cNo Permission"
  174.  
  175. #MUTE#
  176. command /mute [<offline player>]:
  177.     trigger:
  178.         if player has permission "server.mute":
  179.             if arg is set:
  180.                 set {mute.%arg%} to 1
  181.                 add 1 to {mutes.%arg%}
  182.                 send "&7[&cMute&7] &cMuted."
  183.                 loop all players:
  184.                     if loop-player has permission "server.mute":
  185.                         send "&7[&cMute&7] &e%player% &7has &cmuted&e %arg%&7." to loop-player
  186.             else:
  187.                 send "&7[&cMute&7] &e/mute &7[&ePlayer&7]"
  188.         else:
  189.             send "&cNo Permission"
  190.  
  191. on chat:
  192.     if {mute.%player%} is 1:
  193.         cancel event
  194.         send "&cYou have been muted."
  195.     else:
  196.         command ""
  197.        
  198. #UNMUTE#
  199. command /unmute [<offline player>]:
  200.     trigger:
  201.         if player has permission "server.mute":
  202.             if arg is set:
  203.                 set {mute.%arg%} to 0
  204.                 send "&7[&cMute&7] &aUnmuted."
  205.                 loop all players:
  206.                     if loop-player has permission "server.mute":
  207.                         send "&7[&cMute&7] &e%player% &7has &aunmuted&e %arg%&7." to loop-player
  208.             else:
  209.                 send "&7[&cMute&7] &e/unmute &7[&ePlayer&7]"
  210.         else:
  211.             send "&cNo Permission"
  212.  
  213. #MUTES#
  214. command /mutes [<offline player>]:
  215.     trigger:
  216.         if player has permission "server.mute":
  217.             if arg is set:
  218.                 if {mute.%arg%} is 1:
  219.                     if {mutes.%arg%} is set:
  220.                         send "&7[&cMute&7] &e%arg%&7 is &cmuted&7."
  221.                         send "&7[&cMute&7] &e%arg%&7 has &c%{mutes.%arg%}%&7 mutes."
  222.                     else:
  223.                         send "&7[&cMute&7] &e%arg%&7 has &a0&7 mutes."
  224.                 if {mute.%arg%} is 0:
  225.                     if {mutes.%arg%} is set:
  226.                         send "&7[&cMute&7] &e%arg%&7 has &c%{mutes.%arg%}%&7 mutes."
  227.                     else:
  228.                         send "&7[&cMute&7] &e%arg%&7 has &a0&7 mutes."
  229.             else:
  230.                 send "&7[&cMute&7] &e/mutes &7[&ePlayer&7]"
  231.         else:
  232.             send "&cNo Permission"
  233.                    
  234.                    
  235. #BKM#
  236. command /Aslist [<text>]:
  237.     trigger:
  238.         if player has permission "server.bkm":
  239.             if arg is set:
  240.                 send "&7--------------- &6AdvancedSystem &7---------------"
  241.                 send ""
  242.                 send "&e/Aslist"
  243.                 send ""
  244.                 if player has permission "server.ban":
  245.                     send "&e/ban"
  246.                     send ""
  247.                 if player has permission "server.kick":
  248.                     send "&e/kick"
  249.                     send ""
  250.                 if player has permission "server.mute":
  251.                     send "&e/mute"
  252.                     send ""
  253.                 if player has permission "server.ban":
  254.                     send "&e/unban"
  255.                     send ""
  256.                 if player has permission "server.mute":
  257.                     send "&e/unmute"
  258.                     send ""
  259.                 if player has permission "server.ban":
  260.                     send "&e/bans"
  261.                     send ""
  262.                 if player has permission "server.mute":
  263.                     send "&e/mutes"
  264.                     send ""
  265.                 if player has permission "server.reload":
  266.                     send "&e/Asreload"
  267.                     send ""
  268.                 send "&7--------------- &6AdvancedSystem &7---------------"
  269.             else:
  270.                 send "&7--------------- &6AdvancedSystem &7---------------"
  271.                 send ""
  272.                 send "&e/Aslist"
  273.                 send ""
  274.                 if player has permission "server.ban":
  275.                     send "&e/ban"
  276.                     send ""
  277.                 if player has permission "server.kick":
  278.                     send "&e/kick"
  279.                     send ""
  280.                 if player has permission "server.mute":
  281.                     send "&e/mute"
  282.                     send ""
  283.                 if player has permission "server.ban":
  284.                     send "&e/unban"
  285.                     send ""
  286.                 if player has permission "server.mute":
  287.                     send "&e/unmute"
  288.                     send ""
  289.                 if player has permission "server.ban":
  290.                     send "&e/bans"
  291.                     send ""
  292.                 if player has permission "server.mute":
  293.                     send "&e/mutes"
  294.                     send ""
  295.                 if player has permission "server.reload":
  296.                     send "&e/Asreload"
  297.                     send ""
  298.                 send "&7--------------- &6AdvancedSystem &7---------------"
  299.         else:
  300.             send "&cNo Permission."
  301.            
  302. #BKM RELOAD#
  303. command /Asreload [<text>]:
  304.     trigger:
  305.         if player has permission "server.reload":
  306.             if arg is set:
  307.                 send "&7[&cASlist&7] Is reloading..."
  308.                 command "sk reload bkm"
  309.                 send "&7[&cASlist&7] &aReloaded&7!"
  310.             if arg is not set:
  311.                 send "&7[&cASlist&7] Is reloading..."
  312.                 command "sk reload bkm"
  313.                 send "&7[&cASlist&7] &aReloaded&7!"
  314.         else:
  315.             send "&cNo Permission."
  316. command /unreport:
  317.         trigger:
  318.                 wait 5 ticks
  319.                 op the player
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