Jump to content
  • 0

Is there a way to have the server execute certain commands on startup?


Viaze

Question

3 answers to this question

Recommended Posts

  • 0

You can do this with skript! I'll just help you!

 

on load:
    execute console command "yourcommand one"
    execute console command "yourcommand two"
# And, you can add more by just adding ` execute console commnand "the command you want" ` 
# and you can remove it by just deleting the line!

 

Invislol 

• 4-5 years of skript experience
• 6 Months of active java experience
• 2 Years of javascript and python experience


unknown.png
[PATRON] RANK

Helpful Stuff:
Appeals and Reports  - Here | Minehut  Global And forums rules - Here

Link to comment
Share on other sites

  • 0
10 hours ago, Invislol said:

You can do this with skript! I'll just help you!

 


on load:
    execute console command "yourcommand one"
    execute console command "yourcommand two"
# And, you can add more by just adding ` execute console commnand "the command you want" ` 
# and you can remove it by just deleting the line!

 

Yea, after I made the post, I made a pretty bad skript for the meantime. I dunno why I couldn't find something like this searching around on the web... Thanks for the help!

Link to comment
Share on other sites

  • 0
2 hours ago, Viaze said:

Yea, after I made the post, I made a pretty bad skript for the meantime. I dunno why I couldn't find something like this searching around on the web... Thanks for the help!

Note that on load triggers everytime the skript loads meaning if you reload it, it will trigger again. on server start might work better but not sure. 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...