Skip to content

Plugin documentation guide

A plugin's documentation accepts simple HTML: a closed list of tags that MineBuilders rebuilds before showing them. Here is each one, with what it does, an example to copy and how it looks on the plugin page.

To read it all at once, or to paste it where someone will write the documentation for you, use the plain text version of this guide.

The rules

  • Up to 20,000 characters, tags included.
  • Only the tags in this guide. Any other — <script>, <style>, <div>, <span> and the one in a command, like /home <player> — shows as text, exactly as written.
  • Attributes are dropped — class, style, onclick and any other —, except the link's href, the image's src and alt, and the src of the YouTube frame.
  • Links to websites are fine. Group invites (Discord, WhatsApp, Telegram), social media profiles, e-mails and phone numbers aren't: with one of them, the documentation isn't saved.
  • Up to 40 images per plugin, counting uploaded photos and images copied from an address, at least 16 pixels on each side, with the long side at most 8 times the short one. Each image carries the MineBuilders watermark and the publisher's nick.
  • A YouTube video shows as its thumbnail, and YouTube only loads when someone clicks to watch.
  • Outside the tags, text counts as written: a blank line separates paragraphs, and a single line break still breaks the line.

Headings

<h2> is a section heading, <h3> a subheading and <h4> a smaller heading. <h1> becomes <h2>: the plugin page already has the main title.

Write

<h2>Installation</h2>
<h3>Requirements</h3>
<h4>Optional</h4>

It looks like this

Installation

Requirements

Optional

Paragraphs and line breaks

A blank line separates paragraphs, with no tag at all, and a single line break still breaks the line. <p> opens a paragraph by hand, and <br> breaks the line inside it.

Write

First paragraph.

Second paragraph,
with a line break.

<p>A paragraph with the tag,<br>and a line break with it.</p>

It looks like this

First paragraph.

Second paragraph,
with a line break.

A paragraph with the tag,
and a line break with it.

Emphasis in the text

<strong> is bold and <em> italic; <u> underlines, <s> strikes through, <mark> highlights, <small> shrinks, <sub> and <sup> lower and raise the text, and <kbd> shows a key.

Write

<strong>Bold</strong>, <em>italic</em>, <u>underlined</u> and <s>struck through</s>.
<mark>Highlighted text</mark> and <small>small text</small>.
H<sub>2</sub>O and 10<sup>3</sup>.
Press <kbd>F3</kbd> to see the coordinates.

It looks like this

Bold, italic, underlined and struck through.Highlighted text and small text.
H2O and 103.
Press F3 to see the coordinates.

Code

<code> marks a command or a name in the middle of the text. <pre> keeps a whole block exactly as written, with its spaces and line breaks; inside it, everything is text, even what looks like a tag.

Write

Use <code>/shop open</code> to open the menu.
<pre>
shop:
  title: "Server shop"
  items: 27
</pre>

It looks like this

Use /shop open to open the menu.

shop:
  title: "Server shop"
  items: 27

Lists

<ul> makes a bulleted list and <ol> a numbered one; each item goes in an <li>.

Write

<ul>
  <li>Paper 1.21</li>
  <li>Vault</li>
</ul>
<ol>
  <li>Download the .jar file.</li>
  <li>Put the file in the plugins folder.</li>
  <li>Restart the server.</li>
</ol>

It looks like this

  • Paper 1.21
  • Vault
  1. Download the .jar file.
  2. Put the file in the plugins folder.
  3. Restart the server.

Tables

<table> builds the table, one row in each <tr>; <th> is a header cell and <td> a regular one.

Write

<table>
  <tr><th>Command</th><th>Permission</th></tr>
  <tr><td>/shop</td><td>shop.use</td></tr>
  <tr><td>/shop admin</td><td>shop.admin</td></tr>
</table>

It looks like this

CommandPermission
/shopshop.use
/shop adminshop.admin

Quote

<blockquote> sets a passage apart, like an important warning.

Write

<blockquote>Back up the world before updating the plugin.</blockquote>

It looks like this

Back up the world before updating the plugin.

Divider line

<hr> draws a line from one side to the other, to separate the sections.

Write

End of installation.
<hr>
Start of configuration.

It looks like this

End of installation.


Start of configuration.

Images from an address

<img src="…" alt="…"> shows the image at an https:// address. MineBuilders copies the image, with the watermark, and the page shows it from here: visitors make no request to the website it came from. The alt describes the image for people who can't see it.

Write

<img src="https://example.com/shop-menu.png" alt="The shop menu open in the game">

It looks like this

The shop menu open in the game

Photos from your computer

The editor's “Upload photo” button sends an image from your computer and writes the tag with its code, foto:…. The photo only works in the documentation of the plugin it was uploaded to.

Write

<img src="foto:3f2a9c1e-5b7d-4e8a-9c0b-1d2e3f4a5b6c" alt="The /shop command in the chat">

It looks like this

The /shop command in the chat

YouTube videos

<youtube>, with a video's address inside, shows the video's thumbnail; YouTube only loads when someone clicks to watch. Addresses from youtube.com/watch, youtu.be, /shorts and /embed work, and so does the <iframe> YouTube gives you to embed. The t= in the address sets where the video starts.

Write

<youtube>https://www.youtube.com/watch?v=M7lc1UVf-VE</youtube>

It looks like this

YouTube video: it only loads when you click to watch.

Block that opens and closes

<details> hides a long passage, like the whole configuration, until someone clicks its title, which goes in the <summary>.

Write

<details>
<summary>See the full configuration</summary>
<pre>
shop:
  currency: Vault
</pre>
</details>

It looks like this

See the full configuration
shop:
  currency: Vault

Centered text

<center> centers what's inside it: a heading, an image, a paragraph.

Write

<center>
<h2>Server shop</h2>
<img src="https://example.com/logo.png" alt="The shop's logo">
</center>

It looks like this

Server shop

The shop's logo

Support MineBuilders

Give whatever you want, by PIX or card. Support is voluntary, buys nothing, and can be undone within 7 days. How it works