-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs & Add switch server action
- Loading branch information
Showing
6 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
documentation/docs/adapters/BasicAdapter/entries/action/switch_server_action.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import * as fields from '@site/src/components/EntryField'; | ||
import Admonition from '@theme/Admonition'; | ||
import Link from '@docusaurus/Link'; | ||
|
||
# Switch Server Action | ||
|
||
The `Switch Server Action` is an action that switches the player to another server. | ||
|
||
## How could this be used? | ||
|
||
This could be used to switch a player from one server to another when interacting with an entity, maybe clicking a button. | ||
|
||
|
||
## Fields | ||
|
||
<fields.CriteriaField /> | ||
<fields.ModifiersField /> | ||
<fields.EntryField name='Triggers' required multiple> | ||
</fields.EntryField> | ||
<fields.EntryField name='Server' required> | ||
The server the player has switched to | ||
</fields.EntryField> |
21 changes: 21 additions & 0 deletions
21
...entation/docs/adapters/BasicAdapter/entries/audience/tab_list_header_footer.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import * as fields from '@site/src/components/EntryField'; | ||
import Admonition from '@theme/Admonition'; | ||
import Link from '@docusaurus/Link'; | ||
|
||
# Tab List Header Footer | ||
|
||
The `TabListHeaderFooterEntry` is an entry that sets the header and footer of the tab list. | ||
It takes in lines for the header and footer. | ||
And shows them to the players in the tab list. | ||
|
||
|
||
## Fields | ||
|
||
<fields.EntryField name='Header' required multiple> | ||
The lines to display in the header of the tab list | ||
</fields.EntryField> | ||
<fields.EntryField name='Footer' required multiple> | ||
The lines to display in the footer of the tab list | ||
</fields.EntryField> | ||
<fields.EntryField name='Priority Override' optional> | ||
</fields.EntryField> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters