Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- #ここで武器の値段を変更します。(数を書かないといけない。)
- akm: 2000
- ar-15: 2000
- hunting: 2000
- m4a1: 2000
- ak-47: 2000
- sg553: 2000
- l85a2acoggl: 2000
- scar-h: 2000
- mp5a5: 2000
- command /weapon:
- trigger:
- open chest with 3 rows named "&8&lショップ選択メニュー" to player
- wait 3 ticks
- format slot 10 of player with 409 named "&6&l>> &7Primary ショップメニュー" to close then run [execute player command "/primaryshop"]
- format slot 12 of player with orange dye named "&6&l>> &7Secondary ショップメニュー" to close then run [execute player command "/secondaryshop"]
- format slot 14 of player with egg named "&6&l>> &7Grenade ショップメニュー" to close then run [execute player command "/grenadeshop"]
- wait 1 tick
- format slot 16 of player with potion named "&6&l>> &7HealItem ショップメニュー" to close then run [execute player command "/healitemshop"]
- command /primaryshop:
- trigger:
- wait 2 ticks
- open chest with 3 rows named "&8&lカテゴリー選択" to player
- wait 3 ticks
- format slot 1 of player with iron horse armor named "&6&l>> &8&lアサルトライフル" to close then run [execute player command "/assaultshop"]
- format slot 4 of player with diamond horse armor named "&6&l>> &8&lサブマシンガン" to close then run [execute player command "/"]
- format slot 7 of player with gold nugget named "&6&l>> &8&lスナイパーライフル" to close then run [execute player command "/snipershop"]
- wait 1 tick
- format slot 19 of player with diamond axe named "&6&l>> &8&lショットガン" to close then run [execute player command "/"]
- format slot 22 of player with wooden shovel named "&6&l>> &8&lライトマシンガン" to close then run [execute player command "/"]
- format slot 25 of player with 351:7 named "&6&l>> &8&lその他・イベント武器" to close then run [execute player command "/"]
- command /assaultshop:
- trigger:
- wait 2 ticks
- open chest with 6 rows named "&7&lショップ: Assault" to player
- wait 3 ticks
- format slot 4 of player with clock named "&6&l>> &7&l戻る" to close then run [execute player command "/weaponrate"]
- format slot 8 of player with arrow named "&8&l次のページ" to close then run [execute player command "/o"]
- format slot 9 of player with stone shovel of protection 4 named "&f&lAKM" with lore "&3&l$ {@akm}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f2||&7ヘッドショット:&f3||&7スニーク:&f0.6||&7スコープ:&f0.4||&7弾速:&f100||&7精度:&f1.3" to close then run [message "&e既に取得しております。"]
- if {shot.have.ar-15::%uuid of player%} is true:
- format slot 10 of player with diamond of protection 4 named "&f&lAR-15" with lore "&3&l$ {@ar-15}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f3||&7ヘッドショット:&f2||&7スニーク:&f0.6||&7スコープ:&f0.4||&7弾速:&f100||&7精度:&f1.5" to close then run [execute player command "/buygun ar-15"]
- set line number 1 of lore of slot 10 of player
- else:
- format slot 10 of player with diamond named "&f&lAR-15" with lore "&3&l$ {@ar-15}||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f3||&7ヘッドショット:&f2||&7スニーク:&f0.6||&7スコープ:&f0.4||&7弾速:&f100||&7精度:&f1.5" to close then run [execute player command "/buygun ar-15"]
- if {shot.have.m4a1::%uuid of player%} is true:
- format slot 11 of player with wooden hoe of protection 4 named "&f&lM4A1" with lore "&3&l$ {@m4a1}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f1.5 seconds||&7威力:&f3||&7ヘッドショット:&f3||&7スニーク:&f1||&7スコープ:&f0.2||&7弾速:&f40||&7精度:&f1.5" to close then run [execute player command "/buygun m4a1"]
- else:
- format slot 11 of player with wooden hoe named "&f&lM4A1" with lore "&3&l$ {@m4a1}||&b||&7装填数:&f30||&7リロード時間:&f1.5 seconds||&7威力:&f3||&7ヘッドショット:&f3||&7スニーク:&f1||&7スコープ:&f0.2||&7弾速:&f40||&7精度:&f1.5" to close then run [execute player command "/buygun m4a1"]
- if {shot.have.ak-47::%uuid of player%} is true:
- format slot 12 of player with iron horse armor of protection 4 named "&f&lAK-47" with lore "&3&l$ {@ak-47}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f6||&7スニーク:&f1.2||&7スコープ:&f0.4||&7弾速:&f40||&7精度:&f2" to close then run [execute player command "/buygun ak-47"]
- else:
- format slot 12 of player with iron horse armor named "&f&lAK-47" with lore "&3&l$ {@ak-47}||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f6||&7スニーク:&f1.2||&7スコープ:&f0.4||&7弾速:&f40||&7精度:&f2" to close then run [execute player command "/buygun ak-47"]
- if {shot.have.sg553::%uuid of player%} is true:
- format slot 13 of player with red dye of protection 4 named "&f&lSG553" with lore "&3&l$ {@sg553}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f2||&7スニーク:&f0.6||&7スコープ:&f0.2||&7弾速:&f100||&7精度:&f1.3" to close then run [execute player command "/buygun sg553"]
- else:
- format slot 13 of player with red dye named "&f&lSG553" with lore "&3&l$ {@sg553}||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f2||&7スニーク:&f0.6||&7スコープ:&f0.2||&7弾速:&f100||&7精度:&f1.3" to close then run [execute player command "/buygun sg553"]
- if {shot.have.l85a2acoggl::%uuid of player%} is true:
- format slot 14 of player with diamond hoe of protection 4 named "&f&lL85A2ACOGGL" with lore "&3&l$ {@l85a2acoggl}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f3||&7スニーク:&f1.2||&7スコープ:&f0.5||&7弾速:&f40||&7精度:&f2" to close then run [execute player command "/buygun l85a2acoggl"]
- else:
- format slot 14 of player with diamond hoe named "&f&lL85A2ACOGGL" with lore "&3&l$ {@l85a2acoggl}||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f3||&7スニーク:&f1.2||&7スコープ:&f0.5||&7弾速:&f40||&7精度:&f2" to close then run [execute player command "/buygun l85a2acoggl"]
- if {shot.have.scar-h::%uuid of player%} is true:
- format slot 14 of player with wooden axe of protection 4 named "&f&lSCAR-H" with lore "&3&l$ {@scar-h}||&c<取得済み>||&b||&7装填数:&f20||&7リロード時間:&f1.6 seconds||&7威力:&f3||&7スニーク:&f1||&7スコープ:&f0.5||&7弾速:&f100||&7精度:&f1.2" to close then run [execute player command "/buygun scar-h"]
- else:
- format slot 14 of player with wooden axe named "&f&lSCAR-H" with lore "&3&l$ {@scar-h}||&b||&7装填数:&f20||&7リロード時間:&f1.6 seconds||&7威力:&f3||&7スニーク:&f1||&7スコープ:&f0.5||&7弾速:&f100||&7精度:&f1.2" to close then run [execute player command "/buygun scar-h"]
- command /snipershop:
- trigger:
- wait 2 ticks
- open chest with 2 rows named "&7&lショップ: Sniper" to player
- wait 3 ticks
- format slot 4 of player with clock named "&6&l>> &7&l戻る" to close then run [execute player command "/weaponrate"]
- format slot 8 of player with arrow named "&8&l次のページ" to close then run [execute player command "/o"]
- format slot 9 of player with shears named "&f&lHunting" with lore "&3&l$ {@hunting}||&c<取得済み>||&b||&7装填数:&f5||&7リロード時間:&f80.0ticks(単発)||&7威力:&f8||&7ヘッドショット:&&7弾速:&f100||&7連射間隔:&f4ticks||&7精度:&f0" to close then run [message "&e既に取得しております。"]
- command /submachingun:
- trigger:
- wait 2 ticks
- open chest with 2 rows named "&7&lショップ: SubMachineGun" to player
- wait 3 ticks
- format slot 4 of player with clock named "&6&l>> &7&l戻る" to close then run [execute player command "/weaponrate"]
- format slot 8 of player with arrow named "&8&l次のページ" to close then run [execute player command "/o"]
- if {shot.have.mp5a5::%uuid of player%} is true:
- format slot 9 of player with diamond horse armor of protection 4 named "&f&lMP5A5" with lore "&3&l$ {@mp5a5}||&c<取得済み>||&b||&7装填数:&f32||&7リロード時間:&f2.5 seconds||&7威力:&f2||&7スニーク:&f1.9||&7スコープ:&f0.1||&7弾速:&f100||&7精度:&f3" to close then run [execute player command "/buygun mp5a5"]
- else:
- format slot 9 of player with diamond horse armor named "&f&lMP5A5" with lore "&3&l$ {@mp5a5}||&b||&7装填数:&f32||&7リロード時間:&f2.5 seconds||&7威力:&f2||&7スニーク:&f1.9||&7スコープ:&f0.1||&7弾速:&f100||&7精度:&f3" to close then run [execute player command "/buygun mp5a5"]
- on command:
- if command is "weaponrate":
- cancel event
- wait 3 ticks
- execute player command "/weapon"
- command /money [<text>] [<number>] [<player>]:
- permission: money.admin
- trigger:
- if arg-1 is not set:
- message "&8&l所持金 &7&l%{money::%uuid of player%}%"
- if arg-1 is set:
- if arg-2 is not set:
- message "&a&b/money add <数> , /money remove <数>"
- if arg-2 is set:
- if arg-3 is not set:
- if arg-1 is "add":
- add arg-2 to {money::%uuid of player%}
- message "&6%arg-2%&a円をチャージしました。"
- if arg-1 is "remove":
- remove arg-2 from {money::%uuid of player%}
- message "&6%arg-2%&a円を没収しました。"
- if arg-3 is set:
- if arg-1 is "add":
- add arg-2 to {money::%uuid of arg-3%}
- message "&6%arg-2%&a円を%arg-3%にチャージしました。"
- send "&bあなたは運営により、&a%arg-2%&b円を受け取りました。" to arg-3
- if arg-1 is "remove":
- remove arg-2 from {money::%uuid of arg-3%}
- message "&6%arg-2%&a円を%arg-3%から没収しました。"
- send "&cあなたは運営により、&a%arg-2%&c円を没収されました。" to arg-3
- command /buygun [<text>]:
- trigger:
- if arg-1 is set:
- if arg-1 is "AR-15":
- if {shot.have.ar-15::%uuid of player%} is true:
- message "&e既に取得しております。"
- else:
- if {money::%uuid of player%} is greater than or equal to {@ar-15}:
- set {shot.have.ar-15::%uuid of player%} to true
- message "&aAR-15を購入しました。"
- remove {@ar-15} from {money::%uuid of player%}
- else:
- message "&a所持金が足りておりません。&e&l${@ar-15}&bが必要となります。"
- if arg-1 is "m4a1":
- if {shot.have.m4a1::%uuid of player%} is true:
- message "&e既に取得しております。"
- else:
- if {money::%uuid of player%} is greater than or equal to {@m4a1}:
- set {shot.have.m4a1::%uuid of player%} to true
- message "&aM4A1を購入しました。"
- remove {@m4a1} from {money::%uuid of player%}
- else:
- message "&a所持金が足りておりません。&e&l${@m4a1}&bが必要となります。"
- if arg-1 is "ak-47":
- if {shot.have.ak-47::%uuid of player%} is true:
- message "&e既に取得しております。"
- else:
- if {money::%uuid of player%} is greater than or equal to {@ak-47}:
- set {shot.have.ak-47::%uuid of player%} to true
- message "&aAK-47を購入しました。"
- remove {@ak-47} from {money::%uuid of player%}
- else:
- message "&a所持金が足りておりません。&e&l${@ak-47}&bが必要となります。"
- if arg-1 is "l85a2acoggl":
- if {shot.have.l85a2acoggl::%uuid of player%} is true:
- message "&e既に取得しております。"
- else:
- if {money::%uuid of player%} is greater than or equal to {@l85a2acoggl}:
- set {shot.have.l85a2acoggl::%uuid of player%} to true
- message "&L85A2ACOGGLを購入しました。"
- remove {@l85a2acoggl} from {money::%uuid of player%}
- else:
- message "&a所持金が足りておりません。&e&l${@l85a2acoggl}&bが必要となります。"
- if arg-1 is "sg553":
- if {shot.have.sg553::%uuid of player%} is true:
- message "&e既に取得しております。"
- else:
- if {money::%uuid of player%} is greater than or equal to {@sg553}:
- set {shot.have.sg553::%uuid of player%} to true
- message "&aSG553を購入しました。"
- remove {@sg553} from {money::%uuid of player%}
- else:
- message "&a所持金が足りておりません。&e&l${@sg553}&bが必要となります。"
- if arg-1 is "scar-h":
- if {shot.have.scar-h::%uuid of player%} is true:
- message "&e既に取得しております。"
- else:
- if {money::%uuid of player%} is greater than or equal to {@scar-h}:
- set {shot.have.scar-h::%uuid of player%} to true
- message "&aSCAR-Hを購入しました。"
- remove {@scar-h} from {money::%uuid of player%}
- else:
- message "&a所持金が足りておりません。&e&l${@scar-h}&bが必要となります。"
- on join:
- if {firstjoin::%player%} is true:
- stop
- else:
- set {firstjoin::%uuid of player%} to true
- set {money::%uuid of player%} to 500
- set {bougu.head.sho::%uuid of player%} to true
- set {bougu.chest.sho::%uuid of player%} to true
- set {bougu.leg.sho::%uuid of player%} to true
- set {bougu.boots.sho::%uuid of player%} to true
- set {shot.have.ak-47::%uuid of player%} to true
- set {shot.have.hunting::%uuid of player%} to true
- set {shot.have.m1191::%uuid of player%} to true
- set {shot.select.ak-47::%uuid of player%} to true
- add 1 to {level::%uuid of player%}
- on join:
- clear player's inventory
- format slot 36 of player with 259 named "&c武器編集メニュー" to be unstealable
- format slot 40 of player with clock named "&cゲーム参加" to be unstealable
- format slot 44 of player with 404 named "&cプレイヤー設定メニュー" to be unstealable
- command /purchased [<text>] [<offlineplayer>] [<amount>]:
- trigger:
- if arg-1 is "vip":
- if arg-2 is "1un1n24u918295uush9138joanij913hiahsdyb120salsdfj":
- send "&6VIPの購入に成功しました。" to arg-3
- execute console command "pex user %arg-3% prefix &e&l[VIP]"
- if arg-1 is "goldticket":
- if arg-2 is "1un1n24u918295uush9138joanij913hiahsdyb120salsdfj":
- if arg-3 is set:
- send arg-2 title "&6" with subtitle "&6&o金券チャージ完了!" for 3 seconds
- add arg-3 to {kinken::%uuid of arg-2%}
- wait 3 seconds
- send arg-2 title "&6" with subtitle "&6&o+%arg-3%" for 3 seconds
- send "&6金券: %{kinken::%uuid of arg-2%}%" to arg-2
- command /votekey [<text>] [<offlineplayer>]:
- trigger:
- if arg-1 is "1b13hiayi9BA8sdt":
- chance of 5%:
- broadcast "&2============================="
- broadcast "&b%arg-2%&fさんが投票して、&e$250&fを貰いました。"
- broadcast "&6運が良かったようです。500円ボーナスされ、"
- broadcast "&b合計$750をもらったようです。"
- broadcast "&2============================="
- add 750 to {money::%uuid of arg-2%}
- else:
- broadcast "&2============================="
- broadcast "&b%arg-2%&fさんが投票して、&e$250&fを貰いました。"
- broadcast "&2============================="
- add 250 to {money::%uuid of arg-2%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement