JustLastMan

Config for v1.5

Nov 18th, 2021
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1. # Config of plugin ChestActions
  2. # To use colors write §
  3.  
  4. #Prefix for all messages of the ChestActions plugin
  5. msgprefix: "§6[ChestAct] §7"
  6.  
  7. #Notify operators on login if the plugin version you are using is out of date
  8. notify-update-for-ops: true
  9.  
  10. #Do I need to send a message if the version of the plugin used is out of date
  11. update-message-on-start: true
  12.  
  13. #Error message when a non-numeric coordinate value is entered in command /chest
  14. open-crds-error: "The coordinates entered are not valid. Usage: /chest <x> <y> <z> [no messages: true]"
  15.  
  16. #Message when the chest is opened using the command with coordinates
  17. open-with-crds: "The chest is open."
  18.  
  19. #Message when a chest is opened with a command, when the player was looking at it
  20. open-with-target: "The chest is open."
  21.  
  22. #Message when a chest with saved coordinates is opened using the command (/chest-open)
  23. open-saved-chest: "The chest is open."
  24.  
  25. #Error message when the block at the entered coordinates is not a chest
  26. block-not-chest-in-crds: "§7The block at the given coordinates is not a chest. (Block: §c{WRONG_BLOCK}§7, X:{BLOCK_X}, Y:{BLOCK_Y}, Z:{BLOCK_Z})"
  27.  
  28. #Error message when the block the player is looking at is not a chest or is too far away
  29. block-not-chest-in-target: "The block you are looking at is not a chest or is too far away."
  30.  
  31. #Insufficient or excessive number of arguments in a command
  32. required-all-args: "Requires 3 coordinate values (x, y, z). You specified {ARGS_COUNT}. Usage: /chest <x> <y> <z> [no messages: true]"
  33.  
  34. #Not enough arguments in command (/chest-open)
  35. absent-arguments-in-saved-chest-opening: "Not enough arguments. Use /chest-open <name of saved chest> [no messages: true]"
  36.  
  37. #Message when a command is executed on behalf of another player
  38. cmd-launched-by-player: "The command was successfully executed on behalf of the player {TARGET_PLAYER}."
  39.  
  40. #Error message when the entered player's nickname is not found
  41. player-not-found: "Player {TARGET_PLAYER} was not found."
  42.  
  43. #Error message when there are not enough arguments in the command
  44. cmd-required-all-args: "Requires player nickname and command (without «/»). Usage: /chest-execute <player> <command>"
  45.  
  46. #The maximum allowable distance at which the player can open the chest using aiming (/chest-target)
  47. target-distance: 6
  48.  
  49. #Message when the player runs the command to open a chest with saved coordinates, but the name entered does not exist or the block in the saved coordinates is not a chest
  50. no-chest: "The chest you are trying to open is missing"
  51.  
  52. #Message sent when another player's inventory is successfully closed
  53. player-inv-closed: "Player's inventory {TARGET_PLAYER} is closed"
  54.  
  55. #Action Messages
  56. act-not-found: "Action «{YOUR_ACTION}» not found"
  57. act-set-health: "{ACT_PARAM} health points assigned to player {TARGET_PLAYER}"
  58. act-add-health: "{ACT_PARAM} health points added to player {TARGET_PLAYER}"
  59. act-glow: "Glow switched for player {TARGET_PLAYER}"
  60.  
  61. #Message when reloading plugin configuration
  62. plugin-reload: "Plugin configuration has been reloaded."
  63. #Message when a player tries to launch a command to which he does not have permission
  64. permission-required: "§cInsufficient rights."
  65. #The default message sent when the player does not enter the required arguments in the command
  66. default-not-enoug-args: "§cNot enough arguments"
  67.  
  68.  
  69. #allow chest
  70. allow-chest: true
  71. #allow ender-chest
  72. allow-ender-chest: true
  73. #allow workbench
  74. allow-workbench: true
  75.  
  76.  
  77. #Saved coordinates of chests
  78. saved-chests:
  79. example:
  80. x: -364
  81. y: 64
  82. z: -64
  83. second-example:
  84. x: 1289
  85. y: 80
  86. z: 10
  87.  
  88.  
  89. #Here you can configure what will happen when you click on a certain block in certain coordinates.
  90. chest-actions-settings:
  91. -359/64/-65:
  92. block: chest
  93. click: right
  94. shift: true
  95. undo-click: true
  96. cmd-by-player: "me I open the chest..."
  97. cmd-by-console: "say player {PLAYER} tried to open the chest at coordinates {BLOCK_X} {BLOCK_Y} {BLOCK_Z}"
  98. -360/65/-65:
  99. block: workbench
  100. click: left
  101. cmd-by-player: "me I hit the workbench."
  102.  
  103.  
  104.  
Advertisement
Add Comment
Please, Sign In to add comment