Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for j-gaertig

This server plugin adds funny minigames with the sulfur cube.

Report SulfurFun?

Experimental
0.0.2-Experimental

j-gaertig released SulfurFun version 0.0.2-Experimental on Mon 5:31 PM

SulfurFun Version 0.0.2-Experimental

This update marks a major milestone in accessibility and customization. We have implemented a comprehensive localization system and significantly deepened the configuration options for the Football gamemode.


Summary

  • Global Language Support: Introduced a multi-language framework using a dedicated LanguageManager.
  • Unicode & Color Support: Added full UTF-8 support for special characters and integrated dynamic ChatColor translation.
  • Expanded Football Logic: Added more technical parameters to the setup, including block physics and win conditions.
  • Smart Placeholders: Messages now dynamically include arena names and gamemodes for better clarity.

New Features

Internationalization (i18n)

The plugin now speaks your language! The system automatically detects the client language of each player.

  • Multi-Language Support: Included 12 default language files (including English, German, Russian, Chinese, and Japanese).
  • Automatic Detection: The plugin reads the player's locale and delivers the appropriate message from the languages/ folder.
  • Color Formatting: Supports standard Minecraft color codes (&) directly in the YAML files.
  • Unicode Ready: Optimized file loading using UTF-8 to support Cyrillic, Asian, and other non-Latin characters.
Gamemode: Football (Deep Configuration)

The setup process for Football has been significantly extended to provide full control over the match behavior.

  • Block Physics: New steps to allow or deny block breaking and placing during matches (yes/no).
  • Advanced Match Rules: * Ball Management: Define how many balls should spawn sequentially.
    • Time Management: Custom game duration (minimum 10 seconds).
    • Win Conditions: Define a goal limit for an instant win or rely purely on time.
  • Pre-Game Logic: Adjustable countdown timer before the match starts.
Command: /deletegame

A new command to safely manage your server's arenas.

  • Automatic Cleanup: Deleting an arena now automatically cancels any active setup sessions for that specific arena.
  • Config Sync: Seamlessly removes all arena data from the arenas.yml and saves the changes instantly.

Technical Changes

  • LanguageManager Integration: Centralized message handling, replacing hardcoded strings with a key-based lookup system.
  • Constructor Injection: Updated all commands and listeners to receive the LanguageManager instance, ensuring a clean and efficient data flow.
  • UTF-8 InputStream: Switched to a robust file reading method to prevent encoding issues across different operating systems.

Bugfixes

  • Hardcoded Strings: Fixed the "placeholder vs. text" issue where raw keys were displayed in the chat instead of actual translations.
  • Console Locale Errors: Implemented a fallback system for the console and non-player senders to prevent "null" messages.
  • Resource Leaks: Ensured that language files are correctly exported from the JAR to the plugin folder on first run.

Information

Published onApril 27, 2026
Downloads0

Platforms

Paper Paper (26.1.2)