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" to event-player
- add 5 to {fc.%player%}
- if {_random} is between 71 and 94:
- send "&a+&e10 &7FriedCoin" to event-player
- add 10 to {fc.%player%}
- if {_random} is between 95 and 100:
- set {_randomitem} to a random integer between 1 and 20
- if {_randomitem} is between 1 and 3:
- broadcast "&9[&aItem&9] &a%player%&7 got &7トロッコ &9《 &bRare&a: &e★★☆☆☆ &9》"
- give minecart named "&7トロッコ" with lore "&9《 &cCT&a:&e15 &9》 &9《 &bRare&a: &e★★☆☆☆ &9》","&bトロッコ向いてる方向行き~♪","&b5秒間持続して飛べる。" and "&bしかし方向転換ができない。" to player
- if {_randomitem} is between 3 and 5:
- broadcast "&9[&aItem&9] &a%player%&7 got &6聖騎士の加護 &9《 &bRare&a: &e★★☆☆☆ &9》"
- give golden chestplate named "&6聖騎士の加護" with lore "&9《 &cCT&a:&e8 &9》 &9《 &bRare&a: &e★★☆☆☆ &9》","&b聖騎士の加護でダメージを軽減する" and "&b5秒間ダメージを40パーセント軽減する" to player
- if {_randomitem} is between 5 and 7:
- broadcast "&9[&aItem&9] &a%player%&7 got &5飛魂 &9《 &bRare&a: &e★★☆☆☆ &9》"
- give nether star named "&5飛魂" with lore "&9《 &cCT&a:&e10 &9》 &9《 &bRare&a: &e★★☆☆☆ &9》","&b魔法で魂を飛ばす" and "&b敵に当てた時に敵にテレポートする" to player
- if {_randomitem} is 8 and 9:
- broadcast "&9[&aItem&9] &a%player%&7 got &8クラッシュ &9《 &bRare&a: &e★★★☆☆ &9》"
- give anvil named "&8クラッシュ" with lore "&9《 &cCT&a:&e13 &9》 &9《 &bRare&a: &e★★★☆☆ &9》","&bためてから向いてる方向に進みながらブロックを壊していく" and "&b威力が高いが方向を変えれない" to player
- if {_randomitem} is 10 and 11:
- broadcast "&9[&aItem&9] &a%player%&7 got &e雷の破片 &9《 &bRare&a: &e★★★☆☆ &9》"
- give glowstone dust named "&e雷の破片" with lore "&9《 &cCT&a:&e12 &9》 &9《 &bRare&a: &e★★★☆☆ &9》","&b上から雷を落とす" and "&b範囲はデカいが威力はすこし弱め" to player
- if {_randomitem} is 12 and 13:
- broadcast "&9[&aItem&9] &a%player%&7 got &4フレイムストーム &9《 &bRare&a: &e★★☆☆☆ &9》"
- give blaze rod named "&4フレイムストーム" with lore "&9《 &cCT&a:&e12 &9》 &9《 &bRare&a: &e★★☆☆☆ &9》","&b自傷するが威力が高い" and "&b当たらなくても自傷する" to player
- if {_randomitem} is 14:
- broadcast "&9[&aItem&9] &a%player%&7 got &3チャージクラッシュ &9《 &bRare&a: &e★★☆☆☆ &9》"
- give iron axe named "&3チャージクラッシュ" with lore "&9《 &cCT&a:&e20 &9》 &9《 &bRare&a: &e★★☆☆☆ &9》","&bためて動けなくなるが威力が高い" and "&b戦場に突き刺さっていた斧" to player
- command /box [<number>]:
- permission: fc.admin
- trigger:
- if arg-1 is set:
- if arg-1 <= 64:
- loop arg times:
- give trapped chest named "&a報酬箱" to player
- else:
- send "&c64個以下にしてください。"
- else:
- give trapped chest named "&a報酬箱" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement