
SulfurFun
This server plugin/mod adds funny minigames with the sulfur cube.
Оцените первым
47
1
Список изменений
SulfurFun Version 0.0.1-Experimental
This update introduces a modular framework for gamemodes and a smart validation system for player inputs. The setup process is now more robust, flexible, and ready for future expansions.
Summary
- Modular Gamemode System: Introduced an interface-based architecture to easily add new game types.
- Smart Input Validation: Implemented Regex patterns to verify chat inputs and prevent crashes.
- Unified Data Handling: Enhanced the system to automatically distinguish and store Locations, Integers, and Strings.
- Improved Setup Logic: Refined the interactive tutorial with precise instructions and new gameplay parameters.
New Features
Gamemode: Football (Updated)
The Football setup has been expanded to allow for more customized match rules and more accurate arena definitions.
- Precision Goals: Clearer instructions to define 3D goal zones by selecting diagonal opposite corners.
- Team Scaling: New setup step to define the maximum number of players per team (1 to infinity).
- Rule Toggle: Added a specific check to enable or disable ball interaction with hands (
yes/no).
Command: /newgame
The command is now dynamic and supports the new modular backend.
- Validation: The system now checks if the entered gamemode exists before starting the tutorial.
- Input Protection: During the chat phase, the plugin validates your input. If you type a non-number where a number is expected, it will provide immediate feedback.
- Type Safety: All data is now correctly parsed. Numbers are saved as actual integers in the YAML config, preventing formatting errors.
Modular Framework
The core logic has been separated from the specific gamemode, making the plugin future-proof.
- Extensibility: New gamemodes can be added by simply implementing the
GameSetupinterface. - Dynamic Sessions: The
SetupListenernow automatically adapts its behavior (Click vs. Chat) based on the requirements of the chosen gamemode.
Bugfixes
- Number Overflow: Fixed a critical error where entering extremely large numbers in chat would crash the setup session.
- Silent Failures: Fixed an issue where entering an invalid gamemode would provide no feedback to the player.
- Session Management: Improved cleanup to ensure that disconnected players are correctly removed from active setup sessions.
Файлы
SulfurFun-0.0.1-Experimental.jar(16.53 KiB)
ОсновнойМетаданные
Канал релиза
Alpha
Номер версии
0.0.1-Experimental
Загрузчики
BukkitPaperSpigot
Версии игры
26.1.2
Загрузок
3
Дата публикации
26.04.2026
