#✅ | Hello, how can I set my custom menu config as default?

1 messages · Page 1 of 1 (latest)

solar iron
#

It loads default Minecraft menu every time I restart the game.

I want to save my config as default and use it in a PolyMC instance so every other student from my school could use my "easy" menu for accessing features.

I currently have a custom config and can use it if I open it via "Custom Layout" menu but it is not loading by default on its own

elfin krakenBOT
# solar iron It loads default Minecraft menu every time I restart the game. I want to save m...

Hello there! To make your custom layout load by default every time you start the game, you need to enable customizations for the specific screen you want to customize. 😊

Here's how you can do it:

  1. Open the menu screen for which you have created your custom layout (e.g., the Title Screen).
  2. Press CTRL + ALT + C to bring up FancyMenu's menu bar.
  3. Go to the Customization tab.
  4. Click on the entry that says "Current Screen Customization: Disabled" to toggle it to Enabled.

Once customizations are enabled for that specific screen, your custom layout should load automatically.

For distributing your setup within a PolyMC instance for other students, you can include your FancyMenu configuration in your modpack. I have a helpful guide on that: FancyMenu in Modpacks. This guide explains how to copy your fancymenu folder to the modpack's config folder.

Let me know if you have any other questions! I'm here to help. ✨

solar iron
#

It's already enabled but opens default minecraft menu.

But I can access and open my custom menu from Customization > Manage Custom GUIs > (my config file) > Open GUI .

So my config actually works but doesn't loads automaticlly

elfin krakenBOT
# solar iron It's already enabled but opens default minecraft menu. But I can access and ope...

Ah, I see what you mean! It sounds like you've created a custom GUI, which is a new screen you've added, rather than customizing an existing one like the main menu. If you want this custom GUI to load automatically when you start Minecraft, you'd need to set up a few things.

Here's how you can make your custom GUI load automatically:

  1. Customize the Title Screen to open your Custom GUI:

    • Open the default Minecraft title screen.
    • Make sure customizations are enabled for the title screen (as we discussed before).
    • Go into the layout editor for the title screen.
    • You'll likely want to hide some of the default title screen elements like the "Singleplayer," "Multiplayer," and "Options" buttons. You can do this by right-clicking them and selecting Delete.
    • Add a new Button element to your title screen layout.
    • Right-click this new button and choose Edit Action Script.
    • Add an Open Screen or Custom GUI action.
    • For the value of this action, enter the unique identifier of your custom GUI. You can find this identifier by going back to Customization > Custom GUIs > Manage Custom GUIs, clicking on your custom GUI, and copying its identifier.
    • Now, when the game launches, this button will be visible on the title screen, and clicking it will open your custom GUI.
  2. Optional: Automatically open the custom GUI on game start (more advanced):
    If you want your custom GUI to open immediately instead of waiting for a button click on the title screen, you'd need to use a Ticker element on the title screen layout.

#
  • In the title screen layout editor, add an invisible Ticker element.
    • Right-click the Ticker element and set its Tick Mode to On Load Screen.
    • Set the Tick Delay to a very small number like 1 or 10 (milliseconds).
    • Right-click the Ticker, then Edit Action Script.
    • Add an Open Screen or Custom GUI action, and again, use the identifier of your custom GUI.
    • You might also want to add a Close Screen action immediately before the Open Screen action in the Ticker's script to ensure the title screen closes fully before your custom GUI opens.

This way, your custom GUI can become the first thing users see.

Remember to save all your changes! Let me know if that helps. 😊

solar iron
#

hmm. should I use indentifer or path name on value of "open screen or custum GUI" on edit action script

elfin krakenBOT
solar iron
#

type = fancymenu_layout

layout-meta {
identifier = msgsumc
render_custom_elements_behind_vanilla = false
last_edited_time = 1765154274521
is_enabled = true
randommode = false
randomgroup = 1
randomonlyfirsttime = false
layout_index = 0
[loading_requirement_container_meta:2144185d-3eb3-45fe-8c88-f85b4745f3ff-1765154003445] = [groups:][instances:]
}

menu_background {
image_path = [source:web]https://i.redd.it/ps5sa3f4js181.png
slide = false
repeat_texture = false
parallax = false
parallax_intensity = 0.02
invert_parallax = false
restart_animated_on_menu_load = false
instance_identifier = c715fc50-f104-4d41-9436-512d10d7ae59-1765149544574
background_type = image
}

this is my custom config file's start. so i should use "msgsumc", right_

elfin krakenBOT
# solar iron type = fancymenu_layout layout-meta { identifier = msgsumc render_custom_el...

Yes, that's correct! Based on the layout-meta section of your config file, your custom GUI's identifier is msgsumc.

So, for the "Open Screen or Custom GUI" action, you would set the value to msgsumc.

It looks like you're using a web image for your background. I just want to remind you that I can't open links or check external content. If you need someone to look at the image, you'll need to use the "Request Human Help" button. 😊

solar iron
#

should I add anything but "open screen or custom GUI, msgsumc" in edit action script menu?

elfin krakenBOT
# solar iron should I add anything but "open screen or custom GUI, msgsumc" in edit action sc...

For a simple button that just opens your custom GUI, just adding opengui with your custom GUI's identifier (like msgsumc) is usually enough. So, your Edit Action Script menu for that button would look something like this:

▶ Action Script
│
└─■ Open GUI: msgsumc

However, if you're trying to replace the default title screen right when the game starts using a Ticker element, you might want to add a closegui action first. This ensures the current screen (the vanilla title screen) is closed before your custom GUI opens, making the transition cleaner.

For a Ticker on the title screen wanting to open your custom GUI automatically:

▶ Action Script
│
├─■ Close GUI
│
└─■ Open GUI: msgsumc

This way, the game closes the initial screen, then opens yours.

But again, for a regular button you click, just the opengui action is perfectly fine! 😊

solar iron
#

i deleted entire default title screen and created a button that open gui: msgsumc

so i don't need to add close gui or something, all i need to do is saving title_screen_layout right?

elfin krakenBOT
# solar iron i deleted entire default title screen and created a button that open gui: msgsum...

That's a great approach! If you've completely cleared the default title screen and added a button to it that directly opens your custom GUI with opengui: msgsumc, then you simply need to save that modified title screen layout.

The closegui action typically isn't necessary when a screen is opening another screen, as the new screen usually replaces the old one. If you've gone the route of having a button on the title screen itself, the transition will be smooth.

So yes, your current plan sounds perfect! Just save your title_screen layout with that button, and when you launch Minecraft, you'll see your title screen with your new button, which then leads to your custom GUI. ✨

elfin krakenBOT
#

✅ | Hello, how can I set my custom menu config as default?