-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed bugs and added API #572
base: master
Are you sure you want to change the base?
Conversation
Still basic but read-only public API
Includes required routing for API to work
so i had to add this to both php files in the api folder
also change the secret word for planets in playerdata.php on line 40 and line 63 to xgp_ |
place in game directory and this will install the api mod, but i abbreviated the endpoints to |
You don't need PDO to do it, you can use App\Core\Database and it will take the data |
What is this fixing? |
I fixed the bugs with the combat system, one issue was PHP 8 related and the other an incorrectly defined constant in report generation.
Also implemented an API feature