SimpleHomes

一个简单的家园插件。具有可自定义的消息和音效。

资源图片
# SimpleHomes ### 插件 它是一个SimpleHomes插件,包含一些自定义选项。**默认配置在页尾。** **功能:** - 可自定义的消息 - 简单的传送地点系统 - 传送地点冷却时间 - 自定义音效 **使用方法:** - _**/sethome [name]**_ 设置一个传送地点。 | _权限 (默认): homes.sethome_ - _**/delhome [name]**_ 删除你创建的传送地点。 | _权限 (默认): homes.delhome_ - _**/homes**_ 列出你创建的所有传送地点。 | _权限 (默认): homes.homes_ - _**/home [name]**_ 传送到你创建的传送地点。 | _权限 (默认): homes.home_ - _**/simplehomes reload**_ 或 _**/shr reload**_ 重新加载 config.yml。 | _所需权限: simplehomes.reload_ **权限:** - _**homes.sethome**_ 你需要这个权限才能运行 _**/sethome [name]**_。 - _**homes.delhome**_ 你需要这个权限才能运行 _**/delhome [name]**_。 - _**homes.homes**_ 你需要这个权限才能运行 _**/homes**_。 - _**homes.home**_ 你需要这个权限才能运行 _**/home [name]**_。 - _**homes.unlimited**_ 拥有此权限的用户可以绕过最大传送地点限制。 - _**simplehomes.reload**_ 你需要这个权限才能运行 _**/simplehomes reload**_ 或 _**/shr reload**_。 ![SimpleHomes Logo](https://cdn.modrinth.com/data/cached_images/1fe646e62eefdfd61daf8f7ce266feb665b4c37a.png) _default config.yml_ ``` max-homes: 3 # 一个玩家可以拥有的传送地点最多数量 teleport-cooldown: 5 # /home 命令使用之间的秒数 teleport-warmup: 3 # 传送前的延迟秒数 cancel-on-move: true # 如果为 true,移动将取消传送 cancel-on-damage: true # 如果为 true,受到伤害将取消传送 # 在这里你可以自定义所有消息 messages: no-permission: "&c你没有权限!" usage: sethome: "&c用法: /sethome " home: "&c用法: /home " delhome: "&c用法: /delhome " sethome: success: "&a传送地点 '&f%home%&a' 已设置!" limit-reached: "&c你已达到传送地点最大数量 (%max%)." home: not-exist: "&c该传送地点不存在。" warmup: "&a传送到 &f%home% &a in %time%s... 不要移动!" success: "&a已传送到 &f%home%&a!" cooldown: "&c等待 %time%s 才能再次传送。" cancelled-move: "&c因为你移动了,传送已取消!" cancelled-damage: "&c因为你受到了伤害,传送已取消!" delhome: success: "&a传送地点 '&f%home%&a' 已删除。" not-exist: "&c该传送地点不存在。" homes: none: "&e你没有传送地点。" list: "&a你的传送地点: &f%homes%" # 在这里你可以自定义所有音效 (格式: SOUND:音量:音调)。 有效音效可以在这里找到: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html sounds: # 成功音效 sethome-success: "BLOCK_NOTE_BLOCK_PLING:1:1" delhome-success: "ENTITY_ITEM_BREAK:1:1" home-warmup: "UI_BUTTON_CLICK:1:1" home-success: "ENTITY_ENDERMAN_TELEPORT:1:1" # 取消音效 home-cancel-move: "ENTITY_VILLAGER_NO:1:1" home-cancel-damage: "ENTITY_BLAZE_HURT:1:1" # 失败音效 sethome-fail: "BLOCK_ANVIL_LAND:1:0.8" delhome-fail: "ENTITY_VILLAGER_NO:1:1" home-fail: "BLOCK_NOTE_BLOCK_BASS:1:0.8" no-permission: "ENTITY_VILLAGER_NO:1:1" cooldown-fail: "BLOCK_NOTE_BLOCK_BASS:1:0.5" ```
config.yml 的德语翻译 ``` max-homes: 3 # Maximale Anzahl an Homes, die ein Spieler haben kann teleport-cooldown: 5 # Sekunden zwischen der Nutzung von /home teleport-warmup: 3 # Sekunden Verzögerung bevor teleportiert wird cancel-on-move: true # wenn true, wird der Teleport bei Bewegung abgebrochen cancel-on-damage: true # wenn true, wird der Teleport bei Schaden abgebrochen # Hier kannst du alle Nachrichten anpassen messages: no-permission: "&cDu hast keine Berechtigung!" usage: sethome: "&cBenutzung: /sethome " home: "&cBenutzung: /home " delhome: "&cBenutzung: /delhome " sethome: success: "&aHome '&f%home%&a' wurde gesetzt!" limit-reached: "&cDu hast die maximale Anzahl an Homes erreicht (%max%)." home: not-exist: "&cDieses Home existiert nicht." warmup: "&aTeleportiere zu &f%home% &ain %time%s... Bitte nicht bewegen!" success: "&aDu wurdest zu &f%home% &ateleportiert!" cooldown: "&cBitte warte %time%s bevor du erneut teleportierst." cancelled-move: "&cTeleport abgebrochen, da du dich bewegt hast!" cancelled-damage: "&cTeleport abgebrochen, da du Schaden genommen hast!" delhome: success: "&aHome '&f%home%&a' wurde gelöscht." not-exist: "&cDieses Home existiert nicht." homes: none: "&eDu hast keine Homes gesetzt." list: "&aDeine Homes: &f%homes%" # Hier kannst du alle Sounds anpassen (Format: SOUND:LAUTSTÄRKE:TONHÖHE). Gültige Sounds können hier gefunden werden https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html sounds: # Erfolgs-Sounds sethome-success: "BLOCK_NOTE_BLOCK_PLING:1:1" delhome-success: "ENTITY_ITEM_BREAK:1:1" home-warmup: "UI_BUTTON_CLICK:1:1" home-success: "ENTITY_ENDERMAN_TELEPORT:1:1" # Abbruch-Sounds home-cancel-move: "ENTITY_VILLAGER_NO:1:1" home-cancel-damage: "ENTITY_BLAZE_HURT:1:1" # Fehler-Sounds sethome-fail: "BLOCK_ANVIL_LAND:1:0.8" delhome-fail: "ENTITY_VILLAGER_NO:1:1" home-fail: "BLOCK_NOTE_BLOCK_BASS:1:0.8" no-permission: "ENTITY_VILLAGER_NO:1:1" cooldown-fail: "BLOCK_NOTE_BLOCK_BASS:1:0.5" ```
玩得开心!