Advertisement
Guest User

Untitled

a guest
Nov 16th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.59 KB | None | 0 0
  1. command /warn <offline player> <text>:
  2. permission: skript.warn
  3. permission message: &cYou may not use this command
  4. trigger:
  5. add 1 to {warns::%uuid of arg 1%}
  6. send "&c&l[Warning] &7You have been warned due to &e%arg-2% (%{warns::%uuid of arg 1%}%/3) &8(&4%{bigwarns::%uuid of arg 1%}%&8/&45&8)" to argument 1
  7. send "&c&l[Warning] &7You have warned the player &e%arg-1% &7for &e%arg-2%&7 (%{warns::%uuid of arg 1%}%/3)! &8(&4%{bigwarns::%uuid of arg 1%}%&8/&45&8)"
  8. broadcast "&c&l[Warning] &e%arg-1% &7has been warned by &e%player% &7due to &e%arg-2% (%{warns::%uuid of arg 1%}%/3) &8(&4%{bigwarns::%uuid of arg 1%}%&8/&45&8)"
  9. if {bigwarns::%uuid of arg 1%} = 0:
  10. if {warns::%uuid of arg 1%} >= 3:
  11. execute console command "/mute %arg 1% 10m"
  12. message "&4&lYou have been automaticly muted for &810 minutes &4for having too many warns" to arg 1
  13. broadcast "&e%arg 1% &chave been automaticly muted for &810 minutes &4for having too many warns"
  14. set {warns::%uuid of arg 1%} to 0
  15. add 1 to {bigwarns::%uuid of arg 1%}
  16. if {bigwarns::%uuid of arg 1%} = 1:
  17. if {warns::%uuid of arg 1%} >= 3:
  18. execute console command "/mute %arg 1% 30m"
  19. message "&4&lYou have been automaticly muted for &830 minutes &4for having too many warns" to arg 1
  20. broadcast "&e%arg 1% &chave been automaticly muted for &830 minutes &4for having too many warns"
  21. set {warns::%uuid of arg 1%} to 0
  22. add 1 to {bigwarns::%uuid of arg 1%}
  23. if {bigwarns::%uuid of arg 1%} = 2:
  24. if {warns::%uuid of arg 1%} >= 3:
  25. execute console command "/mute %arg 1% 1h"
  26. message "&4&lYou have been automaticly muted for &81 hour &4for having too many warns" to arg 1
  27. broadcast "&e%arg 1% &chave been automaticly muted for &81 hour &4for having too many warns"
  28. set {warns::%uuid of arg 1%} to 0
  29. add 1 to {bigwarns::%uuid of arg 1%}
  30. if {bigwarns::%uuid of arg 1%} = 3:
  31. if {warns::%uuid of arg 1%} >= 3:
  32. execute console command "/mute %arg 1% 1d"
  33. message "&4&lYou have been automaticly muted for &81 day &4for having too many warns" to arg 1
  34. broadcast "&e%arg 1% &chave been automaticly muted for &81 day &4for having too many warns"
  35. set {warns::%uuid of arg 1%} to 0
  36. add 1 to {bigwarns::%uuid of arg 1%}
  37. if {bigwarns::%uuid of arg 1%} = 4:
  38. if {warns::%uuid of arg 1%} >= 3:
  39. execute console command "/mute %arg 1% 7d"
  40. message "&4&lYou have been automaticly muted for &87 days &4for having too many warns" to arg 1
  41. broadcast "&e%arg 1% &chave been automaticly muted for &87 days &4for having too many warns"
  42. set {warns::%uuid of arg 1%} to 0
  43. add 1 to {bigwarns::%uuid of arg 1%}
  44. if {bigwarns::%uuid of arg 1%} = 5:
  45. if {warns::%uuid of arg 1%} >= 3:
  46. execute console command "/mute %arg 1%"
  47. message "&4&lYou have been automaticly &lPERM muted &4for having too many warns" to arg 1
  48. broadcast "&e%arg 1% &chave been automaticly &lPERM muted &4for having too many warns"
  49. set {warns::%uuid of arg 1%} to 0
  50. add 1 to {bigwarns::%uuid of arg 1%}
  51.  
  52.  
  53.  
  54. command /warns <offline player>:
  55. permission: skript.warns
  56. permission message: &7You may not use this command
  57. trigger:
  58. message "&e%argument 1% &7has &e%{warns::%uuid of arg 1%}% &7warns"
  59. command /warnset <offline player> <number>:
  60. executable by: players and console
  61. permission: skript.warnset
  62. permission message: &7You may not use this command
  63. trigger:
  64. set {warns::%uuid of arg 1%} to arg 2
  65. message "&7You have set &e%arg-1% &7warns to &e%arg-2%"
  66. command /bigwarnset <offline player> <number>:
  67. executable by: players and console
  68. permission: skript.bigwarnset
  69. permission message: &7You may not use this command
  70. trigger:
  71. set {bigwarns::%uuid of arg 1%} to arg 2
  72. message "&7You have set &e%arg-1% &7big warns to &e%arg-2%"
  73.  
  74. command /mywarns:
  75. executable by: players
  76. trigger:
  77. message "&7You have &e%{warns::%uuid of player%}%"
  78. command /bigwarns <offline player>:
  79. permission: skript.warns
  80. permission message: &7You may not use this command
  81. trigger:
  82. message "&e%argument 1% &7has &e%{bigwarns::%uuid of arg 1%}% &4big warns"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement