Advertisement
Svely

EpicGunOnline

May 12th, 2018
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.00 KB | None | 0 0
  1. options:
  2. prefix: &c[&bServer&c]
  3. gunprefix: &3[&5EpicGunOnline&3]
  4. money: &c[&2Money&c]
  5. exp: &c[&bLevel&c]
  6.  
  7. command /gunshop:
  8. trigger:
  9. teleport player to location (-2, 31, -55)
  10. send "{@gunprefix} &3You Teleported to a gun shop!"
  11.  
  12. command /startgame:
  13. permission: ego.admin
  14. permission message: &cYou dont have permission needed "ego.admin"
  15. aliases: /sg
  16. trigger:
  17. broadcast "{@gunprefix} 試合が開始しました"
  18. loop all players:
  19. if {gun.select.an-94::%loop-player%} is true:
  20. execute console command "shot give %loop-player% AN-94"
  21.  
  22. command /resetplayer <offline player>:
  23. permission: ego.admin
  24. permission message: &cYou dont have permission needed "ego.admin"
  25. aliases: /rp
  26. trigger:
  27. send "{@gunprefix} &e%arg-1%&bさんのplayerdateをresetしました"
  28. set {ego.an-94.%arg-1%} to true
  29. set {ego.famas.%arg-1%} to false
  30. set {ego.m4a1.%arg-1%} to false
  31. set {ego.mp5.%arg-1%} to false
  32. set {ego.vsr.%arg-1%} to false
  33. set {ego.hecate.%arg-1%} to false
  34. set {ego.glock18.%arg-1%} to true
  35. set {ego.fiveseven.%arg-1%} to false
  36. set {ego.knife1.%arg-1%} to true
  37. set {ego.knife2.%arg-1%} to false
  38. set the arg-1's level to 0
  39. execute console command "money set %arg-1% 0"
  40. wait 1 second
  41. teleport player to {lobby}
  42. send "{@gunprefix} &3You reset player date!"
  43.  
  44. command /lobby:
  45. trigger:
  46. teleport player to {lobby}
  47. send "{@gunprefix} &3You returned to the lobby!"
  48.  
  49. command /setlobby:
  50. aliases: /sl
  51. permission: ego.admin
  52. permission message: &cYou dont have permission needed "ego.admin"
  53. trigger:
  54. set {lobby} to location of player
  55. send "{@gunprefix} set the lobby to you location!"
  56.  
  57. command /get menu:
  58. trigger:
  59. if {ego.ffa.%player%} is true:
  60. set slot 4 of player to 1 chest named "&5Epic Menu" with lore "&dRight click to &5Open!"
  61. send "{@gunprefix} &5Epic Menu&3をゲットしました"
  62. else:
  63. send "{@gunprefix} &3参加中はできません!"
  64.  
  65. command /ffa <text>:
  66. trigger:
  67. if arg 1 is "join":
  68. broadcast "{@gunprefix} &e%player%さ&3んが&aFFA&eに参加しました"
  69. send "{@gunprefix} &5/ffa leave &bでFFAからでれます"
  70. execute console command "clear %player%"
  71. set {ego.ffa.%player%} to false
  72. if {gun.select.an-94::%player%} is true:
  73. execute console command "shot give %player% AN-94"
  74. if {gun.select.famas::%player%} is true:
  75. execute console command "shot give %player% FAMAS"
  76. if {gun.select.m4a1::%player%} is true:
  77. execute console command "shot give %player% M4A1"
  78. if {gun.select.scar-l::%player%} is true:
  79. execute console command "shot give %player% SCAR-L"
  80. if {gun.select.mp5::%player%} is true:
  81. execute console command "shot give %player% MP5"
  82. if {gun.select.hecate::%player%} is true:
  83. execute console command "shot give %player% hecate"
  84. if {gun.select.glock18::%player%} is true:
  85. execute console command "shot give %player% Glock18"
  86. if {gun.select.fiveseven::%player%} is true:
  87. execute console command "shot give %player% Five seveN"
  88. if {gun.select.knife1::%player%} is true:
  89. execute console command "shot give %player% Knife"
  90. if {gun.select.knife2::%player%} is true:
  91. execute console command "shot give %player% Uchiwa"
  92. chance of 50%:
  93. teleport player to location (-30, 31, 54)
  94. else:
  95. teleport player to location (20, 31, 90)
  96. if arg 1 is "leave":
  97. set {ego.ffa.%player%} to true
  98. send "{@gunprefix} &35秒間お待ちください..."
  99. wait 5 second
  100. broadcast "{@gunprefix} &e%player%さんが&aFFA&eから抜けました"
  101. teleport player to location (0, 32, 0)
  102. send "{@gunprefix} &3lobbyへテレポートしました"
  103. clear player's inventory
  104. wait 1 tick
  105. set slot 4 of player to 1 chest named "&5Epic Menu" with lore "&dRight click to &5Open!"
  106.  
  107. command /shop1:
  108. trigger:
  109. open chest with 5 rows named "&3gun shop's" to player
  110. wait 1 tick
  111. format slot 28 of player with diamond shovel named "&eアサルトライフル" to run [execute player command "shop AR"]
  112. format slot 29 of player with shears named "&bサブマシンガン" to run [execute player command "shop SMG"]
  113. format slot 30 of player with gold horse armor named "&9スナイパーライフル" to run [execute player command "shop SR"]
  114. format slot 31 of player with diamond pickaxe named "&eハンドガン" to run [execute player command "shop HG"]
  115. format slot 34 of player with stone sword named "&3ナイフ" to run [execute player command "shop KNIFE"]
  116.  
  117. command /weaponselect <text>:
  118. usage: /ws gui
  119. aliases: /ws
  120. trigger:
  121. if arg 1 is "gui":
  122. open chest with 5 rows named "&3weapon select" to player
  123. wait 1 tick
  124. format slot 28 of player with diamond shovel named "&eアサルトライフル" to run [execute player command "ws AR"]
  125. format slot 29 of player with shears named "&bサブマシンガン" to run [execute player command "ws SMG"]
  126. format slot 30 of player with gold horse armor named "&9スナイパーライフル" to run [execute player command "ws SR"]
  127. format slot 31 of player with diamond pickaxe named "&eハンドガン" to run [execute player command "ws HG"]
  128. format slot 34 of player with stone sword named "&3ナイフ" to run [execute player command "ws KNIFE"]
  129. if arg 1 is "AR":
  130. open chest with 5 rows named "&5アサルトライフル" to player
  131. wait 1 tick
  132. format slot 29 of player with stone hoe named "&2FAMAS" with lore "&2ごく普通のAR" to run [execute player command "wsg FAMAS"]
  133. format slot 28 of player with diamond shovel named "&bAN-94" with lore "&b初期武器 安定性が高い" to run [execute player command "wsg AN-94"]
  134. format slot 30 of player with iron hoe named "&3M4A1" with lore "&3基礎ダメが低いがヘッドショットが高い" to run [execute player command "wsg M4A1"]
  135. format slot 31 of player with stone shovel named "&eSCAR-L" with lore "&e人気が高い武器 安定性が高い" to run [execute player command "wsg SCAR-L"]
  136. if arg 1 is "SMG":
  137. open chest with 5 rows named "&bサブマシンガン" to player
  138. format slot 29 of player with shears named "&eMP5" with lore "&e連射力が早い" to run [execute player command "wsg mp5"]
  139. if arg 1 is "SR":
  140. open chest with 5 rows named "&9スナイパーライフル" to player
  141. format slot 30 of player with iron shovel named "&9Hecate II" with lore "&9威力が高く精度もそこそこ" to run [execute player command "wsg Hecate"]
  142. if arg 1 is "HG":
  143. open chest with 5 rows named "&eハンドガン" to player
  144. wait 1 tick
  145. format slot 28 of player with diamond pickaxe named "&eGlock18" with lore "&b初期武器 安定性が高い" to run [execute player command "wsg Glock18"]
  146. format slot 29 of player with diamond hoe named "&eFive seveN" with lore "&e人気が高い武器 単発だが安定性が高い" to run [execute player command "wsg fiveseven"]
  147. if arg 1 is "KNIFE":
  148. open chest with 5 rows named "&9ナイフ" to player
  149. wait 1 tick
  150. format slot 28 of player with stone sword named "&3Survival Knife" with lore "&b初期武器" to run [execute player command "wsg knife1"]
  151. format slot 29 of player with stone sword named "&dUchiwa Knife" to run [execute player command "wsg knife2"]
  152.  
  153. command /wsg <text>:
  154. trigger:
  155. if arg 1 is "AN-94":
  156. if {ego.an-94.%player%} is true:
  157. send "{@gunprefix} &3武器を%arg-1%に設定しました"
  158. set {gun.select.an-94::%player%} to true
  159. set {gun.select.mp5::%player%} to false
  160. set {gun.select.famas::%player%} to false
  161. set {gun.select.m4a1::%player%} to false
  162. set {gun.select.scar-l::%player%} to false
  163. set {gun.select.hecate::%player%} to false
  164. else:
  165. send "{@gunprefix} &5あなたは武器を購入していません!"
  166. if arg 1 is "FAMAS":
  167. if {ego.famas.%player%} is true:
  168. send "{@gunprefix} &3武器を%arg-1%に設定しました"
  169. set {gun.select.famas::%player%} to true
  170. set {gun.select.mp5::%player%} to false
  171. set {gun.select.an-94::%player%} to false
  172. set {gun.select.m4a1::%player%} to false
  173. set {gun.select.scar-l::%player%} to false
  174. set {gun.select.hecate::%player%} to false
  175. else:
  176. send "{@gunprefix} &5あなたは武器を購入していません!"
  177. if arg 1 is "M4A1":
  178. if {ego.m4a1.%player%} is true:
  179. send "{@gunprefix} &3武器を%arg-1%に設定しました"
  180. set {gun.select.m4a1::%player%} to true
  181. set {gun.select.mp5::%player%} to false
  182. set {gun.select.scar-l::%player%} to false
  183. set {gun.select.famas::%player%} to false
  184. set {gun.select.an-94::%player%} to false
  185. set {gun.select.hecate::%player%} to false
  186. else:
  187. send "{@gunprefix} &5あなたは武器を購入していません!"
  188. if arg 1 is "SCAR-L":
  189. if {ego.scar-l.%player%} is true:
  190. send "{@gunprefix} &3武器を%arg-1%に設定しました"
  191. set {gun.select.scar-l::%player%} to true
  192. set {gun.select.mp5::%player%} to false
  193. set {gun.select.m4a1::%player%} to false
  194. set {gun.select.famas::%player%} to false
  195. set {gun.select.an-94::%player%} to false
  196. set {gun.select.hecate::%player%} to false
  197. else:
  198. send "{@gunprefix} &5あなたは武器を購入していません!"
  199. if arg 1 is "MP5":
  200. if {ego.mp5.%player%} is true:
  201. send "{@gunprefix} &3武器を%arg-1%に設定しました"
  202. set {gun.select.mp5::%player%} to true
  203. set {gun.select.scar-l::%player%} to false
  204. set {gun.select.m4a1::%player%} to false
  205. set {gun.select.famas::%player%} to false
  206. set {gun.select.an-94::%player%} to false
  207. set {gun.select.hecate::%player%} to false
  208. else:
  209. send "{@gunprefix} &5あなたは武器を購入していません"
  210. if arg 1 is "Hecate":
  211. if {ego.hecate.%player%} is true:
  212. send "{@gunprefix} &3武器を%arg-1%に設定しました"
  213. set {gun.select.hecate::%player%} to true
  214. set {gun.select.mp5::%player%} to false
  215. set {gun.select.scar-l::%player%} to false
  216. set {gun.select.m4a1::%player%} to false
  217. set {gun.select.famas::%player%} to false
  218. set {gun.select.an-94::%player%} to false
  219. else:
  220. send "{@gunprefix} &5あなたは武器を購入していません"
  221. if arg 1 is "Glock18":
  222. if {ego.glock18.%player%} is true:
  223. send "{@gunprefix} &3武器を%arg-1%に設定しました"
  224. set {gun.select.glock18::%player%} to true
  225. set {gun.select.fiveseven::%player%} to false
  226. else:
  227. send "{@gunprefix} &5あなたは武器を購入していません!"
  228. if arg 1 is "FiveseveN":
  229. if {ego.fiveseven.%player%} is true:
  230. send "{@gunprefix} &3武器をFive seveNに設定しました"
  231. set {gun.select.fiveseven::%player%} to true
  232. set {gun.select.glock18::%player%} to false
  233. else:
  234. send "{@gunprefix} &5あなたは武器を購入していません!"
  235. if arg 1 is "Knife1":
  236. if {ego.knife1.%player%} is true:
  237. send "{@gunprefix} &3武器をSurvival Knifeに設定しました"
  238. set {gun.select.knife1::%player%} to true
  239. set {gun.select.knife2::%player%} to false
  240. else:
  241. send "{@gunprefix} &5あなたは武器を購入していません"
  242. if arg 1 is "Knife2":
  243. if {ego.uchiwa.%player%} is true:
  244. send "{@gunprefix} &3武器をUchiwaに設定しました"
  245. set {gun.select.knife2::%player%} to true
  246. set {gun.select.knife1::%player%} to false
  247. else:
  248. send "{@gunprefix} &5あなたは武器を購入していません"
  249.  
  250. command /shop <text>:
  251. trigger:
  252. if arg 1 is "AR":
  253. open chest with 5 rows named "&5アサルトライフル" to player
  254. wait 1 tick
  255. format slot 28 of player with stone hoe named "&2FAMAS" with lore "&61500円 &b必要レベル 5" to run [execute player command "ARbuy FAMAS"]
  256. format slot 29 of player with iron hoe named "&3M4A1" with lore "&64000円 &b必要レベル 10" to run [execute player command "ARbuy M4A1"]
  257. format slot 30 of player with stone shovel named "&eSCAR-L" with lore "&68000円 &b必要レベル 15" to run [execute player command "ARbuy SCAR-L"]
  258. if arg 1 is "SMG":
  259. open chest with 5 rows named "&bサブマシンガン" to player
  260. wait 1 tick
  261. format slot 28 of player with shears named "&bMP5" with lore "&62000円 &b必要レベル 8" to run [execute player command "SMGbuy MP5"]
  262. if arg 1 is "SR":
  263. open chest with 5 rows named "&9スナイパーライフル" to player
  264. wait 1 tick
  265. format slot 28 of player with gold horse armor named "&9VSR" with lore "&63500円 &b必要レベル 5" to run [execute player command "SRbuy VSR"]
  266. format slot 30 of player with iron shovel named "&9Hecate II" with lore "&625110 &b必要レベル 25" to run [execute player command "SRbuy Hecate"]
  267. if arg 1 is "HG":
  268. open chest with 5 rows named "&eハンドガン" to player
  269. wait 1 tick
  270. format slot 28 of player with diamond hoe named "&eFive seveN" with lore "&63000円 &b必要レベル 5" to run [execute player command "HGbuy Five seveN"]
  271. if arg 1 is "KNIFE":
  272. open chest with 5 rows named "&3ナイフ" to player
  273. wait 1 tick
  274. format slot 28 of player with stone sword named "&dUchiwa Knife" with lore "&615000円 &b必要レベル 15" to run [execute player command "Knifebuy Uchiwa"]
  275.  
  276. command /ARbuy <text>:
  277. trigger:
  278. if arg 1 is "famas":
  279. if player's level is more than or equal to 5:
  280. if player's money is more than or equal to 1500:
  281. subtract 1500 from player's money
  282. set {ego.famas.%player%} to true
  283. send "{@money} &61500&3円消費し&2FAMAS&3を購入しました"
  284. stop
  285. else:
  286. send "{@money} &6お金かレベルが足りませんでした"
  287. if arg 1 is "m4a1":
  288. if player's level is more than or equal to 10:
  289. if player's money is more than or equal to 4000:
  290. subtract 4000 from player's money
  291. set {ego.m4a1.%player%} to true
  292. send "{@money} &64000&3円消費しM4A1を購入しました"
  293. stop
  294. else:
  295. send "{@money} &6お金かレベルが足りませんでした"
  296. if arg 1 is "scar-l":
  297. if player's level is more than or equal to 15:
  298. if player's money is more than or equal to 8000:
  299. subtract 8000 from player's money
  300. set {ego.scar-l.%player%} to true
  301. send "{@money} &68000&3円消費しSCAR-Lを購入しました"
  302. stop
  303. else:
  304. send "{@money} &6お金かレベルが足りませんでした"
  305.  
  306.  
  307.  
  308. command /SMGbuy <text>:
  309. trigger:
  310. if arg 1 is "mp5":
  311. if player's level is more than or equal to 8:
  312. if player's money is more than or equal to 2000:
  313. subtract 2000 from player's money
  314. set {ego.mp5.%player%} to true
  315. send "{@money} &61500&3円消費し&bMP5&3を購入しました"
  316. stop
  317. else:
  318. send "{@money} &6お金かレベルが足りませんでした"
  319.  
  320. command /SRbuy <text>:
  321. trigger:
  322. if arg 1 is "vsr":
  323. if player's level is more than or equal to 5:
  324. if player's money is more than or equal to 3500:
  325. subtract 3500 from player's money
  326. send "{@money} &63500&3円消費し&9VSR&3を購入しました"
  327. stop
  328. else:
  329. send "{@money} &6お金かレベルが足りませんでした"
  330. if arg 1 is "hecate":
  331. if player's level is more than or equal to 25:
  332. if player's money is more than or equal to 25110:
  333. subtract 25110 from player's money
  334. set {ego.hecate.%player%} to true
  335. send "{@money} &625110&3円消費し&9Hecate II&3を購入しました"
  336. stop
  337. else:
  338. send "{@money} &6お金かレベルが足りませんでした"
  339.  
  340. command /HGbuy <text>:
  341. trigger:
  342. if arg 1 is "five seven":
  343. if player's level is more than or equal to 5:
  344. if player's money is more than or equal to 3000:
  345. subtract 3000 from player's money
  346. set {ego.fiveseven.%player%} to true
  347. send "{@money} &63000&3円消費し&eFive seveN&3を購入しました"
  348. stop
  349. else:
  350. send "{@money} &6お金かレベルが足りませんでした"
  351.  
  352. command /Knifebuy <text>:
  353. trigger:
  354. if arg 1 is "Uchiwa":
  355. if player's level is more than or equal to 15:
  356. if player's money is more than or equal to 15000:
  357. subtract 15000 from player's money
  358. set {ego.uchiwa.%player%} to true
  359. send "{@money} &615000&3円消費し&dUchiwa&3を購入しました"
  360. stop
  361. else:
  362. send "{@money} &6お金かレベルが足りませんでした"
  363.  
  364. command /status <player>:
  365. trigger:
  366. message "&d&l----<&6&l%arg 1%'s stats>&d&l----" to the player
  367. message "&c&lKill &6&l%{kill.%arg-1%}%" to the player
  368. message "&5&lDeath &6&l%{death.%arg-1%}%" to the player
  369.  
  370. command /plugins:
  371. trigger:
  372. send "&fPlugins (6): &aCrackShotPlus&f, &aCrackShot&f, &aEpicGunCore&f, &aEpicGun&f, &aHub&f, &aWorldEdit"
  373.  
  374. command /pl:
  375. trigger:
  376. send "&fPlugins (6): &aCrackShotPlus&f, &aCrackShot&f, &aEpicGunCore&f, &aEpicGun&f, &aHub&f, &aWorldEdit"
  377.  
  378. on inventory click:
  379. player do not have permission "ego.admin"
  380. cancel the event
  381.  
  382. every 120 seconds:
  383. broadcast "{@prefix} &6/get menu &aでメニューを表示します"
  384. broadcast "{@prefix} &3discord https://discord.gg/YgkwrBG"
  385. broadcast "{@gunprefix} &c本来行けない場所を反動で行く行為は&c&lBAN&c対象です"
  386.  
  387. on hunger meter change:
  388. set the player's food level to 10
  389.  
  390. on death of player:
  391. if attacker is player:
  392. if victim is player:
  393. add 1 to {kill.%attacker%}
  394. add 1 to {death.%victim%}
  395.  
  396. on death:
  397. clear victim's inventory
  398. heal the damager
  399. victim is a player
  400. damager is a player
  401. add 50 to damager's balance
  402. add 8 exp to damager
  403. set {ego.ffa.%victim%} to true
  404. wait 1 tick
  405. set slot 4 of victim to 1 chest named "&5Epic Menu" with lore "&dRight click to &5Open!"
  406.  
  407. on drop:
  408. player do not have permission "ego.admin"
  409. cancel event
  410.  
  411. on right click holding a chest:
  412. name of held item contains "&5Epic Menu"
  413. open chest with 5 rows named "&8-------&5Epic Gun Online&8--------" to player
  414. wait 1 tick
  415. format slot 40 of player with emerald named "&2shop" to run [execute player command "gunshop"]
  416. format slot 22 of player with beacon named "&dTeleport to lobby" to close then run [execute player command "lobby"]
  417. format slot 19 of player with experience bottle named "&3Status" to close then run [execute player command "status %player%"]
  418. format slot 41 of player with diamond shovel named "&7shop &8(gui version)" to run [execute player command "shop1"]
  419. format slot 37 of player with chest named "&3武器選択" to run [execute player command "ws gui"]
  420. format slot 26 of player with diamond sword named "&aFFA PvP" to run [execute player command "ffa join"]
  421.  
  422. on join:
  423. set the join message to "{@prefix} &e%player%&bさんがサーバーに参加しました"
  424. send "{@prefix} &3この鯖のdiscord鯖 &bhttps://discord.gg/YgkwrBG"
  425. set {ego.an-94.%player%} to true
  426. set {ego.glock18.%player%} to true
  427. set {ego.knife1.%player%} to true
  428. clear player's inventory
  429. make console execute command "gamemode adventure %player%"
  430. wait 1 tick
  431. set slot 4 of player to 1 chest named "&5Epic Menu" with lore "&dRight click to &5Open!"
  432. teleport player to location (0, 32, 0)
  433.  
  434. on first join:
  435. set the join message to "{@prefix} &e%player%&bさんがサーバーに&c初参加&bです"
  436.  
  437. on quit:
  438. set the quit message to "{@prefix} &e%player%&bさんがサーバーから退出しました"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement