The Friend Extension adds a player-to-player friend system to TypeWriter:
players send and answer friend requests, browse their friend list in a GUI
menu, and teleport to friends who are online.
Features
- Friend Requests — Send, accept, and decline requests between players.
- Friend List — A GUI menu listing friends with their online status.
- Teleportation — Teleport to a friend directly from the menu or command.
- Story Integration — Facts expose friendship state to your scripts, so
quests and dialogue can react to who a player is friends with.
Commands
| Command | Description |
|---|
/friend help | Show the command help. |
/friend add <player> | Send a friend request. |
/friend accept <player> | Accept a pending request. |
/friend decline <player> | Decline a pending request. |
/friend remove <player> | Remove an existing friend. |
/friend list | Open the friend list. |
/friend toggle | Toggle friend request notifications. |
/friend tp <player> | Teleport to an online friend. |
Entries
Quick Start
- 1. Open the menu — Trigger the friend_menu action from a command, NPC,
or item to let players manage their friends. → friend_menu
- 2. React in your story — Use the is_friend fact to gate dialogue or
quests on friendship. → is_friend
Permissions
| Permission | Description |
|---|
friend.use | Use the friend system. |
friend.tp | Teleport to a friend. |
friend.admin | Administrate the friend system. |
Dependencies
| Extension | Required | Usage |
|---|
| GUI Extension | Required | Renders the friend menu (layoutPool, mainLayoutId). |