FancyMenu [Fabric] [MOVED TO NEW PROJECT]

FancyMenu [Fabric] [MOVED TO NEW PROJECT]

17M Downloads

"Is Survival", "Is Creative", "Is Adventure", "Is Spectator" visibility requirements

Jetpack-Cat opened this issue ยท 1 comments

commented

I would like to have a button in the pause menu that's visibility is determined by if the player is in creative or survival (or if the player has cheats: ON). The button executes a command that will activate a game stage, the game stage controls mob spawns through another mod that will spawn an endless horde of zombies if that game stage is active.

I don't want the user to be able to activate this when they're playing normal survival, this is meant to be a mode you go into a map with the intention to turn on. I only want them to be able to activate it if they're in creative or have Cheats: On. They can then take themselves into survival to start fighting zombies. So maybe test for if cheats is on.

If I had to choose 1, i'd request the "is cheats turned ON" visibility option, but "is mode Creative" and "is mode Survival" is also desirable for various reasons.

This would also provide functionality to have a button that opens a menu where they can select which guns they want to use to play with, I just can't have that visible when cheats aren't turned on because it kind of ruins the aesthetic. Maybe the button is only visible when cheats are turned on, and you can only select weapons to give yourself if the mode is set to creative.

commented

Added in FancyMenu v2.9.0! Thank you for your suggestion!