YATCO has been updated to 2.5
Please report issues
on GitHub
You should head over to YATCO's github page
HERE for more information on YATCO.
Quick Start, for version 2.5
Install base config package.
lua local a="https://raw.githubusercontent.com/demonnic/YATCO/master/YATCOConfig.xml"function d(b,c)if not c:find("YATCOConfig",1,true)then return end installPackage(c)os.remove(c)cecho("<lime_green>Package installed!\n")end registerAnonymousEventHandler("sysDownloadDone","d")downloadFile(getMudletHomeDir()..(a:ends("xml")and"/YATCOConfig.xml"or"/YATCOConfig.zip"),a)
once you've installed this, go over the configuration options and set the name of the tabs, etc. Then once you're ready to start up YATCO itself, install the code package. This is for 2.5.
lua local a="https://raw.githubusercontent.com/demonnic/YATCO/master/YATCO2.5.xml"function d(b,c)if not c:find("YATCO",1,true)then return end installPackage(c)os.remove(c)cecho("<lime_green>Package installed!\n")end registerAnonymousEventHandler("sysDownloadDone","d")downloadFile(getMudletHomeDir()..(a:ends("xml")and"/YATCO.xml"or"/YATCO.zip"),a)
This will startup the actual tabbed chat using the configs you edited. From this point forward you should be able to just uninstall YATCO and install the new version to pick up any code fixes, etc. I will add additional packages for bringing yourself up to date with configuration options which are added post 2.5.
2.5 adds Map display options. demonnic.chat.config.Maptab defaults to "", if you set it to the same name as one of the tabs in your tablist, it will create a Geyser mapper object in that tab. Leave it as "" in order ignore this functionality.
I also added demonnic.chat.useContainer , which you set to the Geyser container you want YATCO to be contained in. So if you have a container you created with
uiRight = Geyser.Container:new()
Then you would do
demonnic.chat.useContainer = uiRight
Leave it set to false if you don't want to add YATCO to some other container. This way YATCO will be easier to incorporate into other UI projects. It should be noted that if you stuff YATCO into another container, it will be at x=0, y=0 and both height and width will be 100% of this container. Then to hide or show all of YATCO you can hide or show the container. In the example, uiRight:hide() and uiRight:show(). This also means that the height and width of the chat boxes will be determined by the container you place them in, and not YATCO. This could mean you'll need to adjust your demonnic.chat.config.width until the text wraps properly. I intend to make this autodetect and work itself out in the future, but haven't gotten it in place yet.
I have updated the OP with this information as well.