[Plugin] Simple Home
#1
This plugins allows you to set home and and to teleport you back to your home.

Commands:
/mhome set Sets this location as your home
/mhome tp Teleports you back to your home
/mhome info Show the cordinates of your home


ToDo:
Write Homes to file and load homes from file on Server start.


Attached Files
.lua   Home.lua (Size: 3.35 KB / Downloads: 528)
Reply
Thanks given by: knombrt
#2
(03-11-2011, 04:43 AM)NetMax Wrote: This plugins allows you to set home and and to teleport you back to your home.

Commands:
/mhome set Sets this location as your home
/mhome tp Teleports you back to your home
/mhome info Show the cordinates of your home


ToDo:
Write Homes to file and load homes from file on Server start.

[00:58:41] -- Plugins/Home.lua:83: unexpected symbol near '{'
[00:58:41] Can't load plugin Home.lua
[00:58:41] >>>>>>> Could not initialize a plugin!


With r175
Reply
Thanks given by:
#3
You could use this documentation to save/read from a file:
http://mc-server.org/wiki/doku.php?id=api:cinifile
Reply
Thanks given by:
#4
I get the same error as the other guy "--Plugins /home.lua:83: unexpected symbol near '{' " and so on. Any fixes?
Reply
Thanks given by:
#5
Find this

Code:
function HomePlugin:OnPlayerJoin(player)
{

}

And delete it
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)