← Назад к ресурсам

HOME Utilities

Add homes/waypoints commands to your server!

Modrinth social transportation utility

Описание

# WARNING !!! DATA MIGRATION IS BROKEN IN 1.3.0 !!! Don't update from 1.2.3 to 1.3.0 if you have already home utilities data! Fix will be available on 1.3.0! # What is this mod? **HOME Utilities** is a **server-side mod** that adds **new commands** to your server! This mod only adds **HOME (waypoint) commands**. # What new commands? Here is the list : - **sethome [home_name]** : Save your position to a waypoint name, rewrite the waypoint if it already exists. - **delhome [home_name]** : Delete the waypoint of your list. - **home [home_name]** : Teleports you to the position of your waypoint. - **homes** : Gives you the list of your homes. - **sharehome [home_name] [player_name]** : Share a home with another player. The target player needs to **click on the message** to add it to his list. - **psethome [home_name]** : Save your position to a public waypoint name accessible by anyone, rewrite the waypoint if it already exists. - **pdelhome [home_name]** : Delete the public waypoint only if you're the owner. - **phome [home_name]** : Teleports you to the position of the public waypoint. - **phomes** : Gives you the list of the public homes. - **homelanguage [language]** : Change the language used by the mod for the player. - **homeslimit [limit] :** By default players can only have 10 homes. This command, only available to operators, let you change this limit. - **phomeslimit [limit] :** By default players can only have 10 public homes. This command, only available to operators, let you change this limit. # What is the translations system? With versions 1.2.0+ a new config file _"home_translations.json"_ is automatically generated on server start, you can add translations as below that your players can use with the **/homelanguage** command (here i added a french translation): ```json { "en": { "sethome_success": "Your home has been set!", "sethome_limit": "Error : You can only have %d homes.", "psethome_success": "Your public home has been set!", "psethome_limit": "Error : You can only have %d public homes.", "delhome_success": "Your home has been deleted!", "delhome_failure": "Error : The home don't exist.", "pdelhome_success": "Your public home has been deleted!", "pdelhome_failure": "Error : The public home don't exist or you're not the owner.", "home_success": "You have been teleported to your home!", "home_failure": "Error : The home don't exist.", "phome_success": "You have been teleported to the public home!", "phome_failure": "Error : The public home don't exist.", "homes_success": "Your homes (You can click on them to teleport):", "homes_failure": "Error : You don't have any home.", "phomes_success": "Public homes (You can click on them to teleport):", "phomes_failure": "Error : The server don't have any public home.", "sharehome_success": "%s wants to share a home with you! To accept it click on this message.", "sharehome_failure": "Error : The home don't exist.", "sharehome_yourself": "Error : You can't share with yourself.", "accepthome_success": "The home has been transferred! Run /homes to find it.", "accepthome_failure": "Error : The home don't exist.", "accepthome_empty": "Error : There is no home to accept.", "homelanguage_success": "HOME language changed!", "homelanguage_failure": "Error : The language provided is invalid.", "homeslimit_success": "The new limit of homes has been set!", "homeslimit_failure": "Error : Please provide a number that is not negative.", "phomeslimit_success": "The new limit of public homes has been set!", "phomeslimit_failure": "Error : Please provide a number that is not negative.", "version": "1.3" }, "fr": { "sethome_success": "Votre home a été défini !", "sethome_limit": "Erreur : Vous ne pouvez avoir que %d homes.", "psethome_success": "Votre home public a été défini !", "psethome_limit": "Erreur : Vous ne pouvez avoir que %d homes publics.", "delhome_success": "Votre home a été supprimé !", "delhome_failure": "Erreur : Ce home n'existe pas.", "pdelhome_success": "Votre home public a été supprimé !", "pdelhome_failure": "Erreur : Ce home public n'existe pas ou vous n'en êtes pas le propriétaire.", "home_success": "Vous avez été téléporté à votre home !", "home_failure": "Erreur : Ce home n'existe pas.", "phome_success": "Vous avez été téléporté au home public !", "phome_failure": "Erreur : Ce home public n'existe pas.", "homes_success": "Vos homes (cliquez pour vous téléporter) :", "homes_failure": "Erreur : Vous n'avez aucun home.", "phomes_success": "Homes publics (cliquez pour vous téléporter) :", "phomes_failure": "Erreur : Le serveur n'a aucun home public.", "sharehome_success": "%s souhaite partager un home avec vous ! Cliquez sur ce message pour l'accepter.", "sharehome_failure": "Erreur : Ce home n'existe pas.", "sharehome_yourself": "Erreur : Vous ne pouvez pas partager avec vous-même.", "accepthome_success": "Le home a été transféré ! Utilisez /homes pour le trouver.", "accepthome_failure": "Erreur : Ce home n'existe pas.", "accepthome_empty": "Erreur : Aucun home à accepter.", "homelanguage_success": "Langue du HOME modifiée !", "homelanguage_failure": "Erreur : La langue fournie est invalide.", "homeslimit_success": "La nouvelle limite de homes a été définie !", "homeslimit_failure": "Erreur : Veuillez fournir un nombre positif.", "phomeslimit_success": "La nouvelle limite de homes publics a été définie !", "phomeslimit_failure": "Erreur : Veuillez fournir un nombre positif.", "version": "1.3" } } ```