Advertisement
sniperwolf1130

mineOS

Jul 30th, 2019
677
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.35 KB | None | 0 0
  1. command /votemessage <player>:
  2. permission: skript.admin
  3. trigger:
  4. broadcast "<aqua><bold>[mineOS]%arg%さんが投票しました。ありがとうございます!"
  5.  
  6. on rightclick with potato:
  7. name of player's tool contains "<aqua><bold>mineOS":
  8. cancel event
  9. open chest with 1 row named "<aqua><bold>mineOS" to player
  10. wait 1 tick
  11. format slot 2 of player with nether star named "&aロビーに行く" with lore "&bロビーにテレポートします" to close then run [execute player command "spawn"]
  12. format slot 4 of player with {head.kemurikusa_riku} named "&e運営一覧" with lore "&b運営一覧を開きます。" to close then run [execute player command "/adminlist"]
  13. format slot 6 of player with paper named "&9ニュース" with lore "&b最新のニュースを表示します。" to close then run [execute player command "/news"]
  14.  
  15. command /setnews <text>:
  16. permission: op
  17. trigger:
  18. # set {news.%arg 1%} to %arg 2%
  19. add "%arg%" to {news::*}
  20.  
  21. command /deletenews <text>:
  22. permission: op
  23. trigger:
  24. # remove "%arg%" from {news::*}
  25. delete {news::%arg%}
  26.  
  27. command /newslist:
  28. permission: op
  29. trigger:
  30. send "%{news::*}%" to player
  31.  
  32. command /news:
  33. trigger:
  34. if {news::*} is not set:
  35. send "<aqua><bold>[mineOS]現在ニュースはないようです..." to player
  36. stop
  37. if {news::*} is set:
  38. send "<aqua><bold>[mineOS]最新のニュースを表示します。" to player
  39. loop {news::*}:
  40. send "%loop-value%"
  41.  
  42. command /spawn:
  43. trigger:
  44. send "<aqua><bold>[mineOS]10秒後にロビーにテレポートします。" to player
  45. wait 10 seconds
  46. send "<aqua><bold>[mineOS]ロビーにテレポートしました。" to player
  47. teleport player to {tp.lobby}
  48.  
  49. command /setlob:
  50. permission: op
  51. trigger:
  52. set {tp.lobby} to location of player
  53. message "Lobby : %{tp.lobby}%"
  54.  
  55. command /adminlist :
  56. trigger:
  57. wait 3 tick
  58. open chest with 3 row named "<yellow><bold>運営一覧" to player
  59. wait 1 tick
  60. format slot 0 of player with yellow wool named "&e鯖主" to be unstealable
  61. format slot 2 of player with {head.kemurikusa_riku} named "&ekemurikusa_riku" to be unstealable
  62.  
  63. format slot 9 of player with red wool named "&4銃作製士" to be unstealable
  64. format slot 11 of player with {head.dynn7} named "&4dynn7" to be unstealable
  65.  
  66. format slot 18 of player with orange wool named "&6マッパー" to be unstealable
  67. format slot 20 of player with {head.soutaYT} named "&6soutaYT" to be unstealable
  68. format slot 21 of player with {head.miyasoku} named "&6miyasoku" to be unstealable
  69.  
  70.  
  71. command /sethead:
  72. trigger:
  73. set {head.%player%} to skull from skin of player
  74. send "%player%の値は%{head.%player%}%です。" to player
  75.  
  76. command /deletehead <text>:
  77. permission: head.op
  78. trigger:
  79. delete {head.%arg%}
  80. send "%arg%の値は%{head.%arg%}%です。" to player
  81.  
  82. on chat:
  83. set {_str} to message
  84. if message contains "mine":
  85. if {fj.%player%} is not set:
  86. set {fj.%player%} to 1
  87. send "<aqua><bold>[???]よくできました。前方に進んでください。" to player
  88. wait 1 seconds
  89. send "<aqua><bold>[mineOS]申し遅れました。私はあなたのアシスタント、mineOSです。" to player
  90. send "<aqua><bold>[mineOS]よろしくお願いいたします。" to player
  91. execute command "/setblock 8 60 11 minecraft:redstone_block"
  92.  
  93. if message contains "sa-ba-tanosii" or "サーバー楽しい":
  94. wait 1 seconds
  95. broadcast "<aqua><bold>[mineOS]ありがとうございます!これからも楽しいサーバーを作っていきます!"
  96.  
  97. if message contains "mineOS" or "ミネオス" or "mineosu" or "マインオーエス" or "mainno-esu" or "みねおす":
  98. wait 1 second
  99. broadcast "<aqua><bold>[mineOS]呼びましたか?"
  100.  
  101. if check [check [{_str} contains "o-esu" and "無能"] or check [{_str} contains "o-esu" and "munou"] or check [{_str} contains "OS" and "munou"] or check [{_str} contains "OS" and "無能"] or check [{_str} contains "jinnkoumunou" or "人工無能"]]:
  102. if {AN.%player%} is not set:
  103. wait 1 second
  104. broadcast "<aqua><bold>>>%player% 次に同じようなことを言った場合、あなたを排除します。"
  105. set {AN.%player%} to 1
  106. else if {AN.%player%} is set:
  107. wait 1 second
  108. broadcast "<aqua><bold>>>%player% あなたを排除します。"
  109. kick player
  110. delete {AN.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement