From 8a3df13fb1733865763aa27052739dfad56f302c Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 11 Nov 2022 18:47:15 +0000 Subject: [PATCH] docs: update themepark/setup --- themepark/setup.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/themepark/setup.md b/themepark/setup.md index b484a78..be26ff8 100644 --- a/themepark/setup.md +++ b/themepark/setup.md @@ -2,7 +2,7 @@ title: Setup description: Setup of the ThemePark package. published: true -date: 2022-08-28T19:19:02.137Z +date: 2022-11-11T18:47:13.321Z tags: themepark editor: markdown dateCreated: 2022-08-28T14:58:02.841Z @@ -29,4 +29,22 @@ dateCreated: 2022-08-28T14:58:02.841Z 2. To proceed, choose the type you want to install this panel on: - [Shared webhosting *If you own webhosting (you share with others)*](/en/themepark/setup/shared) - [VPS running Linux *If you own an VPS running Linux*](/en/themepark/setup/linux) -{.links-list} \ No newline at end of file +{.links-list} + +# ThemeParkPanelPlus + +**Make sure to follow the ThemeParkPanel instructions first!** + +1. Open the `settings.yml` from ThemeParkConnector. Then change the `socket.id` to something unique for your server. Make sure to save the ID somewhere, because you need it for Step 5. +2. Change the `socket.panel` URL to your own panel domain. For example `https://tppanel.mythemeparkserver.com/control/%ID%/%TOKEN%`. *(do **NOT** remove the `%%` variables)* +3. Extract the files from the ThemeParkPanelPlus ZIP into the root folder of your ThemeParkPanel installation. +4. Open the `routes/web.php` and append the following at the end: +```php +//ThemeParkPanelPlus +Route::get('/control/{attraction_id}/{pin}', 'ControlController@index'); +``` +5. Open the `.env` file and append the following at the end: +``` +CONTROL_ID=CHANGEME +``` +Make sure to change `CHANGEME` into the ID you configured in Step 1. \ No newline at end of file