Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {fc.%player%} is not set:
- set {fc.%player%} to 100
- command /fcreset:
- trigger:
- if {fc.%player%} is not set:
- set {fc.%player%} to 100
- send "&8[&9FCsk&8] &aFCをreloadしました"
- command /getfc [<number>]:
- permission: fc.admin
- trigger:
- if arg is set:
- add arg to {fc.%player%}
- send "&8[&9FCsk&8] &a+&6&l%arg%&eFriedCoin "
- else:
- send "&8[&9FCsk&8] &cコインの数が指定されていません"
- command /fc [<text>] [<number>]:
- trigger:
- if arg 1 is not set:
- send "&8[&9FCsk&8] &c指定されていません(使い方 /fc help)"
- if arg 1 is "out":
- if arg 2 is set:
- if arg 2 <= {fc.%player%}:
- give magma cream named "&9&l《 &eFried Coin &9&l》" with lore "&e価値&a:&6%arg-2%" to player
- remove arg-2 from {fc.%player%}
- else:
- send "&8[&9FCsk&8] &cコインの数が指定されていません"
- if arg 1 is "help":
- send "&8[&9FCsk&8]"
- send "&9/fc help &6&l= &8このコマンドのヘルプを表示します"
- send "&9/fc out 金額 &6&l= &8金額の数だけFCを引き出します"
- command /money:
- trigger:
- send "&e%player%"
- send "&eFriedCoin&a: &6%{fc.%player%}%"
- on rightclick with magma cream:
- set {_Coin::*} to lore of player's tool
- loop {_Coin::*}:
- loop-value contains "&e価値&a:&6":
- set {_n} to loop-value
- replace "&e価値&a:&6" with "" in {_n}
- send "&8[&9FCsk&8] &a+&6&l%{_n}% &eFriedCoin"
- add {_n} parsed as number to {fc.%player%}
- clear held item
- on rightclick with trapped chest:
- cancel event
- remove 1 trapped chest named "&a報酬箱" from player's inventory
- execute console command "/execute %player% ~ ~ ~ /playsound block.chest.open master %player% ~ ~ ~ 1 1"
- set {_random} to a random integer between 1 and 100
- if {_random} is between 1 and 70:
- send "&a+&e5 &7FriedCoin"
- add 5 to {fc.%player%}
- if {_random} is between 71 and 97:
- send "&a+&e10 &7FriedCoin"
- add 10 to {fc.%player%}
- if {_random} is between 98 and 100:
- add 100 to {fc.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement