{"id":26359224,"url":"https://github.com/hashtek-mc/hashworld","last_synced_at":"2025-03-16T15:59:03.917Z","repository":{"id":222736163,"uuid":"755873940","full_name":"hashtek-mc/hashworld","owner":"hashtek-mc","description":"Une librairie permettant de gérer les templates de monde plus facilement.","archived":false,"fork":false,"pushed_at":"2024-05-13T12:01:47.000Z","size":492,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-05-14T13:01:20.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hashtek-mc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-11T10:52:18.000Z","updated_at":"2024-05-13T11:56:45.000Z","dependencies_parsed_at":"2024-05-13T12:56:43.219Z","dependency_job_id":"26607807-89e7-44c6-90ca-d149e49b4cfc","html_url":"https://github.com/hashtek-mc/hashworld","commit_stats":null,"previous_names":["hashtek-mc/hashworld"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashtek-mc%2Fhashworld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashtek-mc%2Fhashworld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashtek-mc%2Fhashworld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashtek-mc%2Fhashworld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashtek-mc","download_url":"https://codeload.github.com/hashtek-mc/hashworld/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243893845,"owners_count":20364916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-16T15:59:03.166Z","updated_at":"2025-03-16T15:59:03.909Z","avatar_url":"https://github.com/hashtek-mc.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 📋 HashWorld v0.0.1 - Guide d'utilisation\n\n### Description de la librairie\nCette librairie permet de gérer les mondes facilement, à l'aide d'un monde de template.\n\n## 🏁 Getting Started\n\n### Informations\n\nHashWorld est à la fois un plugin et une librairie. \nPour l'utiliser, il faudra donc placer le `.jar` dans le dossier `/plugins`.\n\n### Utilisation\n```java\nimport fr.hashtek.spigot.hashworld.HashWorld;\nimport org.bukkit.plugin.java.JavaPlugin;\n\npublic class Plugin extends JavaPlugin\n{\n\n    @Override\n    public void onEnable()\n    {\n        HashWorld HWInstance = HashWorld.getInstance();\n        \n        # Recharger le premier clone\n        HWInstance.reloadClone(0);\n        \n        # Obtenir le premier clone\n        World firstClone = HWInstance.getClone(0);\n    }\n\n}\n```\n\n### Fichier de configuration\n\u003cu\u003econfig.yml\u003c/u\u003e:\n```yaml\nworlds:\n  template:\n    name: \"template\"\n  clones:\n    format-name: \"clone-%id%\" # %id% =\u003e the id of the world\n    amount: 5\n```\n`worlds.template.name`: Le nom du fichier de la template (présent à la racine du serveur).\n`clones.format-name`: Le format d'affichage des clones.\n`clones.amount`: Le nombre de clones à charger.\n\n\u003e [!information]\n\u003e `clones.format-name`:\n\u003e La variable `%id%` correspond à l'identifiant du clone.\n\u003e Si cette variable n'est pas indiquée, alors le format sera `\u003cformat-name\u003e-%id%`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashtek-mc%2Fhashworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashtek-mc%2Fhashworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashtek-mc%2Fhashworld/lists"}