Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  1.  
  2. options:
  3. prefix: &e&lCoins&r &7»&r
  4. version: 1.1
  5.  
  6. on first join:
  7. set {coins::%player%} to 0
  8.  
  9. command /coins [<text>] [<player>] [<int>]:
  10. description: Help for skCoins.
  11. usage: /coins (add:remove:set:reset) (player) (value)
  12. executable by: players and console
  13. trigger:
  14. if arg-1 is not set:
  15. send ""
  16. send " &a&lCOINS"
  17. send ""
  18. send " &8● &7/coins add (player) (value) &a- Add player's coins"
  19. send " &8● &7/coins remove (player) (value) &a- Remove player's coins"
  20. send " &8● &7/coins set (player) (value) &a- Set player's coins"
  21. send " &8● &7/coins reset (player) &a- Reset player's coins"
  22. send ""
  23. if arg-1 is set:
  24. if player has permission "coins.admin":
  25. if arg-1 is "add":
  26. if arg-2 is not set:
  27. send " &aCorrect Usage: &7/coins add (player) (value)"
  28. if arg-2 is set:
  29. if arg-3 is not set:
  30. send " &aCorrect Usage: &7/coins add (player) (value)"
  31. if arg-3 is set:
  32. add arg-3 to {coins::%arg-2%}
  33. send " {@prefix} &7Operation completed successfully!"
  34. send " {@prefix} &7You have recived &a%arg-3%&7 coins." to arg-2
  35. if arg-1 is "remove":
  36. if arg-2 is not set:
  37. send " &aCorrect Usage: &7/coins remove (player) (value)"
  38. if arg-2 is set:
  39. if arg-3 is not set:
  40. send " &aCorrect Usage: &7/coins remove (player) (value)"
  41. if arg-3 is set:
  42. remove arg-3 from {coins::%arg-2%}
  43. send " {@prefix} &7Operation completed successfully!"
  44. send " {@prefix} &7You have lost &a%arg-3%&7 coins." to arg-2
  45. if arg-1 is "set":
  46. if arg-2 is not set:
  47. send " &aCorrect Usage: &7/coins set (player) (value)"
  48. if arg-2 is set:
  49. if arg-3 is not set:
  50. send " &aCorrect Usage: &7/coins set (player) (value)"
  51. if arg-3 is set:
  52. set {coins::%arg-2%} to arg-3
  53. send " {@prefix} &7Operation completed successfully!"
  54. send " {@prefix} &7You have now &a%arg-3%&7 coins." to arg-2
  55. if arg-1 is "reset":
  56. if arg-2 is not set:
  57. send " &aCorrect Usage: &7/coins reset (player)"
  58. if arg-2 is set:
  59. set {coins::%arg-2%} to 0
  60. send " {@prefix} &7You reset &a%arg-2%&7's coins!"
  61. send " {@prefix} &7Your coins have been reset." to arg-2
  62. if player does not have permission "coins.admin":
  63. send " &cYou don't have the permission."
  64.  
  65. command /money [<player>]:
  66. description: See the player's balance.
  67. usage: /money <player>
  68. executable by: players and console
  69. trigger:
  70. if arg-1 is not set:
  71. send " {@prefix} &7Your balance is: &a%{coins::%player%}%&7."
  72. if arg-1 is set:
  73. send " {@prefix} &a%arg-1%&7's balance is: &a%{coins::%arg-1%}%&7."
  74.  
  75.  
  76. on join:
  77. wait 1 second
  78. send "&bStats&8:"
  79. send " &3Kills&8: &b%{kills.%player%}%"
  80. send " &3Deaths&8: &b%{deaths.%player%}%"
  81.  
  82.  
  83. every second:
  84. loop all players:
  85. wipe loop-player's sidebar
  86. set name of sidebar of loop-player to "&8» &4&lWelcome to Texture &8«"
  87. set score "&8&m----------------------------" in sidebar of loop-player to 9
  88. set score "&7Your Kills &8» &6%{kills:%loop-player%}%" in sidebar of loop-player to 8
  89. set score "&7Your Deaths &8» &6%{deaths:%loop-player%}%" in sidebar of loop-player to 7
  90. set score "&7Your Coins &8» &6Broken" in sidebar of loop-player to 6
  91. set score "&7Your Rank &8» &6Broken" in sidebar of loop-player to 5
  92. set score "&7Players Online &8» &6%number of all players%/10" in sidebar of loop-player to 4
  93. set score " &cTexture.minehut.gg" in sidebar of loop-player to 2
  94. set score "&8&m---------------------------" in sidebar of loop-player to 1
  95.  
  96. on death of player:
  97. add 1 to {kills:%attacker%}
  98.  
  99. on death of player:
  100. add 1 to {deaths:%victim%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement