Skip to content
Victor Westerlund edited this page Dec 27, 2020 · 1 revision
from labylib import Mask

What you can change:

Class Function
Mask.Multi Custom properties
Mask.Visibility Cosmetic visibility

Mask.Multi()

Manipulate cosmetic metadata.

What you can change:

Function Description
color() Custom colors
size() Mask size
template() Template texture

Call subfunctions and submit changes by calling update()

mask = Mask.Multi(PHPSESSID)
# ...
mask.update()

Mask.Multi().color()

Takes a tuple of two HEX-colors

colors = ("1655ff","12ff16")

mask.color(colors)
# or
mask.color(colors[0],colors[1])

Mask.Multi().size()

Takes a string "big" or "small"

mask.size("big")

an int can also be passed as size: big = 1, small = 0

Mask.Multi().template()

Takes a string with syntax from LabyMod Dashboard

mask.template(":P")
Templates
None (no texture)
3
:3
:*)
:#)
:'3
:)
:p
:P
:')
::)
X
;p
:~)

Will raise a ValueError if an invalid template is specified.

Mask.Visibility()

mask_vis = Mask.Visibility(PHPSESSID)
mask_vis.update("<VALUE>")

Hide or show the cosmetic.

Action Value
Show "show"
Hide "hide"

an int can also be passed as Visibile = True/False

Find your PHPSESSID cookie

Click here to read


List of labylib Modules

Click here to read

Clone this wiki locally