New ForgeServ module, module configuration & more
This commit is contained in:
parent
cc912292e2
commit
fed99e8580
8 changed files with 331 additions and 109 deletions
34
templates/forgeserv.star
Normal file
34
templates/forgeserv.star
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
load("render.star", "render")
|
||||
load("encoding/base64.star", "base64")
|
||||
|
||||
ICON = base64.decode("<IMAGE>")
|
||||
|
||||
|
||||
def main():
|
||||
return render.Root(
|
||||
delay=0,
|
||||
child=render.Column(
|
||||
expanded=True,
|
||||
main_align="space_around",
|
||||
cross_align="center",
|
||||
children=[
|
||||
render.Image(ICON, width=16, height=16),
|
||||
render.Marquee(
|
||||
width=60,
|
||||
child=render.Text(
|
||||
"<SERVER-NAME> (<ONLINE-PLAYERS> / <MAX-PLAYERS>)",
|
||||
color="#a3be8c",
|
||||
font="tom-thumb",
|
||||
),
|
||||
),
|
||||
render.Marquee(
|
||||
width=60,
|
||||
child=render.Text(
|
||||
"Players: <PLAYER-LIST>",
|
||||
color="#8fbcbb",
|
||||
font="tom-thumb",
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
)
|
||||
Loading…
Reference in a new issue