String Plugin

插件

· 作者 Flompy

StringPlugin 一款适用于 Paper、Purpur 和 Spigot 1.21+ 的轻量级、可自定义的物品栏字符串实用插件。 通过配置冷却时间、实时操作栏计时器、音效以及精细化的权限控制,轻松从玩家物品栏中填充、给予或清除字符串。

0 本站下载 0 关注 更新于 2 个月前

最新 2.0.0 · 26.2 · Bukkit / Paper

一键开服(送7天)

StringPlugin

一个适用于 Paper、Purpur 和 Spigot 1.21+ 的简单实用插件,通过命令管理和分发线。包含动作栏冷却计时器、可自定义音效以及简单的权限检查功能。

特性

即时填满物品栏:将所有 36 个存储槽填满整组线(共计 2,304 个)。

  • 实时动作栏计时器:在快捷栏上方直接显示剩余冷却倒计时。
  • 命令:提供 /string fill、/string give、/string clear、/string cooldown reset 和 /string reload 的快速子命令。
  • 音效与粒子效果:接收线时可配置音效(拾取、错误、升级)和粒子触发效果。
  • 十六进制与旧版颜色:在聊天和动作栏中完全支持 RGB 十六进制代码(&#55ff55)和旧版格式化代码(&)。
  • 权限:为每个命令配置可定制的权限节点,并支持冷却绕过权限(stringplugin.bypass.cooldown)等。
  • 性能:独立插件,无任何外部依赖——不会影响服务器的 MSPT 或 TPS。

命令与权限

命令

命令 描述
/string 将你的物品栏填满线(2,304 个线)
/string fill [player] 填满自己或其他玩家的物品栏
/string give <player> [amount] 给予特定数量的线给玩家
/string clear [player] 清空物品栏中的所有线
/string cooldown reset <player> 重置玩家的活跃冷却时间
/string reload 热重载 config.yml,无需重启服务器
/string help 显示帮助和命令列表

权限

权限 描述 默认值
stringplugin.* 授予所有命令的访问权限 op
stringplugin.admin 访问所有管理功能 op
stringplugin.use 使用基本 /string 填充的权限 true
stringplugin.fill 填充自己物品栏的权限 true
stringplugin.fill.other 填充其他玩家物品栏的权限 op
stringplugin.give 向玩家给予线的权限 op
stringplugin.clear 清空自己线上库存的权限 op
stringplugin.clear.other 清空其他玩家线上库存的权限 op
stringplugin.bypass.cooldown 绕过冷却限制 op
stringplugin.cooldown.reset 重置冷却时间的权限 op
stringplugin.reload 重载配置的权限 op
stringplugin.help 查看帮助菜单的权限 true

⚙️ 配置 (config.yml)

cooldown:
  seconds: 30
  play-sound: true
inventory:
  fill-all-slots: true
  max-give-amount: 2304
actionbar:
  enabled: true
  cooldown-format: "&cCooldown: &e%seconds% seconds left"
  cooldown-singular: "&cCooldown: &e1 second left"
  expired-format: "&aCooldown expired!"
  expired-ticks: 40
messages:
  prefix: ""
  received-string-line1: "&aYou received &e%amount% &astring!"
  received-string-line2: "&6You can use this command again in &e%cooldown% seconds."
  cooldown-message: "&6You can use this command again in &e%cooldown% seconds."

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源