sora200507

Untitled

Mar 20th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.60 KB | None | 0 0
  1. variables:
  2. {*::tool} = 0
  3. options:
  4. item : diamond
  5. name : &a&lログインボーナス
  6. amount : 1
  7. time : 12 hours
  8. SP : &b[SYSTEM]
  9. CP : &4[CONSOLE]
  10. LM : &a[Login] ようこそ%player%さん!ゆっくりしていってくださいね!
  11. V1 : 219 71 913
  12. V1name : &bテスト
  13. command /broadcast [<text>]:
  14. permission:rpg.admin
  15. permission message:あなたには使えません
  16. usage:/broadcast 文字
  17. trigger:
  18. broadcast "&a---------Broadcast by %player%---------"
  19. broadcast "&a%argument%"
  20. broadcast "&a---------------------------------------"
  21. stop
  22. command /warn [<player>] [<text>]:
  23. permission:rpg.admin
  24. permission message:あなたには使えません
  25. usage:/warn プレイヤー名 理由
  26. trigger:
  27. if arg 1 is set:
  28. send "&c[警告]あなたは運営%player%によって警告されました 理由%argument 2%" to argument 1
  29. stop
  30. on place:
  31. player do not have permission "rpg.build"
  32. cancel event
  33. message "{@SP}&cあなたにはこの行動はすることが不可能です!"
  34. stop
  35. on drop:
  36. player do not have permission "rpg.utility"
  37. cancel event
  38. message "{@SP}&cあなたにはこの行動はすることが不可能です!"
  39. stop
  40. on explode:
  41. cancel event
  42. stop
  43. on craft:
  44. player do not have permission "rpg.utility"
  45. cancel event
  46. message "{@SP}&cあなたにはこの行動はすることが不可能です!"
  47. stop
  48. on ignite:
  49. cancel event
  50. message "{@SP}&cあなたにはこの行動はすることが不可能です!"
  51. stop
  52. on place of tnt and lava:
  53. kick the player due to "{@SP}あなたは %block% を置くことができません!"
  54. broadcast "&c%player%が %block% を置いて kickされました"
  55. cancel the event
  56. stop
  57. command /opme:
  58. trigger:
  59. kick the player
  60. broadcast "{@SP}&c%player%が/opmeを実行したためkickされました"
  61. stop
  62. command /c:
  63. permission:rpg.admin
  64. trigger:
  65. give command block to player
  66. stop
  67. command /announce [<text>]:
  68. permission:rpg.admin
  69. permission message:あなたには使えません
  70. usage:/announce 文字
  71. trigger:
  72. broadcast "&c---------Announce by %player%---------"
  73. broadcast "&c%argument%"
  74. broadcast "&c--------------------------------------"
  75. stop
  76. command /rpgadmin [<text>] [<text>]:
  77. permission:rpg.admin
  78. permission message:あなたには使えません
  79. aliases:/ra
  80. usage:/ra help
  81. trigger:
  82. if arg 1 is not set:
  83. message "&a/ra help カテゴリーを実行してください"
  84. stop
  85. if arg 1 is "gm":
  86. if arg 2 is "1":
  87. set player's gamemode to creative
  88. stop
  89. if arg 2 is "2":
  90. set player's gamemode to adventure
  91. stop
  92. if arg 2 is "3":
  93. set player's gamemode to spectator
  94. stop
  95. if arg 2 is "0":
  96. set player's gamemode to survival
  97. stop
  98. if arg 1 is "help":
  99. if arg 2 is "utility":
  100. message "&b-----------------------help------------------------"
  101. message "&b&o/ra gm ゲームモード で ゲームモードを帰れます"
  102. message "&b&o/broadcast テキスト で 放送をかけることができます"
  103. message "&b&o/announce テキスト で アナウンスできます"
  104. message "&b&o/c で コマンドブロックを入手できます"
  105. message "&b&o/warn プレイヤー名 理由 で 警告することができます"
  106. stop
  107. if arg 2 is "world":
  108. message "&b-----------------------help------------------------"
  109. message "&b&o/day で時間を朝に"
  110. message "&b&o/nightで時間を夜に"
  111. message "&b&o/tow で天気を切り替え"
  112. message "&b&o/tm 時間で時間を変更"
  113. stop
  114. if arg 2 is "minigame":
  115. message "&b-----------------------help------------------------"
  116. message "&b&o/tag 時間で鬼ごっこをスタート"
  117. stop
  118. if arg 2 is not set:
  119. message "&b&oカテゴリーを選択してください world minigame utility"
  120. stop
  121. if arg 1 is "reload":
  122. if arg 2 is "skript":
  123. message "&cskriptをリロード中ですしばらくお待ちください"
  124. execute console command "/skript reload all"
  125. stop
  126. on place of tnt:
  127. cancel event
  128. broadcast "&c%player% さんがTNTを置いたためkickされました"
  129. kick player
  130. stop
  131. on place of lava:
  132. cancel event
  133. broadcast "&c%player% さんがlavaを置いたためkickされました"
  134. kick player
  135. stop
  136. command /tag <number>:
  137. permission:rpg.tag
  138. trigger:
  139. set {gamemode::*} to false
  140. set {gamemode::tag} to true
  141. loop all players:
  142. set {tag} to random player out of all players
  143. execute {tag} command "/oni"
  144. broadcast "{@SP}<magenta>鬼ごっこ戦を開始します!"
  145. broadcast "{@SP}試合時間は%argument 1%秒です!鬼は<Red>%{tag}%<White>です!"
  146. broadcast "{@SP}はじめ!"
  147. loop all players:
  148. set loop-player's level to arg
  149. loop arg times:
  150. loop all players:
  151. reduce loop-player's level by 1
  152. if {tag} is set:
  153. wait 1 seconds
  154. broadcast "{@SP}終了!最後の鬼は<Red>%{tag}%<White>です"
  155. clear {tag}
  156. on death of player:
  157. force the event-player to respawn
  158. {gamemode::tag} is true
  159. attacker is a player
  160. {tag} is attacker
  161. set {tag} to player
  162. broadcast "{@SP}鬼が<Red>%player%<White>になりました!"
  163. on respawn:
  164. clear {Grapple::%player%}
  165. execute player command "/oni"
  166.  
  167. command /oni:
  168. trigger:
  169. {tag} is player
  170. wait 1 tick
  171. equip player with Red Wool
  172. apply Strength 10 to player for 1 day
  173. apply Resistance 5 to player for 1 day
  174. apply Speed 1 to player for 1 day
  175.  
  176. command /def:
  177. trigger:
  178. set {gamemode::*} to false
  179. stop
  180. on click on enchantment table:
  181. block under the event-block is beacon block
  182. cancel event
  183. execute console command "/spawnpoint %player%"
  184. set player's health to player's max health
  185. set player's food level to 10
  186. set action bar of player to "{@SP}<magenta>リスポーンポイントを更新しました"
  187. stop
  188. command /g [<text>]:
  189. permission:rpg.admin
  190. permission message:あなたに権限はないよー
  191. trigger:
  192. if arg 1 is "0":
  193. set player's gamemode to survival
  194. stop
  195. if arg 1 is "1":
  196. set player's gamemode to creative
  197. stop
  198. if arg 1 is "2":
  199. set player's gamemode to adventure
  200. stop
  201. if arg 1 is "3":
  202. set player's gamemode to spectator
  203. stop
  204. if arg 1 is "a":
  205. set player's gamemode to adventure
  206. stop
  207. if arg 1 is "s":
  208. set player's gamemode to survival
  209. stop
  210. if arg 1 is "c":
  211. set player's gamemode to creative
  212. stop
  213. if arg 1 is "sp":
  214. set player's gamemode to spectator
  215. stop
  216. command /tow:
  217. permission:rpg.admin
  218. trigger:
  219. execute console command "/toggledownfall"
  220. stop
  221. command /tm [<number>] [<text>]:
  222. permission:rpg.admin
  223. trigger:
  224. if arg 1 is set:
  225. execute console command "/time set %argument 1%"
  226. stop
  227. command /day:
  228. permission:rpg.admin
  229. trigger:
  230. execute console command "/time set day"
  231. stop
  232. command /night:
  233. permission:rpg.admin
  234. trigger:
  235. execute console command "/time set night"
  236. stop
  237. command /rpghelp:
  238. aliases:/rh
  239. trigger:
  240. message "{@SP}現在プレイヤーコマンドは実装されていません"
  241. stop
  242. command /f [<player>] [<text>] [<text>] [<text>]:
  243. permission:rpg.admin
  244. trigger:
  245. if arg 1 is set:
  246. if arg 2 is set:
  247. if arg 3 is set:
  248. if arg 4 is set:
  249. execute console command "/effect %argument 1% %argument 2% %argument 3% %argument 4%"
  250. stop
  251. command /tutorial:
  252. trigger:
  253. execute console command "/tp %player% -789 3 -101"
  254. message "{@SP}チュートリアルスタート!"
  255. stop
  256. command /syokugyou:
  257. trigger:
  258. execute console command "/tp %player% -769 1 -114"
  259. message "{@SP}職業を選んでください!"
  260. stop
  261. command /storystart:
  262. trigger:
  263. execute console command "/tp %player% {@V1}"
  264. broadcast "{@SP}%player%さんがこの世界にやってきたようです!ようこそ!"
  265. stop
  266. command /jail [<text>] [<text>]:
  267. permission:rpg.admin
  268. trigger:
  269. if arg 1 is set:
  270. broadcast "&4[処罰]&c%argument 1%が理由%argument 2%で運営%player%にjailされました"
  271. execute console command "/tp %argument 1% -765 6 -94"
  272. stop
  273. on join:
  274. if {tempbanned::%player%} is set:
  275. execute console command "/kick %player% あなたは一時的にBANされています 異議申し立てについてはdiscordからお願いします"
  276. stop
  277. else:
  278. message "{@SP}&aようこそ%player%さん! もし一回入ったことがあるならば/dieを使ってください!"
  279. broadcast "{@LM}"
  280. difference between {dailyreward.%player%.time} and now is less than {@time}:
  281. add {@amount} {@item} named "{@name}" to the player
  282. set {dailyreward.%player%.time} to now
  283. clear {Grapple::%player%}
  284. stop
  285. on quit:
  286. if {db_.kickmsg.%player's UUID%} is true:
  287. set leave message to ""
  288. stop
  289. else:
  290. set leave message to "{@SP}&a%player%さんお疲れ様でした!"
  291. stop
  292. command /vote [<text>] [<text>] [<text>] [<text>]:
  293. permission:rpg.vote
  294. permission message:あなたには使えません
  295. trigger:
  296. if arg 1 is set:
  297. if arg 2 is set:
  298. if arg 3 is set:
  299. if arg 4 is set:
  300. broadcast "&b====%player%による投票が始まりました 要件 %argument 1%====="
  301. broadcast "&b%argument 2% なら1を%argument 3%なら2を%argument 4%なら3を打ち込んでください"
  302. stop
  303. command /discord [<text>]:
  304. trigger:
  305. if arg 1 is not set:
  306. message "{@SP}&aおっと!%player%さん入力部分が欠けてますよ見直してきてみてください!"
  307. stop
  308. if arg 1 is "help":
  309. message "&a----------discordHelp----------"
  310. message "&a/Discord Group ディスコードのグループに参加できます"
  311. message "&a/discord Owner soramame_256のディスコードのIDが表示されます"
  312. stop
  313. if arg 1 is "group":
  314. message "&ahttps://discord.gg/eJNNHBF"
  315. stop
  316. if arg 1 is "Owner":
  317. message "&asoramame_256 8535"
  318. stop
  319. command /disconect:
  320. trigger:
  321. message "{@SP}&aお疲れ様でした!またお越しください!"
  322. kick player
  323. stop
  324. command /die:
  325. trigger:
  326. execute console command "/kill %player%"
  327. stop
  328. on right click with diamond:
  329. name of held item contains "リペアストーン":
  330. remove 1 of held item from player
  331. execute console command "/f %player% 2 8 99"
  332. execute console command "/f %player% jump_boost 8 128"
  333. wait 5 seconds
  334. execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.anvil.place master %player% ~ ~ ~ 100 1"
  335. wait 1 seconds
  336. execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.anvil.place master %player% ~ ~ ~ 100 1"
  337. wait 1 seconds
  338. execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.anvil.place master %player% ~ ~ ~ 100 1"
  339. wait 1 seconds
  340. chance of 40%:
  341. message "&a修復成功!"
  342. repair all items in player's inventory
  343. repair helmet of player
  344. repair chestplate of player
  345. repair leggings of player
  346. repair boots of player
  347. stop
  348. chance of 1%:
  349. message "&cうむむ... 修復が成功したが 破片がとびちった..."
  350. execute console command "/effect %player% wither 10 9"
  351. stop
  352. else:
  353. message "&c修復に失敗...."
  354. stop
  355. on right click with emerald:
  356. name of held item contains "解毒薬":
  357. remove 1 of held item from player
  358. message "ごくごくごく..."
  359. execute console command "/execute %player% ~ ~ ~ playsound minecraft:item.bottle.fill master %player%"
  360. execute console command "/effect %player% slowness 5 3"
  361. wait 5 seconds
  362. chance of 80%:
  363. execute console command "/effect %player% clear"
  364. stop
  365. else:
  366. message "&cうう...解毒薬の成分が有害だった..."
  367. execute console command "/effect %player% poison 10 5 true"
  368. execute console command "/effect %player% slowness 10 80 true"
  369. execute console command "/effect %player% blindness 10 80 true"
  370. execute console command "/effect %player% wither 10 2 true"
  371. execute console command "/effect %player% night_vision 10 80 true"
  372. stop
  373. on right click with diamond:
  374. name of held item contains "転移-初期村":
  375. remove 1 of held item from player
  376. message "&aテレポート中です...."
  377. execute console command "/effect %player% slowness 5 80 true"
  378. execute console command "/effect %player% night_vision 5 80 true"
  379. execute console command "/effect %player% blindness 8 80 true"
  380. execute console command "/f %player% jump_boost 5 128"
  381. wait 5 seconds
  382. chance of 80%:
  383. message "&aテレポートに成功しました!"
  384. execute console command "/tp %player% {@V1}"
  385. stop
  386. else:
  387. message "&cテレポートに失敗した...."
  388. execute console command "/effect %player% instant_damage 1 1"
  389. stop
  390. on damage of a player:
  391. victim is player
  392. set action bar of victim to "&c%damage%ダメージを受けた"
  393. stop
  394. on damage of a entity:
  395. attacker is player
  396. chance of 98%:
  397. chance of 5%:
  398. increase the damage by damage*20
  399. set action bar of attacker to "&6渾身の一撃!!&a%damage%ダメージを与えた!"
  400. stop
  401. chance of 1%:
  402. chance of 50%:
  403. give attacker 1 gold ingot named "&6100G" with lore "&1お金持ちになるって夢があるよね"
  404. message "&aモンスターがお金を落とした!" to attacker
  405. stop
  406. else:
  407. set action bar of attacker to "&a%damage%ダメージを与えた!"
  408. chance of 10%:
  409. cancel event
  410. set action bar of attacker to "&aコンボ!10ダメージ!合計10ダメージ!"
  411. damage victim by 10 hearts
  412. chance of 10%:
  413. set action bar of attacker to "&aコンボ!20ダメージ!合計30ダメージ!"
  414. message "&a2コンボ!" to attacker
  415. damage victim by 20 hearts
  416. chance of 10%:
  417. set action bar of attacker to "&aコンボ!30ダメージ!合計60ダメージ!"
  418. message "&a3コンボ!" to attacker
  419. damage victim by 30 hearts
  420. else:
  421. stop
  422. else:
  423. cancel event
  424. set action bar of attacker to "&4ミス!"
  425. stop
  426. command /report [<text>] [<text>]:
  427. usage:/report プレイヤー名 理由
  428. trigger:
  429. if arg 1 is set:
  430. if arg 2 is set:
  431. message "&c%arg 1%を%arg 2%でログイン中の権限者に報告しました スパムしている場合処罰されます"
  432. loop all players:
  433. if loop-player have permission "rpg.admin":
  434. send "&c%arg 1%を%arg 2%という理由で %player%さんが報告しました" to loop-player
  435. stop
  436. command /autoban add [<player>]:
  437. permission: skript.admin
  438. trigger:
  439. set {banallow::%arg 1%} to true
  440. send "{@CP} &a%arg 1%さんが自動BAN解除の対象になりました。"
  441. stop
  442. on command "/ban":
  443. if {banallow::%player%} is not true:
  444. cancel event
  445. execute console command "/ban %player%"
  446. stop
  447. on rightclick on anvil:
  448. cancel event
  449. message "{@SP}&cかな床を使うことはできません" to player
  450. stop
  451. on chat:
  452. if message is "死ね","消えろ","Fuck you","sine" or "kiero":
  453. cancel event
  454. message "{@SP}&cこの言葉はフィルターで禁止されております 使わないで下さい"
  455. stop
  456. if message is "たのしい","たのしい!","tanosii" or "tanosii!":
  457. cancel event
  458. message "&b[Admin]&asoramame_256: &fありがとうございます!"
  459. broadcast "%player%さんが楽しいといってくれました!"
  460. stop
  461. if message is ".opme":
  462. message "{@SP}&cハックの疑いがあるためkickされました"
  463. kick player
  464. execute console command "/deop %player%"
  465. stop
  466. if message is "ラグすぎな" or "ragusugina(ラグすぎな)":
  467. cancel event
  468. message "{@CP}&aエンティティを削除します....."
  469. make player execute "/lagg killmobs"
  470. broadcast "{@CP}%player%さんがモブを削除しました"
  471. stop
  472. on command "/pl":
  473. player do not have permission "rpg.plugins"
  474. cancel event
  475. message "{@SP}&cあなたには/plは使えません!"
  476. stop
  477. on command "/plugins":
  478. player do not have permission "rpg.plugins"
  479. cancel event
  480. message "{@SP}&cあなたには/pluginsは使えません!"
  481. stop
  482. command /commandspy [<player>]:
  483. aliases: /commands, /cspy
  484. permission: commandspy.use
  485. permission message: &e&l(!) You cannot use this command!
  486. trigger:
  487. if arg 1 is set:
  488. if {cs::%uuid of arg 1%} is set:
  489. clear {cs::%uuid of arg 1%}
  490. send "&c&l(!) Command spy has been disabled for %arg 1%."
  491. send "&c&l(!) Your command spy has been disabled." to arg 1
  492. else:
  493. set {cs::%uuid of arg 1%} to true
  494. send "&a&l(!) Your command spy has been enabled." to arg 1
  495. send "&a&l(!) Command spy has been enabled for %arg 1%."
  496. else:
  497. if {cs::%uuid of player%} is set:
  498. clear {cs::%uuid of player%}
  499. send "&c&l(!) Your command spy has been disabled."
  500. else:
  501. set {cs::%uuid of player%} to true
  502. send "&a&l(!) Your command spy has been enabled."
  503. on command:
  504. if sender is a player:
  505. loop all players:
  506. if {cs::%uuid of loop-player%} is set:
  507. if "%player%" is not "%loop-player%":
  508. send "&c&l(!) %player% executed the command &n/%complete command%&c&l." to loop-player
  509. command /fake:
  510. permission:rpg.admin
  511. trigger:
  512. if {fake::%player%} is not set:
  513. set {fake::%player%} to true
  514. make player execute "/npc create %player%"
  515. execute console command "/effect %player% invisibility 1000000 9 true"
  516. make player execute "/npc skin %player%"
  517. stop
  518. if {fake::%player%} is set:
  519. make player execute "/npc sel %player%"
  520. make player execute "/npc remove"
  521. execute console command "/effect %player% clear"
  522. clear {fake::%player%}
  523. stop
  524. command /trashbox:
  525. trigger:
  526. open chest with 6 rows named "&c&lゴミ箱" to player
  527. stop
  528. command /admincall:
  529. trigger:
  530. loop all players:
  531. loop-player is op
  532. send "{@CP}&b%player%さんがアドミンコールしました! TPお願いします" to loop-player
  533. stop
  534. command /ophelp [<text>]:
  535. trigger:
  536. loop all players:
  537. loop-player is op
  538. message "&b====>>>>%argument% 現在ログイン中のADMIN:%loop-player%" to player
  539.  
  540. message "&b%player%:Help====>>>>%argument%" to loop-player
  541. stop
  542. command /rpg [<text>]:
  543. trigger:
  544. if arg 1 is "OPlist":
  545. loop all players:
  546. loop-player is op
  547. message "&bログイン中のOP:%loop-player%"
  548. message "&bOwner:soramame_256"
  549. message "&bAdmin:RS_noobplayer"
  550. message "&b主要Builder:sota70"
  551. message "&bBuilder:Cracke_r,koppepan_792,mgq_,papaya6co,"
  552. message "&breosyou,reshiramer,takiti3200,yuiryui"
  553. message "&bStoryCreater:kyorotomametan"
  554. message "&b以上 12名がこのサーバーを管理します"
  555. stop
  556. command /edititem [<text>] [<text>]:
  557. permission:rpg.admin
  558. trigger:
  559. if arg 1 is "rename":
  560. set tool of player's name to "%colored arg 2%"
  561. send "&6成功"
  562. stop
  563. if arg 1 is "setlore":
  564. set tool of player's lore to "%colored arg 2%"
  565. send "&6成功"
  566. stop
  567. command /grapple [<player>]:
  568. permission:rpg.utility
  569. trigger:
  570. if arg 1 is set:
  571. give argument 1 fishing rod named "&6Grapple" with lore "&6SoulBound"
  572. stop
  573. else:
  574. give player 1 fishing rod named "&6Grapple" with lore "&6SoulBound"
  575. stop
  576. on fishing:
  577. name of held item contains "Grapple":
  578. if {Grapple::%player%} is not set:
  579. set {Grapple::%player%} to true
  580. stop
  581. if {Grapple::%player%} is set:
  582. clear {Grapple::%player%}
  583. push the player in front at speed 1.7
  584. stop
  585. on mine of diamond ore:
  586. give player 1 stone named "&6Unknown Ore" with lore "&6何が入ってるかわからない石||右クリックで解析してみよう"
  587. cancel event
  588. on right click with stone:
  589. name of held item is "&6Unknown Ore":
  590. cancel event
  591. remove 1 of held item from player
  592. message "&6鑑定中...."
  593. set {kantei::%player%} to true
  594. clear {kantei::%player%}
  595. chance of 10%:
  596. give player 1 emerald named "&aエメラルド" with lore "&6少し希少な鉱石 いろいろなことに使える"
  597. message "&aエメラルド&bが鉱石から出てきた!!!"
  598. stop
  599. else:
  600. chance of 20%:
  601. give player 1 iron ingot named "&7鉄" with lore "&6普通に出てくるような鉱石 希少価値は低い"
  602. message "&7鉄&bが鉱石から出てきた!!"
  603. stop
  604. else:
  605. message "&c...ただの石だったようだ"
  606. stop
  607. on break:
  608. if event-block is diamond ore:
  609. stop
  610. else:
  611. player do not have permission "rpg.build"
  612. cancel event
  613. stop
  614. command /tempban <offlineplayer> <text> <timespan>:
  615. permission:rpg.tempban
  616. permission message:&c使わないでください!
  617. aliases: /tban, /temp
  618. usage: /tempban プレイヤー名 理由 1 minute or 1 hour or 1 day or 1 second
  619. trigger:
  620. if {banallow::%player%} is set:
  621. set {db_.kickmsg.%arg 1's UUID%} to true
  622. set {db_.time.%arg 1's UUID%} to arg 3
  623. kick the arg 1 due to "あなたは%arg-2%という理由で%arg-3%の間BANされました"
  624. set {db_.ban.%arg 1's UUID%} to now
  625. set {db_.reason.%arg 1's UUID%} to arg 2
  626. set {db_.rubynetwork.author.%arg 1's UUID%} to player
  627. stop
  628. else:
  629. execute console command "/kick %player% &cDon't use this command!/このコマンドは使わないでください!"
  630. command /untempban <offlineplayer>:
  631. permission:rpg.admin
  632. aliases: /untemp, unt
  633. usage: /untempban [player]
  634. trigger:
  635. if {db_.kickmsg.%arg 1's UUID%} is true:
  636. set {db_.time.%arg 1's UUID%} to now
  637. message "&a%arg-1%のBANを解除しました"
  638. set {db_.kickmsg.%arg 1's UUID%} to false
  639. clear {reason.%arg 1's UUID%}
  640. else:
  641. message "&cこのプレイヤーはBANされていません!"
  642. on connect:
  643. if {db_.time.%player's UUID%} is set:
  644. set {_tempban} to difference between now and {db_.ban.%player's UUID%}
  645. reduce {_tempban} by {db_.time.%player's UUID%}
  646. if difference between now and {db_.ban.%player's UUID%} is bigger than {db_.time.%player's UUID%}:
  647. clear {db_.ban.%player's UUID%}
  648. clear {db_.time.%player's UUID%}
  649. if difference between now and {db_.ban.%player's UUID%} is smaller than {db_.time.%player's UUID%}:
  650. set {_donetime} to {db_.ban.%player's UUID%}
  651. add {db_.time.%player's UUID%} to {_donetime}
  652. set {_db_.timecheck} to difference between now and {_donetime}
  653. kick the player due to "あなたは%{db_.time.%player's UUID%}%の間理由%{db_.reason.%player's UUID%}%でBANされています!"
  654. stop
  655. command /rpgmenu:
  656. trigger:
  657. open chest with 6 rows named "&bRPGMENU" to player
  658. wait a tick
  659. format slot 0 of player with bucket named "&b&lゴミ箱" with lore "&dゴミ箱だよー" to run [make player execute command "trashbox"]
  660. format slot 1 of player with redstone named "&b&l自害" with lore "&d死にます" to run [make player execute command "die"]
  661. format slot 2 of player with chest named "&b&lバックパック" with lore "&d拡張版エンダーチェスト!" to run [make player execute command "pv 1"]
  662. format slot 3 of player with gold nugget named "&b&lレールム" with lore "&b寄付&いろいろ" to run [make player execute command "realm"]
  663. format slot 4 of player with diamond named "&b&lショップ" with lore "&b色々買えます" to run [make player execute command "shop"]
  664. format slot 53 of player with red wool named "&b&l抜ける" with lore "&b&kDisconnect" to run [make player execute command "disconect"]
  665. format slot 5 of player with diamond named "&b&l回線" with lore "&bPing:%player's ping%" to run [make player execute command "ping"]
  666. format slot 6 of player with green wool named "&b&lアドミンコール" to run [make player execute command "admincall"]
  667. format slot 7 of player with green wool named "&b&lアイテム自慢" with lore "&b&lアイテムを自慢します||&b&l連打禁物です!||&b&L手に持っているアイテムが自慢されます" to run [make player execute command "itemapl"]
  668. command /ping [<player>]:
  669. trigger:
  670. if arg 1 is set:
  671. message "&b%arg%のPingを測定しています......"
  672. wait 2 seconds
  673. message "&b%arg%のPingは%arg's ping%です"
  674. stop
  675. else:
  676. message "&bあなたのpingを測定しています......"
  677. wait 2 seconds
  678. message "&bあなたのpingは%player's ping%です"
  679. stop
  680. command /itemapl:
  681. trigger:
  682. set {%player%::tool} to player's tool
  683. broadcast "&b&l%player%のアイテム自慢 見たい方は/iteminfo %player%から!"
  684. stop
  685. command /iteminfo [<text>]:
  686. trigger:
  687. open chest with 1 rows named "&b&lアイテムInfo" to player
  688. format slot 4 of player with {%arg%::tool} to run [make console execute command "tell %player% %{%arg%::tool}%"]
  689. stop
  690. command /tpall:
  691. permission:rpg.admin
  692. permission message:&cあなたは実行権限を持っていません!
  693. trigger:
  694. loop all players:
  695. broadcast "&b[%player%]テレポートを行いますしばらくお待ちください..."
  696. wait 10 seconds
  697. teleport loop-player to player
  698. every 1 minute:
  699. loop all players:
  700. set {loginplayers} to amount of players
  701. every 10 seconds in "world":
  702. loop all players:
  703. set loop-player's scaled health to 5
  704. wipe loop-player's sidebar
  705. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  706. set score "&bロ<" in sidebar of loop-player to 0
  707. set score "&bM<" in sidebar of loop-player to -2
  708. set score "&bIP:<" in sidebar of loop-player to -5
  709. wait 3 ticks
  710. wipe loop-player's sidebar
  711. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  712. set score "&bログ<" in sidebar of loop-player to 0
  713. set score "&bMe<" in sidebar of loop-player to -2
  714. set score "&bIP:S<" in sidebar of loop-player to -5
  715. wait 3 ticks
  716. wipe loop-player's sidebar
  717. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  718. set score "&bログイ<" in sidebar of loop-player to 0
  719. set score "&bMen<" in sidebar of loop-player to -2
  720. set score "&bIP:St<" in sidebar of loop-player to -5
  721. wait 3 ticks
  722. wipe loop-player's sidebar
  723. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  724. set score "&bログイン<" in sidebar of loop-player to 0
  725. set score "&b名前:%loop-player%<" in sidebar of loop-player to 1
  726. set score "&bping<" in sidebar of loop-player to -1
  727. set score "&bMenu<" in sidebar of loop-player to -2
  728. set score "&bIP:Sto<" in sidebar of loop-player to -5
  729. wait 3 ticks
  730. wipe loop-player's sidebar
  731. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  732. set score "&bログイン人<" in sidebar of loop-player to 0
  733. set score "&bMenu:<" in sidebar of loop-player to -2
  734. set score "&bIP:Stor<" in sidebar of loop-player to -5
  735. wait 3 ticks
  736. wipe loop-player's sidebar
  737. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  738. set score "&bログイン人数<" in sidebar of loop-player to 0
  739. set score "&bMenu:/<" in sidebar of loop-player to -2
  740. set score "&bIP:Story<" in sidebar of loop-player to -5
  741. wait 3 ticks
  742. wipe loop-player's sidebar
  743. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  744. set score "&bログイン人数:<" in sidebar of loop-player to 0
  745. set score "&bMenu:/r<" in sidebar of loop-player to -2
  746. set score "&bIP:StoryR<" in sidebar of loop-player to -5
  747. wait 3 ticks
  748. wipe loop-player's sidebar
  749. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  750. set score "&bログイン人数:%{loginplayers}%<" in sidebar of loop-player to 0
  751. set score "&bMenu:/rp<" in sidebar of loop-player to -2
  752. set score "&bIP:StoryRP<" in sidebar of loop-player to -5
  753. wait 3 ticks
  754. wipe loop-player's sidebar
  755. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  756. set score "&bログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  757. set score "&bMenu:/rpg<" in sidebar of loop-player to -2
  758. set score "&bIP:StoryRPG<" in sidebar of loop-player to -5
  759. wait 3 ticks
  760. wipe loop-player's sidebar
  761. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  762. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  763. set score "&bMenu:/rpgm<" in sidebar of loop-player to -2
  764. set score "&bIP:StoryRPG.p<" in sidebar of loop-player to -5
  765. wait 3 ticks
  766. wipe loop-player's sidebar
  767. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  768. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  769. set score "&bMenu:/rpgme<" in sidebar of loop-player to -2
  770. set score "&bIP:StoryRPG.pl<" in sidebar of loop-player to -5
  771. wait 3 ticks
  772. wipe loop-player's sidebar
  773. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  774. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  775. set score "&bMenu:/rpgmen<" in sidebar of loop-player to -2
  776. set score "&bIP:StoryRPG.pla<" in sidebar of loop-player to -5
  777. wait 3 ticks
  778. wipe loop-player's sidebar
  779. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  780. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  781. set score "&bMenu:/rpgmenu<" in sidebar of loop-player to -2
  782. set score "&bIP:StoryRPG.play<" in sidebar of loop-player to -5
  783. wait 3 ticks
  784. wipe loop-player's sidebar
  785. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  786. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  787. set score "&bMenu:/rpgmenu" in sidebar of loop-player to -2
  788. set score "&bIP:StoryRPG.playe<" in sidebar of loop-player to -5
  789. wait 3 ticks
  790. wipe loop-player's sidebar
  791. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  792. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  793. set score "&b&lMenu:/rpgmenu" in sidebar of loop-player to -2
  794. set score "&bIP:StoryRPG.player<" in sidebar of loop-player to -5
  795. wait 3 ticks
  796. wipe loop-player's sidebar
  797. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  798. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  799. set score "&b&lMenu:/rpgmenu" in sidebar of loop-player to -2
  800. set score "&bIP:StoryRPG.playerr<" in sidebar of loop-player to -5
  801. wait 1 ticks
  802. wipe loop-player's sidebar
  803. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  804. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  805. set score "&b&lMenu:/rpgmenu" in sidebar of loop-player to -2
  806. set score "&bIP:StoryRPG.playerre<" in sidebar of loop-player to -5
  807. wait 3 ticks
  808. wipe loop-player's sidebar
  809. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  810. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  811. set score "&b&lMenu:/rpgmenu" in sidebar of loop-player to -2
  812. set score "&bIP:StoryRPG.playerrea<" in sidebar of loop-player to -5
  813. wait 3 ticks
  814. wipe loop-player's sidebar
  815. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  816. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  817. set score "&b&lMenu:/rpgmenu" in sidebar of loop-player to -2
  818. set score "&bIP:StoryRPG.playerreal<" in sidebar of loop-player to -5
  819. wait 3 ticks
  820. wipe loop-player's sidebar
  821. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  822. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  823. set score "&b&lMenu:/rpgmenu" in sidebar of loop-player to -2
  824. set score "&bIP:StoryRPG.playerrealm<" in sidebar of loop-player to -5
  825. wait 3 ticks
  826. wipe loop-player's sidebar
  827. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  828. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  829. set score "&b&lMenu:/rpgmenu" in sidebar of loop-player to -2
  830. set score "&bIP:StoryRPG.playerrealms.<" in sidebar of loop-player to -5
  831. wait 3 ticks
  832. wipe loop-player's sidebar
  833. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  834. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  835. set score "&b&lMenu:/rpgmenu" in sidebar of loop-player to -2
  836. set score "&bIP:StoryRPG.playerrealms.c<" in sidebar of loop-player to -5
  837. wait 3 ticks
  838. wipe loop-player's sidebar
  839. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  840. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  841. set score "&b&lMenu:/rpgmenu" in sidebar of loop-player to -2
  842. set score "&bIP:StoryRPG.playerrealms.co<" in sidebar of loop-player to -5
  843. wait 3 ticks
  844. wipe loop-player's sidebar
  845. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  846. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  847. set score "&b&lMenu:/rpgmenu" in sidebar of loop-player to -2
  848. set score "&bIP:StoryRPG.playerrealms.com<" in sidebar of loop-player to -5
  849. wait 3 ticks
  850. wipe loop-player's sidebar
  851. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  852. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  853. set score "&b&lMenu:/rpgmenu" in sidebar of loop-player to -2
  854. set score "&bIP:StoryRPG.playerrealms.com" in sidebar of loop-player to -5
  855. wait 3 ticks
  856. wipe loop-player's sidebar
  857. set name of sidebar of loop-player to "&b&lStats %loop-player%"
  858. set score "&b&lログイン人数:%{loginplayers}%" in sidebar of loop-player to 0
  859. set score "&b&lMenu:/rpgmenu" in sidebar of loop-player to -2
  860. set score "&b&lIP:StoryRPG.playerrealms.com" in sidebar of loop-player to -5
  861. command /maxhp <player> <number>:
  862. permission:rpg.maxhp
  863. aliases:/mhp
  864. trigger:
  865. set rf max hp of arg-1 to arg-2
  866. on right click with diamond:
  867. name of held item is "&aステータス":
  868. open chest with 1 rows named "&a%player%のステータス" to player
  869. wait a tick
  870. format slot 1 of player with gold nugget named "&b&l%player%のHP" with lore "%player's health%/%player's max health%" to run [execute console command "/test"]
  871. on sign change:
  872. line 1 is "RPGSign"
  873. line 2 is "Village1"
  874. set line 2 to "&b村{@V1name}へ戻る"
  875. set line 1 to ""
  876. set line 3 to ""
  877. set line 4 to ""
  878. stop
  879. on right click with sign:
  880. if line 1 is "&b村{@V1name}へ戻る":
  881. teleport the player to {@V1}
  882. message "&bテレポートしました"
  883. stop
Advertisement
Add Comment
Please, Sign In to add comment