Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &e&lCoins&r &7»&r
- version: 1.1
- on first join:
- set {coins::%player%} to 0
- command /coins [<text>] [<player>] [<int>]:
- description: Help for skCoins.
- usage: /coins (add:remove:set:reset) (player) (value)
- executable by: players and console
- trigger:
- if arg-1 is not set:
- send ""
- send " &a&lCOINS"
- send ""
- send " &8● &7/coins add (player) (value) &a- Add player's coins"
- send " &8● &7/coins remove (player) (value) &a- Remove player's coins"
- send " &8● &7/coins set (player) (value) &a- Set player's coins"
- send " &8● &7/coins reset (player) &a- Reset player's coins"
- send ""
- if arg-1 is set:
- if player has permission "coins.admin":
- if arg-1 is "add":
- if arg-2 is not set:
- send " &aCorrect Usage: &7/coins add (player) (value)"
- if arg-2 is set:
- if arg-3 is not set:
- send " &aCorrect Usage: &7/coins add (player) (value)"
- if arg-3 is set:
- add arg-3 to {coins::%arg-2%}
- send " {@prefix} &7Operation completed successfully!"
- send " {@prefix} &7You have recived &a%arg-3%&7 coins." to arg-2
- if arg-1 is "remove":
- if arg-2 is not set:
- send " &aCorrect Usage: &7/coins remove (player) (value)"
- if arg-2 is set:
- if arg-3 is not set:
- send " &aCorrect Usage: &7/coins remove (player) (value)"
- if arg-3 is set:
- remove arg-3 from {coins::%arg-2%}
- send " {@prefix} &7Operation completed successfully!"
- send " {@prefix} &7You have lost &a%arg-3%&7 coins." to arg-2
- if arg-1 is "set":
- if arg-2 is not set:
- send " &aCorrect Usage: &7/coins set (player) (value)"
- if arg-2 is set:
- if arg-3 is not set:
- send " &aCorrect Usage: &7/coins set (player) (value)"
- if arg-3 is set:
- set {coins::%arg-2%} to arg-3
- send " {@prefix} &7Operation completed successfully!"
- send " {@prefix} &7You have now &a%arg-3%&7 coins." to arg-2
- if arg-1 is "reset":
- if arg-2 is not set:
- send " &aCorrect Usage: &7/coins reset (player)"
- if arg-2 is set:
- set {coins::%arg-2%} to 0
- send " {@prefix} &7You reset &a%arg-2%&7's coins!"
- send " {@prefix} &7Your coins have been reset." to arg-2
- if player does not have permission "coins.admin":
- send " &cYou don't have the permission."
- command /money [<player>]:
- description: See the player's balance.
- usage: /money <player>
- executable by: players and console
- trigger:
- if arg-1 is not set:
- send " {@prefix} &7Your balance is: &a%{coins::%player%}%&7."
- if arg-1 is set:
- send " {@prefix} &a%arg-1%&7's balance is: &a%{coins::%arg-1%}%&7."
- on join:
- wait 1 second
- send "&bStats&8:"
- send " &3Kills&8: &b%{kills.%player%}%"
- send " &3Deaths&8: &b%{deaths.%player%}%"
- every second:
- loop all players:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&8» &4&lWelcome to Texture &8«"
- set score "&8&m----------------------------" in sidebar of loop-player to 9
- set score "&7Your Kills &8» &6%{kills:%loop-player%}%" in sidebar of loop-player to 8
- set score "&7Your Deaths &8» &6%{deaths:%loop-player%}%" in sidebar of loop-player to 7
- set score "&7Your Coins &8» &6Broken" in sidebar of loop-player to 6
- set score "&7Your Rank &8» &6Broken" in sidebar of loop-player to 5
- set score "&7Players Online &8» &6%number of all players%/10" in sidebar of loop-player to 4
- set score " &cTexture.minehut.gg" in sidebar of loop-player to 2
- set score "&8&m---------------------------" in sidebar of loop-player to 1
- on death of player:
- add 1 to {kills:%attacker%}
- on death of player:
- add 1 to {deaths:%victim%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement