Preliminary changes in the work of the "chest-content" command.
(Not a stable version)
A new argument "netlist" has been added to the "/chest-content" command. It will show you a list of titles from the web that you can use to load items into a chest using the "content" command.
For example:
/chest-content netlist - will show you a list of content names for chests (names are stored online)
/chest-content load 128 80 450 net:Sweden - will load items into the chest at the given coordinates. The items that will be loaded into the chest are determined by the name that comes after "net:"
If you have previously saved the contents of the chest using the "/chest-content save <X> <Y> <Z> <NAME>" command, then you can use the "/chest-content load <X> <Y> <Z> <NAME>" command to load the saved contents (items) into a chest.
When using the "SAVE" argument in the "/chest-content" command, the file with all chest items is saved in the plugin's "chest-content" folder.
(v2.8)
- Added a very convenient command list menu
- Added command aliases.
Example:
/chestactions = /chestacts = /chacts
/chestactions-reload = /chacts-reload
etc. for all commands that contains "chestactions".
(v2.7)
- Plugin optimization
- Fixing long errors in the console. These messages are now short
- small improvements
(v2.6)
Added command
/chest-news [Page number] which will show you information about what is added in each new update.
This will let you know what is added in the new update when you are using the old version.
Permission for command:
chestactions.news
(v2.5)
- Optimization
- Command /enderchest now allows you to view and edit the contents of other players' ender chests.
Permission:
______________________________________
Allows you to open only your own enderchest:
chestactions.player.enderchest.me
______________________________________
Allows you to open someone else's enderchest:
chestactions.player.enderchest.other
______________________________________
(v2.4)
If you are viewing another player's inventory and then he exits, then your inventory interface closes.
If you want to disable this, then change the parameter auto-close-if-left in the configuration to
FALSE. It is recommended to leave it as is (
TRUE)
(v2.3)
- Fixed some bugs in command /chest-content (/chc OR /ch-c)
- Improved version checking, less spam in the console on errors. Now everything is short and clear.
- Slightly improved performance
- The plugin was tested on minecraft version 1.18.1
(v2.1)
Some unused libraries have been removed, including the recently notorious log4j. This improves performance and makes the plugin more secure.
Added a new feature to the command
/chestactions-do
The "
OpenInv" argument allows you to open and edit someone else's inventory in real time. But keep in mind that if in a team you open your inventory, then in order for the changes to take effect for you, you will need to close it (By default in minecraft this is the
[E] key)
(2.0)
Command "/chest-content" has become more productive
(Also see the short version of the command:
/ch-c OR
/chc)
(1.9)
NEW ARGUMENT FOR "/chest-content"
Argument:
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.
(1.8)
Added new command:
/chest-content
Abridged version:
/ch-c OR
/chc
- Allows you to save the contents of the chest to a file (if your first argument to the command is SAVE).
- Allows you to load the contents of a file into the chest (if your first argument in the command is LOAD)
- Allows you to see the list of chest items in the chat (if your first argument in the command is SHOW)
- Allows you to see a list of files that you saved using the SAVE argument (if your first argument in the command is FILES)
You can specify the desired format for saving in the configuration (saved-chest-format). The main thing is that it should be in text format, because all items are stored in text form.
For more details, see the main page of the plugin, in the spoiler "Available commands"
(1.7)
New command:
/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.
(1.6)
Added new command
/chestactions-list
Added new action
CloseInv for command
/chestactions-do <player> <action> <parameter>
Action
CloseInv - closes the player's interface of any type (for example, a chest, chat or menu), similar to the command
/chest-close <player>
Example:
/chestactions-do Notch CloseInv 1
(In action CloseInv, the parameter can be any value)
(1.5)
Improved version checking and added command list
(1.4)
The placeholder "~" has been improved.
You can now use the command / chest using "~".
For example, using
/chest ~ ~ ~ will open the chest you are standing on. The ability to use coordinates still exists. For example
/chest 2000 70 -960 will open the chest, which is located at coordinates 2000 70 -960.
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 on the X-axis, 2 blocks higher than you and at the same Z coordinate where you are standing.
You can write a negative number, for example "~-3", to take a coordinate 3 blocks away from you, but from the other side. So when you write the command
/chest ~ ~-3 ~, you will open the chest, which is 3 blocks below you.
(1.3)
Added the ability to use the "~" symbol in
/chest
Example: If you write
/chest ~ ~ ~, then the chest will open, which is located where the player is standing.
Updated config file:
New placeholders have been added to the
"block-not-chest-in-crds" message setting. The message now looks like this:
"§7The block at the given coordinates is not a chest. (Block: §c {WRONG_BLOCK} §7, X: {BLOCK_X}, Y: {BLOCK_Y}, Z: {BLOCK_Z})"
Placeholders:
{WRONG_BLOCK} - name of a block that is not a chest or workbench
{BLOCK_X} - entered coordinate X
{BLOCK_Y} - entered coordinate Y
{BLOCK_Z} - entered coordinate Z
(1.2)
New command:
/chestactions-do <player> <action> <parameter>
Player - nickname of any player who is online
Action - At the moment there are only 3 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)
Parameter - Value for action
FOR EXAMPLE:
/chestactions-do Notch setHealth 20 - Set player Notch to 20 health
/chestactions-do Notch addHealth 5 - Will add player Notch to 20 health
/chestactions-do Notch addHealth -5 - Will take 5 health from the player Notch
/chestactions-do Notch glowing 1 - Turns on the glow for player Notch
(1.1)
Just an improvement in checking for plugin updates. This will work a little better now.
(1.0)
New check:
shift:
true or
false
Example:
chest-actions-settings:
-359/64/-65:
# <= The coordinates of the block that the player should click on. Separate with "/".
block: chest
# <= The block that must be in the specified coordinates for the action to be performed.
click: right
# <= What click should the player make on the block. RIGHT or LEFT.
shift: true # <=
If TRUE, then the player must sneak for the action to take place..
undo-click: true
# <=
If TRUE, then cancel the click. For example, clicking on a chest will not open it.
cmd-by-player: "me I open the chest..."
# <= The command that will be automatically sent by the player when they click on the block
cmd-by-console: "say player {PLAYER} tried to open the chest at coordinates {BLOCK_X} {BLOCK_Y} {BLOCK_Z}"
# <= Command that will be automatically sent by the console.
-360/65/-65:
block: workbench
click: left
shift: true
cmd-by-player: "me I hit the workbench."
(v0.9)
Very little optimization
(v0.8)
New command:
/chest-close <player> - Allows to close the interface of any type (Except pause
[Esc button]) for the specified player
Permission
chestactions.chestclose - For /chest-close
(v0.7)
Bug fixes and small code reduction.
(v0.6)
Added notification to operators on login if the version of the plugin you are using is out of date.
(v0.5)
Now you can configure the launch of the command when you open the chest with your hand or similarly click on any other block in the coordinates you need in the plugin configuration. It also contains examples