你的信息。你的玩家。你的服务器。
聊天 · 标题 · Boss 栏 · 动作栏
DS-Ads 为你的社区提供了一个清晰的场所,让成员听到重要的内容:规则、活动、有用的提醒以及他们加入时的欢迎语。配置每条公告一次,选择其显示方式,并在单个服务器或代理网络中推送。
DS-Ads 9.1.0 · Minecraft 1.13–26.3 Spigot / Paper · BungeeCord · Velocity · 一个通用 JAR
01 / 让你的信息被看到
动作栏中的安静提醒。全屏显示的欢迎语。可点击的聊天消息。启用适合当前场景的格式,或在同一条广告中组合多种格式。
-
聊天。 编写带有可点击 URL 和悬停文本的多行公告。当你希望布局更刻意时,可以对单行进行居中处理。
-
标题与副标题。 在屏幕上显示主标题和第二行文字,并配置淡入、停留和淡出的时间。
-
Boss 栏。 将消息保持在屏幕顶部。设置其颜色、样式和持续时间。
-
动作栏。 在快捷栏上方显示紧凑的消息,而不会填满聊天窗口。
查看 DS-Ads 的实际效果
使用早期版本录制;当前界面和配置可能有所不同。
02 / 正确的信息。准时送达。
-
自动轮换。 选择冷却时间并在 YAML 中添加命名广告。每个周期随机选择一条可用的广告;多条可用广告可避免立即重复。
-
有意的欢迎。 在配置的加入延迟后发送专用的欢迎广告。在代理网络上,它在首次连接服务器后运行,并且不会在每次服务器切换时重复。
-
针对每条广告的受众。 要求接收者拥有权限,并根据 Spigot/Paper 上的世界或 BungeeCord/Velocity 上的服务器进行过滤。留空这些字段以包含所有人。
-
工作人员控制。 重新加载设置,启用或禁用自动推送,并向单个玩家或其符合条件的受众发送配置好的公告。
格式化、占位符 & 音效
-
MiniMessage。 使用命名颜色、HEX 颜色、渐变和文本样式。旧版客户端会显示最近的旧版颜色;完整 RGB 需要 Minecraft 1.16+。
-
交互式聊天。 为聊天行添加可点击的 URL 和悬停文本。用
<center>...</center>包裹聊天行以在所有支持的平台上居中显示。 -
PlaceholderAPI。 在 Spigot/Paper 上是可选的。安装你使用的占位符对应的扩展;它们适用于所有广告文本字段。DS-Ads 不提供自己的占位符扩展。
-
音效。 Spigot/Paper 聊天公告可以播放 Bukkit 音效名称或资源键。空的 Sound 值将禁用音频。代理不播放这些通知音效。
03 / 从服务器到网络
相同的通用 JAR 包含了服务器和代理实现。选择公告运行的位置,并使用为该平台生成的设置。
-
Spigot / Paper: Minecraft 1.13–26.3。使用你的服务器所需的 Java 版本。未声明对 Folia 的支持。
-
BungeeCord / Velocity: 在同一 JAR 文件中放入代理插件文件夹,并通过你的代理权限管理器授予工作人员权限。Velocity 需要 Java 17 或更高版本,或者你安装的代理所需的更高 Java 版本。
-
PlaceholderAPI: 在 Spigot/Paper 上是可选的。该插件无需它即可工作;仅当你的消息使用其占位符时才安装它。没有代理 PlaceholderAPI 集成。
-
网络设置: 在代理上运行 DS-Ads 以进行网络公告,或在单个服务器上运行以进行本地公告。除非你希望重复推送,否则避免在两个级别都配置相同的自动消息。
04 / 随时准备就绪
可读的 YAML 文件、少量命令集以及无需重启即可更改的设置。
安装与配置
-
将
DS-Ads-9.1.0.jar放入所选服务器或代理的plugins文件夹,然后启动它。 -
打开插件数据文件夹中生成的
Settings.yml。编辑Ads-Configuration下的命名广告和单独的Welcome-Ad。 -
选择格式、时间和接收者。在代理上使用
Servers;在 Spigot/Paper 上使用Worlds。仅当你的服务器消息使用它们时才安装 PlaceholderAPI 及其所需扩展。 -
运行
/ads reload,然后使用/ads send Ad-Rules YourPlayerName预览广告。仅授予工作人员所需的命令权限。
命令 — 完整参考
Command: /ads · Alias: /dsads · All commands can also be run from the console.
/ads reload
Permission: ads.reload
Reload Settings.yml. Invalid YAML keeps the previous working configuration.
/ads enable
Permission: ads.manage
Enable automatic announcements and the welcome ad; save the enabled state.
/ads disable
Permission: ads.manage
Stop automatic announcements and welcome messages; hide active boss bars and save the disabled state.
/ads send <ad> <player>
Permission: ads.send
Force a configured ad to one online player. This bypasses recipient/location filters and the automatic enabled switch.
/ads send <ad> *
Permission: ads.send
Send a configured ad to eligible online players, respecting its permission and location filters.
使用 Ads-Configuration 中配置的名称。命令补全会提示允许的子命令、广告名称和在线玩家。直接发送给某位玩家是一种管理员预览/强制发送;即使自动投递已禁用,它仍可运行。
权限 — 管理员与接收者
ads.send — 手动发送公告。
配置键: Permissions.Send
ads.manage — 启用/禁用自动投递;启用时接收更新通知。
配置键: Permissions.Manage
ads.reload — 重新加载配置。
配置键: Permissions.Reload
在 Spigot/Paper 上,这些默认的管理员节点会授予操作员(operators)。在代理服务器(proxies)上,请使用你的权限管理器进行分配。控制台拥有权限。请在 Permissions 中更改命令节点;若配置的命令节点为空,则回退到其默认值。
广告内部的 Permission 控制谁可以接收该广告。它可以是你选择的任何节点,例如 community.announcements.events。空的接收者权限意味着所有人都能接收。这并不会授予对 /ads 命令的访问权限。
配置 — 示例与时间参考
将此示例合并到你生成的 Settings.yml 中。它展示了一条欢迎聊天消息和一个命名的轮换广告。示例 URL 仅为占位符;请替换为你自己的服务器规则页面链接。
# 将这些部分合并到生成的 Settings.yml 中。
# 保留生成的 Plugin-Version 和 Config-Version 值。
Plugin-Configuration:
Enabled: true
Disable-Join-Leave-Messages: false
Debug: false
Update-Checker: true
Permissions:
Send: "ads.send"
Manage: "ads.manage"
Reload: "ads.reload"
Welcome-Ad:
Enabled: true
Delay-Seconds: 1
Content:
Chat:
Enabled: true
Sound: ""
Lines:
- "<center><gold>Welcome!</gold> <gray>Enjoy your stay.</gray>"
Ads-Configuration:
Cooldown: 120
Ad-Rules:
Worlds: []
Permission: ""
Chat:
Enabled: true
Sound: ""
Lines:
- "<center><gold>Build together. Play fair.</gold>"
- "<gray><click:open_url:https://example.com/rules><hover:show_text:'<gray>Open the rules'>Read the server rules</hover></click></gray>"
Boss-Bar:
Enabled: true
Message: "<gold>Build together. Play fair.</gold>"
Color: "WHITE"
Style: "PROGRESS"
Duration-Seconds: 8
Action-Bar:
Enabled: true
Message: "<gray>Your next adventure starts here.</gray>"
Title:
Enabled: false
Title: "<gold>Welcome!</gold>"
Subtitle: "<gray>Enjoy your stay.</gray>"
Fade-In: 10
Stay: 60
Fade-Out: 20
-
冷却时间。
Ads-Configuration.Cooldown单位为秒(默认 120;最小值 5)。第一条自动广告需要等待完整的冷却时间。 -
选择机制。 每个周期随机选择一条可用的广告。当有多条可用广告时,不会立即再次选中上一条广告。
-
欢迎延迟。
Welcome-Ad.Delay-Seconds单位为秒,限制在 0–60 之间。在代理服务器上,欢迎广告仅在首次连接服务器时运行,而非每次切换服务器时。 -
接收者。 每条周期性广告都可以要求特定的
Permission。空值表示允许所有玩家。这与管理员命令权限是分开的。 -
位置过滤。 在 Spigot/Paper 上使用
Worlds,在 BungeeCord/Velocity 上使用Servers。空列表表示允许所有位置。这些过滤器适用于周期性广告和手动广播。 -
标题计时。
Fade-In、Stay和Fade-Out使用刻(ticks)为单位(20 刻 = 1 秒)。Boss-Bar.Duration-Seconds使用秒为单位,最小值为 1。 -
Boss 栏设置。 颜色:PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE。样式:PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12, NOTCHED_20。
-
代理配置。 将
Worlds替换为Servers,并省略 Sound 和 Disable-Join-Leave-Messages。代理服务器上未集成 PlaceholderAPI。 -
广告名称。 使用
Ads-Configuration下的名称,例如Ad-Rules。Welcome-Ad单独配置,不能通过/ads send选择。
更新与安全重载
版本 9.1 就地更新了受支持的 9.0.x 配置文件,保留了数值、广告内容和注释。旧文件保存在 old-configs/ 目录下。请保持生成的版本字段不变。
如果重载时发现无效的 YAML,DS-Ads 会报告错误并保持上一个正常工作的配置。如果启动时的配置无效,公告将保持非活动状态,直到你修复它并运行 /ads reload。没有启用任何投递格式的广告将被跳过并附带警告。
/ads enable 和 /ads disable 会保存启用状态。禁用后会停止轮换和欢迎消息,并清除活跃的 Boss 栏。经过授权的管理员仍可使用直接手动发送功能。
文档与支持
需要帮助完成首次公告或配置更改吗?文档和社区就在身边。
合作伙伴
Teramont 是我们的托管合作伙伴。使用代码 Byte 可获得首月 15% 折扣。
© 2026 FruitForge Studios
Your message. Your players. Your server.
Chat · Titles · Boss bars · Action bars
DS-Ads gives your community a clear place to hear what matters: rules, events, helpful reminders and a welcome when they join. Configure each announcement once, choose how it appears and deliver it across a single server or a proxy network.
DS-Ads 9.1.0 · Minecraft 1.13–26.3 Spigot / Paper · BungeeCord · Velocity · One universal JAR
01 / Make your message seen
A quiet reminder in the action bar. A welcome across the screen. A chat message players can click. Enable the formats that suit the moment, or combine several in the same ad.
-
Chat. Write multi-line announcements with clickable URLs and hover text. Center individual lines when you want a more deliberate layout.
-
Title & subtitle. Put a headline and a second line on screen, with configurable fade-in, stay and fade-out times.
-
Boss bar. Keep a message at the top of the screen. Set its color, style and duration.
-
Action bar. Show compact messages above the hotbar without filling the chat.
See DS-Ads in action
Recorded with earlier builds; the current interface and configuration may differ.
02 / The right message. On time.
-
Automatic rotation. Choose a cooldown and add named ads in YAML. One usable ad is selected at random each cycle; multiple usable ads avoid immediate repetition.
-
A welcome that feels intentional. Send a dedicated welcome ad after a configurable join delay. On proxies, it runs after the first server connection and does not repeat on every server switch.
-
An audience for each ad. Require a recipient permission and filter by world on Spigot/Paper or by server on BungeeCord/Velocity. Leave those fields empty to include everyone.
-
Staff control. Reload settings, enable or disable automatic delivery, and send a configured announcement to one player or its eligible audience.
Formatting, placeholders & sound
-
MiniMessage. Use named colors, HEX colors, gradients and text styles. Older clients display the nearest legacy color; full RGB requires Minecraft 1.16+.
-
Interactive chat. Add clickable URLs and hover text to chat lines. Wrap a chat line in
<center>...</center>to center it on all supported platforms. -
PlaceholderAPI. Optional on Spigot/Paper. Install the expansions for the placeholders you use; they work in all ad text fields. DS-Ads does not provide its own placeholder expansion.
-
Sounds. Spigot/Paper chat announcements can play Bukkit sound names or resource keys. An empty Sound value disables audio. Proxies do not play these notification sounds.
03 / From a server to a network
The same universal JAR includes the server and proxy implementations. Choose where announcements run and use the settings generated for that platform.
-
Spigot / Paper: Minecraft 1.13–26.3. Use the Java version required by your server. Folia support is not claimed.
-
BungeeCord / Velocity: use the same JAR in the proxy plugins folder and grant staff permissions through your proxy permission manager. Velocity requires Java 17 or newer, or the newer Java version required by your installed proxy.
-
PlaceholderAPI: optional on Spigot/Paper. The plugin works without it; only install it when your messages use its placeholders. There is no proxy PlaceholderAPI integration.
-
Network setup: run DS-Ads on the proxy for network announcements, or on individual servers for local announcements. Avoid configuring the same automatic messages at both levels unless you want duplicate delivery.
04 / Ready when you are
A readable YAML file, a small command set and settings you can change without a restart.
Install & configure
-
Place
DS-Ads-9.1.0.jarin thepluginsfolder of your chosen server or proxy, then start it. -
Open the generated
Settings.ymlin the plugin data folder. Edit the named ads underAds-Configurationand the separateWelcome-Ad. -
Choose formats, timing and recipients. On proxies use
Servers; on Spigot/Paper useWorlds. Install PlaceholderAPI and its required expansions only if your server messages use them. -
Run
/ads reload, then preview an ad with/ads send Ad-Rules YourPlayerName. Grant staff only the command permissions they need.
Commands — complete reference
Command: /ads · Alias: /dsads · All commands can also be run from the console.
/ads reload
Permission: ads.reload
Reload Settings.yml. Invalid YAML keeps the previous working configuration.
/ads enable
Permission: ads.manage
Enable automatic announcements and the welcome ad; save the enabled state.
/ads disable
Permission: ads.manage
Stop automatic announcements and welcome messages; hide active boss bars and save the disabled state.
/ads send <ad> <player>
Permission: ads.send
Force a configured ad to one online player. This bypasses recipient/location filters and the automatic enabled switch.
/ads send <ad> *
Permission: ads.send
Send a configured ad to eligible online players, respecting its permission and location filters.
Use a configured name from Ads-Configuration. Command completion suggests allowed subcommands, ad names and online players. A direct player send is a staff preview/forced send; it can still run while automatic delivery is disabled.
Permissions — staff & recipients
ads.send — Send announcements manually.
Configuration key: Permissions.Send
ads.manage — Enable/disable automatic delivery; receive update notices when enabled.
Configuration key: Permissions.Manage
ads.reload — Reload the configuration.
Configuration key: Permissions.Reload
On Spigot/Paper these default staff nodes are granted to operators. On proxies, assign them using your permission manager. The console is allowed. Change the command nodes in Permissions; a blank configured command node falls back to its default.
The Permission inside an ad controls who receives it. It can be any node you choose, such as community.announcements.events. An empty recipient permission allows everyone. It does not grant access to /ads commands.
Configuration — example & timing reference
Merge this example into your generated Settings.yml. It shows a welcome chat message and a named rotating ad. The example URL is a placeholder; replace it with your own server rules page.
# Merge these sections into the generated Settings.yml.
# Keep the generated Plugin-Version and Config-Version values.
Plugin-Configuration:
Enabled: true
Disable-Join-Leave-Messages: false
Debug: false
Update-Checker: true
Permissions:
Send: "ads.send"
Manage: "ads.manage"
Reload: "ads.reload"
Welcome-Ad:
Enabled: true
Delay-Seconds: 1
Content:
Chat:
Enabled: true
Sound: ""
Lines:
- "<center><gold>Welcome!</gold> <gray>Enjoy your stay.</gray>"
Ads-Configuration:
Cooldown: 120
Ad-Rules:
Worlds: []
Permission: ""
Chat:
Enabled: true
Sound: ""
Lines:
- "<center><gold>Build together. Play fair.</gold>"
- "<gray><click:open_url:https://example.com/rules><hover:show_text:'<gray>Open the rules'>Read the server rules</hover></click></gray>"
Boss-Bar:
Enabled: true
Message: "<gold>Build together. Play fair.</gold>"
Color: "WHITE"
Style: "PROGRESS"
Duration-Seconds: 8
Action-Bar:
Enabled: true
Message: "<gray>Your next adventure starts here.</gray>"
Title:
Enabled: false
Title: "<gold>Welcome!</gold>"
Subtitle: "<gray>Enjoy your stay.</gray>"
Fade-In: 10
Stay: 60
Fade-Out: 20
-
Cooldown.
Ads-Configuration.Cooldownis in seconds (default 120; minimum 5). The first automatic ad waits for a full cooldown. -
Selection. One usable ad is selected at random per cycle. With multiple usable ads, the previous ad is not selected immediately again.
-
Welcome delay.
Welcome-Ad.Delay-Secondsis in seconds and is limited to 0–60. On proxies, the welcome ad runs on the first server connection, not on every server switch. -
Recipients. Each periodic ad can require a
Permission. An empty value allows all players. This is separate from staff command permissions. -
Locations. Use
Worldson Spigot/Paper andServerson BungeeCord/Velocity. An empty list allows all locations. These filters apply to periodic ads and manual broadcasts. -
Title timing.
Fade-In,StayandFade-Outuse ticks (20 ticks = 1 second).Boss-Bar.Duration-Secondsuses seconds, with a minimum of 1. -
Boss bar settings. Colors: PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE. Styles: PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12, NOTCHED_20.
-
Proxy configuration. Replace
WorldswithServersand omit Sound and Disable-Join-Leave-Messages. PlaceholderAPI is not integrated on proxies. -
Ad names. Use the name under
Ads-Configuration, such asAd-Rules.Welcome-Adis configured separately and cannot be selected by/ads send.
Updating & safe reloads
Version 9.1 updates supported 9.0.x configuration files in place, preserving values, ads and comments. The previous file is saved under old-configs/. Keep the generated version fields unchanged.
If a reload finds invalid YAML, DS-Ads reports the error and keeps the previous working configuration. If startup configuration is invalid, announcements remain inactive until you fix it and run /ads reload. Ads with no enabled delivery format are skipped with a warning.
/ads enable and /ads disable save the enabled state. Disabling stops rotation and welcome messages and clears active boss bars. Direct manual sends remain available to authorized staff.
Documentation & support
Need a hand with your first announcements or a configuration change? The documentation and community are close by.
Partners
Teramont is our hosting partner. Get 15% off your first month with code Byte.
© 2026 FruitForge Studios
下载 DS-Ads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DS-Ads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DS-Ads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DS-Ads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DS-Ads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DS-Ads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DS-Ads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DS-Ads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DS-Ads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DS-Ads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
? 更新 9.1.0 重大修复
DS-Ads - 发布于 2026年9月28日
⚠️ 所有平台均已修复
重大修复版本:DS-Ads 现在可在 Spigot、Paper、BungeeCord 和 Velocity 上正常运行,支持从 Minecraft 1.13 到 26.3 的版本,且只需一个更轻量的 jar 包。您的 9.0.x Settings.yml 将自动更新,保留您的配置值和广告内容。
? Spigot / Paper 修复
-
重新支持在 Paper 1.20.5 - 1.21.x 上加载 - 9.0 版本的 jar 包包含三个
Settings.yml文件,导致 Paper 拒绝加载(“检测到重复条目”)。现在为 Spigot 和 Paper 提供一个模板,为代理服务器提供另一个模板,因此 Spigot 服务器将再次获得包含Worlds、Sound和Ad-VIP示例的配置文件,而不是 Velocity 的文件 -
支持 Minecraft 1.13 - 1.17 - DS-Ads 现在兼容 Java 8 及更高版本的 Java,因此可以在从 1.13 到 26.3 的 Spigot 和 Paper 服务器上运行(9.0 需要 1.18.2 和 Java 17)
-
1.21+ 和 26.x 中的操作栏与标题显示正常 - 之前在 Spigot 1.21.11 / 26.3 和 Paper 1.21.11 / 26.x 上从未显示过。DS-Ads 现在在每个版本中都使用服务器自身的 API,聊天行中的点击和悬停功能在所有地方均可正常工作
-
Boss Bar 不再提前消失 - 之前一个 Boss Bar 的计时器会移除下一个 Boss Bar,包括重新加入后的新欢迎 Boss Bar。现在每个 Boss Bar 都有自己独立的计时器
-
YAML 错误不再清空 Settings.yml - 插件过去会在配置为空时运行,而下次执行
/ads enable或/ads disable时会覆盖你的文件。现在如果文件存在错误,则不会被写入、移动或替换:执行/ads reload会提示错误信息,之前的设置将继续生效 -
Boss Bar 默认值优化 - 缺失的
Style现在默认为PROGRESS(之前会导致隐藏该条),未知的Color将使用PINK而不是不显示任何条,并且接受 Bukkit 名称SOLID以及SEGMENTED_6到SEGMENTED_20 -
无意外音效 - 没有指定
Sound的聊天广告将不再播放任何声音(之前会播放一声 pling) -
警告位置正确 - 警告和错误现在以警告和错误的级别记录,而不是 INFO 级别
? BungeeCord 修复
-
1.8 客户端不再被踢出 - 之前会将 Boss Bar 发送给不支持该功能的客户端(
EncoderException ... BossBar)。现在 1.8 玩家可以看到广告的聊天内容、操作栏和标题 -
加入或切换服务器时不再被踢 - Boss Bar 会在玩家登录或配置期间等待其数据包队列中处理,周期性广告则会等到玩家进入世界后才发送,包括在切换服务器期间也是如此
-
加入后的欢迎广告延迟发送 - 之前欢迎广告在客户端进入游戏前就发送了,可能导致标题和操作栏丢失。现在当玩家进入第一个服务器的世界后才会发送欢迎广告,即使加入过程较长(如服务器繁忙、资源包下载等),也会在
Welcome-Ad.Delay-Seconds设定的秒数之后发送 -
YAML 错误处理改进 - 出现错误时执行
/ads reload不再返回 “An internal error occurred”,启动时损坏的文件也不会导致/ads命令缺失 -
保留注释 -
/ads enable和/ads disable仅修改Enabled这一行,而不是重写整个文件并删除注释 -
代理日志更干净 -
proxy.log中原始的 ANSI 颜色代码已移除
? Velocity 修复
-
Velocity 兼容性修复 - 在 Velocity 上所有功能均失败:欢迎广告、周期性广告以及所有命令都会抛出
NoSuchMethodError。DS-Ads 现在使用 Velocity 自带的 Adventure 库,并兼容 Velocity 3.x 和 4.x -
冷却期后的首个广告正常触发 - 周期性广告不再在启动时或执行
/ads enable时立即触发 -
YAML 错误处理改进 - 出现错误时执行
/ads reload会报告错误而不是抛出异常;启动时损坏的文件也不会导致插件被禁用直到重启
✨ 新功能
-
PlaceholderAPI 支持 - 在 Spigot 和 Paper 上,当安装了 PlaceholderAPI 时,广告中的所有文本都支持 PlaceholderAPI 占位符(如
%player_name%、%vault_prefix%...)。占位符的颜色会被保留,且值无法注入 MiniMessage 标签,因此昵称无法向广告中注入点击事件 -
Settings.yml 自动更新 - 从 9.0.x 升级时,配置文件会自动更新,保留你所有的值和广告内容,包括注释(旧文件将被备份到
old-configs/目录)。此前版本变更会用默认配置覆盖你的自定义配置 -
更新通知 - 可以关闭更新检查(
Update-Checker),仅报告比当前版本更新的版本,并在拥有ads.manage权限的玩家加入时通知他们(通过Messages.Update-Available) -
Welcome-Ad.Delay-Seconds - 加入服务器后等待多少秒再发送欢迎广告(默认 1 秒)
-
Messages.Reload-Failed - 当
Settings.yml存在错误时,执行/ads reload所显示的内容(包含{error}:行号、列号和具体问题描述) -
避免连续重复 - 当有多个广告时,循环机制不会再连续两次选择同一个广告
-
按键名播放音效 - 聊天音效支持名称格式(如
BLOCK_NOTE_BLOCK_PLING)和键格式(如minecraft:block.note_block.pling) -
/dsads 别名 - 在所有平台上
/dsads都是/ads的别名 -
更智能的 Tab 补全 -
/ads命令仅提供发送者有权使用的子命令,以及send命令可用的广告名称和玩家列表 -
统一开关控制 -
/ads disable也会停止欢迎广告的发送
? 改进项
-
更轻量的 Jar 包 - 体积从 1.33 MB 减小至 0.81 MB,同时仍为一个适用于 Spigot、Paper、BungeeCord 和 Velocity 的统一 jar 包
-
简化启动日志 - 版本、平台和广告数量合并为一行显示,取代了原来的横幅式输出
-
全面英文界面 - 不再向玩家显示西班牙语文本(如 "Clave no encontrada");加载文件时若发现广告的空缺部分,会在控制台中进行报告
? 更新说明
- 停止你的服务器或代理
- 用 DS-Ads-9.1.0.jar 替换旧的 jar 包(Spigot、Paper、BungeeCord 和 Velocity 使用同一个 jar 包)
- 启动服务器:Settings.yml 将自动更新,保留你的配置值和广告内容,旧文件将被复制到 old-configs/ 目录
? 技术细节
对感兴趣的技术细节感兴趣的服务器管理员:
- 使用 CocoVaults 的 FruitForge 布局重新构建:一个通用 JAR,适用于 Spigot、Paper、BungeeCord 和 Velocity,基于 Java 8 编译(Velocity 部分基于 Java 17)
- Adventure 4.26.1(MiniMessage、传统格式和纯文本)已重新定位并精简至 Spigot 和 BungeeCord 所需的类;在 Velocity 上,DS-Ads 使用 Velocity 自带的 Adventure,且构建流程会检查其 Velocity 部分绝不触碰已重新定位的版本
- Settings.yml 通过各平台各自的 SnakeYAML 读取并逐行更新,因此注释和 Ads-Configuration 部分将保持原样
- 29 项自动化测试:配置更新(保留注释和换行符)、设置、轮播、居中、MiniMessage 以及 BungeeCord 聊天转换
- 使用模拟玩家进行测试,涵盖 Paper 1.13.2(Java 8 和 21)、1.16.5、1.17.1、1.18.2、1.20.4、1.21.4、1.21.11、26.1.2 和 26.3,以及 Spigot 1.21.11 和 26.3:包括更新 9.0.1 版本的 Settings.yml、带有全部四个部分及其音效的欢迎广告和定期广告、Worlds 和 Permission 过滤器、Boss 栏计时、命令、Tab 补全以及损坏的文件
- 在面向 Paper 1.21.11 服务器的 BungeeCord 和 Velocity 3.5.1 及 4.2.0 上进行测试:执行相同的检查项目,并额外测试 Servers 过滤器、缓慢加入服务器和缓慢切换服务器(确保在世界加载前不会向玩家发送任何广告),以及在每 0.4 秒发送一次广告的情况下进行 12 次加入和 40 次以上的服务器切换,未出现踢出情况;BungeeCord 还兼容 1.8、1.12.2、1.16.5 和 1.20.1 客户端
- PlaceholderAPI 2.12.3 在 Paper 1.16.5 和 1.21.11 上进行了测试,包括尝试添加 MiniMessage 标签的值
- 再次使用最终 JAR 包在 Paper 1.13.2(Java 8)和 26.3、Spigot 26.3、BungeeCord 以及 Velocity 3.5.1 和 4.2.0 上进行了验证
感谢您使用 DS-Ads!
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
自定义你的Minecraft头像!
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
允许基岩版(Geyser)玩家使用自定义铁砧和锻造台配方。
插件
适用于服务器全面模组管控与自动化公平游戏的终极一站式安全套件。
插件
一个现代且高度可配置的 Essentials 插件,类似于 EssentialsX
评论 0
登录后参与评分
还没有评论,来抢沙发吧