This labylib extension updates your LabyMod cape with tags from Minecraft chat.
Chattycape overwrites your current LabyMod cape; so make sure to save it before you begin.
- Login and open the LabyMod Dashboard
- Under the "YOUR COSMETICS" section, click the tiny image of your cape
- Right-click the image and select "Save image as.."
It's called the same in other major browsers. (Screenshot of Chrome)
- Download the latest version of Chattycape
- Download and install the latest version of Python 3 for your architecture
- Install
labylib
withpip
$ python3 -m pip install labylib
or if that doesn't work..
$ pip3 install labylib
- Run
start.py
withpython3
(not as root)
$ python3 start.py
- Chattycape CLI will now ask you to provide additonal details.
and here's an explanation of them all in order:
Input | Description |
---|---|
Path to your '.minecraft'-folder: |
Only appears if your Minecraft-installation couldn't be located automatically. Enter a full (absolute) path to your .minecraft -folder. Example: "C://Users/VicW/AppData/Roaming/.minecraft" |
Cape render endpoint [https://api.victorwesterlund.com/chattycape]: |
Paste a custom render enpoint URL here, or press enter to use the default. |
My Minecraft in-game name (Case Sensitive) [Don't exclude me]: |
Enter your Minecraft IGN to exclude yourself from tagging or press enter to allow messages from yourself |
PHPSESSID cookie: |
Here's what it is and where to find it |
-
That's it. You should now see this at the end of your terminal:
-
When you want exit: Press โ Enter / โ Return to close
If you start Chattycape with the default render endpoint; https://api.victorwesterlund.com/chattycape
- your cape will update every 15 seconds (limit) with a graphic of the player avatar, name and tag (usually "rank") who last said something in public chat (See collage at the start of this document). It only works on a handful of servers at the moment, more can be added in the future.
Chattycape works best when creative people like yourself come up with their own templates!
Chattycape CLI prompts the user upon every start, if they want to use a custom render endpoint. What this means is that you could easily create your own "texture generator" in whatever language you want, as long as the output is a type image/png
and satisfies LabyMod's sprite layout:
- Chattycape makes a request to the endpoint every 15 seconds (limit) with the URLParams
server
,username
andtag
.
Example from default endpoint:
https://api.victorwesterlund.com/chattycape?server=us.mineplex.com&username=VicW&tag=immortal
URLParam | Value |
---|---|
server |
IP/Hostname of current server. |
username |
Case-Sensitive string of Minecraft IGN. |
tag |
String typecasted to lowercase containing a filtered tag. Default behavior: Extracts player rank on supported servers. |
- URLParam value will be assigned
None
for falsy conditions. This includes if a player is unranked (tag
not found)
If you find any bugs or would like to suggest features, please submit it as an Issue.
Pull requests to this repo are more than welcome!