This file will help you set up your JSON file for DiscordCraft. This will be updated when new groups/settings get added to the mod
First of all we have the standard JSON that gets shipped with the mod
{
"groups": [
{
"groupId": "default",
"template": "Dimension: {dimName}"
},
{
"groupId": "gcsatellite",
"template": "Orbiting around {planet} on a space station"
},
{
"groupId": "gcmoon",
"template": "On moon {moon} around {planet}"
},
{
"groupId": "gcplanet",
"template": "On planet {planet}"
},
{
"groupId": "rftools",
"template": "RFTools dimension: {rftools}"
}
],
"dimensions": [
{
"dimName": "moon.moon",
"template": "On the moon"
},
{
"dimName": "twilight_forest",
"template": "The Twilight Forest"
},
{
"dimName": "hunting_dim",
"template": "The hunting dimension"
},
{
"dimName": "the_nether",
"template": "The Nether"
},
{
"dimName": "the_end",
"template": "The End"
},
{
"dimName": "overworld",
"template": "The Overworld"
},
{
"dimName": "planet.asteroids",
"template": "Jumping on some Asteroids"
}
]
}
I will explain what every thing in the example about does.
First of all we have groups. Every group has an ID, and a template. In this template you can use several variables. On every group you always have the {dimName} and {DimId} Theese wil be the internal name of the dimension without any underscores and the numerical ID of the dimension.
Currently the following groups are supported with their variables
The groups can be set in any order, they just need to have a groupId and a template
You can also set up the dimensions themselves.
The dimensions will need to be set by using the dimension name AKA the {dimName} variable. Dimensions also have both {dimName} and {dimID} as variable data.
Theese will always be prioritized above the group. So for example if you have both gcmoon and moon.moon set ip it will pick moon.moon.
Starting on version 2.0 you also have a /diminfo command. This will give you the info about the dimension you are currently in. It will give you the dimName, the dimId and what group it is part of.
Example:
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
![image alt](https:// "title") | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | Emoji list | ||
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing