14 Commits

Author SHA1 Message Date
Vari
595ad29841 Fix some stuff with the challenge generation and the getChallenges endpoint. 2024-12-18 18:46:19 +01:00
Vari
81f5d5f54c Added Login and Endpoint for claiming message rewards. 2024-05-26 19:19:19 +02:00
Vari
3f9a257821 update UpdateMetadta to set the metadata of the player iven with 'playerId'. 2024-03-09 12:26:15 +01:00
Vari
d1b8e65624 Added handling of the "playerId" parameter to InitOrGetGroups. 2024-03-09 12:26:15 +01:00
Vari
a5113bbe85 Added ExecuteChallengeProgressionBatch Endpoint. 2024-03-09 12:26:15 +01:00
Vari
30a0ed158a Added Unlock Special Items endpoint. 2024-02-29 16:40:09 +01:00
Vari
061b1e2e42 Added endpoint resetCharacterProgressionForPrestige.
It checks if you have all the lvl 10 items in your iventory and if you have enough currency.

Then your character progress gets reset and inventory cleared of the items of that character.

then you get the prestige reward added to your inventory and the prestige lvl of the character goes up
2024-02-29 02:15:44 +01:00
Vari
6ce8d3f6fd Added purchase/set endpoint 2024-02-28 22:16:53 +01:00
Vari
1d133cfefe Added purchase/item endpoint.
The endpoints checks if you can afford the item and have completed the required challenges when any exist.

It also throws an error if you try to buy an item you already have in your inventory.
2024-02-28 17:37:28 +01:00
Vari
223f94a07b Fixed Catalog item Prestige reard and reward item tables and import using only the catalog item id as id, so we could not differentiate between the prestige levels.
Implemented tracking the progress of Signature challenges.

Also implemented both challenges Endpoints "getChallenges" ans "getChallengeProgressionBatch".

For "getChallenges", we just return an empty array since we dont need weekly and dailies yet.
2024-02-28 13:06:56 +01:00
Vari
1360bb7d44 Added updateMetadataGroup:
- Moved initOrGetGroup and updateMetadataGroup into own MetadataController.php becauseits really big and cluttered the PlayerController.php

- Added Challenges and pciked challenges for the characters

- Added that when the game sends us an update for the Character metadata, it automatically creates unknown challenges in the database and sets the picked challenges for this characterData
2024-02-26 11:23:59 +01:00
Vari
18377a3507 Added /inventories endpoint. Also added new raltion to player data for inventory of catalog items. 2024-02-24 23:29:36 +01:00
Vari
135a1cef6d Removed .idea folder 2024-02-15 22:06:43 +01:00
Vari
52984aa81d Added Moderation check username endpoint 2024-02-13 23:40:05 +01:00