SMPAddons

一款为你的SMP带来一些简单增强的轻量级插件!

资源图片
# SMPAddons SMPAddons 是一个简单且可定制的插件,可以为您的生存多人游戏 (SMP) 服务器添加功能,从而改善整体玩家体验。 此外,每个功能都可以根据您的意愿启用或禁用。 ## 功能 - **发射 Elytra**: 离开出生点时,您可以使用类似 Elytra 的功能。 - **TPS 栏**: 实时显示 TPS,显示服务器性能。 - **可定制 MOTD**: 您可以使用自定义文本和颜色来个性化服务器的每日消息。 - **游戏时间追踪**: 您可以查看玩家在服务器上活动的持续时间。 - **状态**: 您可以设置自定义状态,在您的用户名之前显示。 - **认领商店**: 您可以认领商店,鼓励玩家主导的经济。 - **语言支持**: 您可以选择德语或英语。 - **权限支持**: 您可以允许或禁止玩家使用插件的某些命令。 ## 一些功能的示例
游戏时间示例 **/playtime** 命令示例 ![游戏时间命令示例](https://cdn.modrinth.com/data/cached_images/f93fd387d586e90e780eb3dc4ea2bb2008678bbf.png) **/playtime top** 命令示例 ![顶部游戏时间命令示例](https://cdn.modrinth.com/data/cached_images/f1f3f2c116e97c8067d880b86496da45a5b78717.png)
发射 Elytra 示例 ![发射 Elytra 示例](https://drive.google.com/uc?export=download&id=1w5ZO_hpEuiJ8KpiU4nju3Zhs3EkGfWLG)
MOTD 示例 ![MOTD 示例](https://cdn.modrinth.com/data/cached_images/6db7fc2590509904f89c09c34ef42c84064304a5.png)
TPS 栏示例 ![TPS 栏示例](https://cdn.modrinth.com/data/cached_images/87562fc4495cf8330cc2df1330037a2719d56c9b.png)
认领商店示例 ![认领商店示例 1](https://cdn.modrinth.com/data/cached_images/910b257af89759aade00882bd2578680ed4d5217.png) ![认领商店示例 2](https://cdn.modrinth.com/data/cached_images/b62b02123ef6c42889883ee85bd8ac22896399b8.png)
### 默认配置
默认配置
config.yml ``` # Plugin from Blaxk_ # 定义插件的语言。您可以将其更改为‘de’表示德语,或‘en’表示英语。 language: en # 指定是否启用 MOTD。 motdenabled: false # 服务器的 MOTD。这是服务器列表中服务器名称下方的文本。 # 您可以使用颜色代码与 § (如果您不了解这些代码,请在互联网上搜索。) motd: - "§6§lUnset MOTD" - "§aExample text" # 您可以使用世界、world_nether 或 world_the_end 来设置飞行器和 Elytra 出生点起作用的位置。 # 如果不是这样,请将其更改为世界名称,否则控制台将被错误信息淹没! world: world # multiplyValue 是 Elytra 提升的强度。 multiplyvalue: 2 # 这是出生点半径。它定义了 Elytra 出生点起作用的位置。 spawnradius: 50 # 定义是否可以在出生点区域使用 Elytra 出生点。 boostenabled: true # 定义 /status 命令是否起作用 statusenabled: true # 定义最大状态长度 maximalstatuslength: 20 # 定义 /claimshop 是否起作用。(true 或 false) claimshopenabled: false # 定义是否可以认领第二个商店。(true 或 false) secondshopactive: false # 定义游戏时间是否起作用。如果设置为 false,游戏时间将不会计算。 playtimenabled: true ```
languages.yml ``` # languages.yml en: messages: plugin_started: "The SMPAddons plugin has started. | Author - Blaxk_" plugin_stopped: "The SMPAddons plugin has stopped. | Author - Blaxk_" motd_error: "Error in MOTD config! Enter 2 lines of MOTD in the config." besttimes_deleted: "besttimes.yml deleted. (I deleted this feature in version 1.3.1)" new_version_available: "A new version of SMPAddons is available!" update_to_version: "Please update to version {latestVersion} (Current version: {currentVersion})" download_link: "Download link and changelog list:" failed_update_check: "Failed to check for updates: {errorMessage}" boost_activated: "Boost activated!" press_to_boost: "Press {key} in order to boost yourself." invalid_world: "IMPORTANT! Please update 'world:' in config.yml to match an existing world. Current value '{worldName}' is invalid!" tps_bar: "TPS: {tps}" playtime: "Playtime: {hours} hours and {minutes} minutes" all_playtimes: "All Playtimes:" unknown_player: "Unknown player (UUID: {uuid})" your_rank: "Your rank: " player_not_found: "Player not found." total_playtime: "The total playtime of {playerName} is{playtime}." playtime_disabled: "Playtime is currently disabled." command_only_for_players: "This command can only be used by players." your_total_playtime: "Your total playtime is" top_playtimes: "Top Playtimes:" status_disabled: "Status feature is currently disabled." status_usage: "Usage: /status [status]" status_set: "Your status has been set! {roleName} {playerName}" status_reset: "Your status has been reset." provide_status: "Please provide a status to set." status_max_length: "Status cannot exceed {maxLength} characters." status_must_contain_letter_or_number: "Status must contain at least one letter or number." invalid_subcommand: "Invalid subcommand." tps_bar_disabled: "TPS bar disabled." tps_bar_activated: "TPS bar activated." claimshop_disabled: "Claiming shops is currently disabled." specify_shop_name: "Please specify a name for your shop:" max_shops_reached: "You have already reached the maximum number of claimed shops." second_shop_unavailable: "The second shop cannot be claimed at this time." shop_claimed: "You have used {diamonds} diamonds to claim the shop '{shopName}'." not_enough_diamonds: "You don't have enough diamonds to claim a shop (Required: {requiredDiamonds} diamonds). You only have {diamondsInInventory} diamonds in your inventory." config_reloaded: "SMPAddons configuration reloaded." no_permission: "You do not have permission to execute this command." plugin_version: "Version: {version}" plugin_description: "SMPAddons is a simple and customizable plugin that adds features to your Survival Multiplayer (SMP) server. It helps you improve the overall player experience." plugin_author: "Author: Blaxk_" days: "days" hours: "hours" minutes: "minutes" seconds: "seconds" de: messages: plugin_started: "Das SMPAddons-Plugin wurde gestartet. | Autor - Blaxk_" plugin_stopped: "Das SMPAddons-Plugin wurde gestoppt. | Autor - Blaxk_" motd_error: "Fehler in der MOTD-Konfiguration! Geben Sie 2 Zeilen MOTD in der Konfiguration ein." besttimes_deleted: "besttimes.yml gelöscht. (Ich habe dieses Feature in Version 1.3.1 entfernt)" new_version_available: "Eine neue Version von SMPAddons ist verfügbar!" update_to_version: "Bitte aktualisiere auf Version {latestVersion} (Aktuelle Version: {currentVersion})" download_link: "Download-Link und Änderungsprotokoll:" failed_update_check: "Fehler beim Überprüfen auf Updates: {errorMessage}" boost_activated: "Boost aktiviert!" press_to_boost: "Drücke {key}, um dich zu boosten." invalid_world: "WICHTIG! Bitte aktualisiere 'world:' in config.yml, um einer existierenden Welt zu entsprechen. Der aktuelle Wert '{worldName}' ist ungültig!" tps_bar: "TPS: {tps}" playtime: "Spielzeit: {hours} Stunden und {minutes} Minuten" all_playtimes: "Alle Spielzeiten:" unknown_player: "Unbekannter Spieler (UUID: {uuid})" your_rank: "Dein Rang: " player_not_found: "Spieler nicht gefunden." total_playtime: "Die gesamte Spielzeit von {playerName} beträgt{playtime}." playtime_disabled: "Spielzeit ist derzeit deaktiviert." command_only_for_players: "Dieser Befehl kann nur von Spielern verwendet werden." your_total_playtime: "Deine gesamte Spielzeit beträgt" top_playtimes: "Top-Spielzeiten:" status_disabled: "Status-Funktion ist derzeit deaktiviert." status_usage: "Verwendung: /status [status]" status_set: "Dein Status wurde gesetzt! {roleName} {playerName}" status_reset: "Dein Status wurde zurückgesetzt." provide_status: "Bitte geben Sie einen Status an, den Sie setzen möchten." status_max_length: "Status darf {maxLength} Zeichen nicht überschreiten." status_must_contain_letter_or_number: "Status muss mindestens einen Buchstaben oder eine Zahl enthalten." invalid_subcommand: "Ungültiger Unterbefehl." tps_bar_disabled: "TPS-Leiste deaktiviert." tps_bar_activated: "TPS-Leiste aktiviert." claimshop_disabled: "Das Beanspruchen von Shops ist derzeit deaktiviert." specify_shop_name: "Bitte gib einen Namen für deinen Shop an:" max_shops_reached: "Du hast bereits die maximale Anzahl an beanspruchten Shops erreicht." second_shop_unavailable: "Der zweite Shop kann derzeit nicht beansprucht werden." shop_claimed: "Du hast {diamonds} Diamanten verwendet, um den Shop '{shopName}' zu beanspruchen." not_enough_diamonds: "Du hast nicht genug Diamanten, um einen Shop zu beanspruchen (Erforderlich: {requiredDiamonds} Diamanten). Du hast nur {diamondsInInventory} Diamanten in deinem Inventar." config_reloaded: "Konfiguration von SMPAddons neu geladen." no_permission: "Du hast keine Berechtigung, diesen Befehl auszuführen." plugin_version: "Version: {version}" plugin_description: "SMPAddons ist ein einfaches und anpassbares Plugin, das Funktionen zu deinem Survival Multiplayer (SMP) Server hinzufügt. Es hilft dir, das Spielerlebnis insgesamt zu verbessern." plugin_author: "Autor: Blaxk_" days: "Tage" hours: "Stunden" minutes: "Minuten" seconds: "Sekunden" ```