Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
April 17, 2026, 10:04:50 pm
News:
We also have a
Discord channel!
Home
Help
Login
Register
PlaneShift
>>
Development
>>
Development Deliberation
(Moderators:
Mordaan
,
weltall
,
Venalan
,
Eonwind
) >>
How do I run a script with the server?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How do I run a script with the server? (Read 710 times)
owen_a
Traveller
Posts: 27
How do I run a script with the server?
«
on:
November 28, 2010, 01:43:56 am »
Hello all,
I was wondering if someone could tell me how I could run a script with my server which loads my maps. I already have a textfile saved in the directory of my server called 'loadmaps.txt'.
and inside that file are 4 lines:
loadmap hydlaa_jayose
loadmap jayose
loadmap ojaroad1
loadmap hyoja2
Can anybody help me?
Thanks!
Logged
Sen
Hydlaa Notable
Posts: 746
Re: How do I run a script with the server?
«
Reply #1 on:
November 28, 2010, 08:15:25 am »
It looks like I lost my files from that time, but, if I remember correctly, you can add a parameter "--run=/this/script.name" and place your script in your planeshift folder.
Sen
-edit- corrected stupid wording
Logged
.....also a saddle that won't pinch the tail. One day!
weltall
Moderator
Veteran
Posts: 1671
Re: How do I run a script with the server?
«
Reply #2 on:
November 28, 2010, 10:56:33 am »
exec pathtothescript
if the file is test in the application folder it would be /this/test
same goes for --run=pathtothescript
Logged
Print
Pages: [
1
]
« previous
next »
PlaneShift
>>
Development
>>
Development Deliberation
(Moderators:
Mordaan
,
weltall
,
Venalan
,
Eonwind
) >>
How do I run a script with the server?