Advertisement
captain_poulet

Untitled

May 19th, 2017
567
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.83 KB | None | 0 0
  1. command /topluck [<player>] [<text>]:
  2. permission: topluck.perm
  3. permission message: &cVous n'avez pas la permission
  4. trigger:
  5. if arg 1 is not set:
  6. send "&a/topluck &f[&cplayer&f] &f(&2permet de connaitre les statistiques des block/joueur&f)" to player
  7. send "&a/topluck &f[&cplayer&f] &f[&creset&f] &f(&2permet de reset les stats du joueur&f)" to player
  8. if arg 1 is set:
  9. if arg 2 is not set:
  10. teleport player to arg-player
  11. send "&4&o%player% &c&oteleporter a &4&o%arg player%" to player
  12. set {diamond.%arg-player%} to (({diamond.mine.%arg-player%} / {stone.mine.%arg-player%}) * 100)
  13. open chest with 5 rows named "&4&n&oTopLuck" to player
  14. if {diamond.mine.%arg-player%} is not set:
  15. set {diamond.mine.%arg-player%} to 0
  16. if {stone.mine.%arg-player%} is not set:
  17. set {stone.mine.%arg-player%} to 0
  18. if {redstone.mine.%arg-player%} is not set:
  19. set {redstone.mine.%arg-player%} to 0
  20. if {coal.mine.%arg-player%} is not set:
  21. set {coal.mine.%arg-player%} to 0
  22. if {iron.mine.%arg-player%} is not set:
  23. set {iron.mine.%arg-player%} to 0
  24. if {Lapis.mine.%arg-player%} is not set:
  25. set {Lapis.mine.%arg-player%} to 0
  26. if {Or.mine.%arg-player%} is not set:
  27. set {Or.mine.%arg-player%} to 0
  28. wait 3 tick
  29. format slot 9 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  30. format slot 10 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  31. format slot 11 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  32. format slot 12 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  33. format slot 13 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  34. format slot 14 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  35. format slot 15 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  36. format slot 16 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  37. format slot 17 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  38. format slot 19 of player with stone named "&e&o%{stone.mine.%arg-player%}%" with lore "&2&oStone miner par le joueur %arg player%" to be unstealable
  39. format slot 20 of player with redstone named "&e&o%{redstone.mine.%arg-player%}%" with lore "&2&oRedstone miner par le joueur %arg player%" to be unstealable
  40. format slot 21 of player with coal named "&e&o%{coal.mine.%arg-player%}%" with lore "&2&ocoal miner par le joueur %arg player%" to be unstealable
  41. format slot 22 of player with iron ingot named "&e&o%{iron.mine.%arg-player%}%" with lore "&2&oiron miner par le joueur %arg player%" to be unstealable
  42. format slot 23 of player with lapis:4 named "&e&o%{Lapis.mine.%arg-player%}%" with lore "&2&olapis miner par le joueur %arg player%" to be unstealable
  43. format slot 24 of player with golden ingot named "&e&o%{or.mine.%arg-player%}%" with lore "&2&oOr miner par le joueur %arg player%" to be unstealable
  44. format slot 25 of player with diamond named "&e&o%{diamond.mine.%arg-player%}%" with lore "&2&oDiamant miner par le joueur %arg player%" to be unstealable
  45. format slot 27 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  46. format slot 28 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  47. format slot 29 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  48. format slot 30 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  49. format slot 31 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  50. format slot 32 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  51. format slot 33 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  52. format slot 34 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  53. format slot 35 of player with stained glass pane:7 named "&e&l---" with lore "&c" to be unstealable
  54. format slot 40 of player with skull of "%arg player%" parsed as offline player named "&4&o%{diamond.%arg-player%}%/100" to be unstealable
  55. format slot 44 of player with tnt:1 named "&4&n&lBannir &7(x-ray)" with lore "&cSi vous clicker vous bannisser le joueur" to close then run [make player execute command "/ban %arg-player% &4Vous avez etait banni definitivement &7(raison x-ray)"]
  56. format slot 43 of player with 401 named "&a&n&lAvertir &7(x-ray)" with lore "&aSi vous clicker vous avertisser le joueur" to close then run [make console execute command "/avertissement %arg-player%"]
  57. if arg 2 is "reset":
  58. set {diamond.%arg-player%} to 0
  59. set {diamond.mine.%arg-player%} to 0
  60. set {stone.mine.%arg-player%} to 0
  61. set {stone.mine.%arg-player%} to 0
  62. set {redstone.mine.%arg-player%} to 0
  63. set {coal.mine.%arg-player%} to 0
  64. set {iron.mine.%arg-player%} to 0
  65. set {Lapis.mine.%arg-player%} to 0
  66. set {or.mine.%arg-player%} to 0
  67. set {diamond.mine.%arg-player%} to 0
  68. send "&cVous avez reset les stats de %arg-player%" to player
  69. command /avertissement [<player>]:
  70. permission: topluck.perm
  71. permission message: &cVous n'avez pas la permission
  72. trigger:
  73. launch flickering trailing creeper firework colored red and white at arg-player timed 0
  74. send "" to arg-player
  75. send "&a&lAvertissement: &c&oVous avez ete suspecte de x-ray" to arg-player
  76. send "" to arg-player
  77. on mine of diamond ore:
  78. if tool of player is enchanted with silk touch 1:
  79. stop
  80. else:
  81. add 1 to {diamond.mine.%player%}
  82. set {diamond.%player%} to (({diamond.mine.%player%} / {stone.mine.%player%}) * 100)
  83. set {variable} to 3
  84. wait 3 tick
  85. if {diamond.%player%} >= {variable}:
  86. loop all players:
  87. if player is op:
  88. send "&4&l[&c&lALERTE&4&l]&f &a%player% est superieur a &c3/100 &ade chances de minerai de diamant miner" to loop-players
  89. execute console command "/avertissement %player%"
  90. on mine of stone:
  91. if tool of player is enchanted with silk touch 1:
  92. stop
  93. else:
  94. add 1 to {stone.mine.%player%}
  95. on mine of redstone ore:
  96. if tool of player is enchanted with silk touch 1:
  97. stop
  98. else:
  99. add 1 to {redstone.mine.%player%}
  100. on mine of coal ore:
  101. if tool of player is enchanted with silk touch 1:
  102. stop
  103. else:
  104. add 1 to {coal.mine.%player%}
  105. on mine of iron ore:
  106. if tool of player is enchanted with silk touch 1:
  107. stop
  108. else:
  109. add 1 to {iron.mine.%player%}
  110. on mine of lapis ore:
  111. if tool of player is enchanted with silk touch 1:
  112. stop
  113. else:
  114. add 1 to {Lapis.mine.%player%}
  115. on mine of gold ore:
  116. if tool of player is enchanted with silk touch 1:
  117. stop
  118. else:
  119. add 1 to {or.mine.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement