Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. on sign change:
  2. replace "&" with "§" in line 1
  3. replace "&" with "§" in line 2
  4. replace "&" with "§" in line 3
  5. replace "&" with "§" in line 4
  6.  
  7. on rightclick on a sign:
  8. line 1 of clicked block is ""
  9. line 2 of clicked block is "§6§lチェックポイント"
  10. line 3 of clicked block is "§7§l【右クリック】"
  11. line 4 of clicked block is ""
  12. set {checkpoint.%player%} to location of player
  13. message "&6&lチェックポイントを設定しました!"
  14. execute console command "/playsound block.wood.break master %player% ~ ~ ~ 1 2 1 10"
  15.  
  16. command /Athletic [<text>] [<text>] [<player>] [<text>]:
  17. permission: athletic.*
  18. Usage: &7そのコマンドは正しくありません、/Athletic help でヘルプを参照してください。
  19. trigger:
  20. if arg-1 is not set:
  21. send "&7そのコマンドは正しくありません、/Athletic help でヘルプを参照してください。"
  22.  
  23. else if player has permission "athletic.command.set" or "athletic.*" and "athletic.command.*":
  24. if arg-1 is "set":
  25. set {checkpoint.%player%} to location of player
  26. message "&6&lチェックポイントを設定しました!"
  27. execute console command "/playsound block.wood.break master %player% ~ ~ ~ 1 2 1 10"
  28.  
  29. else if player has permission "athletic.checkpoint.teleport" or "athletic.*" and "athletic.checkpoint.*":
  30. if arg-1 is "teleport" or "tp":
  31. if arg-2 is not set:
  32. teleport player to {checkpoint.%player%}
  33. message "&6&lチェックポイントに戻りました!"
  34. else if arg-2 is "player":
  35. teleport arg-3 to {checkpoint.%player%}
  36. message "&6&lチェックポイントに戻りました!" to player
  37. else if arg-3 is not set:
  38. message "&cError:&7 PlayerNameを指定してください (/athletic teleport player <PlayerName>"
  39.  
  40. else if player has permission "athletic.command.help" or "athletic.*" and "athletic.command.*":
  41. if arg-1 is "help":
  42. message " "
  43. message "&7/Athletic help --- Athletic コマンドの一覧を表示します"
  44. message "&7/Athletic set --- チェックポイントを設定します"
  45. message "&7/Athletic teleport --- 設定したチェックポイントにテレポートします"
  46. message "&7/Athletic give --- 設定したアイテムを配布します(作成中)"
  47. message " "
  48.  
  49. else if player has permission "athletic.command.give" or "athletic.*" and "athletic.command.*":
  50. if arg-1 is "give":
  51. if arg-2 is not set:
  52. message " "
  53. message "&3 Coming Soon"
  54. message " "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement