Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick on iron golem:
- open chest with 3 row named "&r売却したい鉱石を選択" to player
- format slot 9 of player with stone named "&a石 / 丸石" with lore "&eクリックで売却画面に移動します" to close then run [make player execute command "frligvlbsntilnb"]
- format slot 11 of player with coal named "&a石炭 / 石炭ブロック" with lore "&eクリックで売却画面に移動します" to close then run [make player execute command "ubvubslnvshuis"]
- format slot 13 of player with iron ingot named "&a鉄 / 鉄ブロック" with lore "&eクリックで売却画面に移動します" to close then run [make player execute command "ilrsbubvslinbs"]
- format slot 15 of player with gold ingot named "&a金 / 金ブロック" with lore "&eクリックで売却画面に移動します" to close then run [make player execute command "huilbsluibvlsbd"]
- format slot 17 of player with diamond named "&aダイヤモンド" with lore "&eクリックで売却画面に移動します" to close then run [make player execute command "civablnblavbbrre"]
- command /bhuvabbviuv [<text>] [<text>]:
- trigger:
- if arg 1 is "stone":
- if arg 2 is "one":
- if player have 1 stone:
- remove 1 stone from player
- add 2 to {coin.%uuid of player%}
- send "&a石を1個売却し、2コイン手に入れました"
- else:
- send "&c石が足りません"
- if arg 2 is "eight":
- if player have 8 stone:
- remove 8 stone from player
- add 16 to {coin.%uuid of player%}
- send "&a石を8個売却し、16コイン手に入れました"
- else:
- send "&c石が足りません"
- if arg 2 is "thirtytwo":
- if player have 32 stone:
- remove 32 stone from player
- add 64 to {coin.%uuid of player%}
- send "&a石を32個売却し、64コイン手に入れました"
- else:
- send "&c石が足りません"
- if arg 2 is "sixtyfour":
- if player have 64 stone:
- remove 64 stone from player
- add 128 to {coin.%uuid of player%}
- send "&a石を64個売却し、128コイン手に入れました"
- else:
- send "&c石が足りません"
- if arg 1 is "cobblestone":
- if arg 2 is "one":
- if player have 1 cobblestone:
- remove 1 cobblestone from player
- add 1 to {coin.%uuid of player%}
- send "&a丸石を1個売却し、1コイン手に入れました"
- else:
- send "&c丸石が足りません"
- if arg 2 is "eight":
- if player have 8 cobblestone:
- remove 8 cobblestone from player
- add 8 to {coin.%uuid of player%}
- send "&a丸石を8個売却し、8コイン手に入れました"
- else:
- send "&c丸石が足りません"
- if arg 2 is "thirtytwo":
- if player have 32 cobblestone:
- remove 32 cobblestone from player
- add 32 to {coin.%uuid of player%}
- send "&a丸石を32個売却し、32コイン手に入れました"
- else:
- send "&c丸石が足りません"
- if arg 2 is "sixtyfour":
- if player have 64 cobblestone:
- remove 64 cobblestone from player
- add 64 to {coin.%uuid of player%}
- send "&a丸石を64個売却し、64コイン手に入れました"
- else:
- send "&c丸石が足りません"
- if arg 1 is "coal":
- if arg 2 is "one":
- if player have 1 coal:
- remove 1 coal from player
- add 5 to {coin.%uuid of player%}
- send "&a石炭を1個売却し、5コイン手に入れました"
- else:
- send "&c石炭が足りません"
- if arg 2 is "eight":
- if player have 8 coal:
- remove 8 coal from player
- add 40 to {coin.%uuid of player%}
- send "&a石炭を8個売却し、40コイン手に入れました"
- else:
- send "&c石炭が足りません"
- if arg 2 is "thirtytwo":
- if player have 32 coal:
- remove 32 coal from player
- add 160 to {coin.%uuid of player%}
- send "&a石炭を32個売却し、160コイン手に入れました"
- else:
- send "&c石炭が足りません"
- if arg 2 is "sixtyfour":
- if player have 64 coal:
- remove 64 coal from player
- add 320 to {coin.%uuid of player%}
- send "&a石炭を64個売却し、320コイン手に入れました"
- else:
- send "&c石炭が足りません"
- if arg 1 is "coalblock":
- if arg 2 is "one":
- if player have 1 coal block:
- remove 1 coal block from player
- add 45 to {coin.%uuid of player%}
- send "&a石炭ブロックを1個売却し、45コイン手に入れました"
- else:
- send "&c石炭ブロックが足りません"
- if arg 2 is "eight":
- if player have 8 coal block:
- remove 8 coal block from player
- add 360 to {coin.%uuid of player%}
- send "&a石炭ブロックを8個売却し、360コイン手に入れました"
- else:
- send "&c石炭ブロックが足りません"
- if arg 2 is "thirtytwo":
- if player have 32 coal block:
- remove 32 coal block from player
- add 1440 to {coin.%uuid of player%}
- send "&a石炭ブロックを32個売却し、1440コイン手に入れました"
- else:
- send "&c石炭ブロックが足りません"
- if arg 2 is "sixtyfour":
- if player have 64 coal block:
- remove 64 coal block from player
- add 2880 to {coin.%uuid of player%}
- send "&a石炭ブロックを64個売却し、2880コイン手に入れました"
- else:
- send "&c石炭ブロックが足りません"
- if arg 1 is "iron":
- if arg 2 is "one":
- if player have 1 iron ingot:
- remove 1 iron ingot from player
- add 45 to {coin.%uuid of player%}
- send "&a鉄を1個売却し、45コイン手に入れました"
- else:
- send "&c鉄が足りません"
- if arg 2 is "eight":
- if player have 8 iron ingot:
- remove 8 iron ingot from player
- add 360 to {coin.%uuid of player%}
- send "&a鉄を8個売却し、360コイン手に入れました"
- else:
- send "&c鉄が足りません"
- if arg 2 is "thirtytwo":
- if player have 32 iron ingot:
- remove 32 iron ingot from player
- add 1440 to {coin.%uuid of player%}
- send "&a鉄を32個売却し、1440コイン手に入れました"
- else:
- send "&c鉄が足りません"
- if arg 2 is "sixtyfour":
- if player have 64 iron ingot:
- remove 64 iron ingot from player
- add 2880 to {coin.%uuid of player%}
- send "&a鉄を64個売却し、2880コイン手に入れました"
- else:
- send "&c鉄が足りません"
- if arg 1 is "ironblock":
- if arg 2 is "one":
- if player have 1 iron block:
- remove 1 iron block from player
- add 180 to {coin.%uuid of player%}
- send "&a鉄ブロックを1個売却し、180コイン手に入れました"
- else:
- send "&c鉄ブロックが足りません"
- if arg 2 is "eight":
- if player have 8 iron block:
- remove 8 iron block from player
- add 1440 to {coin.%uuid of player%}
- send "&a鉄ブロックを8個売却し、1440コイン手に入れました"
- else:
- send "&c鉄ブロックが足りません"
- if arg 2 is "thirtytwo":
- if player have 32 iron block:
- remove 32 iron block from player
- add 5760 to {coin.%uuid of player%}
- send "&a鉄ブロックを32個売却し、5760コイン手に入れました"
- else:
- send "&c鉄ブロックが足りません"
- if arg 2 is "sixtyfour":
- if player have 64 iron block:
- remove 64 iron block from player
- add 11520 to {coin.%uuid of player%}
- send "&a鉄ブロックを64個売却し、11520コイン手に入れました"
- else:
- send "&c鉄ブロックが足りません"
- if arg 1 is "gold":
- if arg 2 is "one":
- if player have 1 gold ingot:
- remove 1 gold ingot from player
- add 80 to {coin.%uuid of player%}
- send "&a金を1個売却し、80コイン手に入れました"
- else:
- send "&c金が足りません"
- if arg 2 is "eight":
- if player have 8 gold ingot:
- remove 8 gold ingot from player
- add 640 to {coin.%uuid of player%}
- send "&a金を8個売却し、640コイン手に入れました"
- else:
- send "&c金が足りません"
- if arg 2 is "thirtytwo":
- if player have 32 gold ingot:
- remove 32 gold ingot from player
- add 2560 to {coin.%uuid of player%}
- send "&a金を32個売却し、2560コイン手に入れました"
- else:
- send "&c金が足りません"
- if arg 2 is "sixtyfour":
- if player have 64 gold ingot:
- remove 64 gold ingot from player
- add 5120 to {coin.%uuid of player%}
- send "&a金を64個売却し、5120コイン手に入れました"
- else:
- send "&c金が足りません"
- if arg 1 is "goldblock":
- if arg 2 is "one":
- if player have 1 gold block:
- remove 1 gold block from player
- add 720 to {coin.%uuid of player%}
- send "&a金ブロックを1個売却し、720コイン手に入れました"
- else:
- send "&c金ブロックが足りません"
- if arg 2 is "eight":
- if player have 8 gold block:
- remove 8 gold block from player
- add 5760 to {coin.%uuid of player%}
- send "&a金ブロックを8個売却し、5760コイン手に入れました"
- else:
- send "&c金ブロックが足りません"
- if arg 2 is "thirtytwo":
- if player have 32 gold block:
- remove 32 gold block from player
- add 23040 to {coin.%uuid of player%}
- send "&a金ブロックを32個売却し、23040コイン手に入れました"
- else:
- send "&c金ブロックが足りません"
- if arg 2 is "sixtyfour":
- if player have 64 gold block:
- remove 64 gold block from player
- add 46080 to {coin.%uuid of player%}
- send "&a金ブロックを64個売却し、46080コイン手に入れました"
- else:
- send "&c金ブロックが足りません"
- if arg 1 is "diamond":
- if arg 2 is "one":
- if player have 1 diamond:
- remove 1 diamond from player
- add 320 to {coin.%uuid of player%}
- send "&aダイヤモンドを1個売却し、320コイン手に入れました"
- else:
- send "&cダイヤモンドが足りません"
- if arg 2 is "eight":
- if player have 8 diamond:
- remove 8 diamond from player
- add 2560 to {coin.%uuid of player%}
- send "&aダイヤモンドを8個売却し、2560コイン手に入れました"
- else:
- send "&cダイヤモンドが足りません"
- if arg 2 is "thirtytwo":
- if player have 32 diamond:
- remove 32 diamond from player
- add 10240 to {coin.%uuid of player%}
- send "&aダイヤモンドを32個売却し、10240コイン手に入れました"
- else:
- send "&cダイヤモンドが足りません"
- if arg 2 is "sixtyfour":
- if player have 64 diamond:
- remove 64 diamond from player
- add 20480 to {coin.%uuid of player%}
- send "&aダイヤモンドを64個売却し、20480コイン手に入れました"
- else:
- send "&cダイヤモンドが足りません"
- command /frligvlbsntilnb:
- trigger:
- wait 3 ticks
- open chest with 3 row named "&r石 / 丸石 を売却" to player
- format slot 1 of player with stone named "&a石を1個売却" with lore "&eクリックで1個2コインで売却します" to run [make player execute command "bhuvabbviuv stone one"]
- format slot 3 of player with 8 stone named "&a石を8個売却" with lore "&eクリックで8個16コインで売却します" to run [make player execute command "bhuvabbviuv stone eight"]
- format slot 5 of player with 32 stone named "&a石を32個売却" with lore "&eクリックで32個64コインで売却します" to run [make player execute command "bhuvabbviuv stone thirtytwo"]
- format slot 7 of player with 64 stone named "&a石を64個売却" with lore "&eクリックで64個128コインで売却します" to run [make player execute command "bhuvabbviuv stone sixtyfour"]
- format slot 19 of player with cobblestone named "&a丸石を1個売却" with lore "&eクリックで1個1コインで売却します" to run [make player execute command "bhuvabbviuv cobblestone one"]
- format slot 21 of player with 8 cobblestone named "&a丸石を8個売却" with lore "&eクリックで8個8コインで売却します" to run [make player execute command "bhuvabbviuv cobblestone eight"]
- format slot 23 of player with 32 cobblestone named "&a丸石を32個売却" with lore "&eクリックで32個32コインで売却します" to run [make player execute command "bhuvabbviuv cobblestone thirtytwo"]
- format slot 25 of player with 64 cobblestone named "&a丸石を64個売却" with lore "&eクリックで64個64コインで売却します" to run [make player execute command "bhuvabbviuv cobblestone sixtyfour"]
- command /ubvubslnvshuis:
- trigger:
- wait 3 ticks
- open chest with 3 row named "&r石炭 / 石炭ブロック を売却" to player
- format slot 1 of player with coal named "&a石炭を1個売却" with lore "&eクリックで1個5コインで売却します" to run [make player execute command "bhuvabbviuv coal one"]
- format slot 3 of player with 8 coal named "&a石炭を8個売却" with lore "&eクリックで8個40コインで売却します" to run [make player execute command "bhuvabbviuv coal eight"]
- format slot 5 of player with 32 coal named "&a石炭を32個売却" with lore "&eクリックで32個160コインで売却します" to run [make player execute command "bhuvabbviuv coal thirtytwo"]
- format slot 7 of player with 64 coal named "&a石炭を64個売却" with lore "&eクリックで64個320コインで売却します" to run [make player execute command "bhuvabbviuv coal sixtyfour"]
- format slot 19 of player with coal block named "&a石炭ブロックを1個売却" with lore "&eクリックで1個45コインで売却します" to run [make player execute command "bhuvabbviuv coalblock one"]
- format slot 21 of player with 8 coal block named "&a石炭ブロックを8個売却" with lore "&eクリックで8個360コインで売却します" to run [make player execute command "bhuvabbviuv coalblock eight"]
- format slot 23 of player with 32 coal block named "&a石炭ブロックを32個売却" with lore "&eクリックで32個1440コインで売却します" to run [make player execute command "bhuvabbviuv coalblock thirtytwo"]
- format slot 25 of player with 64 coal block named "&a石炭ブロックを64個売却" with lore "&eクリックで64個2880コインで売却します" to run [make player execute command "bhuvabbviuv coalblock sixtyfour"]
- command /ilrsbubvslinbs:
- trigger:
- wait 3 ticks
- open chest with 3 row named "&r鉄 / 鉄ブロック を売却" to player
- format slot 1 of player with iron ingot named "&a鉄を1個売却" with lore "&eクリックで1個20コインで売却します" to run [make player execute command "bhuvabbviuv iron one"]
- format slot 3 of player with 8 iron ingot named "&a鉄を8個売却" with lore "&eクリックで8個160コインで売却します" to run [make player execute command "bhuvabbviuv iron eight"]
- format slot 5 of player with 32 iron ingot named "&a鉄を32個売却" with lore "&eクリックで32個640コインで売却します" to run [make player execute command "bhuvabbviuv iron thirtytwo"]
- format slot 7 of player with 64 iron ingot named "&a鉄を64個売却" with lore "&eクリックで64個1280コインで売却します" to run [make player execute command "bhuvabbviuv iron sixtyfour"]
- format slot 19 of player with iron block named "&a鉄ブロックを1個売却" with lore "&eクリックで1個180コインで売却します" to run [make player execute command "bhuvabbviuv ironblock one"]
- format slot 21 of player with 8 iron block named "&a鉄ブロックを8個売却" with lore "&eクリックで8個1440コインで売却します" to run [make player execute command "bhuvabbviuv ironblock eight"]
- format slot 23 of player with 32 iron block named "&a鉄ブロックを32個売却" with lore "&eクリックで32個5760コインで売却します" to run [make player execute command "bhuvabbviuv ironblock thirtytwo"]
- format slot 25 of player with 64 iron block named "&a鉄ブロックを64個売却" with lore "&eクリックで64個11520コインで売却します" to run [make player execute command "bhuvabbviuv ironblock sixtyfour"]
- command /huilbsluibvlsbd:
- trigger:
- wait 3 ticks
- open chest with 3 row named "&r金 / 金ブロック を売却" to player
- format slot 1 of player with gold ingot named "&a金を1個売却" with lore "&eクリックで1個80コインで売却します" to run [make player execute command "bhuvabbviuv gold one"]
- format slot 3 of player with 8 gold ingot named "&a金を8個売却" with lore "&eクリックで8個640コインで売却します" to run [make player execute command "bhuvabbviuv gold eight"]
- format slot 5 of player with 32 gold ingot named "&a金を32個売却" with lore "&eクリックで32個2560コインで売却します" to run [make player execute command "bhuvabbviuv gold thirtytwo"]
- format slot 7 of player with 64 gold ingot named "&a金を64個売却" with lore "&eクリックで64個5120コインで売却します" to run [make player execute command "bhuvabbviuv gold sixtyfour"]
- format slot 19 of player with gold block named "&a金ブロックを1個売却" with lore "&eクリックで1個720コインで売却します" to run [make player execute command "bhuvabbviuv goldblock one"]
- format slot 21 of player with 8 gold block named "&a金ブロックを8個売却" with lore "&eクリックで8個5760コインで売却します" to run [make player execute command "bhuvabbviuv goldblock eight"]
- format slot 23 of player with 32 gold block named "&a金ブロックを32個売却" with lore "&eクリックで32個23040コインで売却します" to run [make player execute command "bhuvabbviuv goldblock thirtytwo"]
- format slot 25 of player with 64 gold block named "&a金ブロックを64個売却" with lore "&eクリックで64個46080コインで売却します" to run [make player execute command "bhuvabbviuv goldblock sixtyfour"]
- command /civablnblavbbrre:
- trigger:
- wait 3 ticks
- open chest with 3 row named "&rダイヤモンド を売却" to player
- format slot 10 of player with diamond named "&aダイヤモンドを1個売却" with lore "&eクリックで1個320コインで売却します" to run [make player execute command "bhuvabbviuv diamond one"]
- format slot 12 of player with 8 diamond named "&aダイヤモンドを8個売却" with lore "&eクリックで8個2560コインで売却します" to run [make player execute command "bhuvabbviuv diamond eight"]
- format slot 14 of player with 32 diamond named "&aダイヤモンドを32個売却" with lore "&eクリックで32個10240コインで売却します" to run [make player execute command "bhuvabbviuv diamond thirtytwo"]
- format slot 16 of player with 64 diamond named "&aダイヤモンド64個売却" with lore "&eクリックで64個20480コインで売却します" to run [make player execute command "bhuvabbviuv diamond sixtyfour"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement