Commit Graph
25 Commits
Author SHA1 Message Date
Melledy c2ebff92c9 Clean up some stuff and update enums 2025-12-23 20:56:00 -08:00
Melledy 53839b48ca Implement !autobuild command
The `!autobuild` (or `!ab`) command allows you to build a record without needing to add every id. Missing trekkers/discs/potentials/melodies will be auto selected by the server.

Usage:
`!autobuild [character/disc/potential/melody ids...] lv[target record level] s[target record score]`

Examples:
`!autobuild s99999` = Creates a record with a random main trekker with the max score.
`!autobuild 103 lv30` = Creates a record with this trekker at record rank 30.
`!autobuild 155 132 107 s25000` = Creates a record with these trekkers with a record score of about 25000.
`!autobuild 103 510301 510302 510303 510304 lv20` = Creates a record with this trekker and these potentials at record rank 20.

Notes:
- Target level overrides target score. So a command of `!autobuild lv30 s1000` would have a record rank of 30 and NOT a score of 1000.
- If there is no target level or score, the command will default to a target level of 40.
- You can only add trekkers/discs that you own.
2025-12-20 04:20:34 -08:00
Melledy 495e76a456 Added command to set a trekker's emblem stats
Usage:
`!e [character id] [slot id - this is between 1 and 3] [attr 1] [attr 2] [attr 3] [attr 4]`

Example:
`!e 141 1 1004 1004 1004 1004` = Sets the first emblem of the character to all +ignis damage.

Notes:
Attribute ids can be found in `CharGemAttrValue.json` in the resources/bin folder.
2025-12-19 01:18:37 -08:00
Melledy d9b502002c Improve achievement params handling 2025-12-16 00:11:18 -08:00
阁主 fef25496fa Implement !status command 2025-12-11 21:21:01 -08:00
Melledy 5d9ff6e1af Fix !build command potential count and not saving to the database 2025-12-10 20:38:05 -08:00
HongchengQ 3a6387c2bd Implement ban functionality
- Added ban module
- Added Ban and Unban commands, supporting banning and unbanning players through various command parameters.
- Added timestamp formatting method in Utils utility class for displaying ban expiration times
- Introduced PlayerErrorCode enum defining various error codes including ErrBan
- Added dual ban checking for both IP and user during player login
- Optimized login failure responses to provide specific error reasons and parameters
2025-12-10 16:33:41 -08:00
Melledy 80a181680b Fix !giveall not saving characters/discs properties to the database 2025-12-08 20:12:19 -08:00
Melledy 78d88a87cd Bump server version to 1.1.3
Also updated readme and command descriptions
2025-12-08 01:28:10 -08:00
Melledy 70c7c849df Implement !battlepass command
Examples:
`!battlepass premium` = Activates elite grant
`!battlepass lv40` = Unlocks the rewards up to level 40
2025-12-05 21:03:09 -08:00
Melledy aecea6ab03 Implement !build command for creating records 2025-12-01 13:33:34 -08:00
Melledy 9188d3b53a Improve command arg handling 2025-12-01 13:16:24 -08:00
RaidenShogun503andMelledy 6d9e28963d Add Command SetLevel (#8)
* Add Remote Command API (Use KEY)

* Clean up HttpServer by removing unused code

Removed commented-out code

* Add SetLevel Command (need to restart the game for it to take effect)

* Add Proto Request Change Level (Not Work)

* Update setlevel command

---------

Co-authored-by: Melledy <121644117+Melledy@users.noreply.github.com>
2025-11-26 19:45:45 -08:00
Melledy 2acd506245 Improve command system 2025-11-25 23:09:20 -08:00
阁主 3a7d12c7b7 Implement !clean command and f affinity 2025-11-25 19:33:02 -08:00
Furiri 008cd06b32 Add Remote Command API (Use KEY) 2025-11-25 06:24:17 -08:00
Melledy 05555c684e Implement !disc command and improve !giveall to apply properties 2025-11-18 03:12:10 -08:00
Melledy b97f23aa3c Implement !giveall command
-Also fixed server error when receiving characters
2025-11-17 08:57:25 -08:00
Melledy 334c8dc12e Add !character command 2025-11-17 07:25:18 -08:00
Melledy 5f98c8ce80 Allow the server to send ClientDiff 2025-11-15 04:29:55 -08:00
Hiro 33babe3405 fully implement the mail command 2025-11-15 11:29:40 +02:00
Melledy 66c6554bb9 Delete player when deleting account 2025-11-14 06:14:31 -08:00
Melledy 489b88ea4a Give command now logs a message to the console 2025-10-30 08:41:29 -07:00
Haru 0524278cac Display command 2025-10-30 21:02:27 +07:00
Melledy f58951fe2a Initial Commit 2025-10-27 02:02:26 -07:00