Wiki Slot

A simple extra Slot with a book.
Wiki Slot
 
Adds a 10th, virtual hotbar slot to the right of the normal hotbar. It holds a book that server owners fill with their own content (rules, wiki links, welcome text). Players open it with a right-click.
 
FOR PLAYERS
- Scroll past slot 9 with the mouse wheel to select the wiki slot, or press 0 (rebindable in Controls under "Wiki Slot").
- Right-click opens the book. Links in the book are clickable.
- While the slot is selected, attacking, breaking blocks and dropping items are blocked.
- You don't need to configure anything. The content comes from the server when you join.
 
FOR SERVER OWNERS
1. Install the mod on the server and on all clients (NeoForge 1.21.1).
2. Start the server once. It creates config/wikislot-server.toml.
3. Open that file and fill in your content:
- label: text shown above the bars while the slot is selected (leave empty for none)
- title: title of the book
- pages: one entry per page
4. Restart the server. Players get the new content the next time they join.
 
The book is empty by default and shows "Noch kein Inhalt eingetragen." until you add content.
 
EXAMPLE
label = "Wiki"
title = "My Book"
pages = [
"Welcome!\n\nHave fun on the server.",
'[{"text":"Visit our website","color":"blue","underlined":true,"clickEvent":{"action":"open_url","value":"https://example.com"}}]'
]
 
NOTES
- Plain text works directly, \n is a line break.
- Clickable links are written as JSON text in single quotes, as in the example. Several parts on one page go into a JSON list.
- On servers that do not have the mod, the slot shows an empty book.
- The mod is client and server side. The content is stored only on the server, not in the mod file.

Wiki Slot Team

profile avatar
  • 2
    Projects
  • 36
    Downloads

More from BlackzYoo