Advertisement
namekuzi

Untitled

Dec 22nd, 2018
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.98 KB | None | 0 0
  1. on command "/pl":
  2. if player doesn't have permission "yhp.plugin":
  3. cancel event
  4. wait 1 tick
  5. send "&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
  6.  
  7. on command "/plugins":
  8. if player doesn't have permission "yhp.plugin":
  9. cancel event
  10. wait 1 tick
  11. send "&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
  12.  
  13. on command "/?":
  14. if player doesn't have permission "yhp.plugin":
  15. cancel event
  16. wait 1 tick
  17. send "&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
  18.  
  19. on command "/help":
  20. if player doesn't have permission "yhp.plugin":
  21. cancel event
  22. wait 1 tick
  23. send "&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
  24.  
  25. on command "/bukkit:?":
  26. if player doesn't have permission "yhp.plugin":
  27. cancel event
  28. wait 1 tick
  29. send "&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
  30.  
  31. on command "/bukkit:pl":
  32. if player doesn't have permission "yhp.plugin":
  33. cancel event
  34. wait 1 tick
  35. send "&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
  36.  
  37. on command "/about":
  38. if player doesn't have permission "yhp.plugin":
  39. cancel event
  40. wait 1 tick
  41. send "&6[&dYHP&6]&c あなたの実行したコマンドはこのサーバーにて制限されております。"
  42.  
  43. on command "/ver":
  44. if player doesn't have permission "yhp.plugin":
  45. cancel event
  46. wait 1 tick
  47. send "&6[&dYHP&6]&c あなたの実行したコマンドはこのサーバーにて制限されております。"
  48.  
  49. on command "/version":
  50. if player doesn't have permission "yhp.plugin":
  51. cancel event
  52. wait 1 tick
  53. send "&6&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
  54.  
  55. command /ip [<offline player>]:
  56. permission: yhp.ip
  57. trigger:
  58. if arg-1 is not set:
  59. send "&bSystem&d>>> &bあなたの &aIP: %IP of player%"
  60. if arg-1 is set:
  61. send "&bSystem&d>>>&c &b%arg player%' &さんのIP: %IP of arg%"
  62.  
  63. command /ping [<Player>]:
  64. trigger:
  65. If arg 1 is set:
  66. send "&bSystem&d>>>&c &b%arg player%' &さんのPing: %arg's ping%"
  67. Else:
  68. send "&bSystem&d>>>&c &bあなたのPing: %player's ping%"
  69.  
  70. command /check <text>:
  71. permission: yhp.check
  72. trigger:
  73. send "&5===== REPORTS =====" to player
  74. send "&4%arg 1% &6have been reported &4%{report1.%arg 1%}% &6times"
  75. send "&4%arg 1% &6have reported other users &4%{report2.%arg 1%}% &6times"
  76. command /report <player> <text>:
  77. usage: /report <player> <reason>
  78. trigger:
  79. if {report.cooldown.%player%} is false:
  80. add 1 to {report1.%arg 1%}
  81. add 1 to {report2.%player%}
  82. send "&6[&dYHP&6]&c &6レポートありがとうございました!!すぐにオンラインの運営がチェックいたします。" to player
  83. loop all players:
  84. if loop-player have permission "pro.admin":
  85. send "&5===== &5REPORT =====" to loop-player
  86. send "&6レポートした人: %player%" to loop-player
  87. send "&6レポートされた人: %arg 1%" to loop-player
  88. send "&6理由: %arg 2%" to loop-player
  89. set {report.cooldown.%player%} to true
  90. wait 30 seconds
  91. set {report.cooldown.%player%} to false
  92. if {report.cooldown.%player%} is true:
  93. send "&6Please wait before reporting again"
  94. on join:
  95. set {report.cooldown.%player%} to false
  96.  
  97. variables:
  98. {god.%player%} = false
  99. on damage:
  100. victim is a player
  101. if {god.%victim%} is true:
  102. cancel event
  103.  
  104. command /gm [<text>] [<player>]:
  105. permission: yhp.gm
  106. trigger:
  107. if arg 1 is not set:
  108. send "{@Prefix} &7ゲームモードを指定してください。"
  109. if arg 1 is "s" or "survival" or "0":
  110. if arg 2 is not set:
  111. send "{@Prefix} &7あなたのゲームモードが &aサバイバルモード &7に変更されました。"
  112. set player's gamemode to survival
  113. if arg 2 is set:
  114. send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aサバイバルモード &7に変更されました。"
  115. execute command "minecraft:gamemode 0 %arg 2%"
  116. if arg 1 is "1" or "creative" or "c":
  117. if arg 2 is not set:
  118. send "{@Prefix} &7あなたのゲームモードが &aクリエイティブモード &7に変更されました。"
  119. set player's gamemode to creative
  120. if arg 2 is set:
  121. send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aクリエイティブモード &7に変更されました。"
  122. execute command "minecraft:gamemode 1 %arg 2%"
  123. if arg 1 is "2" or "adventure" or "a":
  124. if arg 2 is not set:
  125. send "{@Prefix} &7あなたのゲームモードが &aアドベンチャーモード &7に変更されました。"
  126. set player's gamemode to adventure
  127. if arg 2 is set:
  128. send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aアドベンチャーモード &7に変更されました。"
  129. execute command "minecraft:gamemode 2 %arg 2%"
  130. if arg 1 is "3" or "spectator" or "s":
  131. if arg 2 is not set:
  132. send "{@Prefix} &7あなたのゲームモードが &aスペクテイターモード &7に変更されました。"
  133. execute command "/minecraft:gamemode 3 %player%"
  134. if arg 2 is set:
  135. send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aスペクテイターモード &7に変更されました。"
  136. execute command "minecraft:gamemode 3 %arg 2%"
  137.  
  138. command /gamemode [<text>] [<player>]:
  139. permission: yhp.gm
  140. trigger:
  141. if arg 1 is not set:
  142. send "{@Prefix} &7ゲームモードを指定してください。"
  143. if arg 1 is "s" or "survival" or "0":
  144. if arg 2 is not set:
  145. send "{@Prefix} &7あなたのゲームモードが &aサバイバルモード &7に変更されました。"
  146. set player's gamemode to survival
  147. if arg 2 is set:
  148. send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aサバイバルモード &7に変更されました。"
  149. execute command "minecraft:gamemode 0 %arg 2%"
  150. if arg 1 is "1" or "creative" or "c":
  151. if arg 2 is not set:
  152. send "{@Prefix} &7あなたのゲームモードが &aクリエイティブモード &7に変更されました。"
  153. set player's gamemode to creative
  154. if arg 2 is set:
  155. send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aクリエイティブモード &7に変更されました。"
  156. execute command "minecraft:gamemode 1 %arg 2%"
  157. if arg 1 is "2" or "adventure" or "a":
  158. if arg 2 is not set:
  159. send "{@Prefix} &7あなたのゲームモードが &aアドベンチャーモード &7に変更されました。"
  160. set player's gamemode to adventure
  161. if arg 2 is set:
  162. send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aアドベンチャーモード &7に変更されました。"
  163. execute command "minecraft:gamemode 2 %arg 2%"
  164. if arg 1 is "3" or "spectator" or "s":
  165. if arg 2 is not set:
  166. send "{@Prefix} &7あなたのゲームモードが &aスペクテイターモード &7に変更されました。"
  167. execute command "/minecraft:gamemode 3 %player%"
  168. if arg 2 is set:
  169. send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aスペクテイターモード &7に変更されました。"
  170. execute command "minecraft:gamemode 3 %arg 2%"
  171.  
  172. command /gomi:
  173. trigger:
  174. open chest with 6 rows named "&eゴミ箱" to player
  175. stop
  176.  
  177. command /motd [<text>] [<text>]:
  178. permission: あなたには権限がありません。
  179. permission message: {@prefix} あなたには権限がありません。
  180. trigger:
  181. if arg 1 is not set:
  182. send "&lMOTD のヘルプ"
  183. send ""
  184. send " /Motd show &c-&7 現在のMOTDを表示します。"
  185. send " /Motd clear (1>5) &c-&7 いずれかの行をクリアします。"
  186. send " /Motd (1>5) (Message) &c-&7 アナウンスを設定します。"
  187. stop
  188. if arg 1 is "show":
  189. if arg 2 is not set:
  190. if {linecheck.1} is true:
  191. send "&7&m-------------------------------------------"
  192. send ""
  193. if {linecheck.1} is true:
  194. send "&71 &8- &r%{line1::*}%"
  195. if {linecheck.2} is true:
  196. send "&72 &8- &r%{line2::*}%"
  197. if {linecheck.3} is true:
  198. send "&73 &8- &r%{line3::*}%"
  199. if {linecheck.4} is true:
  200. send "&74 &8- &r%{line4::*}%"
  201. if {linecheck.5} is true:
  202. send "&75 &8- &r%{line5::*}%"
  203. send ""
  204. send "&7&m-------------------------------------------"
  205. stop
  206. else:
  207. send "&7&m-------------------------------------------"
  208. send ""
  209. send " &8-&r 現在のお知らせはございません。"
  210. send ""
  211. send "&7&m-------------------------------------------"
  212. stop
  213. if arg 1 is set:
  214. if arg 1 is "1" or "2" or "3" or "4" or "5":
  215. if arg 2 is set:
  216. wait 1 ticks
  217. set {line%arg-1%::*} to "%colored arg-2%"
  218. set {linecheck.%arg-1%} to true
  219. send "{@prefix} line %arg-1% set to:"
  220. send "%colored arg-2%"
  221. send "&7&m-------------------------------------------"
  222. send ""
  223. if {linecheck.1} is true:
  224. send " &8- &r%{line1::*}%"
  225. if {linecheck.2} is true:
  226. send " &8- &r%{line2::*}%"
  227. if {linecheck.3} is true:
  228. send " &8- &r%{line3::*}%"
  229. if {linecheck.4} is true:
  230. send " &8- &r%{line4::*}%"
  231. if {linecheck.5} is true:
  232. send " &8- &r%{line5::*}%"
  233. send ""
  234. send "&7&m-------------------------------------------"
  235. if arg 1 is "clear":
  236. if arg 2 is "1" or "2" or "3" or "4" or "5":
  237. send "{@prefix} Line %arg-2% is now removed."
  238. if {linecheck.%arg-2%} is true:
  239. set {linecheck.%arg-2%} to false
  240. clear {line%arg-2%::*}
  241. stop
  242.  
  243. on connect:
  244. if {server.wl} is true:
  245. if "%{wl.players::*}%" contains "%player%":
  246. exit
  247. kick the player due to "{@prefix}&7&a現在スタッフのみのログインになっております。"
  248.  
  249. on join:
  250. player is online
  251. loop all players:
  252. {loginip::%loop-player%} is true
  253. if player is op:
  254. message "&b========= YHP Whois Info ========="
  255. message "&6名前: &f%player%"
  256. message "&6UUID: &f%UUID of player%"
  257. message "&6IP: &f%ip of player%"
  258. message "&b=================================="
  259. else:
  260. message "&bSystem&d>>>&c Error.権限がありません。"
  261.  
  262. command /nick [<text>]:
  263. permission: yhp.nick
  264. aliases: /name
  265. trigger:
  266. set player's tag to "%arg 1%"
  267. set player's name to "%arg 1%"
  268. set player's tablist name to "%arg 1%"
  269. send "&bSystem&d>>>&c Nickネームを適用しました!" to player
  270.  
  271. Command /fly:
  272. Executable by: players
  273. Permission: yhp.fly
  274. Trigger:
  275. If {fly.%player%} is not set:
  276. Send "&bSystem&d>>>&c &fあなたのFlyモードが &a&l有効 &fになりました。" to player
  277. set player's flight mode to true
  278. Set {fly.%player%} to true
  279. Stop
  280. Send "&bSystem&d>>> &fあなたのFlyモードが &c&l無効 &fになりました。" to player
  281. set player's flight mode to false
  282. Delete {fly.%player%}
  283. Stop
  284.  
  285. command /skull <text>:
  286. permission: yhp.skull
  287. trigger:
  288. execute console command "give %player% skull 1 3 {SkullOwner:%arg 1%}"
  289. Send "&bSystem&d>>>&a頭をゲットしました"
  290.  
  291. command /prefix [<text="default">] [<text="%player%">]:
  292. permission: "yhp.prefix
  293. permission: 権限が無いよぉ
  294. trigger:
  295. if "%arg-1%" is "default":
  296. if {default::%arg 2%} is not set:
  297. set {default::%arg 2%} to true
  298. send "{@prefix} &f%arg 2%さんのDefaultモードが &a&l有効 &fになりました。"
  299. execute console command "pex group default user add %arg 2% "
  300. else:
  301. delete {default::%arg 2%}
  302. execute console command "pex group default user remove %arg 2% "
  303. send "{@prefix} &f%arg 2%さんのDefaultモードが &c&l無効 &fになりました。"
  304.  
  305. if "%arg-1%" is "staff":
  306. if {staff::%arg 2%} is not set:
  307. set {staff::%arg 2%} to true
  308. send "{@prefix} &f%arg 2%さんのSTaffモードが &a&l有効 &fになりました。"
  309. execute console command "pex group staff user add %arg 2% "
  310. else:
  311. delete {staff::%arg 2%}
  312. execute console command "pex group staff user remove %arg 2% "
  313. send "{@prefix} &f%arg 2%さんのStaffモードが &c&l無効 &fになりました。"
  314.  
  315. if "%arg-1%" is "admin":
  316. if {admin::%arg 2%} is not set:
  317. set {admin::%arg 2%} to true
  318. send "{@prefix} &f%arg 2%さんのADMINモードが &a&l有効 &fになりました。"
  319. execute console command "pex group admin user add %arg 2% "
  320. else:
  321. delete {admin::%arg 2%}
  322. execute console command "pex group admin user remove %arg 2% "
  323. send "{@prefix} &f%arg 2%さんのADMINモードが &c&l無効 &fになりました。"
  324.  
  325. if "%arg-1%" is "owner":
  326. if {owner::%arg 2%} is not set:
  327. set {owner::%arg 2%} to true
  328. send "{@prefix} &f%arg 2%さんのOWNERモードが &a&l有効 &fになりました。"
  329. execute console command "pex group owner user add %arg 2% "
  330. else:
  331. delete {owner::%arg 2%}
  332. execute console command "pex group owner user remove %arg 2% "
  333. send "{@prefix} &f%arg 2%さんのOWNERモードが &c&l無効 &fになりました。"
  334.  
  335. on death of player:
  336. if attacker is a player:
  337. if projectile is set:
  338. set the death message to "&c%attacker% &7さんが、 &c%victim%さんを殺しました。"
  339.  
  340. #Mob
  341. if attacker is not a player:
  342. if attacker is set:
  343. set the death message to "&c%attacker% &eさんが、 &c%victim%を殺しました。"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement