Add the `broadcast_console_to_ops` configuration option matching
vanilla's `broadcast-console-to-ops` server property. When set to
`false`, suppresses console and RCON command output from being
broadcast to online operators.
- Add `broadcast_console_to_ops` field to `CommandsConfig` (defaults
to `true` for vanilla compatibility)
- Track the setting via an `AtomicBool` in the command module
- Replace hardcoded `true` in `should_broadcast_console_to_ops` for
Console and RCON senders with the configurable value
- Initialize the setting during server startup from advanced config
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
* implementing the advancement configuration for saving or not the advancements
* adding a test for not loading files when save is disabled
* cargo fmt
* fix merge
* Fix variable name for players directory
* feat: implemented that missing config values will be filled with default values
* fix: only save merged config if something has changed
* fix: formatting of pumpkin-config lib.rs
* feat: added log if file was changed by check for missing values
* cloned
* feat: Expand float and int provider implementations with comprehensive random distributions
- Add ConstantFloatProvider, ClampedNormalFloatProvider, and TrapezoidFloatProvider to NormalFloatProvider enum
- Add ConstantIntProvider, BiasedToBottomIntProvider, ClampedIntProvider, ClampedNormalIntProvider, and WeightedListIntProvider to NormalIntProvider enum
- Implement ToTokens trait for code generation support across all provider types
- Replace external rand dependency with internal RandomImpl trait for consistent randomization
- Fix UniformFloatProvider range semantics (max_inclusive → max_exclusive)
- Add comprehensive unit tests for all provider implementations
- Update block experience drop calculation to use new random provider system
* cargo fmt
* Add secure chat configuration option
* Add secure chat bool to login packet
* change name of config flag
* add packet deserializer for player session packet
* make session update async
* Change config option
* Formatting
* Add chat configuration option
* Basic custom chat formatting
* formatting
* Add chat session to Player
* fix duplicate imports
* Formatting
* chat validation mostly working
* add registry for custom raw message
* chat formatting working with secure chat
* don't share session tokens if reporting blocked
* add received message index
* add custom registry without modifying asset files
* resolve color decorator before MESSAGE so player can't inject color codes by default
* move comment
* update all player sessions on join
* better previous message handling
* fix multiplayer bugs
* send new players existing signatures
* clean stuff up
* only send ChatSession if reports are enabled
* make clippy happy
* feat(player-data): Support saving and loading player NBT Data
* fix(player_data): ensure player data is save before continuing
* fix(player_data): implement NBTStorage for hunger data
* feat(player-data): allow setting world name in config
* fix(player-data): use correct method to retrieve world_name
* feat(player-data): move PlayerDataStorage to pumpkin-world
* fix(player-data): ci not building
* fix(player-data): ci not building
* feat(player-data): support inventory saving + review fix
* fix(player-data): forgot the format
* some fixes
* fix clippy
---------
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
* Major grammar sweep
* Remove extra backtick
* Use more specific terminology for chunk data storage
* Forgor to cargofmt
* Fix typo "thier"
* Fix typo "clousures"
* Try new terminology
* Forgor to cargofmt
* Use "Subchunks" instead of "Heterogeneous" for ChunkBlocks variant
* Fix variable name
* Forgor to change comment
* Add Defaultgamemode command
* add force_gamemode in configuration.toml
Check if the force_gamemode is enabled while doing the command
* Delete useless import + adapt to the new TextComponent::translate.
* add a space...
* Save the default gamemode in the server
* refactor + delete a .clone
* Add #[must_use]