Download Game Opening For You — Minecraft Mods — MetaMods

Game Opening For You

Active

Downloads

0

Last update

10 months ago
Client
Utils

Game Opening For You

Mod Logo


About the Modification

Game Opening For You is a specialized tool that allows you to create personalized welcome messages for your modpacks. The mod provides complete control over the game's startup screen, helping you create a unique atmosphere for your players.

Key Features

Display Time Management

You can set a time period during which only your welcome messages will be displayed. All other chat messages are temporarily blocked to create a clean and organized environment for discovering your modpack.

Blocked Message Preservation

Don't worry about losing information! All messages blocked during welcome display are saved in the game log with a special marker Game Opening For You - Missed Message Collector.

For example:

[21:36:23] [Client thread/INFO] [Game Opening For You - Missed Message Collector]: Missed Message: Some message.

This way, you can always review missed messages when needed.

Smart Display Conditions

The mod analyzes various conditions and sends specialized welcome messages depending on context. All conditions are configurable through the configuration file and include:

  • hardcore_opening — activates when player uses hardcore mode
  • night_opening — triggers during nighttime hours (time boundaries configurable)
  • late_opening — replaces night greeting late at night (has priority)
  • april_fools_day_opening — special message for April 1st
  • halloween_opening — greeting for Halloween
  • spring_festival_opening — message for Chinese New Year

You can easily disable unnecessary conditions by removing or commenting them out in settings.

Easy Localization

Each condition corresponds to an entry in the language file:

game_opening_for_you.<condition_name>.text

To translate, simply edit the .lang file. The mod archive already includes a sample en_us.lang file for reference. We recommend using resource loading mods for convenience.

Personalization Templates

You can use special placeholders in welcome text that are automatically replaced with appropriate information:

player — player's name

hour — current hour
min — current minute (formatted to two digits)
sec — current second (formatted to two digits)

year — current year
month — current month (formatted to two digits)
day — current day (formatted to two digits)

br — line break

Configuration

The configuration file is fully documented and easy to configure.

# Configuration file

general {
    # Display debug logs. For debug purposes.
    B:DEBUG=true

    # Daylight start time in 24-hour format. Default: 8:00.
    I:daytimeBeginningHour=8

    # Daylight start time in 24-hour format. Default: 8:00.
    I:daytimeBeginningMinute=0

    # Daylight end time in 24-hour format. Default: 18:30.
    I:daytimeEndHour=18

    # Daylight end time in 24-hour format. Default: 18:30.
    I:daytimeEndMinute=30

    # Each row corresponds to a specific greeting.
    # You can delete unnecessary rows or comment them out
    # so that corresponding greetings won't be sent.
    S:gameOpeningMessageList <
        hardcore_opening
        night_opening
        late_opening
        april_fools_day_opening
        halloween_opening
        spring_festival_opening
     >

    # Welcome message display duration.
    # Chat messages other than greetings during this period will be rejected and saved in log.
    # Adjust this value at your discretion depending on the number of blocked messages
    # and user gaming experience.
    I:gameOpeningMilliseconds=1000

    # Format day to two digits.
    B:hourFixDigits=false

    # Late night start time in 24-hour format. Default: 23:30.
    I:lateNightBeginningHour=23

    # Late night start time in 24-hour format. Default: 23:30.
    I:lateNightBeginningMinute=30

    # Format minutes to two digits.
    B:minuteFixDigits=true

    # Format month to two digits.
    B:monthFixDigits=false

    # Format seconds to two digits.
    B:secondFixDigits=true
}

Acknowledgements

Text art in logo created with:

Font Generator by https://www.textstudio.com/

Dedicated to my sleep aid, the beloved ASMR artist Youtube@LatteASMR

Project members
RisingInIris2017

RisingInIris2017

Created: 4 Feb 2025

ID: 99574