JustLastMan

Config for 1.3 and 1.4

Nov 14th, 2021
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 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: "§7The block at the given coordinates is not a chest. (Block: §c{WRONG_BLOCK}§7, X:{BLOCK_X}, Y:{BLOCK_Y}, Z:{BLOCK_Z})"
  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. #Action Messages
  45. act-not-found: "Action «{YOUR_ACTION}» not found"
  46. act-set-health: "{ACT_PARAM} health points assigned to player {TARGET_PLAYER}"
  47. act-add-health: "{ACT_PARAM} health points added to player {TARGET_PLAYER}"
  48. act-glow: "Glow switched for player {TARGET_PLAYER}"
  49.  
  50. #Message when reloading plugin configuration
  51. plugin-reload: "Plugin configuration has been reloaded."
  52. #Message when a player tries to launch a command to which he does not have permission
  53. permission-required: "§cInsufficient rights."
  54. #The default message sent when the player does not enter the required arguments in the command
  55. default-not-enoug-args: "§cNot enough arguments"
  56.  
  57.  
  58. #allow chest
  59. allow-chest: true
  60. #allow ender-chest
  61. allow-ender-chest: true
  62. #allow workbench
  63. allow-workbench: true
  64.  
  65.  
  66. #Saved coordinates of chests
  67. saved-chests:
  68. example:
  69. x: -364
  70. y: 64
  71. z: -64
  72. second-example:
  73. x: 1289
  74. y: 80
  75. z: 10
  76.  
  77.  
  78. #Here you can configure what will happen when you click on a certain block in certain coordinates.
  79. chest-actions-settings:
  80. -359/64/-65:
  81. block: chest
  82. click: right
  83. shift: true
  84. undo-click: true
  85. cmd-by-player: "me I open the chest..."
  86. cmd-by-console: "say player {PLAYER} tried to open the chest at coordinates {BLOCK_X} {BLOCK_Y} {BLOCK_Z}"
  87. -360/65/-65:
  88. block: workbench
  89. click: left
  90. cmd-by-player: "me I hit the workbench."
  91.  
Advertisement
Add Comment
Please, Sign In to add comment