Commit graph

506 commits

Author SHA1 Message Date
Matthew Toro
df3dd69a0d tweak: change name of main menu button from "Auth'"to "Switch User" 2026-04-06 03:09:52 -04:00
Matthew Toro
179d21d7b6 major refactor: auth v3 2026-04-06 02:33:39 -04:00
Matthew Toro
8a8b4b2573 Merge branch 'main' of https://github.com/mattsumi/MinecraftConsoles 2026-04-05 18:05:27 -04:00
Matthew Toro
a257d7899e patch: refactor auth handling. seperate each auth method into their own module. 2026-04-05 18:04:53 -04:00
Matthew Toro
650a709fa9
Merge branch 'smartcmd:main' into main 2026-04-04 22:40:15 -04:00
Matthew Toro
7b6342591c minor change: update authentication messagebox options to include 'Remove' and handle profile removal 2026-04-04 22:35:07 -04:00
Matthew Toro
7d8163539c re: replaced raw pointers in favor of unique_ptr in [HandshakeManager] and related classes. 2026-04-04 20:49:05 -04:00
Matthew Toro
f238e682b3 add: authentication failure handling and ingame error messages 2026-04-04 19:56:53 -04:00
Matthew Toro
14afabda0e fix: fixing an oopsie where password mode would briefly show the real text in the buffer before switching to asterisks when sent to exchange for token. (elyby) 2026-04-04 15:35:40 -04:00
Matthew Toro
acef537a94 add: migration from XUID to UUID 2026-04-04 15:20:58 -04:00
Matthew Toro
692a1ffc8e optimized gameuuid handling 2026-04-04 02:17:59 -04:00
Matthew Toro
6169b133ec patch: add GameUUID for UUID handling 2026-04-04 01:14:32 -04:00
Matthew Toro
452588fc5d patch: make client token handling better 2026-04-03 23:40:48 -04:00
Matthew Toro
1daae8e2a8 major feat: auth v1 2026-04-03 21:39:59 -04:00
Loki
7dfe46aa5d
Add backporting link to Contributor's Guide 2026-04-03 16:56:05 -05:00
Loki
5e5849102f
Add info about backports we will accept. 2026-04-03 16:55:20 -05:00
Us3ful"-Dev
103f38859a
Quality of life netherportal fix (#1337)
* Working New portal checks

fixed x axis portal with obsidian on z axis

* Removed Debug code

* Remove unnecessary code

removed PortalTile:: from PortalTile::validPortalFrame

* Remove more debug code
2026-04-03 15:01:48 -05:00
Matthew Toro
0fa5ae3037 finally added session-based authentication and libcurl for https requests. (serverside for right now.) 2026-04-03 04:28:52 -04:00
Matthew Toro
e979be42b2 refactored the nlomann json library to be in the include/common. seems quite odd this wasn't the case. 2026-04-03 02:41:10 -04:00
Matthew Toro
79ecd186c5
Merge branch 'smartcmd:main' into main 2026-04-02 23:01:38 -04:00
Sylvessa
8bf0343544
fix: boat plr height & sneak height (#1459) 2026-04-02 17:16:31 -05:00
Logan Gibson
e4c08b8414
Replace instances of hard-coded port in ports variable with SERVER_PORT variable in yml files (#1457) 2026-04-02 02:43:33 -05:00
Sylvessa
c4c4c08b96
Revert "Update actions workflows and add clang format check for PRs (#1418)"
This reverts commit 38d58f2d8b due to it causing spam and other problems with pull requests.
2026-04-02 00:01:27 -05:00
Sneexy
c2356bf29e
Minor docker/container fixes and edits (#1454) 2026-04-01 19:10:47 -05:00
blongm
d3412aaae7
Fixed issue with world seeds not saving correctly (#1119)
## Description
Fix issue where typing in a short seed on world creation doesn't save the seed correctly

## Changes

### Previous Behavior
Typing in a seed on the world creation menu that's less than 8 characters long will result in garbage data being saved as the seed. Happens with controller and KBM.
You can see this in-game - if you exit the world options menu and go back in, the seed will show up as boxes □□□.
Weirdly, if you type a seed again, it behaves as expected.

### Root Cause
For some reason, assigning `m_params->seed` to the seed text points it to garbage data, when it's 7 characters or less.

### New Behavior
Seed entry behaves as expected.

### Fix Implementation
- Added `static_cast<wstring>` before assignment to `m_params->seed`.
- Also replaced `(wchar_t *)` with `reinterpret_cast<wchar_t*>` in the functions.

### AI Use Disclosure
No AI was used
2026-03-30 06:05:32 -05:00
Matthew Toro
e8ec7382af fixed a potential memory leak. oopsie! 2026-03-29 16:39:12 -04:00
rtm516
38d58f2d8b
Update actions workflows and add clang format check for PRs (#1418)
* Add clang-format workflow for pull request checks

* Modify push paths in nightly workflow

Updated paths for push event to include all files except specified ones.

* Update paths for nightly-server workflow triggers

* Modify paths for pull request triggers

Update pull request workflow to include specific paths.

* Tidy up clang-format installation in workflow
2026-03-28 23:35:25 -05:00
Botch
277d74716e
Render custom skin boxes on viewmodel (#1415)
* Update PlayerRenderer.cpp

* Fix fatal bug where skins with no additional boxes would crash the game
2026-03-28 14:44:27 -05:00
Matthew Toro
d42da07721 add: implement authentication system ui and handshake. 2026-03-28 04:48:18 -04:00
Matthew Toro
7a24494d3c add: implement authentication module with validation and identity extraction 2026-03-28 00:52:17 -04:00
Matthew Toro
186982b458 feat: add basic authentication packet handling. 2026-03-28 00:07:18 -04:00
Sestain
7447fabe0d
Fix game crashing if DLC has XMLVERSION paramater (#1285)
* Fix game crashing if DLC has XMLVERSION paramater

* Better implementation of XMLVersion check

* Forgot to add type name to the list

* Removed extra newline
2026-03-27 15:11:27 -05:00
Sestain
3c1166c45e
Added support for Big-Endian DLCs (#1291)
* Added support for Big-Endian DLCs

* Remove unused variable

* Remove the things made for other PR
2026-03-27 15:59:35 -04:00
Loki
0d4874dea5
Clarify Android support in README 2026-03-27 00:29:08 -05:00
666uvu
73d713878c
fix redstone tick persistence on chunk unload (#1423) 2026-03-26 16:55:56 -05:00
Revela
4f370c45e3
Fix pistons permanently breaking server-wide on dedicated servers (#1420)
triggerEvent() set ignoreUpdate to true at the start but three early
return paths skipped the reset at the end. Once any of these paths was
hit, the TLS flag stayed true permanently, blocking all piston neighbor
updates for the rest of the server session.
2026-03-26 15:16:15 -05:00
Sylvessa
c96a8ee524
fix splitscreen xuids (#1413) 2026-03-26 10:19:20 -04:00
Sylvessa
1a50770647
Add asynchronous server joining (#1408) 2026-03-26 10:15:11 -04:00
Loki Rautio
dee559bd16 Revert "Memory leak fix: Make chunks unload properly (#1406)"
This reverts commit a24318eedc.
This fix introduces broken behavior for dedicated servers. It will be
merged back in once the related issue is fixed
2026-03-26 01:37:23 -05:00
ModMaker101
a24318eedc
Memory leak fix: Make chunks unload properly (#1406)
* Fix chunk unload and cleanup logic, fixes #1347

* Applying formatting to code I edited 😝
2026-03-24 23:25:18 -05:00
Sylvessa
993052409a
Fix XUID logging (#1395)
* pass invalid_xuid to other players

* actually more simple fix
2026-03-24 05:04:07 -04:00
Ayush Thoren
ed9cbae3f7
Fix initial cursor position for in-game UI elements (#1120)
Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>
2026-03-23 21:06:20 -05:00
Sylvessa
daed75b8a1
make handleParticleEvent actually parse the particle type instead of hardcoding hearts (#1399) 2026-03-23 20:11:37 -05:00
rtm516
9e715cb3bc
Fix render order of F3 debug screen (#1239) 2026-03-23 18:01:40 -05:00
Sylvessa
127465b0eb
add advanced tooltips, F3+H combo, and handle settings (#1389) 2026-03-23 17:54:46 -05:00
Connor Beard
77433dbd86
Fix: CMP0057 policy was not set (#1367) 2026-03-22 23:27:42 -05:00
Lord Cambion
9a6d126ae1
Stained Glass Survival Integration & Crafting UI Fix (#1195)
* Added Stained Glass

i found out that stained glass  was not accessible in survival, then i  saw they disabled it in the code

* Grouping glass correctly in crafting table

I removed the #if/endif from the ClothDyeRecipes.cpp and added a different one in StructureRecipies.cpp
also changed the Tile definition giving it the same
setBaseItemTypeAndMaterial of stained glass to group it correctly inside the crafting table UI.
also aincremented the Vertical Slot for crafting table to include many more craftings in the same group
2026-03-22 21:15:02 -05:00
Revela
39e46751bf
Add clipboard paste support to UIControl_TextInput and UIScene_Keyboard (#1298)
Previously paste only worked in the chat screen. Wire Screen::getClipboard() into the two remaining text input paths so Ctrl+V works for sign editing, seed entry, server IP/port, and world name fields.
2026-03-22 21:09:10 -05:00
Alezito2008
ebab3ec40f
Clicking outside container now drops items (#1306)
Java Edition KBM input parity
2026-03-22 21:05:04 -05:00
Sylvessa
c1ce97f7be
allow displaying item lore (#1384) 2026-03-22 20:50:06 -05:00