Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &c[&bServer&c]
- gunprefix: &3[&5EpicGunOnline&3]
- money: &c[&2Money&c]
- exp: &c[&bLevel&c]
- command /gunshop:
- trigger:
- teleport player to location (-2, 31, -55)
- send "{@gunprefix} &3You Teleported to a gun shop!"
- command /startgame:
- permission: ego.admin
- permission message: &cYou dont have permission needed "ego.admin"
- aliases: /sg
- trigger:
- broadcast "{@gunprefix} 試合が開始しました"
- loop all players:
- if {gun.select.an-94::%loop-player%} is true:
- execute console command "shot give %loop-player% AN-94"
- command /resetplayer <offline player>:
- permission: ego.admin
- permission message: &cYou dont have permission needed "ego.admin"
- aliases: /rp
- trigger:
- send "{@gunprefix} &e%arg-1%&bさんのplayerdateをresetしました"
- set {ego.an-94.%arg-1%} to true
- set {ego.famas.%arg-1%} to false
- set {ego.m4a1.%arg-1%} to false
- set {ego.mp5.%arg-1%} to false
- set {ego.vsr.%arg-1%} to false
- set {ego.hecate.%arg-1%} to false
- set {ego.glock18.%arg-1%} to true
- set {ego.fiveseven.%arg-1%} to false
- set {ego.knife1.%arg-1%} to true
- set {ego.knife2.%arg-1%} to false
- set the arg-1's level to 0
- execute console command "money set %arg-1% 0"
- wait 1 second
- teleport player to {lobby}
- send "{@gunprefix} &3You reset player date!"
- command /lobby:
- trigger:
- teleport player to {lobby}
- send "{@gunprefix} &3You returned to the lobby!"
- command /setlobby:
- aliases: /sl
- permission: ego.admin
- permission message: &cYou dont have permission needed "ego.admin"
- trigger:
- set {lobby} to location of player
- send "{@gunprefix} set the lobby to you location!"
- command /get menu:
- trigger:
- if {ego.ffa.%player%} is true:
- set slot 4 of player to 1 chest named "&5Epic Menu" with lore "&dRight click to &5Open!"
- send "{@gunprefix} &5Epic Menu&3をゲットしました"
- else:
- send "{@gunprefix} &3参加中はできません!"
- command /ffa <text>:
- trigger:
- if arg 1 is "join":
- broadcast "{@gunprefix} &e%player%さ&3んが&aFFA&eに参加しました"
- send "{@gunprefix} &5/ffa leave &bでFFAからでれます"
- execute console command "clear %player%"
- set {ego.ffa.%player%} to false
- if {gun.select.an-94::%player%} is true:
- execute console command "shot give %player% AN-94"
- if {gun.select.famas::%player%} is true:
- execute console command "shot give %player% FAMAS"
- if {gun.select.m4a1::%player%} is true:
- execute console command "shot give %player% M4A1"
- if {gun.select.scar-l::%player%} is true:
- execute console command "shot give %player% SCAR-L"
- if {gun.select.mp5::%player%} is true:
- execute console command "shot give %player% MP5"
- if {gun.select.hecate::%player%} is true:
- execute console command "shot give %player% hecate"
- if {gun.select.glock18::%player%} is true:
- execute console command "shot give %player% Glock18"
- if {gun.select.fiveseven::%player%} is true:
- execute console command "shot give %player% Five seveN"
- if {gun.select.knife1::%player%} is true:
- execute console command "shot give %player% Knife"
- if {gun.select.knife2::%player%} is true:
- execute console command "shot give %player% Uchiwa"
- chance of 50%:
- teleport player to location (-30, 31, 54)
- else:
- teleport player to location (20, 31, 90)
- if arg 1 is "leave":
- set {ego.ffa.%player%} to true
- send "{@gunprefix} &35秒間お待ちください..."
- wait 5 second
- broadcast "{@gunprefix} &e%player%さんが&aFFA&eから抜けました"
- teleport player to location (0, 32, 0)
- send "{@gunprefix} &3lobbyへテレポートしました"
- clear player's inventory
- wait 1 tick
- set slot 4 of player to 1 chest named "&5Epic Menu" with lore "&dRight click to &5Open!"
- command /shop1:
- trigger:
- open chest with 5 rows named "&3gun shop's" to player
- wait 1 tick
- format slot 28 of player with diamond shovel named "&eアサルトライフル" to run [execute player command "shop AR"]
- format slot 29 of player with shears named "&bサブマシンガン" to run [execute player command "shop SMG"]
- format slot 30 of player with gold horse armor named "&9スナイパーライフル" to run [execute player command "shop SR"]
- format slot 31 of player with diamond pickaxe named "&eハンドガン" to run [execute player command "shop HG"]
- format slot 34 of player with stone sword named "&3ナイフ" to run [execute player command "shop KNIFE"]
- command /weaponselect <text>:
- usage: /ws gui
- aliases: /ws
- trigger:
- if arg 1 is "gui":
- open chest with 5 rows named "&3weapon select" to player
- wait 1 tick
- format slot 28 of player with diamond shovel named "&eアサルトライフル" to run [execute player command "ws AR"]
- format slot 29 of player with shears named "&bサブマシンガン" to run [execute player command "ws SMG"]
- format slot 30 of player with gold horse armor named "&9スナイパーライフル" to run [execute player command "ws SR"]
- format slot 31 of player with diamond pickaxe named "&eハンドガン" to run [execute player command "ws HG"]
- format slot 34 of player with stone sword named "&3ナイフ" to run [execute player command "ws KNIFE"]
- if arg 1 is "AR":
- open chest with 5 rows named "&5アサルトライフル" to player
- wait 1 tick
- format slot 29 of player with stone hoe named "&2FAMAS" with lore "&2ごく普通のAR" to run [execute player command "wsg FAMAS"]
- format slot 28 of player with diamond shovel named "&bAN-94" with lore "&b初期武器 安定性が高い" to run [execute player command "wsg AN-94"]
- format slot 30 of player with iron hoe named "&3M4A1" with lore "&3基礎ダメが低いがヘッドショットが高い" to run [execute player command "wsg M4A1"]
- format slot 31 of player with stone shovel named "&eSCAR-L" with lore "&e人気が高い武器 安定性が高い" to run [execute player command "wsg SCAR-L"]
- if arg 1 is "SMG":
- open chest with 5 rows named "&bサブマシンガン" to player
- format slot 29 of player with shears named "&eMP5" with lore "&e連射力が早い" to run [execute player command "wsg mp5"]
- if arg 1 is "SR":
- open chest with 5 rows named "&9スナイパーライフル" to player
- format slot 30 of player with iron shovel named "&9Hecate II" with lore "&9威力が高く精度もそこそこ" to run [execute player command "wsg Hecate"]
- if arg 1 is "HG":
- open chest with 5 rows named "&eハンドガン" to player
- wait 1 tick
- format slot 28 of player with diamond pickaxe named "&eGlock18" with lore "&b初期武器 安定性が高い" to run [execute player command "wsg Glock18"]
- format slot 29 of player with diamond hoe named "&eFive seveN" with lore "&e人気が高い武器 単発だが安定性が高い" to run [execute player command "wsg fiveseven"]
- if arg 1 is "KNIFE":
- open chest with 5 rows named "&9ナイフ" to player
- wait 1 tick
- format slot 28 of player with stone sword named "&3Survival Knife" with lore "&b初期武器" to run [execute player command "wsg knife1"]
- format slot 29 of player with stone sword named "&dUchiwa Knife" to run [execute player command "wsg knife2"]
- command /wsg <text>:
- trigger:
- if arg 1 is "AN-94":
- if {ego.an-94.%player%} is true:
- send "{@gunprefix} &3武器を%arg-1%に設定しました"
- set {gun.select.an-94::%player%} to true
- set {gun.select.mp5::%player%} to false
- set {gun.select.famas::%player%} to false
- set {gun.select.m4a1::%player%} to false
- set {gun.select.scar-l::%player%} to false
- set {gun.select.hecate::%player%} to false
- else:
- send "{@gunprefix} &5あなたは武器を購入していません!"
- if arg 1 is "FAMAS":
- if {ego.famas.%player%} is true:
- send "{@gunprefix} &3武器を%arg-1%に設定しました"
- set {gun.select.famas::%player%} to true
- set {gun.select.mp5::%player%} to false
- set {gun.select.an-94::%player%} to false
- set {gun.select.m4a1::%player%} to false
- set {gun.select.scar-l::%player%} to false
- set {gun.select.hecate::%player%} to false
- else:
- send "{@gunprefix} &5あなたは武器を購入していません!"
- if arg 1 is "M4A1":
- if {ego.m4a1.%player%} is true:
- send "{@gunprefix} &3武器を%arg-1%に設定しました"
- set {gun.select.m4a1::%player%} to true
- set {gun.select.mp5::%player%} to false
- set {gun.select.scar-l::%player%} to false
- set {gun.select.famas::%player%} to false
- set {gun.select.an-94::%player%} to false
- set {gun.select.hecate::%player%} to false
- else:
- send "{@gunprefix} &5あなたは武器を購入していません!"
- if arg 1 is "SCAR-L":
- if {ego.scar-l.%player%} is true:
- send "{@gunprefix} &3武器を%arg-1%に設定しました"
- set {gun.select.scar-l::%player%} to true
- set {gun.select.mp5::%player%} to false
- set {gun.select.m4a1::%player%} to false
- set {gun.select.famas::%player%} to false
- set {gun.select.an-94::%player%} to false
- set {gun.select.hecate::%player%} to false
- else:
- send "{@gunprefix} &5あなたは武器を購入していません!"
- if arg 1 is "MP5":
- if {ego.mp5.%player%} is true:
- send "{@gunprefix} &3武器を%arg-1%に設定しました"
- set {gun.select.mp5::%player%} to true
- set {gun.select.scar-l::%player%} to false
- set {gun.select.m4a1::%player%} to false
- set {gun.select.famas::%player%} to false
- set {gun.select.an-94::%player%} to false
- set {gun.select.hecate::%player%} to false
- else:
- send "{@gunprefix} &5あなたは武器を購入していません"
- if arg 1 is "Hecate":
- if {ego.hecate.%player%} is true:
- send "{@gunprefix} &3武器を%arg-1%に設定しました"
- set {gun.select.hecate::%player%} to true
- set {gun.select.mp5::%player%} to false
- set {gun.select.scar-l::%player%} to false
- set {gun.select.m4a1::%player%} to false
- set {gun.select.famas::%player%} to false
- set {gun.select.an-94::%player%} to false
- else:
- send "{@gunprefix} &5あなたは武器を購入していません"
- if arg 1 is "Glock18":
- if {ego.glock18.%player%} is true:
- send "{@gunprefix} &3武器を%arg-1%に設定しました"
- set {gun.select.glock18::%player%} to true
- set {gun.select.fiveseven::%player%} to false
- else:
- send "{@gunprefix} &5あなたは武器を購入していません!"
- if arg 1 is "FiveseveN":
- if {ego.fiveseven.%player%} is true:
- send "{@gunprefix} &3武器をFive seveNに設定しました"
- set {gun.select.fiveseven::%player%} to true
- set {gun.select.glock18::%player%} to false
- else:
- send "{@gunprefix} &5あなたは武器を購入していません!"
- if arg 1 is "Knife1":
- if {ego.knife1.%player%} is true:
- send "{@gunprefix} &3武器をSurvival Knifeに設定しました"
- set {gun.select.knife1::%player%} to true
- set {gun.select.knife2::%player%} to false
- else:
- send "{@gunprefix} &5あなたは武器を購入していません"
- if arg 1 is "Knife2":
- if {ego.uchiwa.%player%} is true:
- send "{@gunprefix} &3武器をUchiwaに設定しました"
- set {gun.select.knife2::%player%} to true
- set {gun.select.knife1::%player%} to false
- else:
- send "{@gunprefix} &5あなたは武器を購入していません"
- command /shop <text>:
- trigger:
- if arg 1 is "AR":
- open chest with 5 rows named "&5アサルトライフル" to player
- wait 1 tick
- format slot 28 of player with stone hoe named "&2FAMAS" with lore "&61500円 &b必要レベル 5" to run [execute player command "ARbuy FAMAS"]
- format slot 29 of player with iron hoe named "&3M4A1" with lore "&64000円 &b必要レベル 10" to run [execute player command "ARbuy M4A1"]
- format slot 30 of player with stone shovel named "&eSCAR-L" with lore "&68000円 &b必要レベル 15" to run [execute player command "ARbuy SCAR-L"]
- if arg 1 is "SMG":
- open chest with 5 rows named "&bサブマシンガン" to player
- wait 1 tick
- format slot 28 of player with shears named "&bMP5" with lore "&62000円 &b必要レベル 8" to run [execute player command "SMGbuy MP5"]
- if arg 1 is "SR":
- open chest with 5 rows named "&9スナイパーライフル" to player
- wait 1 tick
- format slot 28 of player with gold horse armor named "&9VSR" with lore "&63500円 &b必要レベル 5" to run [execute player command "SRbuy VSR"]
- format slot 30 of player with iron shovel named "&9Hecate II" with lore "&625110 &b必要レベル 25" to run [execute player command "SRbuy Hecate"]
- if arg 1 is "HG":
- open chest with 5 rows named "&eハンドガン" to player
- wait 1 tick
- format slot 28 of player with diamond hoe named "&eFive seveN" with lore "&63000円 &b必要レベル 5" to run [execute player command "HGbuy Five seveN"]
- if arg 1 is "KNIFE":
- open chest with 5 rows named "&3ナイフ" to player
- wait 1 tick
- format slot 28 of player with stone sword named "&dUchiwa Knife" with lore "&615000円 &b必要レベル 15" to run [execute player command "Knifebuy Uchiwa"]
- command /ARbuy <text>:
- trigger:
- if arg 1 is "famas":
- if player's level is more than or equal to 5:
- if player's money is more than or equal to 1500:
- subtract 1500 from player's money
- set {ego.famas.%player%} to true
- send "{@money} &61500&3円消費し&2FAMAS&3を購入しました"
- stop
- else:
- send "{@money} &6お金かレベルが足りませんでした"
- if arg 1 is "m4a1":
- if player's level is more than or equal to 10:
- if player's money is more than or equal to 4000:
- subtract 4000 from player's money
- set {ego.m4a1.%player%} to true
- send "{@money} &64000&3円消費しM4A1を購入しました"
- stop
- else:
- send "{@money} &6お金かレベルが足りませんでした"
- if arg 1 is "scar-l":
- if player's level is more than or equal to 15:
- if player's money is more than or equal to 8000:
- subtract 8000 from player's money
- set {ego.scar-l.%player%} to true
- send "{@money} &68000&3円消費しSCAR-Lを購入しました"
- stop
- else:
- send "{@money} &6お金かレベルが足りませんでした"
- command /SMGbuy <text>:
- trigger:
- if arg 1 is "mp5":
- if player's level is more than or equal to 8:
- if player's money is more than or equal to 2000:
- subtract 2000 from player's money
- set {ego.mp5.%player%} to true
- send "{@money} &61500&3円消費し&bMP5&3を購入しました"
- stop
- else:
- send "{@money} &6お金かレベルが足りませんでした"
- command /SRbuy <text>:
- trigger:
- if arg 1 is "vsr":
- if player's level is more than or equal to 5:
- if player's money is more than or equal to 3500:
- subtract 3500 from player's money
- send "{@money} &63500&3円消費し&9VSR&3を購入しました"
- stop
- else:
- send "{@money} &6お金かレベルが足りませんでした"
- if arg 1 is "hecate":
- if player's level is more than or equal to 25:
- if player's money is more than or equal to 25110:
- subtract 25110 from player's money
- set {ego.hecate.%player%} to true
- send "{@money} &625110&3円消費し&9Hecate II&3を購入しました"
- stop
- else:
- send "{@money} &6お金かレベルが足りませんでした"
- command /HGbuy <text>:
- trigger:
- if arg 1 is "five seven":
- if player's level is more than or equal to 5:
- if player's money is more than or equal to 3000:
- subtract 3000 from player's money
- set {ego.fiveseven.%player%} to true
- send "{@money} &63000&3円消費し&eFive seveN&3を購入しました"
- stop
- else:
- send "{@money} &6お金かレベルが足りませんでした"
- command /Knifebuy <text>:
- trigger:
- if arg 1 is "Uchiwa":
- if player's level is more than or equal to 15:
- if player's money is more than or equal to 15000:
- subtract 15000 from player's money
- set {ego.uchiwa.%player%} to true
- send "{@money} &615000&3円消費し&dUchiwa&3を購入しました"
- stop
- else:
- send "{@money} &6お金かレベルが足りませんでした"
- command /status <player>:
- trigger:
- message "&d&l----<&6&l%arg 1%'s stats>&d&l----" to the player
- message "&c&lKill &6&l%{kill.%arg-1%}%" to the player
- message "&5&lDeath &6&l%{death.%arg-1%}%" to the player
- command /plugins:
- trigger:
- send "&fPlugins (6): &aCrackShotPlus&f, &aCrackShot&f, &aEpicGunCore&f, &aEpicGun&f, &aHub&f, &aWorldEdit"
- command /pl:
- trigger:
- send "&fPlugins (6): &aCrackShotPlus&f, &aCrackShot&f, &aEpicGunCore&f, &aEpicGun&f, &aHub&f, &aWorldEdit"
- on inventory click:
- player do not have permission "ego.admin"
- cancel the event
- every 120 seconds:
- broadcast "{@prefix} &6/get menu &aでメニューを表示します"
- broadcast "{@prefix} &3discord https://discord.gg/YgkwrBG"
- broadcast "{@gunprefix} &c本来行けない場所を反動で行く行為は&c&lBAN&c対象です"
- on hunger meter change:
- set the player's food level to 10
- on death of player:
- if attacker is player:
- if victim is player:
- add 1 to {kill.%attacker%}
- add 1 to {death.%victim%}
- on death:
- clear victim's inventory
- heal the damager
- victim is a player
- damager is a player
- add 50 to damager's balance
- add 8 exp to damager
- set {ego.ffa.%victim%} to true
- wait 1 tick
- set slot 4 of victim to 1 chest named "&5Epic Menu" with lore "&dRight click to &5Open!"
- on drop:
- player do not have permission "ego.admin"
- cancel event
- on right click holding a chest:
- name of held item contains "&5Epic Menu"
- open chest with 5 rows named "&8-------&5Epic Gun Online&8--------" to player
- wait 1 tick
- format slot 40 of player with emerald named "&2shop" to run [execute player command "gunshop"]
- format slot 22 of player with beacon named "&dTeleport to lobby" to close then run [execute player command "lobby"]
- format slot 19 of player with experience bottle named "&3Status" to close then run [execute player command "status %player%"]
- format slot 41 of player with diamond shovel named "&7shop &8(gui version)" to run [execute player command "shop1"]
- format slot 37 of player with chest named "&3武器選択" to run [execute player command "ws gui"]
- format slot 26 of player with diamond sword named "&aFFA PvP" to run [execute player command "ffa join"]
- on join:
- set the join message to "{@prefix} &e%player%&bさんがサーバーに参加しました"
- send "{@prefix} &3この鯖のdiscord鯖 &bhttps://discord.gg/YgkwrBG"
- set {ego.an-94.%player%} to true
- set {ego.glock18.%player%} to true
- set {ego.knife1.%player%} to true
- clear player's inventory
- make console execute command "gamemode adventure %player%"
- wait 1 tick
- set slot 4 of player to 1 chest named "&5Epic Menu" with lore "&dRight click to &5Open!"
- teleport player to location (0, 32, 0)
- on first join:
- set the join message to "{@prefix} &e%player%&bさんがサーバーに&c初参加&bです"
- on quit:
- set the quit message to "{@prefix} &e%player%&bさんがサーバーから退出しました"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement