RCML is a markup language for paper components, i made this because i found them tideous to write by hand
[color:0,255,17]Colored text
[italic:true]Italic text
[underlined:true]Underlined text
[bold:true]Bold text
[strikethrough:true]Strikethrough text
[color:0,255,17][bold:true]Combine tags!
Brackets can be used like this: [[ ]]
color- Description: Set text color for the following text
- Value: RGB color, e.g. 123,255,255 or 123, 233, 144
italic- Description: Set italic flag for the following text
- Value: true|false
underlined- Description: Set underlined flag for the following text
- Value: true|false
bold- Description: Set bold flag for the following text
- Value: true|false
strikethrough- Description: Set strikethrough flag for the following text
- Value: true|false
reset- Description: Reset style
- Value: (No value)
RCML01- Unknown tag nameRCML02- Invalid tag valueRCML03- Unmatched tag valueRCML04- Invalid integerRCML05- Value found in a non-valued tag
-
- Add jitpack repository
In your pom.xml in
<repositories>:
- Add jitpack repository
In your pom.xml in
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>-
- Add RCML dependency
In your pom.xml in
<dependencies>:
- Add RCML dependency
In your pom.xml in
<dependency>
<groupId>com.github.aceinetx</groupId>
<artifactId>rcml</artifactId>
<version>1.4.0</version>
<scope>provided</scope>
</dependency>-
- Import rcml
import ru.aceinet.rcml.RCML;-
- Compile some rcml code
Bukkit.getConsoleSender().sendMessage(
RCML.compile("Hello from [bold:true][color:255,0,0]RCML[reset]!")
);rvnfml (a.k.a aceinetx) 2021-2025