JustLastMan

Config for v2.3

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