#I am just a newbie to skript, so uh..

1 messages · Page 1 of 1 (latest)

ornate geyser
#

I need a automatic server restart every 4 hours so that the server will not lag, I got ultimateautorestart plugin but when it does the /restart command, it doesn't restart but sets the server offline, some guy recommended me to use skript apparently and I am not sure how to use it.

#

Also, I would like to know how to make a simple skript to announce/advertise my discord server ingame. I would also like to know basics of using skript

low bone
#

your first step should be to look at tutorials and try things yoruself

spiral bay
ornate geyser
spiral bay
ornate geyser
low bone
#

we arent frickn magicians

spiral bay
spiral bay
ornate geyser
spiral bay
#

Because when it restarts it does it again

#

So yes it’s every

#

It’s just a different method that makes absolutely 0 difference

ornate geyser
#

forgot to think about that but every 4 hours works just as fine

vapid kayak
#

2048mb?

gentle bronze
#

no way someone will pay 12k a month for 2048gb

#

overpriced

low bone
#

12k a month for anything is overpriced

waxen totem
#

They hopefully mean that they have 2GB ram

wanton citrus
#

Damn

#

Where you getting the 2048 GBs

#

Send link xd

ornate geyser
#

wha no not GB, MB. my brain aint braining

torpid stirrup
#

I believe you are trying to help with the wrong thing. If you want the server to automatically restart, ultumateautorestart is doing it's job. Your issue is Improper /restart configuration.

In your server's config, there is a value (too lazy to view the config ATM) that specifies your server's RESTART SCRIPT. (Script, not skript, I know that 1000 people will say that). It is a shell file that automatically starts your server. Here is how /restart works.

  1. u type /restart
#
  1. server shuts down, but also runs the restart script
#

3: the restart script starts the server

#

4: successful restart.

#

The issue is, Minehut dosn't have support for a custom restart script (as far as I am aware.). This is physically impossible unless you utalize an external server that every 4 hours sends a Minehut API request that makes Minehut believe you pressed the restart button.

hearty quartz
#

as far as I know, minehut cant manage restarts bc of their custom starting system

#

that's why /restart dont fully do its job

hearty quartz
#

yeah but it funny lmao

#

2tb of ram

#

bro has a high-end server computer to run minecraft 💪

hearty quartz
#

if server is lagging that bad

#

you need to do more than just restart

#

2gb ram isnt much for medium server