That's very simple. You have to use the attraction.yml file for this:
Go to the ThemePark folder in the plugins folder, there yiy want to go into the attractions folder. In here choose the <region id>.yml for the region you want to add the attraction to.
Under attractions: you have to create a new attraction. Copy it from a attraction you've already made or from here. Pay attention that you get something like this (with other names):
<region id>.ymlattractions:test:name: "&aTest"type: RIDEstatus: CLOSEDlocation: "world:418:65:30"test2:name: "&aTest 2"type: RIDEstatus: CLOSEDlocation: "world:418:65:30"
In this case, test is the ID of the attraction. name contians the name of the ride, type is RIDE. If you want to create a show, you have to put SHOW there. The status is CLOSED but you can use any status for this, you can also change it in-game. The location can also be changed in-game.
To do this you have to use the settings.yml file and add the world to the worlds tab of the item. If I want to disable the world with the name "world_name" I need to add it to the list of worlds like done bellow.
item:#DEFAULT STUFFworlds:- world_name
Go to the config.yml file of ThemeParkPlus
Set DiscordUpdates.Enabled on true
Create a webhook URL of Discord. See the GIF below.
Copy the URL of the webhook, and paste it into DiscordUpdates.WebhookURL
Now you can change the other settings if you want.
Done! Restart your server, and it will work. ;)
Log in to your database with PHPMyAdmin. Then go to the users table.
Here you have to find the user you want to give the admin right, and then change the value of userAdmin from 0 to 1.
The socket can't connect if:
Your MC name does not match, or the PIN [generated by the sign] does not match.
The MC server has no socket connection, the MC server has a different ID then the panel, or the ID is used by multiple servers (and thus taken).
The attraction is not OPEN/CLOSED AND not ACTIVE/INACTIVE.
The attraction is not in the panels.yml file.
Go to the CraftMend Account panel. Create a new account or login to your account. Get a new fingerprint from the fingerprint page and run the connect command (/oa fingerprint <FingerPrint>) in your server. Then go to the API page. Copy the URL labeled Online Players - V1 and paste it into the .env file at OPENAUDIOMC_URL.
Change {your api key} into the API token you can get on the same page, and change {server id} into the Server ID of the server you want to connect (you can find that on the server page).
First check if you don't get any errors. If not, make sure the name of the ActionFoto board is also the name of a ThemePark ride.
If you get an error, please check below.
The error looks like this:
com.mysql.jdbc.PacketTooBigException: Packet for query is too large. You can change this value on the server by setting the max_allowed_packet' variable.
As you can see, you have to change the max_allowed_packet setting.
Open the my.cnf file and change max_allowed_packet from 32M to 256M. This will allow us to send bigger images.