That's very simple. You have to use the attraction.yml file for this:
Go to the ThemePark folder in the plugins folder, and select the attraction.yml file
Under attraction: 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):
attraction.ymlattraction:test:name: "&aTest"region_id: "fantasy"type: RIDEstatus: CLOSEDlocation: "world:418:65:30"test2:name: "&aTest 2"region_id: "fantasy"type: RIDEstatus: CLOSEDlocation: "world:418:65:30"
In this case, test is the ID of the attraction. name contians the name of the ride, region_id is the ID of the region. It has to be a region that exists! type is RIDE. If you want to create a show, you have to put SHOW there. The status is CLOSED, but you can change it in-game. The location can also be changed in-game.
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.
It is possible that you have filled in the wrong credentials of your MAIL settings. Please contact your hosting for the right credentials.
If your credentials are correct, you have to start debugging. You can do that by adding this row at the Email.php file (after isSMTP()):
Email.php$mail->SMTPDebug = 2;
Now try to create an account. Then it will probably give you an error. Here are 2 common errors:
Add this to your code, after the SMTPDebug (Change example.com to your domain name):
Email.php$mail->Hostname = 'www.example.com';
Some credentials are incorrect. If you enable debugging, it will tell you what is incorrect. Change these credentials in the config.php file. If you get error 10060, your port is probably incorrect. If you have HTTPS enabled, you can use SSL/TLS (depends on which host you are using).
Email.php$mail->SMTPAutoTLS = false;$mail->SMTPSecure = false;
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 if the panel or ID is used by 2 different servers.
The attraction is not OPEN/CLOSED OR ACTIVE/INACTIVE.
The attraction is not in the panels.yml file.