Mythruna

Modder's Workbench => Scripting => Topic started by: GaraQuor on January 13, 2013, 11:25:32 AM



Title: Spawn-System v0.1 by Gara
Post by: GaraQuor on January 13, 2013, 11:25:32 AM
The scripts Spawn-System can define a default spawn point and one for each player (at each connection you are teleported at your spawn point)

Commands:

~spawn , you teleport to your spawn point
~setspawn , for define your spawn point

to define the spawn by default go into the script and change the variable: StartLocation

Download : http://www.mythruna-france.tk/download/Spawn-System.init.groovy.php (http://www.mythruna-france.tk/download/Spawn-System.init.groovy.php)


Title: Re: Spawn-System v0.1 by Gara
Post by: Michael on January 13, 2013, 11:27:09 AM
great job, gara :)
Really nice plugin
---
excellent travail, gara :)
Plug-in Vraiment sympa


Title: Re: Spawn-System v0.1 by Gara
Post by: GaraQuor on January 13, 2013, 11:29:51 AM
thanks :)


Title: Re: Spawn-System v0.1 by Gara
Post by: Moonkey on January 14, 2013, 02:23:10 AM
The great Gara wins again.


Title: Re: Spawn-System v0.1 by Gara
Post by: Michael on January 14, 2013, 03:16:13 PM
*hides in corner in defeat*


Title: Re: Spawn-System v0.1 by Gara
Post by: Sean on January 14, 2013, 09:22:29 PM
Good job Gara. Now if only I had a server... ^^


Title: Re: Spawn-System v0.1 by Gara
Post by: Michael on January 14, 2013, 09:30:59 PM
Good job Gara. Now if only I had a server... ^^
Do you need help on how to make one or are you just not able to (such as not good enough RAM) if you don't know how to set up a server I can tell you ;)


Title: Re: Spawn-System v0.1 by Gara
Post by: Sean on January 15, 2013, 12:28:04 PM
Good job Gara. Now if only I had a server... ^^
Do you need help on how to make one or are you just not able to (such as not good enough RAM) if you don't know how to set up a server I can tell you ;)
Neither, I just don't see a reason to make one, other than to try out Gara's mods that is.


Title: Re: Spawn-System v0.1 by Gara
Post by: Michael on January 15, 2013, 02:23:24 PM
Good job Gara. Now if only I had a server... ^^
Do you need help on how to make one or are you just not able to (such as not good enough RAM) if you don't know how to set up a server I can tell you ;)
Neither, I just don't see a reason to make one, other than to try out Gara's mods that is.
I got his Cash-System and the CubeChange


Title: Re: Spawn-System v0.1 by Gara
Post by: Wycliffe76 on September 19, 2014, 06:07:01 PM
Can I only use this on a server or can I use it in single player? If so, where do I put the script?


Title: Re: Spawn-System v0.1 by Gara
Post by: Michael on September 19, 2014, 06:40:44 PM
Can I only use this on a server or can I use it in single player? If so, where do I put the script?
It should be able to be used for single player, which you can find out how to install here: http://mythruna.com/forum/index.php?topic=1093.0


Title: Re: Spawn-System v0.1 by Gara
Post by: Wycliffe76 on September 19, 2014, 07:24:09 PM
Thanks! I tried putting the groovy file in each of those folders listed in the topic. Nothing seemed to do the trick. Is there an unpacking of the groovy file I need to do first?


Title: Re: Spawn-System v0.1 by Gara
Post by: Michael on September 19, 2014, 07:54:59 PM
Thanks! I tried putting the groovy file in each of those folders listed in the topic. Nothing seemed to do the trick. Is there an unpacking of the groovy file I need to do first?
No.
Where you downloaded the Mythruna folder, inside of it, right in the same folder as the Mythruna Executable. Then, you should place the *.init.groovy file in a directory that you will create: /mods/scripts


Title: Re: Spawn-System v0.1 by Gara
Post by: Wycliffe76 on September 20, 2014, 05:45:28 AM
Hm. I did that but it doesn't seem to have had any effect. The console doesn't recognize the commands.


Title: Re: Spawn-System v0.1 by Gara
Post by: pspeed on September 20, 2014, 10:52:06 AM
It may be that this script is only setup for multiplayer.  The fact that the commands are prefixed with ~ is an indicator that they are examples of running in a client.  If they worked in single player they'd use / instead.  (Which you could try to see if they work that way.)

/help should list them if they are available in single player.  ~help would list them in multiplayer.