Commit graph

1069 commits

Author SHA1 Message Date
piebot 774f2fed61 Update README.md 2026-03-29 19:16:34 +02:00
neoapps-dev 267d98954b fix: change painting gaps from 16 to 32 2026-03-29 19:21:04 +03:00
neoapps-dev 48a5e882e3 omg i forgot to track the stb image write file lol 2026-03-29 18:52:59 +03:00
neoapps-dev 1028ee2e6d fix: stb import 2026-03-29 18:29:04 +03:00
neoapps-dev d717f18628 feat: F2 for screenshotting
some code used from MLRE
2026-03-29 18:22:45 +03:00
irice7 e8ac5b16ea Add cancel join
Adds the Cancel Join tooltip to the "Connecting to host"
progress bar
2026-03-29 17:03:12 +03:00
neoapps-dev 0073f5569b switch to LLVM 21 and use cron 2026-03-29 14:18:14 +02:00
itsRevela 59fd7266b6 Merge upstream/main (skip CI workflow changes) 2026-03-29 01:03:35 -05: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
itsRevela 245da783b3 feat: upgrade stream cipher from XOR to AES-128-CTR
Replace the XOR obfuscation cipher with AES-128-CTR using the Windows
BCrypt API. Key material grows from 16 to 32 bytes (16 AES key + 16 IV).
All callers auto-adjust via StreamCipher::KEY_SIZE. No handshake or
protocol changes needed beyond the larger MC|CKey payload.
2026-03-28 21:03:45 -05:00
Revela 1036c360dc
Merge branch 'smartcmd:main' into main 2026-03-28 19:19:42 -05:00
itsRevela ba3ebe666c feat: dedicated server security hardening
Comprehensive security system to protect against packet-sniffing attacks,
XUID harvesting, privilege escalation, bot flooding, and XUID impersonation.

- Stream cipher: per-session XOR cipher with 4-message handshake via
  CustomPayloadPacket (MC|CKey, MC|CAck, MC|COn). Negotiated per-connection,
  backwards compatible (old clients/servers fall back to plaintext).
- Security gate: buffers all game data until cipher handshake completes,
  preventing unsecured clients from receiving any XUIDs or game state.
- Cipher handshake enforcer: kicks clients that don't complete the handshake
  within 5 seconds (configurable via require-secure-client).
- Identity tokens: persistent per-XUID tokens in identity-tokens.json,
  issued over the encrypted channel, verified on reconnect. Prevents XUID
  replay attacks. Client stores server-specific tokens.
- PROXY protocol v1: parses real client IPs from playit.gg tunnel headers
  so rate limiting, IP bans, and XUID spoof detection work per-player.
- Rate limiting: per-IP sliding window (default 5 connections/30s) with
  pending connection cap (default 10).
- Privilege hardening: OP requires ops.json, live checks on every command
  and privilege packet. Host-only server settings changes.
- XUID stripping: PreLoginPacket response sends INVALID_XUID placeholders.
- Packet validation: readUtf global string cap, reduced max packet size,
  stream desync protection on oversized strings.
- OpManager: persistent ops.json with XUID-based OP list.
- Whitelist improvements: whitelist add accepts player names with ambiguity
  detection, XUID cache from login attempts.
- revoketoken command: revoke identity tokens for players who lost theirs.
- server.log: persistent log file written alongside console output with
  flush-per-write to survive crashes.
- CLI security logging: consolidated per-join security summary with cipher
  status, token status, XUID, and real IP. Security warnings for kicks,
  spoofing, and unauthorized commands.
2026-03-28 19:18:06 -05:00
neoapps-dev 2b743bfff4 -j3 2026-03-29 00:04:45 +01:00
neoapps-dev cb9f4fe624 CI mode 2026-03-28 23:52:55 +01:00
neoapps-dev d52e64635a Update .gitea/workflows/nightly.yml 2026-03-28 23:49:58 +01:00
neoapps-dev 7124ebe0ef retry build once if it fails 2026-03-28 23:42:58 +01:00
neoapps-dev f212a9290a Update .gitea/workflows/nightly.yml
yes imma hardcode now, im tired of this
2026-03-28 23:31:53 +01:00
neoapps-dev a53cc967df fix(workflow): switch to LLVM 19
istg if this doesnt work...

Signed-off-by: neoapps-dev <neoapps-dev@noreply.codeberg.org>
2026-03-28 23:02:06 +01:00
neoapps-dev 6a76e0f515 me hates this 2026-03-28 22:45:06 +01:00
neoapps-dev e8b36315bd did i say i hate codeberg 2026-03-28 22:41:08 +01:00
neoapps-dev 09b098e1b1 how did i misspell the username omg 2026-03-28 22:38:03 +01:00
neoapps-dev c268af89bc i hate this 2026-03-28 22:36:36 +01:00
neoapps-dev 8dd3e1cd6a gtfo rust 2026-03-28 22:16:10 +01:00
neoapps-dev c9d60db80d add .win to gitignore 2026-03-28 21:58:49 +01:00
neoapps-dev 9e53cea7ff forgot the dot 2026-03-28 21:58:01 +01:00
neoapps-dev 11e84b17e0 Update .gitea/workflows/nightly.yml 2026-03-28 21:57:47 +01:00
neoapps-dev 58e0b4ff7b fix: change cache dir to PWD instead of HOME 2026-03-28 21:56:01 +01:00
neoapps-dev bd55d6ea48 now i hate ubuntu as well 2026-03-28 21:45:42 +01:00
neoapps-dev 893f882cf5 Update .gitea/workflows/nightly.yml 2026-03-28 21:26:18 +01:00
neoapps-dev 42e6e1a43a ARE YOU KIDDING ME CODEBERG?? 2026-03-28 21:19:19 +01:00
neoapps-dev c5276d2a41 im gonna die 2026-03-28 21:17:35 +01:00
neoapps-dev 50abba796b Update .gitea/workflows/nightly.yml 2026-03-28 21:13:22 +01:00
neoapps-dev b6af4f69a8 Update .gitea/workflows/nightly.yml 2026-03-28 21:10:18 +01:00
neoapps-dev 5574d8ef6f fix(workflows): install rust
i hate you forgejo
2026-03-28 21:09:26 +01:00
neoapps-dev 17b4b965e1 fix: install rust (of course) 2026-03-28 22:56:07 +03: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
neoapps-dev 71edfc19ff feat: generic build script 2026-03-28 22:34:13 +03:00
piebot d8118fcadc Update README.md 2026-03-28 16:14:09 +01:00
Lord_Cambion 6fe251b2ec minecart tnt fix 2026-03-28 14:44:56 +01:00
Lord_Cambion a282314267 used the entity method instead of my controls for primed tnt 2026-03-28 14:03:56 +01:00
Lord_Cambion 6ba2c6ee24 Revert "better primed tnt water update"
This reverts commit 1490ea80b4.
2026-03-28 14:01:18 +01:00
Lord_Cambion 1490ea80b4 better primed tnt water update 2026-03-28 14:00:49 +01:00
Lord_Cambion 86accb1328 fixed name of cooked fish, the posion effect now doesnt kill you anymore and tnt now get pushed by water 2026-03-28 13:21:04 +01:00
piebot 3b5a7e1fe6 Revert adding TU25 DLCs 2026-03-28 14:03:38 +03:00
Lord_Cambion a27723a101 gitea changed idk why 2026-03-28 11:15:57 +01:00
piebot ac259ee94d Fix PlayerRenderer.h 2026-03-28 12:14:03 +03:00
piebot 8617ff9bb5 Merge pull request 'Skin heads texture fix' (#2) from ItzSonicFaner/LegacyEvolved-Skins:main into main
Reviewed-on: https://codeberg.org/piebot/LegacyEvolved/pulls/2
2026-03-28 09:36:27 +01:00
Revela ed3fffcc6a
Merge branch 'smartcmd:main' into main 2026-03-27 16:42:40 -05:00
ItzSonicFaner a0082658a5 Skins 2026-03-27 23:33:33 +02:00
neoapps-dev 9fa645e4ba last try 2026-03-27 22:14:05 +01:00