#✅ | Server Status

1 messages · Page 1 of 1 (latest)

dense flower
#

Hello FancyMenu Support Team,

I am currently trying to set up a custom Main Menu layout. I have successfully created a custom Button element and assigned the Join Server action with the target IP address.

However, I cannot figure out how to make this button display the real-time server status (Online/Offline, Player Count).

I found the following option in the Element's Edit Settings: T Label.

Can you please provide the exact steps or the specific variable format I need to use inside the T Label text field to correctly display the server status and player count for the target server?

Thank you for your help!

brittle hingeBOT
# dense flower Hello FancyMenu Support Team, I am currently trying to set up a custom Main Men...

Hello MariusInfo! 👋

You're looking to display dynamic server status information on your button's label, that's a great idea! You can definitely do this using FancyMenu's placeholders.

Here's how you can set up your button's T Label to show the server status and player count:

  1. Edit your Button Element: In the layout editor, right-click on your custom button and select Label -> Set Text. This will open the text editor for the button's label.

  2. Insert Placeholders: In the text editor for the T Label, you'll use the Server Status and Server Player Count placeholders. You'll need to specify the IP address of your server within these placeholders.

    Here's an example of what you can put into the T Label field:

    Join Server
    Status: {"placeholder":"serverstatus","values":{"ip":"your_server_ip:port"}}
    Players: {"placeholder":"serverplayercount","values":{"ip":"your_server_ip:port"}}
    

    Make sure to replace "your_server_ip:port" with your actual server's IP address and port! For example, if your server is play.example.com:25565, it would look like this:

    Join Server
    Status: {"placeholder":"serverstatus","values":{"ip":"play.example.com:25565"}}
    Players: {"placeholder":"serverplayercount","values":{"ip":"play.example.com:25565"}}
    
  3. Save your changes.

This setup will display the "Join Server" text, followed by the real-time status (Online/Offline) and the current player count for your specified server.

You can find more details about available placeholders in the documentation here: Placeholders

Let me know if you need any more help! 😊

dense flower
#

if i send the layout file, can you replace ?

brittle hingeBOT
# dense flower if i send the layout file, can you replace ?

Yes, I can analyze the content of a layout file if you share it with me. 😊 I can help you understand parts of it or answer questions related to its structure and how to achieve certain effects based on the documentation.

However, I can't directly "replace" values or make live edits to a file and "send it back" to you. My function is to provide information and guidance based on the documentation.

If you'd like me to look at your layout file, please share its content with me!

dense flower
brittle hingeBOT
# dense flower

Oh, it looks like you tried to send a file! Unfortunately, I can only see and read images, not text files or any other file types. 😔

If you'd like a human to review the file, please use the "Request Human Help" button below. Otherwise, if it's plain text, you can copy and paste the content directly into our chat for me to analyze!

Thanks for understanding! 💖

dense flower
#

i can speak romanian with you?

brittle hingeBOT
# dense flower i can speak romanian with you?

While I understand some Romanian, I am much better at communicating in English. To make sure I can give you the best and most accurate help, could we please continue in English? Thank you for understanding! 😊

dense flower
#

I want to add a corner to that layout to show the server status, how could I do that?

brittle hingeBOT
# dense flower I want to add a corner to that layout to show the server status, how could I do ...

That's a lovely idea to enhance your layout! You can definitely add a corner element to display the server status. Here's a general approach using a Text element and placeholders to achieve this, along with how to position it in a corner.

Steps to Add Server Status to a Corner:

  1. Open Your Layout in the Editor: Make sure you're in the FancyMenu layout editor for the screen where you want to add this.

  2. Add a new Text Element:

    • Right-click on the editor's background.
    • Go to New Element > Text. This will add a new text element to your layout.
  3. Position the Text Element in a Corner:

    • Drag the newly created Text element to your desired corner (e.g., top-left, top-right, bottom-left, bottom-right).
    • While dragging, FancyMenu will show anchor points. Release the element when it highlights the corner anchor point you want to use. This will ensure it stays in that corner even if the window size changes.
    • You can fine-tune its exact position using the arrow keys for precision.
  4. Set the Text Content with Placeholders:

    • Right-click on your new Text element.
    • Go to Text Content > Set Text.
    • In the text editor that opens, insert the server status and player count placeholders, similar to what we discussed for the button label. Remember to replace "your_server_ip:port" with your actual server details.
    Server Status: {"placeholder":"serverstatus","values":{"ip":"your_server_ip:port"}}
    Players Online: {"placeholder":"serverplayercount","values":{"ip":"your_server_ip:port"}}
    
    • You can also add new lines (press Enter or Shift + Enter) to format the text nicely, like putting "Server Status" on one line and "Players Online" on the next.
#
  1. Customize the Appearance (Optional):

    • Right-click the Text element again.
    • You can change its text color, scale, shadow, and other formatting options to make it stand out or blend in with your design. For text formatting, you can use Markdown within the Text element. Check out the Text Formatting page for more details!
  2. Save Your Layout: Don't forget to save your changes (Ctrl + S or Layout > Save).

Now, when you exit the editor, you should see your server status information displayed dynamically in the corner of your screen!

Remember, if you ever need to find the exact identifier for your server, you can use the debug overlay in-game: Screen Identifiers.

Let me know if you run into any issues during these steps! 😊

dense flower
#

i want server description

brittle hingeBOT
# dense flower i want server description

Ah, you're looking for the server's description! FancyMenu has a placeholder for that as well. It's called Server MOTD (Message of the Day).

You can use it in your Text element (or button label) like this:

Server MOTD: {"placeholder":"servermotd","values":{"ip":"your_server_ip:port","line":"1"}}

Here's how to incorporate it:

  1. Edit your Text Element: Go back into the layout editor, right-click on your Text element (the one you put in the corner), and choose Text Content > Set Text.

  2. Add the servermotd Placeholder: Add this placeholder to your text content. You can put it on a new line or combine it with the status and player count.

    Example:

    Server Status: {"placeholder":"serverstatus","values":{"ip":"your_server_ip:port"}}
    Players Online: {"placeholder":"serverplayercount","values":{"ip":"your_server_ip:port"}}
    Description: {"placeholder":"servermotd","values":{"ip":"your_server_ip:port","line":"1"}}
    

    Again, remember to replace "your_server_ip:port" with your actual server's IP and port.

    The "line":"1" in the placeholder refers to the first line of the server's Message of the Day. Some servers have multi-line MOTDs, so you might need to adjust this if you want a different line.

  3. Save your layout.

Now your corner display will also show the server's Message of the Day! 😊

brittle hingeBOT
#
Thread Marked as Solved

This support thread has been automatically marked as solved because there were no new messages for at least 24 hours.

If you still need help, feel free to continue the conversation or create a new support thread.