Archived
3
0
Fork 1
This repository has been archived on 2025-01-10. You can view files and clone it, but cannot push or open issues or pull requests.
docs/themepark/usage.md

64 lines
3.8 KiB
Markdown
Raw Normal View History

2022-11-11 19:17:56 +00:00
---
title: Usage
description: Information about the usage of the ThemePark plugins
published: true
2024-12-01 18:21:22 +00:00
date: 2023-02-16T21:10:38.117Z
2022-11-11 19:17:56 +00:00
tags:
editor: markdown
2024-12-01 18:21:22 +00:00
dateCreated: 2023-02-16T21:10:36.262Z
2022-11-11 19:17:56 +00:00
---
# ThemePark
2022-11-11 19:18:55 +00:00
Information about the ThemePark plugin.
2022-11-11 19:17:56 +00:00
## Commands and Permissions
| Command | Description | Permission |
|---|---|---|
| `/themepark help` | Display the help list. | |
| `/themepark menu` | Open the attraction menu. | |
| `/themepark item` | Get the attraction menu item. | |
| `/themepark region list` | Get a list of all the regions. | themepark.admin |
| `/themepark region create <Region ID> <Name>` | Create a new region with ID and displayname. | themepark.admin |
| `/themepark region name <Region ID> <Name>` | Change the name of a region by ID. | themepark.admin |
| `/themepark region material <Region ID> <Material>` | Change the item of the region in the attraction menu by ID. | themepark.admin |
| `/themepark region remove <Region ID>` | Delete a region by ID. | themepark.admin |
| `/themepark attraction list` | Get a list of all the attractions. | themepark.admin |
| `/themepark attraction warp <Attraction ID>` | Warp to an attraction by ID. | |
| `/themepark attraction create <Attraction ID> <Region ID> <Name>` | Create a new attraction with ID, region ID and displayname. | themepark.admin |
| `/themepark attraction name <Attraction ID> <Name>` | Change the name of an attraction by ID. | themepark.admin |
| `/themepark attraction cover <Attraction ID> <Cover>` | Change the cover image of an attraction by ID.<br>**Only applicable if ThemeParkPanel is used!** | themepark.admin |
| `/themepark attraction status <Attraction ID> <Status>` | Change the status of an attraction by ID.<br>*Available statuses are listed below.* | themepark.admin |
| `/themepark attraction location <Attraction ID>` | Change the location of an attraction to your current location by ID. | themepark.admin |
| `/themepark attraction remove <Attraction ID>` | Delete an attraction by ID. | themepark.admin |
| `/themepark status name <Status> <Name>` | Change the name of a status. | themepark.admin |
| `/themepark status color <Status> <Color>` | Change the color of a status.<br>*For example: `&4`* | themepark.admin |
| `/themepark status hex_color <Status> <Color>` | Change the HEX color of a status.<br>*For example: `#3498db`*<br>**Only applicable if ThemeParkPanel is used!** | themepark.admin |
| `/themepark status material <Status> <Material>` | Change the material of a status in the attraction menu. | themepark.admin |
| `/themepark status teleport <Status> <Teleport?>` | Set if players can teleport from the attraction menu at a specific status.<br>*Available: `true` / `false`* | themepark.admin |
| `/themepark ridecount get <Attraction ID> <Player>` | Get the ridecount of a player by an attraction ID. | themepark.admin |
| `/themepark ridecount add <Attraction ID> <Selector> <Amount>` | Add an amount to the ridecount of a (set of) player(s). *Use the Minecraft selector to select players. For example: @a[region=myrideregion]* | themepark.admin |
| `/themepark ridecount total_type <Type>` | Change for which interval ridecount values will be valid.<br>*Available: `DAILY`, `WEEKLY`, `MONTHLY`, `YEARLY`, `TOTAL` (Where TOTAL is always valid)* | themepark.admin |
2022-11-11 19:24:45 +00:00
> **Available statuses:** `GLOBAL`, `CONSTRUCTION`, `OPEN`, `CLOSED`, `MAINTENANCE`, `MALFUNCTION`
2022-11-11 19:18:55 +00:00
{.is-info}
2022-11-11 19:24:45 +00:00
## Signs
### Status
ThemePark provides a status sign which shows the status of an attraction and can teleport players to the attraction at click.
```
[ThemePark]
<Attraction ID>
```
The first line can be changed in the `settings.yml`. Make sure to adapt at creation.
### Ridecount
ThemePark provides a [TrainCarts](https://www.spigotmc.org/resources/traincarts.39592/) sign for adding to the ridecount of an attraction.
```
[train]
ridecount
<Attraction ID>
<Amount>
```