RozaCraft
Ağaç Yumruklayıcı
- Mesajlar
- 18
- En iyi cevaplar
- 0
- Beğeniler
- 4
- Puanları
- 140
- Ruh hali
Arkadaşlar şu kodda nasıl 128 tas kırınca 1 coin verir hale getirrim
on break of stone:
add 1 to {coins::%player%}
send "&8[&3Sistem&8]&7 Tebrikler 1 Coin kazandınız." to player
on break of stone:
add 1 to {coins::%player%}
send "&8[&3Sistem&8]&7 Tebrikler 1 Coin kazandınız." to player
options:
prefix: &a&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 /coin [<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 break of stone:
add 1 to {coins::%player%}
send "&8[&3Sistem&8]&7 Tebrikler 1 Coin kazandınız." to player
Son düzenleme: