JustLastMan

Config for v1.2

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