Mythruna
December 12, 2019, 01:08:03 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the new forums. See "Announcements" for a note for new users.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Spawn Mod [SP]  (Read 375 times)
Michael Musgrove
Donators
Hero Member
***
Posts: 2163



View Profile WWW
« on: September 13, 2019, 06:48:43 PM »

Hello everyone, after deciding I wanted to be able to set my spawn to a separate location in Single Player, I made a small mod to accommodate for this. Please see below for the file to download.

Commands:
/setspawn
     Sets the spawn location. This is good for having a spawn location for each time you log on, or to set before logging off to return to your last location with the following command;

/spawn
     Teleports the character to the last spawn location set.

How To Install
In your Mythruna game folder, create a new directory called mods. Within the mods folder, create a new directory called scripts. Place this file within the ...mods/scripts/ folder.

E.g. the path of the mod file will be something along the lines of ...Mythruna/mods/scripts/spawn_mod.init.groovy
« Last Edit: September 29, 2019, 07:20:15 AM by Michael Musgrove » Logged

cHyper
Newbie
*
Posts: 9



View Profile WWW
« Reply #1 on: September 18, 2019, 05:55:02 AM »

Hello everyone, after deciding I wanted to be able to set my spawn to a separate location in Single Player, I made a small mod to accommodate for this. Please see below for the file to download.

Commands:
/setspawn
     Sets the spawn location. This is good for having a spawn location for each time you log on, or to set before logging off to return to your last location with the following command;

/spawn
     Teleports the character to the last spawn location set.

I am a noob!
How can I use this features?
cu cHyper
Logged
Michael Musgrove
Donators
Hero Member
***
Posts: 2163



View Profile WWW
« Reply #2 on: September 19, 2019, 03:30:33 PM »

In your Mythruna directory, add another directory called "mods"; within the mods directory, create another and name it "scripts"; within the scripts folder, put the file (I'll update the original post with this information).
Logged

Michael Musgrove
Donators
Hero Member
***
Posts: 2163



View Profile WWW
« Reply #3 on: September 29, 2019, 07:21:06 AM »

Updated the script. It will now save your location on exit, but when logging back in, the player will need to use the /spawn command. Redownload from the original post.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!