05-05-2013, 05:00 AM (This post was last modified: 05-05-2013, 05:03 AM by NiLSPACE.)
(05-05-2013, 04:58 AM)supertransformer Wrote: Chat tells its an unknown command but it still works.
this is simple just put "return true" without the quotes at the end of the commands function.
HOOK_EXECUTE_COMMAND isn't needed. PluginManager:BindCommand ensures that the command gets its propper function.
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.
12-20-2022, 08:51 AM (This post was last modified: 12-29-2022, 06:41 AM by Dredd.)
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