7mm

Skript: Fever Project

7mm
Jul 29th, 2018
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.66 KB | None | 0 0
  1. command /newarea <text> <integer> <integer> <integer> <integer> <integer> <integer> <text>:
  2. permission: skript.admin
  3. trigger:
  4. set {prison.area.%arg 1%::pos1x} to arg 2
  5. set {prison.area.%arg 1%::pos1y} to arg 3
  6. set {prison.area.%arg 1%::pos1z} to arg 4
  7. set {prison.area.%arg 1%::pos2x} to arg 5
  8. set {prison.area.%arg 1%::pos2y} to arg 6
  9. set {prison.area.%arg 1%::pos2z} to arg 7
  10. set {prison.area.%arg 1%::setopt} to arg 8
  11. message "エリア【%arg 1%】に設定しました"
  12.  
  13. command /cleararea <text>:
  14. trigger:
  15. clear {prison.area.%arg 1%::*}
  16. message "エリア【%arg 1%】の設定を初期化しました"
  17.  
  18. command /mine [<player>]:
  19. trigger:
  20. if arg 1 is not set:
  21. set {_player} to player
  22. set {_player} to arg 1
  23. wait a tick
  24. open chest with 2 rows named "&b&lF&3&lever&b&lP&3&lrison&7&l: &a&lM&2&lenu" to {_player}
  25. wait a tick
  26. format slot 10 of {_player} with totem of undying named "&a&lQuick &d&lMenu" with lore "&eクイックメニュー&bへと移動します||&b色々な所へ楽にアクセスできます" to run "mine.quick %{_player}%"
  27. format slot 2 of {_player} with diamond ore named "&6&lArea &e&lList" with lore "&e採掘場リスト&bへ移動します||&d採掘場のリセット&bもここで行います" to run "mine.area %{_player}%"
  28. format slot 12 of {_player} with feather named "&d&lPlayer &c&lSetting" with lore "&e設定画面&bへ移動します" to run "mine.opt %{_player}%"
  29. format slot 4 of {_player} with item_frame named "&7&lInformation" with lore "&b運営からの&eお知らせ&bです" to run "mine.info %{_player}%"
  30. format slot 8 of {_player} with gold_nugget named "&4&lY&c&lour &4&lS&c&ltatus" with lore "" to be unstealable
  31.  
  32. command /mine.area [<player>]:
  33. trigger:
  34. if arg 1 is not set:
  35. set {_player} to player
  36. set {_player} to arg 1
  37. wait a tick
  38. open chest with 6 rows named "&6&lArea &e&lList" to {_player}
  39. wait a tick
  40. format slot 45 of {_player} with arrow named "&7&lBack" with lore "&bメインメニューへ戻ります" to run "mine %{_player}%"
  41. format slot 1 of {_player} with nether star named "&6&lオルセラ区ラクレット村 旧採掘所" with lore "&9ID: Orrcela &7/ &cUnlock Rank: 0||&bラクレット周辺の住民の減少により廃れた採掘所。||&b稀にエメラルドが採れるが、基本的に石や石炭等しか出てこない。" to be unstealable
  42. format slot 10 of {_player} with iron ore named "&a&l鉱&b&l石&a&l出&b&l現&a&lテ&b&lー&a&lブ&b&lル" with lore "&d70%% &b石ブロック||&d15%% &b安山岩||&d10%% &b苔丸石||&d4.9%% &b石炭||&6&l0.1%% &cエメラルド" to be unstealable
  43. format slot 19 of {_player} with ender pearl named "&d&lこの採掘場へ行く" to run "jumparea %{_player}% orrcela"
  44. format slot 28 of {_player} with flint named "&b&lこの採掘場をホームに設定する" with lore "&bホームに設定すると||&eクイックメニュー&bから素早く移動することができます" to run "sethomearea %{_player}% orrcela"
  45. format slot 37 of {_player} with gold ingot named "&6&lオルセラの売却所へ" to run "sale %{_player}% orrcela"
  46.  
  47. command /sethomearea <player> <text>:
  48. permission: skript.admin
  49. trigger:
  50. set {prison.player.%arg 1%::home} to arg 2
  51. message "&aホームの採掘所に設定しました!" to arg 1
  52.  
  53. command /clearhomearea <player>:
  54. permission: skript.admin
  55. trigger:
  56. clear {prison.player.%arg 1%::home}
  57. message "&aホームの採掘所をリセットしました!" to arg 1
  58. wait a tick
  59. command "mine.quick %arg 1%"
  60.  
  61. command /mine.quick [<player>]:
  62. trigger:
  63. if arg 1 is not set:
  64. set {_player} to player
  65. set {_player} to arg 1
  66. wait a tick
  67. open chest with 4 rows named "&a&lQuick &d&lMenu" to {_player}
  68. wait a tick
  69. format slot 27 of {_player} with arrow named "&7&lBack" with lore "&bメインメニューへ戻ります" to run "mine %{_player}%"
  70. if {prison.player.%arg 1%::home} is not set:
  71. format slot 1 of {_player} with stained_glass_pane:14 named "&7&lホーム" with lore "&7未設定" to be unstealable
  72. format slot 10 of {_player} with stained_glass_pane:14 named "&7&lホームへ行く" to be unstealable
  73. format slot 19 of {_player} with stained_glass_pane:14 named "&7&l売却所へ" to be unstealable
  74. format slot 28 of {_player} with stained_glass_pane:14 named "&7&lホームをリセット" to be unstealable
  75. else:
  76. if {prison.player.%arg 1%::home} is "orrcela":
  77. format slot 1 of {_player} with nether star named "&e&lホーム" with lore "&6オルセラ区ラクレット村 旧採掘所||&9売却所: オルセラ" to be unstealable
  78. format slot 10 of {_player} with ender pearl named "&d&lホームへ行く" to run "jumparea %{_player}% %{prison.player.%player%::home}%"
  79. format slot 19 of {_player} with gold ingot named "&6&l売却所へ" to run "jumparea %{_player}% %{prison.player.%player%::home}%"
  80. format slot 28 of {_player} with tnt named "&7&lホームをリセット" to close then run "clearhomearea %{_player}%"
  81.  
  82. command /athle [<player>]:
  83. trigger:
  84. if arg 1 is not set:
  85. set {_player} to player
  86. set {_player} to arg 1
  87. wait a tick
  88. open chest with 2 rows named "&a&lF&2&lever&a&lP&2&larkour&7&l: &9&lM&1&lenu" to {_player}
  89. wait a tick
  90. format slot 4 of {_player} with barrier named "&7&l???" with lore "&b実装を待ってね" to close
  91.  
  92. command /pvp [<player>]:
  93. trigger:
  94. if arg 1 is not set:
  95. set {_player} to player
  96. set {_player} to arg 1
  97. wait a tick
  98. open chest with 2 rows named "&9&lF&1&lever&9&lP&1&lollute&7&l: &b&lM&3&lenu" to {_player}
  99. wait a tick
  100. format slot 4 of {_player} with barrier named "&7&l???" with lore "&b実装を待ってね" to close
Advertisement
Add Comment
Please, Sign In to add comment