#✅ | Just a question

1 messages · Page 1 of 1 (latest)

spark rune
#

Is it possible to force the refresh for these?
{"placeholder":"serverstatus","values":{"ip":"}}
Because it takes a long time to refresh like when i turn my server off it continues showing that the server is online.

I just want to make a button to refresh or change the refresh raate

supple skiffBOT
#

Hi! Please first select which type of question you want to ask:

  • "Normal Question" is enough for most questions. If you are unsure, you should choose this mode. It provides quick and accurate answers to your questions and problems.
  • "Complex Task" is for very complex questions and multi-step tasks. For example, questions involving complex action script, requirement, or placeholder logic. Normal users will almost never need this. Getting answers takes much longer here.

It is not possible for anybody to send messages in this thread before selecting a mode.

Selected mode: 💬 Normal Question

supple skiffBOT
# spark rune Is it possible to force the refresh for these? {"placeholder":"serverstatus","va...

Do you prefer to talk in French for this? 🇫🇷

From the docs, I don’t see any built-in way to directly force-refresh serverstatus or change its internal refresh rate.

Correct syntax is:

{"placeholder":"serverstatus","values":{"ip":"mc.example.com"}}

What you can do instead is a workaround:

  • put serverstatus into a Set Variable action
  • run that action from a Ticker or Scheduler
  • set the scheduler/ticker delay to the refresh rate you want
  • display the variable with {"placeholder":"getvariable","values":{"name":"your_status_var"}}

That way, you control how often the status gets re-evaluated ⏱️

If you want a manual button, the closest documented thing is Update Screen, which reinitializes the current screen, but I can’t confirm from the docs that it specifically forces serverstatus to re-check every time.

If you want, I can help you build the exact button + scheduler setup step by step 🙂

spark rune
supple skiffBOT
# spark rune i want to force the refresh of this placeholder

I can’t confirm a built-in way to force-refresh serverstatus on demand 😕📡

From the docs, serverstatus is just a placeholder, and there’s no documented “refresh now” option or refresh-rate setting for it.

So the honest answer is: no documented direct force-refresh exists.

What you can do instead is one of these:

  • use a Ticker or Scheduler to re-evaluate it on a timer
  • store the result in a FancyMenu variable
  • display that variable instead of reading the placeholder directly

If you want a manual button, the docs only give us Update Screen, but I can’t confirm that it forces serverstatus to re-check. So I’d rather not guess there 🙈

If you want, I can help you make a clean setup like:

  • button click → re-read server status
  • status text → updated from a variable
  • optional automatic refresh every X seconds 🔄
supple skiffBOT
# spark rune yes it's a good idea!

Yesss, that’s the cleanest way to do it 👍🙂

Since I can’t confirm a real “force refresh” for serverstatus, the practical solution is to re-run the placeholder into a variable whenever you want it updated.

Here’s the setup:

  1. Create a FancyMenu variable, for example:
    server_status

  2. Put this action on your refresh button:

server_status:{"placeholder":"serverstatus","values":{"ip":"your.server.ip:25565"}}
  1. Show the result in a Text element with:
{"placeholder":"getvariable","values":{"name":"server_status"}}

That way, every click re-evaluates serverstatus and stores the new result.

If you also want automatic refresh, add a Scheduler:

  • open Customization -> Manage Schedulers
  • make a scheduler that runs the same Set Variable action
  • set the tick delay to whatever you want, like 5000 or 10000 ms ⏱️

So you can have:

  • a manual refresh button 🔁
  • and an auto-refresh timer running in the background

If you want, I can write the exact button action + scheduler setup for your server IP 😄

#
Thread Marked as Solved

This support thread has been marked as solved by @clear sluice (owner).

The AI helper is now disabled.

#

✅ | Just a question

clear sluice
#

The variable idea is bs, there is no way to force a refresh for that placeholder ^^