Open chests located in the world using commands, coordinates and aiming. Save the contents of a chest to a file, and then instantly place items from the file into other chests.
!English is not my native language. This page may contain translation errors.
The plugin Chest actions will allow you to open the chest using the command (open chest on command). You can also close a player's inventory using a command. You can configure what happens when you click on a block: the event will be canceled (for example, the chest will not open), the command will be executed on behalf of the player, the command will be executed on behalf of the console. You can even make it so that when you click on a block, the chest that is behind the block opens. Experiment with this, it's interesting. Also, in the new version of the plugin, you can save the contents of the chest to a file, and then instantly fill the chests with things that are written in the file.
DETAILED description of all commands. A brief description of all commands can be found in the
/chestactions ( OR
/chacts ) command.
__________________________________________________
/chestactions - Short info about plugin and list of commands
/chest-news [Page number] - Will show you information about what is being added in each new update. This will let you know what is added in the new update if you are using an older version. (Uses default minecraft command tellraw to send the player to chat with clickable buttons for easy page navigation)
/chestactions-execute <player> <command> - This command is similar to the usual minecraft command (/execute). Used to execute a command on behalf of another player. The command executed by an external player must be specified without the "/" symbol. For example /chestactions-execute Notch help
/chestactions-do <player> <action> <param> - Allows you to perform various actions in relation to a specific player. This command was added in version 1.2, so the available actions will be added. Allowed actions:
SetHealth - Make the player's health equal to the parameter
AddHealth - Add as much health to the player as specified in the parameter
Glowing - Toggle player glow. In the parameter, specify 1 OR 0. (Enable or disable)
CloseInv - closes the player's interface of any type (for example, a chest, chat or menu), similar to the command /chest-close <player>.
OpenInv - Opens (shows) you the inventory of the player you specified in the command. You can edit inventory.
/chest <x> <y> <z> [true] - Open the chest at coordinates <x> <y> <z>. Also, if you do not want to see the message after executing the command, add "true" after the coordinates. So, even if you enter the wrong coordinates, the message will not be sent to you. Prompt for plugin with version >1.4: If you want to indicate the coordinates at which you are standing, you can write the symbol "~". For example: /chest ~ ~ ~. This command will open the chest the player is standing on. You can also add any value to "~". For example, writing "~2" will give you your block coordinate +2. For example /chest ~4 ~2 ~ will open a chest located 4 blocks away from you along the X-axis, 2 blocks higher than you and at the same Z coordinate where you are standing.
/chest-open <name of saved chest> [true] - A command similar to the /chest, but the player does not need to specify coordinates in it. Instead of coordinates, the player indicates the<name of saved chest>of the chest, which you write down in the configuration along with its coordinates. You can see an example of a saved chest in the configuration. You can also create an unlimited number of saved chests.
/chest-remover - Opens a special chest interface where you can put unnecessary items. After closing it, all content in it disappears. Can be used as a trash can. Changes in configuration.
/chest-content<show / replace / save / load / files / netlist> <x> <y> <z> ... - (exists since version 1.8) Abridged version: /ch-c OR /chc Allows you to work with the contents of chests located at coordinates <x> <y> <z>. ARGUMENTS: SHOW -Shows you in chat a list of items in the chest at the entered coordinates <x> <y> <z>. REPLACE - Replace the item in slot <slot_number> with an item with ID <ID> or write hand, instead of ID if you want to place the same item as in your hands. The ID is followed by the argument of the number of items <count> and damage (differently data) <data> SAVE - Save the contents of the chest at the entered coordinates in the file <any_name> in the folder "chest-content", in the plugin folder LOAD - Load the contents of the chest at the entered coordinates from the file <chest_file_name> in the folder "chest-content", in the plugin folder. LOADFULL - The same function as "LOAD", but unlike it, before placing items, it clears those items that are already in the chest. As a result, after executing the command, ONLY the items that are in the file appeared in the chest. FILES - Will show you in the chat a list of files of the contents of the chests that are in the folder "chest-content" NETLIST - Shows you a list of titles on the web
(prompt: in LOAD and LOADFULL You can prefix "net:" in front of the name to use the contents of the chests from the Internet. For example net:Torch).
/enderchest [player] - Open your ender chest. You can also open it with other commands, but only if it is allowed in the plugin config (Allowed by default).
chestactions.chestname.open.<NAME> - where <NAME> is replaced by the name of the chest saved in the configuration. Allows you to open the chest in command: /chest-open <NAME>
Just write command
/chestactions ( OR
/chacts ) and you will see the entire list of plugin commands. Hover your cursor over any command and you will be shown information about the command. Click on it and the command will be automatically printed in the chat. Press [Enter] to run the command. Enjoy!
LANGUAGES: English, Chinese, Spanish.
These configurations contain translation to the current version of the plugin
# Config of plugin ChestActions # To use colors write §
#Prefix for all messages of the ChestActions plugin msgprefix: "§8[§6ChestActs§8] §7"
#Notify operators on login if the plugin version you are using is out of date notify-update-for-ops: true
#Do I need to send a message if the version of the plugin used is out of date update-message-on-start: true
#Automatically close a player's inventory if they view the inventory of a player who logs out. Prevents possible dup, TRUE is recommended auto-close-if-left: true
#Error message when a non-numeric coordinate value is entered in command /chest open-crds-error: "The coordinates entered are not valid. Usage: /chest <x> <y> <z> [no messages: true]"
#Message when the chest is opened using the command with coordinates open-with-crds: "The chest is open."
#Message when a chest is opened with a command, when the player was looking at it open-with-target: "The chest is open."
#Message when a chest with saved coordinates is opened using the command (/chest-open) open-saved-chest: "The chest is open."
#Error message when the block at the entered coordinates is not a chest 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})"
#Error message when the block the player is looking at is not a chest or is too far away block-not-chest-in-target: "The block you are looking at is not a chest or is too far away."
#Insufficient or excessive number of arguments in a command required-all-args: "Requires 3 coordinate values (x, y, z). You specified {ARGS_COUNT}. Usage: /chest <x> <y> <z> [no messages: true]"
#Not enough arguments in command (/chest-open) absent-arguments-in-saved-chest-opening: "Not enough arguments. Use /chest-open <name of saved chest> [no messages: true]"
#The message that appears when sending an /chestactions-list command act_list: "List of available actions" act_0: " - Make the player's health equal to the parameter" act_1: " - Add as much health to the player as specified in the parameter" act_2: " - Toggle player glow. In the parameter, specify 1 OR 0. (Enable/disable)" act_3: " - Close inventory (any interface) to the player" act_4: " - Open inventory of the player"
#Message when a command is executed on behalf of another player cmd-launched-by-player: "The command was successfully executed on behalf of the player {TARGET_PLAYER}."
#Error message when the entered player's nickname is not found player-not-found: "Player {TARGET_PLAYER} was not found."
#Error message when there are not enough arguments in the command cmd-required-all-args: "Requires player nickname and command (without «/»). Usage: /chest-execute <player> <command>"
#The maximum allowable distance at which the player can open the chest using aiming (/chest-target) target-distance: 6
#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 no-chest: "The chest you are trying to open is missing"
#Message sent when another player's inventory is successfully closed player-inv-closed: "Player's inventory {TARGET_PLAYER} is closed"
#Action Messages act-not-found: "Action «{YOUR_ACTION}» not found" act-set-health: "{ACT_PARAM} health points assigned to player {TARGET_PLAYER}" act-add-health: "{ACT_PARAM} health points added to player {TARGET_PLAYER}" act-glow: "Glow switched for player {TARGET_PLAYER}" act_closeinv: "Inventory (Any interface) of the player {TARGET_PLAYER} is closed"
#Chest-content messages (Changing the contents of chests, saving contents, etc.) saved-chests-format: ".txt" non-numeric-coords: "Coordinates entered are not numbers" non-numeric-slot: "Slot entered are not number" non-numeric-id: "ID entered are not number" non-numeric-count: "Count entered are not number" non-numeric-data: "Data entered are not number" show-content-title: "Chest contents:" show-content-empty: "The chest is empty" cmd-usage: "Usage {COMMAND_USAGE}" save-process: "Saving the contents of the chest ({CHEST_X}, {CHEST_Y}, {CHEST_Z}) to a file..." save-process-success: "The file with the contents of the chest has been saved: {PATH}" load-process: "Loading content into the chest" load-exist-error: "§7File named §c{NAME}§7 not found. Use §f/chest-content files §7to view the available chest content files" item-replaced: "Replaced the item in slot {SLOT} with an {NEW_ITEM} (id:{NEW_ITEM_ID}, count:{COUNT}, data:{DATA})" not-block: "The block at coordinates {BLOCK_X} {BLOCK_Y} {BLOCK_Z} is not a chest. This is a §c{WRONG_BLOCK}" not-block-propmt: "§7Did you mean the chest at coordinates §a{BLOCK_X_PROPMT} {BLOCK_Y} {BLOCK_Z}§7?" console-use-hand-error: "The CONSOLE cannot use an item in its hand as an object, because the console has no hands" wrong-slot: "The slot number in the chest can take values from 0 to 26 inclusive. You entered {SLOT}" list-of-files: "List of available contents of chests (files)" no-chest-content-files: "No files were found with the contents of the chests. Create a new one with command {CMD_USAGE_CONTENT_SAVE}" id-bug: "Id bug :(" save-error: "An error occurred while saving the file" save-unacceptable-symbols: "§cThe desired name contains an invalid character" save-net-impossible: "§cAt the moment, it is not possible to save the contents of the chests on the Internet" net-prompt: "§7You can prefix \"§fnet:§7\
" in front of the name to use the contents of the chests from the Internet. For example §fnet:Sweden" net-error: "Failed to connect to the service" net-not-found: "§f{NET_NAME}§7 not found. Use §f/chest-content netlist" net-found: "Items from §a{NET_NAME}§7 are §aloaded§7 into the chest" net-list: "Title list:"
#Message when reloading plugin configuration plugin-reload: "Plugin configuration has been reloaded." #Message when a player tries to launch a command to which he does not have permission permission-required: "§cInsufficient rights." #The default message sent when the player does not enter the required arguments in the command default-not-enoug-args: "§cNot enough arguments"
#two options for the chest cleaner (command /chest-remover). Closing this chest will clear all items that are in it. remover-name: "Move trash here to get rid of it" slots-count: 9
#Here you can configure what will happen when you click on a certain block in certain coordinates. chest-actions-settings:
-359/64/-65:
block: chest
click: right
shift: true
undo-click: true
cmd-by-player: "me I open the chest..." cmd-by-console: "say player {PLAYER} tried to open the chest at coordinates {BLOCK_X} {BLOCK_Y} {BLOCK_Z}" -360/65/-65:
block: workbench
click: left
cmd-by-player: "me I hit the workbench."
Write your ideas for this plugin, I will be happy to implement them in the very near future! I will also be very glad to receive your feedback