[TP] SimpleHome
#1
Big Grin 
Very simple plugin!

/sethome sets your home and /home teleports you home!

Known bugs:

NoneBig Grin

Permissions:

/sethome = simplehome.sethome
/home = simplehome.home

- this is my first plugin so dont hateTongue

Download for unregisterd people: http://pimcserver.tk/dl/SimpleHome.zip


Attached Files
.zip   SimpleHome.zip (Size: 1,010 bytes / Downloads: 957)
Reply
Thanks given by:
#2
(05-05-2013, 04:58 AM)supertransformer Wrote: Chat tells its an unknown command but it still works.

this is simple Smile just put "return true" without the quotes at the end of the commands function. Smile

HOOK_EXECUTE_COMMAND isn't needed. PluginManager:BindCommand ensures that the command gets its propper function.
Reply
Thanks given by:
#3
Looks good. I think I'll use it in my server.
Reply
Thanks given by:
#4
Well Congratulations with your first MCServer pluginBig Grin
Reply
Thanks given by:
#5
(05-05-2013, 06:16 AM)STR_Warrior Wrote: Well Congratulations with your first MCServer pluginBig Grin

Thank you!
Reply
Thanks given by:
#6
If someone wants to have 2 homes, there is SimpleHome with /sethome2 and /home2


Attached Files
.zip   Home2.zip (Size: 1.45 KB / Downloads: 429)
Reply
Thanks given by:
#7
I think you should merge these two permissions into one, as a player with no home set has no use of /home and a player that cant teleport to his home has no use of /sethome. Smile
Reply
Thanks given by:
#8
I allowed myself to change the plugin a little.
    Added: A unique home point in each world.
    Added: Message if there is no home point in this world.
    Added: It is forbidden to create a home point in the world_the_end.
    Added: tp others home.
    Added: Sound for tp.
    Changed: The version number is now 2.
    Deleted: A message about logging into the game.

Permissions and Commands:
     simplehome.sethome  /sethome - set your home
     simplehome.home  /home - tp to your home
     simplehome.gohome  /gohome [playername] - tp to other player home

Maybe someone will need this. I'll put it here.


Attached Files
.zip   SimpleHome.zip (Size: 3.68 KB / Downloads: 180)
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)