Page 1 of 1

Denizen Virtual Chest

Posted: June 12th, 2020, 10:02 am
by zozer_firehood
Access a person virtual chest at anytime with a single command.
In order to access the DVChest, a player needs the permission

Code: Select all

dvchest
This can be given manually or via the command

Code: Select all

/dvchest add [player]
The dvchest add command requires a user to have the permission

Code: Select all

dvchest.admin
By default the virtual chest is a single line. This can be changed by a user with dvchest.admin via the command

Code: Select all

/dvchest addLimit [player]
This command will increase the line count by 1 (up to a max of 6)

Just drop in this script and you can start using it right away
https://one.denizenscript.com/haste/70835

Want tab completion for this command? Check out
viewtopic.php?f=9&t=299

update: included safety in passing what the player type to the tab complete script

Re: Denizen Virtual Chest

Posted: June 12th, 2020, 8:05 pm
by mcmonkey
<proc[TabComplete].context[dvchest|DVChestTab|<context.raw_args>]> is liable to bork if the user types a | symbol. Probably make use of the list.include_single tag.

Re: Denizen Virtual Chest

Posted: June 15th, 2020, 8:51 am
by zozer_firehood
Fixed, thank you o7