JustLastMan

Config for v2.1

Dec 17th, 2021
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.14 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. #The message that appears when sending an /chestactions-list command
  27. act_list: "List of available actions"
  28. act_0: " - Make the player's health equal to the parameter"
  29. act_1: " - Add as much health to the player as specified in the parameter"
  30. act_2: " - Toggle player glow. In the parameter, specify 1 OR 0. (Enable/disable)"
  31. act_3: " - Close inventory (any interface) to the player"
  32. act_4: " - Open inventory of the player"
  33.  
  34. #Message when a command is executed on behalf of another player
  35. cmd-launched-by-player: "The command was successfully executed on behalf of the player {TARGET_PLAYER}."
  36.  
  37. #Error message when the entered player's nickname is not found
  38. player-not-found: "Player {TARGET_PLAYER} was not found."
  39.  
  40. #Error message when there are not enough arguments in the command
  41. cmd-required-all-args: "Requires player nickname and command (without «/»). Usage: /chest-execute <player> <command>"
  42.  
  43. #The maximum allowable distance at which the player can open the chest using aiming (/chest-target)
  44. target-distance: 6
  45.  
  46. #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
  47. no-chest: "The chest you are trying to open is missing"
  48.  
  49. #Message sent when another player's inventory is successfully closed
  50. player-inv-closed: "Player's inventory {TARGET_PLAYER} is closed"
  51.  
  52. #Action Messages
  53. act-not-found: "Action «{YOUR_ACTION}» not found"
  54. act-set-health: "{ACT_PARAM} health points assigned to player {TARGET_PLAYER}"
  55. act-add-health: "{ACT_PARAM} health points added to player {TARGET_PLAYER}"
  56. act-glow: "Glow switched for player {TARGET_PLAYER}"
  57. act_closeinv: "Inventory (Any interface) of the player {TARGET_PLAYER} is closed"
  58.  
  59. #Chest-content messages (Changing the contents of chests, saving contents, etc.)
  60. saved-chests-format: ".txt"
  61. non-numeric-coords: "Coordinates entered are not numbers"
  62. non-numeric-slot: "Slot entered are not number"
  63. non-numeric-id: "ID entered are not number"
  64. non-numeric-count: "Count entered are not number"
  65. non-numeric-data: "Data entered are not number"
  66. show-content-title: "Chest contents:"
  67. show-content-empty: "The chest is empty"
  68. cmd-usage: "Usage {COMMAND_USAGE}"
  69. save-process: "Saving the contents of the chest ({CHEST_X}, {CHEST_Y}, {CHEST_Z}) to a file..."
  70. save-process-success: "The file with the contents of the chest has been saved: {PATH}"
  71. load-process: "Loading content into the chest"
  72. load-exist-error: "§7File named §c{NAME}§7 not found. Use §f/chest-content files §7to view the available chest content files"
  73. item-replaced: "Replaced the item in slot {SLOT} with an {NEW_ITEM} (id:{NEW_ITEM_ID}, count:{COUNT}, data:{DATA})"
  74. not-block: "The block at coordinates {BLOCK_X} {BLOCK_Y} {BLOCK_Z} is not a chest. This is a §c{WRONG_BLOCK}"
  75. not-block-propmt: "§7Did you mean the chest at coordinates §a{BLOCK_X_PROPMT} {BLOCK_Y} {BLOCK_Z}§7?"
  76. console-use-hand-error: "The CONSOLE cannot use an item in its hand as an object, because the console has no hands"
  77. wrong-slot: "The slot number in the chest can take values from 0 to 26 inclusive. You entered {SLOT}"
  78. list-of-files: "List of available contents of chests (files)"
  79.  
  80. #Message when reloading plugin configuration
  81. plugin-reload: "Plugin configuration has been reloaded."
  82. #Message when a player tries to launch a command to which he does not have permission
  83. permission-required: "§cInsufficient rights."
  84. #The default message sent when the player does not enter the required arguments in the command
  85. default-not-enoug-args: "§cNot enough arguments"
  86.  
  87. #allow chest
  88. allow-chest: true
  89. #allow ender-chest
  90. allow-ender-chest: true
  91. #allow workbench
  92. allow-workbench: true
  93.  
  94. #two options for the chest cleaner (command /chest-remover). Closing this chest will clear all items that are in it.
  95. remover-name: "Move trash here to get rid of it"
  96. slots-count: 9
  97.  
  98.  
  99.  
  100.  
  101. #Saved coordinates of chests
  102. saved-chests:
  103. example:
  104. x: -364
  105. y: 64
  106. z: -64
  107. second-example:
  108. x: 1289
  109. y: 80
  110. z: 10
  111.  
  112. #Here you can configure what will happen when you click on a certain block in certain coordinates.
  113. chest-actions-settings:
  114. -359/64/-65:
  115. block: chest
  116. click: right
  117. shift: true
  118. undo-click: true
  119. cmd-by-player: "me I open the chest..."
  120. cmd-by-console: "say player {PLAYER} tried to open the chest at coordinates {BLOCK_X} {BLOCK_Y} {BLOCK_Z}"
  121. -360/65/-65:
  122. block: workbench
  123. click: left
  124. cmd-by-player: "me I hit the workbench."
Add Comment
Please, Sign In to add comment