Skip to content

Server Links

Minecraft chat lets players click URLs in chat or written books. The simplest way to expose external links from a menu is to open a single-page book per link - the book renders the URL as clickable text right in the player’s UI.

A chat message with a URL is fine but easy to scroll past. A written book opens in the player’s view, looks more deliberate, and the URL is rendered as a big clickable button. For a “links” menu, books are the better UX.

openBook {
author: "MyTestServer"
title: "&5Discord"
pages: [
"Click the link below to open our invite:\n\nhttps://discord.gg/example"
]
}

pages is a list of strings; each string is one page. Newlines inside a string break to new lines on that page. Plain URLs become clickable automatically when Minecraft renders the book.

For a multi-page resource catalog, list more strings:

pages: [
"Page 1: Discord invite\nhttps://discord.gg/...",
"Page 2: Website\nhttps://example.org",
"Page 3: GitHub\nhttps://github.com/..."
]

Each click block calls closeMenu: true after opening the book. Otherwise the menu would stay open behind the book - confusing.

  1. Drop the bundle into plugins/AbstractMenus/menus/example/.
  2. /am reload.
  3. Type /ame_links in-game.
  4. Click any tile. A book opens with a clickable URL inside.