Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commands & Permissions

Drăghiciu Nicolae edited this page Mar 24, 2023 · 42 revisions

Syntax

All commands starts with /abook <sub-command>.

Sub-Commands

Dictionary

[variable] means it's an optional variable <variable> means it's an required variable

Command Permissions Description
help astralbooks.commands.help Shows help page
npc set [right/left] astralbooks.command.npc.set Set a book to an NPC
npc remove [right/left] astralbooks.command.npc.remove Removes the book from an NPC
npc getbook [right/left] astralbooks.command.npc.getbook Gets the book from an NPC.
openbook astralbooks.command.openbook Makes a written book to be writable again.
closebook <author> <title> astralbooks.command.closebook Makes a writable book to be a written book.
reload astralbooks.command.reload Reloads the plugin.
setcmd <command> <filter name> [permission] astralbooks.command.setcmd Sets a new command that can be executed by players.
Clone this wiki locally