Commit Graph

34 Commits

Author SHA1 Message Date
Alexander Medvedev
ee6e0474ff fix: exlude wepif.yml 2026-08-08 13:46:17 +02:00
ZlordHUN
f2444bcefd feat(bedrock): update to 1.26.40 and add NetherNet transport (#2797)
* feat(bedrock): update to 1.26.40 and add NetherNet transport

* fix(bedrock): update remaining 1.26.40 packet schemas

* fix(bedrock): complete NetherNet and inventory migration
2026-08-07 08:34:10 +02:00
Alexander Medvedev
ac89bff1ca fix: from_legacy_string 2026-07-26 10:25:13 +02:00
Alexander Medvedev
fe15bee6f6 fix: CI 2 (hopefully) 2026-05-16 12:41:29 +02:00
Alexander Medvedev
c8633b78d7 chore: merge config files 2026-05-11 16:59:45 +02:00
Laptop59
88bcb275ed feat: crash reports with graceful shutdown (#1790)
* added crash reports and graceful server stopping

* added server & system details

# Conflicts:
#	Cargo.lock

* fixed typo

* now crash reports generate before server startup

* removed duplicate .gitignore entry

* changed some wording & removed default handler call
2026-04-06 10:28:48 +02:00
Alexander Medvedev
f60a77c5d9 chore: decrease compile time
Instead of parsing pumpkin-data for everyone who compiles lets have it as static files, pumpkin-codegen is a standalone parser now
2026-02-09 15:52:46 +01:00
spr-equinox
15c9aa4ac8 Improve tags (#1057)
* improve tag v1

* improve tag v2

* fix typo and make BlockPredicate better

* improve get state from state id

* make tag pub

* Update tag.rs

* fix error

* Update hopper.rs

* Update hopper.rs
2025-07-27 21:34:18 +02:00
4lve
60d83022be Optimize everything (#1032)
* Start fixing block entities

* Fix

* Begin performance fixing

* Fix stuff

* cleanup

* fix clippy

* Fast as fuck

* fix clippy

* Write chunks concurrently

* Disable random ticks for now

* Fix

* Merge

* fix merge errors

* Fix clippy

---------

Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2025-07-09 23:53:50 +02:00
Commandcracker
928e1a3d97 Add Paper and Vanilla files to .gitignore (#1020) 2025-07-09 17:17:12 +02:00
Liyan Zhao
f7218a8b63 feat: logging to file (#958)
* feat: logging to file
2025-07-06 20:12:52 +02:00
unschlagbar
da7453cf10 Pumpkin data changes (#854)
* fix

* another fix

* Update build.rs

* Delete pumpkin-data/src/generated directory

* clippy fix

---------

Co-authored-by: unschlagbar <adrian@kuhlmann@gmx.de>
2025-06-08 11:59:48 +02:00
Eveeifyeve
ab3356afa3 Nix flake (#758)
* Added Flake for nix

* Removed Cargo lock from ignore

As it's now reccomended by rust team to keep it in repo as well as nix
needs it fetch dependacies for nix run

* Added Nix Compatbilty for package

I forgot to add it that's why this commit is here.

* Made flake minimal
2025-05-10 12:46:42 +02:00
kralverde
80e6da9ffb Add memory profiler feature (#706)
* add memory profiler feature

* fix clippy
2025-04-05 16:12:03 -10:00
vyPal
a0ae1ae515 add Plugin system (#339)
* Add pumpkin-api crate for API definitions

* Add proc-macro definitions for pumpkin-api

* Add pumpkin-api and pumpkin-api-macros to workspace

* Add basic PluginManager implementation plugin loading

* Update .gitignore to include specific plugin file types

* Add example plugin

* Cargo fmt

* Fix clippy issues

* Refactoring to prevent a circular import

* Add base impl for plugin hooks

* Move plugin manager to server

* Make metadata have static lifetime

* Add default implementations to events

* Add hooks to proc macro

* Update example

* Fix formatting

* Fix clippy warnings

* Load metadata from Cargo.toml

* Mark plugins as an implemented feature :D

* Implement new event handling

* Create a static global reference to the plugin manager

* Emit player join and leave events

* Update macro generation

* Update example

* Fix formatting

* Fix clippy issue

* Simplify event handling

* Add plugin command to list plugins

* Make handlers async

* Update macros

* Update example

* Fix formatting and clippy issues

* Better styling on plugins command

* Fix clippy issues

* Cargo fmt

* Disable doctest for lib target on pumpkin crate

* New API for plugins

* Update api macros

* Update plugin example

* A bit of clean up

* Some QoL (and performance) improvements

* Cargo fmt and clippy fixes

* refactoring, better event handling, new context functions

* Async on_load and on_unload

* Fix mutex lock never going out of scope

* Async plugin loading

* Add plugin management command

* Fix clippy issues

* Fix import issues

* Move TcpConnection out of client

* Move packet encoding out of client

* Allow plugins to register commands

* Fix fmt and clippy

* Implement plugin list in query

* Make arguments public so that plugins can use them

* Update proc_macros to handle runtime

* Make tree_builder public for use in plugins

* Make FindArg trait public for use in plugins

* Update example plugin

* Fix merge related issues

* Fix cargo fmt

* Post-merge fixes (also 69th commit, nice)

* New event system

* cargo fmt

* Impl block break event

* cargo fmt and clippy

* Reduced plugin size

* Reduce dependency count

* Old code cleanup

* cargo fmt

* Add event priority and blocking options to event registration and handling

* Refactor event handling to support blocking execution and improve event registration

* Fix post-merge errors

* Update example plugin

* increase mpsc channel capacity and handle write errors gracefully

* Use Arc<Player> instead of &Player

* add missing import

* Update example plugin with playing sounds

* Remove example plugin

* Create plugins dir if doesnt exist

* Remove unused vars

* Remove unnecessary clones

* Fix impl

* cargo fmt

* Make server pub in context
2025-01-24 17:26:09 +01:00
Alexander Medvedev
7b205fe108 remove build from gitignore 2025-01-10 14:57:06 +01:00
Lucas11
9a2e68a053 add Github link in /pumpkin command (#372)
* Add the text and the open link

* Update cmd_pumpkin.rs

* Fixed all the warnings and clippy and fmt

* fixed more

* trying to fix confics

* Fixed a bug

* another one

* Update .gitignore

* Update cmd_pumpkin.rs

* Added docs

* Formated

* Update cmd_pumpkin.rs

* im gonna test

* Change color bcs aqua is ugly

* Update cmd_pumpkin.rs

* Update cmd_pumpkin.rs

* Update cmd_pumpkin.rs
2024-12-16 20:30:23 +01:00
kralverde
979877f048 "populate noise" step of chunk generation (#319)
* implement populate noise step of chunk generation

* fix gitignore

* pass thru seed

* add counter for edge case

* add entire chunk test case

* remove eclipse file

* remove packet timing

* precompute float divisions

* unsafe speed up

* slight aquifer optimization

* tweak block pos packing

* optimize perlin map

* precompute aquifer random positions

* fix aquifer regression

* refactor samplers, add tests to aquifer, and move chunk extractor to the extractors

* fix base density function error and add a bunch of test cases

* ignore expensive tests by default

* remove un-needed lifetimes

* remove minecraft prefix from block lookups

* fix populate noise bench

* slight optimizations

* read files at runtime to speed up test compilation speed and remove ignores

* remove new lines from test data so people stop freaking out about line count

* make extractor the same

* leverage branch prediction

---------

Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2024-12-02 19:01:37 +01:00
kralverde
0f3e0e936d Update block extractor to get blockstate id using actual code and not an index in an array (#334)
* use programatic id instead of counting

* add gradlew and eula

* remove eula check from git ignore
2024-11-25 22:25:24 +01:00
Andreas Maerten
2b56e2ea11 git: ignore compose data/ folder (#308) 2024-11-18 11:08:01 +01:00
Alexander Medvedev
b17ade7b06 Add own Extractor (#201)
* Add custom extractor

* Add namespaces to blocks

* Fix: Errors
2024-10-27 12:21:55 +01:00
Snowiiii
bb050958a2 Add Tick system 2024-10-21 13:25:04 +02:00
Stefano
74e58caab1 Handle player packet id 0x23 2024-10-20 20:59:35 +02:00
Erb3
2b1bdca58f docs: structure documentation 2024-09-02 20:10:13 +02:00
Snowiiii
e4fd015265 Fix .gitignore 2024-08-31 11:48:34 +02:00
lukas0008
0c79d38de9 Update .gitignore 2024-08-30 14:46:49 +02:00
Snowiiii
3b438872a8 Add pumpkin-plugin
mhh, Whats that?
2024-08-27 22:47:21 +02:00
lukas0008
c02200c7fd Cargo fmt + added *.local.nbt to .gitignore 2024-08-21 18:06:57 +02:00
Snowiiii
115029a8e0 gitignore: add world 2024-08-12 21:42:41 +02:00
Ferdinand Keller
5ba9d0a82f added mc source-code target folder to gitignore 2024-08-02 11:46:39 +00:00
Ferdinand Keller
d71b9255aa added java crap to gitignore 2024-08-02 09:53:23 +00:00
Ferdinand Keller
4c628bba77 improved gitignore 2024-08-02 09:12:37 +00:00
Snowiiii
5851ce5a3e add nbt 2024-07-31 00:07:50 +02:00
Snowiiii
419513d2e7 initial commit 2024-07-28 23:07:26 +02:00