Table Maker
A feature-packed clan war table maker! If needed, table commands can be disabled through your server's config settings.
Overview
!table [style options]
[table options]
[table data]
!tablel
To add team logos, use !tablel
instead of !table
, and if a team has a logo but the color is not set, the text will be white by default. Alternatively, you can use an image url in place of a team's name to use a logo without needing to first add it with !logoadd.
Click here to learn more about adding custom logos, and click here to learn more about custom flags.

Specifics
style options
: Optional style modifiers. All style options should be written on the top line, separated by a space.
Tournament themes
There can only be one tournament theme selected.cwl
: Clan War League table (MKT)cyclone
: Cyclone table (MKT)sw
: Survival War table (MKT)wc
: MKT World Cup table (MKT)mku
: Mario Kart Universal table (MK8DX)pl
: Pacific League table (MK8DX)mkcf
: MKCentral Frontier table (MK8DX)summit
: MKCentral Summit table (MK8DX)ldc
: Low-Div Cup table (MK8DX)mdc
: Mid-Div Cup table (MK8DX)100pc
: 100 Point Cup table (MK8DX)paradigm
: Paradigm table (MK8DX)
Additional style options
mkt
: Add the MKT logo in the middle of the table.cyclone
andsw
will automatically add it, unless you specifynomkt
nomkt
: Don't add the mkt logo. This option can be used to force the table maker to not add the MKT logo.bold
: Make the player names, and player scores bold.nobold
: This option can be used to force the table maker to not make any of the text bold.emote
oremoji
: Allows you to add emojis (including Discord emojis) to the table data. Without this, emojis may not be parsed correctly.nodate
: Hide the date. However, this will not be available if you are creating a tournament table.races
: force display the race count (ex. 12 Races) if the score is divisible by 39 or 82. Use this option if you are creating a tournament table, like mku, that does not show the race count by default.noraces
: Hide the race count.noline
: Hide the line separating the different teams. Useful if you are using a background image.bgfit
: Forces the full background image to fit within the table. By default, without bgfit, the background will be scaled to fill the entire table. See example 7 and example 8 below to see what the background star looks like with and withoutbgfit
.norank
: Disable the rank icons for the teams and players. For example, the table will display1st
instead of 🥇.
table options
: Optional table modifiers. Each table option should be on its own line, and it should start with a #.
#date <date>
: Set the date on the header. The format should bedd mmm yyyy
#title <title>
: Set a custom title to the left of the date. You can add a dot•
to separate words with a dot.#icon <url>
: Set a custom icon image on the top left of the table#centericon <url>
: Set a custom icon image in the center of the table#dotalpha <val>
or#dotopacity <val>
: Set the dot transparency. The value should between 0 and 1; a value of 0 will not display the dots. Default: 0.55#dotcolor <color>
: Set the dot color. This can be a single color (#FF0000
) or a gradient (#FF0000 #0000FF /
).#background <url>
or#bg <url>
: Set the background image. This allows you to use an image url instead of sending an image attachment when using the !table command. Note: the default table option values are dotalpha=0, and bgbright=0.7#bgbright <val>
: Set the background brightness if a background image is being used. Val should be between 0 and 1 where 0 is full dark and 1 is full bright.#bgalpha <val>
or#bgopacity <val>
: Set the background opacity if a background image is being used. Val should be between 0 and 1 where 0 is fully transparent and 1 is fully opaque.#bgcolor <color>
: Set the background color. This will show behind an optional background image in case the image contains transparent pixels. This can be a single color (#FF0000
) or a gradient (#FF0000 #0000FF /
).#topcolor <color>
: Set the top team's color, as well as every odd team if there are 3+ teams. This is different than setting an individual team's color since the top team will always be the #topcolor color. This can be a single color (#FF0000
) or a gradient (#FF0000 #0000FF /
).#bottomcolor <color>
: Set the bottom team's color, as well as every even team if there are 3+ teams. This is different than setting an individual team's color since the bottom team will always be the #bottomcolor color. This can be a single color (#FF0000
) or a gradient (#FF0000 #0000FF /
).#textgradient <gradient>
: Apply a single text gradient to the whole table like the 100pc and paradigm themes. If provided, this will override any clan specific colors. Example gradient:#FF0000 #0000FF /
.#font <fontName>
: Set the text font. A list of available fonts is shown in the section below titled "Fonts".
table data
: Here is an overview:
- The table data should start with the team name.
- Full team name: You can add the full team name below the abbreviation on the table by including a dash like so:
ABB - Full Team Name
. This is not available if using!tablel
. - Team color: You can set the team's text color by including a hex color code to the right, like
#FF0000
. This will override the colors if !tablel is used, but this will have no effect if a style option is used (such as cwl, cyclone, or mku). - Team color gradient: Similar to above, you can set a two-color gradient for the team. To do so, use the following syntax:
color1 color2 optionalDirection
. OptionalDirection must be one of the following four characters:/
: From bottom left to top right\
: From top left to bottom right-
: From left to right|
: From top to bottom
/
. For example, the following will set a red to orange gradient going from left to right:#ff0000 #ff8800 -
. - Skip logo when using !tablel: Include a dash before the team name, like in
-vx
, to display the team's tag, likevx
, instead of their logo when using !tablel. - Add logo from url: Instead of having to use
!addlogo
, you can just use the image url in place of the team tag. This will allow you to add a temporary private logo since it won't show up when someone uses!listlogos
. You can also specify the team color by adding the color to the right of the url. Note: this will only work if you are using!tablel
and not!table
. - Ignore team name and logo: Use either a dot (
.
) or a single dash (-
) for the team name to leave out their tag or logo. - Add player names below the team name.
- Format:
PlayerName [Flag] Score
. Adding a flag is optional. A list of standard country flags can be found here, and you can learn more about custom flags here. Regarding player scores, you can use addition to calculate them, like45+10+15
. - To add a player penalty, use
score-penalty
without a space. For example, if someone scored 80 points with a penalty of 10, use80-10
. - To add more teams, simply add the next team's name below the previous team's last player.
- To add a team penalty, write
Penalty
followed by the penalty amount. For example, if a team has a penalty of 5, usePenalty -5
.
table background
: To set the table background with an image, attach an image to the command. Then, the default table option values are dotalpha=0, and bgbright=0.7. You can add the table option #bgbright 1
to make the background brighter, but it may cause some text to be harder to read.
Ice Mario will do its best to make sure the points add up correctly. If the total is between 400 and 500, it will make sure the points add to 468, and if the total is between 900 and 1050, it will make sure the points add to 984. Outside this range, Ice Mario will check to see if the total is divisible by either 39 or 82. If everything is correct, the table message will be green. Otherwise, there will be one or more warning messages.
Save Custom Table Settings
Use the following commands to add, remove, get, or list table settings. These settings are saved to your server, so they cannot be used in other servers.
!tablesettingsadd name messageLink
!tsa
name
: The name for the settings. Must be one word with no spaces.
messageLink
: The Discord link to the !table command.
Add a new custom table setting. This will save the settings from the table command referenced in the messageLink
argument.
Here is an example of saving a table style called mystyle
:

A few notes:
- This will save the background image if one was provided, either with #bg or as an attachment!
- All icons will also be saved!
- If #date was used in the original table command, it will NOT be saved.
- Specific team colors (where you add a color to the right of a team) will NOT be saved.
- You can have up to 10 saved table settings per server.
- You can override any saved settings when using
!table
.
!tablesettingsremove name
!tsr
name
: The name for the settings to remove.
Remove a custom table setting.
!tablesettingsget name
!tsg
name
: The name for the settings to get.
Show what the table settings are for name
.
!tablesettingslist
!tsl
List the names of the saved table settings.
Examples
Fonts
Here is a list of the available fonts. Additional fonts can be requested by DM or by joining our support server!
To use one of these fonts, use #font fontName
.For example, #font times new roman
and #font tnr
will both yield the same results.
- Roboto (default)
- About Friend (or af)
- Arial
- Arcane
- Bahnschrift
- Courier New (or cn)
- Georgia
- Mario Kart (or mk)
- MKT
- Montserrat
- Nintendo Switch (or ns)
- Perpetua Titling MT (or ptmt)
- Real Madrid (or rm)
- Splatoon
- Sprayerz
- Super Mario World (or smw)
- Times New Roman (or tnr)
















Tournament Themes











