Docs
Server code
Server code is your whole server as easy-to-read text: its roles, channels, welcome
message, rules, posts and safety settings, one thing to a line. Read it top to
bottom, change what you like, and save.
Open Server settings and switch Simple to
Advanced. The editor suggests words as you type and points at
anything it can’t read. Nothing changes until you save.
category name { … }
A category. The text and voice channels inside it belong to it.
Goes at the top of the file
Settings
only@roles, separated by commasRoles that can see it
only: @Moderator
Example
category Mods {
only: @Moderator
text mod-chat { icon: shield }
}
text name { … }
A text channel. Inside a category it goes in that category.
Goes in the top of the file or category
Settings
topictext, on the same line or on the lines belowThe topic
topic: Say hislow modea length of time, like 10s, 5m or 1hWait between messages, up to 6h
slow mode: 10sread onlyon or offOnly some roles can post
read only: ononly@roles, separated by commasRoles that can see it
only: @Moderator
Example
category Chat {
text general
text clips { icon: play, slow mode: 10s }
}
voice name { … }
A voice channel. Inside a category it goes in that category.
Goes in the top of the file or category
Settings
theatreon or offMade for watching a film together
theatre: onlimita numberHow many people, 1–99
limit: 5only@roles, separated by commasRoles that can see it
only: @Moderatorqualityone of: normal, highSound quality
quality: high
Example
category Voice {
voice Lounge
voice Late night { icon: moon, limit: 5 }
}
allow @role: permissions
Lets a role do these things here, whatever its own permissions say.
Goes in category, text or voice
Example
text announcements {
read only: on
allow @Moderator: send messages
}
deny @role: permissions
Stops a role from doing these things here.
Goes in category, text or voice
Example
voice Stage {
deny @everyone: speak
}
welcome { … }
The message the server posts when someone joins. Remove it to turn it off.
Goes at the top of the file
Settings
channela #channelWhere it is posted
channel: #welcomemessagetext, on the same line or on the lines belowThe text, with {name}, {server} and {count}
message: Hey {name}, welcome to {server}!cardon or offShow their profile card
card: on
Example
welcome {
channel: #welcome
message: Hey {name}, welcome to {server}!
}
leave { … }
The message the server posts when someone leaves. Remove it to turn it off.
Goes at the top of the file
Settings
channela #channelWhere it is posted
channel: #welcomemessagetext, on the same line or on the lines belowThe text, with {name}, {server} and {count}
message: {name} left. See you around.
Example
leave {
channel: #welcome
message: {name} left. See you around.
}
join roles { … }
Roles everyone gets when they join.
Goes at the top of the file
Settings
roles@roles, separated by commasThe roles to give
roles: @Memberwhenone of: now, 10 minutes, 1 hour, rules agreedWhen they are given
when: rules agreed
Example
join roles { roles: @Member, when: rules agreed }
rejoin roles: on
Give people their roles back when they leave and come back.
Goes at the top of the file
Example
rejoin roles: on
rules { … }
New people must agree to the rules before they can chat. Remove it to turn the gate off.
Goes at the top of the file
Settings
channela #channelThe rules channel
channel: #rulesgivesa @roleThe role given on agreeing
gives: @Member
Example
rules {
channel: #rules
gives: @Member
rule Be kind.
rule No spam.
}
rule text
One rule, in order (up to 16).
Goes in rules
Example
rules {
channel: #rules
rule Keep things in the right channel.
}
question text { … }
A question new people answer when they join (up to 5). Answers can give roles.
Goes at the top of the file
Settings
pickone of: any, oneHow many answers
pick: one
Example
question What do you play? {
pick: any
answer Valorant { gives: @Valorant }
answer Minecraft { gives: @Minecraft }
}
answer label { … }
One answer to a question (up to 10).
Goes in question
Settings
givesa @roleThe role it gives
gives: @Valorant
Example
question What do you play? {
answer Valorant { gives: @Valorant }
}
post #channel { … }
A post the server keeps up to date: its pieces in order (text, title, image, card, row, button…), with styles in brackets. It can remember lists, numbers and values and do things. Remove it to delete the post.
Goes at the top of the file
Settings
titleThe title
title: The rulestexttext, on the same line or on the lines belowThe text (markdown)
text: Every Friday. Bring snacks.imagean uploaded picture’s nameAn uploaded picture
image: game-night.pngpinnedon or offPin it in the channel
pinned: onrepeatwhen it repeats, like every friday 19:00Post it again every week or day
repeat: every friday 19:00
Example
post #announcements {
title: Game night
text: Every Friday. Bring snacks.
repeat: every friday 19:00
}
field Question (short)
A question of a form (up to 5): short, long, number or choice: A, B. (In a post, field name: text is the old way of writing a titled text.)
Goes in post or form
Example
form apply {
title: Join the clan
field Main game (choice: Deep Rock, Valorant, Minecraft)
}
post #general {
button Apply {
press: open apply
}
}
button Label { … }
A button in a post. What pressing it does goes inside (press: add you to going); press: open #channel makes it a link.
Goes in post
Example
post #general {
list going
card {
button I’m in (colour: green) {
press: add you to going
}
}
}
form name { field … }
A form a post’s button opens (open name): up to 5 questions.
Goes at the top of the file
Settings
titleThe form’s title
title: Join the clan
Example
form apply {
field Why do you want to join? (long)
field Hours a week (number)
}
post #general {
button Apply {
press: open apply
}
}
submit name { … }
What sending a form does. you is who sent it, {answers} the answers. Answers are kept 30 days at most.
Goes at the top of the file
Example
form apply {
field Why do you want to join? (long)
}
post #general {
button Apply {
press: open apply
}
}
submit apply {
post in #applications: {you} applied · {answers}
reply: Thanks!
}
text: …
Markdown text; write it on the lines below text: for several lines
Goes in post, card or row
Styles
colourThe text’s colour; on a card its edge; on a button grey, violet, green, red or blue
colour: #f5c542sizeHow big (a space is small, normal or large)
size: largeweightBold text
weight: boldalignWhere the text sits
align: centrepaddingRoom around the content
padding: large
Example
post #general {
list going
card {
text: **{going.count} going:** {going.names}
}
}
title: …
A big heading
Goes in post, card or row
Styles
colourThe text’s colour; on a card its edge; on a button grey, violet, green, red or blue
colour: #f5c542sizeHow big (a space is small, normal or large)
size: largeweightBold text
weight: boldalignWhere the text sits
align: centre
Example
post #general {
card {
title: Game night
}
}
heading: …
A smaller heading
Goes in post, card or row
Styles
colourThe text’s colour; on a card its edge; on a button grey, violet, green, red or blue
colour: #f5c542sizeHow big (a space is small, normal or large)
size: largeweightBold text
weight: boldalignWhere the text sits
align: centre
Example
post #general {
card {
heading: 📚 Mini courses
}
}
image: name.png
An uploaded picture
Goes in post, card or row
Styles
sizeHow big (a space is small, normal or large)
size: largecornersThe shape of the corners
corners: roundwidth80 to 600 (pixels) or full
width: 120borderA line around it, in this colour
border: violet
Example
post #general {
card {
image (corners: round): drg.png
}
}
gallery: a.png, b.png
Up to 10 pictures in a grid
Goes in post, card or row
Styles
width80 to 600 (pixels) or full
width: 120
Example
post #general {
card {
gallery: a.png, b.png, c.png
}
}
thumbnail: name.png
A small picture at the top right of its card
Goes in card
Styles
cornersThe shape of the corners
corners: round
Example
post #general {
card {
title: Welcome
thumbnail: logo.png
}
}
author: Name
A small line with a round icon above the title
Goes in post, card or row
Styles
weightBold text
weight: boldalignWhere the text sits
align: centreiconA small picture
icon: logo.png
Example
post #general {
card {
author (icon: logo.png): Northside Academy
}
}
link: Label -> https://… or #channel
A link line
Goes in post, card or row
Styles
colourThe text’s colour; on a card its edge; on a button grey, violet, green, red or blue
colour: #f5c542weightBold text
weight: boldalignWhere the text sits
align: centre
Example
post #general {
card {
link: Read the rules -> #rules
}
}
divider
A line
Goes in post or card
Example
post #general {
card {
text: Above
divider
text: Below
}
}
space
Empty space (size small, normal or large)
Goes in post or card
Styles
sizeHow big (a space is small, normal or large)
size: large
Example
post #general {
card {
text: Above
space (size: large)
text: Below
}
}
card { … }
A box with a coloured edge holding pieces
Goes in post
Styles
colourThe text’s colour; on a card its edge; on a button grey, violet, green, red or blue
colour: #f5c542backgroundThe colour behind a card or a row
background: #1b1530alignWhere the text sits
align: centrepaddingRoom around the content
padding: largecornersThe shape of the corners
corners: roundborderA line around it, in this colour
border: violet
Example
post #general {
card (colour: violet) {
title: Hello
}
}
row { … }
2 or 3 pieces side by side
Goes in post or card
Styles
backgroundThe colour behind a card or a row
background: #1b1530alignWhere the text sits
align: centrepaddingRoom around the content
padding: large
Example
post #general {
card {
row {
image: a.png
image: b.png
}
}
}
show (if …) { … }
Pieces only some people see (on screen only: never for secrets)
Goes in post, card or row
Example
post #general {
list entries
card {
show (if you’re in entries) {
text: You entered ✓
}
}
}
button Label { … }
A button; what it does goes inside (buttons next to each other share a line, up to 5)
Goes in post or card
Styles
colourThe text’s colour; on a card its edge; on a button grey, violet, green, red or blue
colour: #f5c542iconA small picture
icon: logo.pngemojiAn emoji before the label
emoji: 🎉
Example
post #general {
list going
card {
button I’m in (colour: green) {
press: add you to going
}
}
}
text (colour: gold, size: large): Hi
In brackets after a piece’s name. Write several, separated by commas; a named style (style gold { … }) works like a class and later words win. A text colour that would be hard to read is nudged lighter or darker in the theme where it needs it.
Styles
colourThe text’s colour; on a card its edge; on a button grey, violet, green, red or blue (text, title, heading, link, footer, card, button)
colour: #f5c542backgroundThe colour behind a card or a row (card, row)
background: #1b1530sizeHow big (a space is small, normal or large) (text, title, heading, image, space)
size: largeweightBold text (text, title, heading, footer, author, link)
weight: boldalignWhere the text sits (text, title, heading, footer, author, link, card, row)
align: centrepaddingRoom around the content (card, row, text)
padding: largecornersThe shape of the corners (image, thumbnail, card)
corners: roundwidth80 to 600 (pixels) or full (image, gallery)
width: 120borderA line around it, in this colour (card, image)
border: violeticonA small picture (author, button)
icon: logo.pngemojiAn emoji before the label (button, option)
emoji: 🎉
Example
post #general {
style gold { colour: #f5c542, weight: bold }
card (background: #1b1530, padding: large, align: centre) {
text (size: small, colour: #c084fc, weight: bold): FRIDAY 19:00
title (size: huge): Game Night
link (style: gold): Join us -> #general
}
}
list going · number score · value winner
Things a post remembers, at the top of the post: lists of people, whole numbers and one person or short text. Names are one word.
The words
list nameA set of people
list goingnumber nameA whole number (starts at 0, or (start: 10))
number score (start: 10)value nameOne thing: a person or a short text
value winner
Example
post #general {
list going
number score (start: 10)
value winner
card {
text: {going.count} going · score {score} · {winner}
}
}
button Label (colour: green) { press: … }
A button does what is written inside it when someone presses it; buttons next to each other share a line. A menu is a dropdown whose options each do things. Press them in the preview: nothing changes for real.
The words
button Label { … }A button; what it does goes inside (buttons next to each other share a line, up to 5)
button I’m in (colour: green) {
press: add you to going
}
menu Placeholder { option … }A dropdown; each option does things
menu Pick a time {
option Friday { press: add you to friday }
}
style name { … }A named style; use it with (style: name)
style gold { colour: #f5c542, weight: bold }
Example
post #general {
list going
list maybe
card {
title: Game night · Friday 19:00
text: **{going.count} going:** {going.names}
button I’m in (colour: green) {
press: add you to going, remove you from maybe
reply: You’re on the list!
}
button Maybe {
press: add you to maybe, remove you from going
}
}
}
button Go (if you have @Role, once per person) { … }
In the brackets of a button or menu, or after show: all of them must hold. A button that fails a role, list or number condition is hidden; one that is used up shows greyed. The server checks again on every press.
The words
if you have @RoleOr if you don’t have @Role
if you have @Memberif you're in goingOr if you’re not in going
if you're in entriesif score is over 5A number or a list’s count (also under, is, 5 or more, 5 or less)
if entries is over 50if your level is 10 or moreA condition, like if you have @Role (also over, under, or less, is)
once per personEach person presses it once (buttons and menus)
limit 10Only the first 10 presses (buttons and menus)
Example
post #general {
list entries
value winner
card (colour: #f5c542) {
title: 🎁 Steam gift card giveaway
text: Ends {time until friday 20:00} · {entries.count} entered
button Enter (colour: green, once per person) {
press: add you to entries
reply: You’re in. Good luck!
}
show (if you’re in entries) {
text (size: small): You entered ✓
}
}
when friday 20:00 {
pick 1 from entries as winner
post: 🎉 {winner} won the gift card!
turn off buttons
}
}
press: add you to going, reply: …
What a button, an option, a rule or a sent form does, one after another (at most 10). Text actions run to the end of the line, or take the indented lines below.
The words
add you to goingInto a list (also add winner to going); add 1 to score counts up
remove you from goingOut of a list
remove you from maybesubtract 1 from scoreCounts down
subtract 2 from scoreset score to 0A number, or a value: set winner to you, set word to some text
set winner to youclear goingEmpties a list (or forgets a value)
give @Role to youA role, to you, a value’s person or a list (its first 100)
give @Winner to winnertake @Role from youTakes a role away
take @Guest from youtoggle @Role for youGives it, or takes it when they have it
toggle @Pings for youreply: textAn answer only the presser sees
reply: You’re on the list!post: textA new message from the server; post in #channel: text elsewhere
post in #applications: {you} applieddm you: textA direct message to the presser (never to anyone else)
dm you: Thanks for signing up!ping going: textA message mentioning everyone in a list (its first 100)
ping going: Game night starts in an hour!pick 1 from entries as winnerAt random into a value (more than 1: into a list)
open applyOpens a form; open #channel makes the button a link
turn off buttonsButtons off for everyone; turn off button Label for one
turn on buttonsButtons back on
turn on button Enter
Example
post #general {
list going
list maybe
card {
title: Game night · Friday 19:00
text: **{going.count} going:** {going.names}
button I’m in (colour: green) {
press: add you to going, remove you from maybe
reply: You’re on the list!
}
button Maybe {
press: add you to maybe, remove you from going
}
}
}
when friday 20:00 { … }
Things a post does by itself, at a time or when something changes. The preview says when a timed rule runs next.
The words
when friday 20:00 { … }Once, the next time it comes (the server’s time zone)
when friday 20:00 {
turn off buttons
}
every friday 19:00 { … }Every week (or every day) at that time
every day 09:00 {
set score to 0
}
when going reaches 10 { … }Once each time a list or a number gets there
when going reaches 10 {
post: We have a full team!
}
when score is over 100 { … }Each time it becomes true (also under, is, 5 or more, 5 or less)
when score is over 100 {
turn off buttons
}
when someone joins { … }A new member arrives (you is them)
when someone joins {
add you to newcomers
}
when someone reaches level 10 { … }A rule: you is who levelled up (levels have to be on)
when someone reaches level 10 {
give @Regular to you
}
submit form { … }A form is sent (top level; you sent it, {answers} are the answers)
submit apply {
reply: Thanks!
}
Example
post #general {
list entries
value winner
card (colour: #f5c542) {
title: 🎁 Steam gift card giveaway
text: Ends {time until friday 20:00} · {entries.count} entered
button Enter (colour: green, once per person) {
press: add you to entries
reply: You’re in. Good luck!
}
show (if you’re in entries) {
text (size: small): You entered ✓
}
}
when friday 20:00 {
pick 1 from entries as winner
post: 🎉 {winner} won the gift card!
turn off buttons
}
}
form apply { field Question (long) }
A form opens as a pop-up when a button says open apply; what happens when it is sent is the submit block. Every question must be answered.
The words
field Question (short)One line of text
field Your name (short)field Question (long)A few lines of text
field Why do you want to join? (long)field Question (number)A whole number
field Hours a week (number)field Question (choice: A, B, C)One of the choices
field Main game (choice: Deep Rock, Valorant)
Example
form apply {
title: Join the clan
field Why do you want to join? (long)
field Hours a week (number)
field Main game (choice: Deep Rock, Valorant, Minecraft)
}
post #general {
card {
title: Join the clan
button Apply (colour: violet) {
press: open apply
}
}
}
submit apply {
post in #general: {you} applied · {answers}
reply: Thanks! A mod will get back to you.
}
what a post can and cannot do
What keeps a post safe to leave running.
The limits
what it may doA post only does what its author is allowed to do; powerful roles are never handed out by a post.
no loopsOne press does at most 10 things; each person can press about 5 times a minute.
what is shownLists and counts show in the post; form answers go only where the author sends them and are deleted after 30 days.
how manyA post’s lists hold up to 10,000 people; a server has up to 50 posts with rules.
text: **{going.count} going:** {going.names}
Words in braces inside any text, filled in when the post is shown and kept up to date. A backslash before a brace keeps it as written.
The words
{going.count}How many are in a list
{going.names}Who is in a list (up to 30)
{score}A number, or a value’s person or text
{members}How many members the server has
{online}How many are online
{in voice}How many are in a voice channel
{you}Each reader sees their own name (in a rule: who pressed or joined)
{you.level}Live text, each reader’s own: their level here
{you.rank}Live text, each reader’s own: their place on the leaderboard
{server}The server’s name
{time until friday 20:00}A countdown: “in 2 days, 4 hours”
{date of friday 20:00}The date: “Friday 17 October, 20:00”
{answers}A sent form’s answers (in submit only)
Example
text: Game night in {time until friday 19:00}: {going.count} going of {members}
automod name { … }
An auto-mod rule. A ready-made rule is named as the page names it (Bad words, Spam, Mass mentions, Invite links, Links, All caps, Emoji spam); any other name is your own rule. A key left out is off. Without a block a ready-made rule is off.
Goes at the top of the file
Settings
wordsThe words to catch, separated by commas; * stands for any letters
words: noob*, big meanielet throughWords that are always fine, even when a word above would catch them
let through: noobodyallowed sitesLinks: the sites that are fine (their subdomains too)
allowed sites: youtube.com, tenor.comcheck nameson or offAlso look at names and nicknames
check names: onmore thanMass mentions, Emoji spam and All caps: the limit
more than: 10 emojiat leastAll caps: only in messages with at least this many letters
at least: 10 letterssame messageSpam: the same message this many times in this time
same message: 3 in 30 secondsmessagesSpam: this many messages in this time
messages: 6 in 5 secondsblockon or offHold the message back and tell the sender
block: onreplytext, on the same line or on the lines belowWhat the sender is told (only they see it)
reply: Please keep it kind herealerta #channelTell the moderators: on (the alerts channel), off, or a channel
alert: #mod-alertstime outTime the person out, from their Nth try within an hour
time out: 10 min after 3 triesexceptRoles and channels the rule leaves alone
except: @Moderator, #memes
Example
automod Bad words {
words: noob*
block: on
alert: #mod-alerts
time out: 10 min after 3 tries
}
raid protection { … }
What happens when many people join at once. On by default; a key left out keeps its default. The channel in alert is where every rule’s alert goes too.
Goes at the top of the file
Settings
whenHow many people joining how fast is a raid, or off
when: 10 people join in 10 secondspause invitesa length of time, like 10s, 5m or 1hHow long invites are paused when a raid is seen (off: not at all)
pause invites: 30 minagree to rules firston or offNew people agree to the rules first while it lasts
agree to rules first: onalerta #channelTell the moderators: on, off, or a channel (which is the alerts channel)
alert: #mod-alertsalerts go toa #channelThe server’s alerts channel, when the alert itself is off
alerts go to: #mod-alertspinga @roleA role to ping with the alert
ping: @Moderator
Example
raid protection {
when: 10 people join in 10 seconds
pause invites: 30 min
agree to rules first: on
alert: #mod-alerts
ping @Moderator
}
new accounts { … }
New accounts wait a while after joining before they can talk. On by default; wait: off turns it off.
Goes at the top of the file
Settings
younger thanAccounts younger than this wait before they can talk
younger than: 1 daywaitHow long after joining they wait (off: nobody waits)
wait: 10 min
Example
new accounts {
younger than: 1 day
wait: 10 min
}
warnings { … }
What warnings lead to: after so many warnings in so many days the server times the person out, kicks or bans them. Left out, the defaults stand.
Goes at the top of the file
Settings
stepsnoneNone: no step happens by itself
steps: nonetell themon or offThe server messages the person (default on)
tell them: onpost in channelon or offThe server posts it in the channel the command was used in (default off)
post in channel: off
Example
warnings { after 3 in 30 days: time out 1 hour, after 5 in 30 days: ban 7 days, tell them: on, post in channel: off }
number name
A number every trigger can count with (add 1 to bruhs) and show ({bruhs} in a text). It starts at 0.
Goes at the top of the file
Example
number bruhs
list name
A list of people every trigger can add to (add you to finders), ping, and show ({finders.count}, {finders.names}).
Goes at the top of the file
Example
list finders
trigger name { … }
When a message matches, the server does things, as itself: a when line, then what limits it, then what it does in order, in the words of posts (you is the person who sent it). trigger name (off) { … } is switched off.
Goes at the top of the file
Settings
when someone saysWhole words: ip, not ship
when someone says: ip, server addresswhen someone says exactlyThe whole message
when someone says exactly: pineapplewhen a message hasAnywhere, even inside a word
when a message has: ip, server addresswhen a message starts withThe start, like !ip
when a message starts with: !iponly inOnly in these channels (not in #channel everywhere else)
only in #general, #lfgnot inEverywhere but these channels
not in #rulesif you haveOnly people with the role (or for several); if you don’t have @Role the others
if you don't have @Regularonce per person everyEach person sets it off once in that time
once per person every dayonce everyOnce in that time in each channel
once every 10 minuteslimitOnly the first times ever (limit 1: the first time only)
limit 1replyAn answer only they see, under their message
reply: Here you go: #rulespostEveryone sees it, as a reply to their message; post in #channel: text elsewhere
post: Play with us at **play.tether.gg**reactA reaction on their message
react: 👋delete their messageTakes their message away for everyone
delete their messageaddInto a list; add 1 to score counts up
add you to findersremoveOut of a list
remove you from maybesubtractCounts down
subtract 2 from scoresetA number: set bruhs to 0
set bruhs to 0clearEmpties a list
clear findersgiveA role, to them or to a list (its first 100)
give @Found it to youtakeTakes a role away
take @Guest from youtoggleGives it, or takes it when they have it
toggle @Pings for youdm youA direct message from the server to them
dm you: Thanks for signing up!pingA message mentioning everyone in a list (its first 100)
ping going: Game night starts in an hour!
Example
trigger Server IP {
when someone says: ip, server address
post: Play with us at **play.tether.gg** 🎮
}
Nothing matches.