Sueta

ChestActions [1.8 - 1.18]

3.0

Open and work with chests using commands! Flexible in configuration (English, 中文, español, ANY)

·Config

icon2_example_concept_name2.png

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.

Available commands

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

_________________________________________________

  • /chestactions-reload - Reload configuration

__________________________________________________

  • /chestactions-update - Indicates if the plugin version you are using is the latest

__________________________________________________

  • /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.

__________________________________________________

  • /chestactions-list - Shows a list of available actions for command /chestactions-do (For example CloseInv, Glowing...)

__________________________________________________

  • /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-target [true] - Open the chest you are looking at. If you don't want to see the message after running the command, add "true"

__________________________________________________

  • /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).

__________________________________________________

  • /chest-close <player> - Closes any type of inventory (+ chat) for the specified player
Permissions
  • chestactions.reload - for /chestactions-reload

__________________________________________________

  • chestactions.execute - for /chestactions-execute

__________________________________________________

  • chestactions.chesttarget - for /chest-target

__________________________________________________

  • chestactions.chestactions-do - for /chestactions-do

__________________________________________________

  • chestactions.list - for /chestactions-list

__________________________________________________

  • chestactions.chest-remover - for /chest-remover

__________________________________________________

  • chestactions.chest-content - for /chest-content

__________________________________________________

  • chestactions.chestopen - for /chest

__________________________________________________

  • chestactions.chestname.open.all - for the possibility of opening ANY (all) chest in the /chest-open <name>

__________________________________________________

  • 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>

__________________________________________________

  • chestactions.info - for /chestactions (just short info)

__________________________________________________

  • chestactions.update - for /chestactions-update

__________________________________________________

  • chestactions.new - for /chest-news

__________________________________________________

  • chestactions.player.enderchest.me - for /enderchest

__________________________________________________

  • chestactions.player.enderchest.other - for /enderchest [player]

__________________________________________________

  • chestactions.chestclose - for /chest-close
Convenient command menu in chat

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!
screenshot.jpg

LANGUAGES: English, Chinese, Spanish.

Configuration with different languages

These configurations contain translation to the current version of the plugin

Just replace your config content with this:
[English (default)] https://pastebin.com/raw/MP0xugA0
[Chinese / 中文] https://pastebin.com/raw/AegUWKGF
[Spanish / español] https://pastebin.com/raw/E0v1fU4X

Config file for latest version of plugin (2.9):

Similar projects

Config →