![]() | ScrollingMenuSign 允许玩家通过点击可滚动的告示牌、地图、图标、全息图或 Spout 菜单视图来执行命令。玩家可以通过右键点击浏览菜单,并通过左键点击执行命令(按钮绑定可配置)。红石视图允许在接收到红石信号(开启/关闭/切换)时执行命令。告示牌视图可以由多个告示牌组成以支持更大的菜单,并可配置为在滚动或执行时发出红石信号。其复杂的命令解析器支持命令成本(经济、物品、物品耐久度、生命值、饥饿值、经验值)、权限提升和基本流程控制(条件执行和宏),甚至可以通过外部脚本语言(如 JavaScript、Python...)实现更强大的控制功能。 |
想快速上手?请阅读快速入门指南!
视频
最新视频:
- 请参阅 Videos 页面以获取完整的演示与教程视频列表。
最新版本
功能特性
- 使用一个或多个 sign、map、multisign、inventory、hologram 或 spout 视图创建可滚动的命令菜单。或者通过 redstone 信号甚至任何 held item 触发你的菜单。
- 右键点击滚动浏览视图,左键点击执行选中的命令(可配置)
- 复杂的 command parser/executor - 权限提升、命令成本(物品/耐久度/经济/食物/生命值/经验)、玩家/群组/世界限制、变量替换...
- 命令可以设置 warm-ups and cooldowns
- Macros - 一键运行多个命令或显示大段文本块
- 使用 Submenus 构建菜单层级结构
- 灵活的 Access Control 让你拥有私有菜单和视图,或仅限于特定权限组。
- External scripting language support 允许菜单命令具备无限灵活性
- Sign & multisign 视图在滚动或执行时可以产生 Redstone Output
- Redstone Control Signs 允许通过红石信号远程控制 sign & multisign 视图的滚动与执行
- 通过 Bukkit superperms 支持 Permissions
- Command Logging 让你保留一份关于谁从 SMS 菜单执行了哪些命令的审计追踪记录
- 多世界支持:菜单可以在任意数量的世界中拥有视图
- 完全支持彩色/加粗/斜体/下划线/删除线文本,适用于菜单标题、项目项和消息
- 可将菜单或菜单项配置为具有 limited number of uses,可以是每个玩家独立计数或全局共享计数
- 所有命令均提供全面的 Tab 补全功能
- 可选的 Spout 支持
可能的应用场景
- 用于 Minecart Mania 的车站设置命令菜单(这也是我最初编写此插件的灵感来源!)
- 新手用户指南菜单
- 为你喜爱的传送插件制作传送点菜单
- 基础商店菜单 - 购买/出售/交换物品与货币
- 控制访问那些用户通常无法运行的命令
- 带有使用次数限制的道具奖励菜单
- 由红石视图和/或脚本构建的陷阱
- 超便捷的游戏模式(生存/创造)切换器,配备地图和/或 Spout 视图
安装方法
非常简单:
- 将 ScrollingMenuSign.jar 复制到服务器的
bukkit/plugins文件夹中 - 可选:安装 Vault 以支持经济命令成本和/或权限组支持。
- 可选:安装 ProtocolLib 以使活动物品发光。
- 重启或重载你的服务器。
就是这样。ScrollingMenuSign 将在首次运行时自动创建一个名为 bukkit/plugins/ScrollingMenuSign 的文件夹。所有与该插件相关的数据都存储在此处。
文档
- Quickstart Guide
- FAQ
- Command Reference
- Permissions support
- The Configuration File
- The Command Parser
- Submenus
- Warmups and Cooldowns
- 弹出消息
- 视图类型
- 使用告示牌视图
- 使用多行告示牌视图
- 使用地图视图
- 使用公共全息图视图
- 使用私有全息图视图
- 使用物品栏视图
- 使用 Spout 视图
- 使用红石视图
- 使用活跃物品“视图”
- 红石输出
- 宏命令
- 菜单项工具提示
- 用户变量
- 命令日志记录
- 设置菜单和菜单项的使用限制
- 红石控制告示牌
- Spout 支持
- 使用外部脚本语言
- API:从脚本或其他插件管理 ScrollingMenuSign 菜单
源码
开发版本
开发版本可从此 Jenkins 构建服务器下载。注意事项:
- 开发版本未经 dev.bukkit.org 工作人员审核批准
- 开发版本可能存在错误或无法完全正常运行。仅在以下情况下使用开发版本:a) 希望协助查找错误,或 b) 被要求测试错误修复方案。
更新日志
- 完整更新日志
使用统计
自 SMS v1.3.0 起,使用 MCStats 收集完全匿名的使用统计数据:
如果您希望退出 MCStats 数据收集,请编辑 plugins/PluginMetrics/config.yml,并将 opt-out: false 更改为 true。
捐赠
如果您使用并喜欢 ScrollingMenuSign,欢迎通过点击右上角的“捐赠”按钮进行捐赠。然而,捐赠完全是自愿的,捐赠者不会获得任何非捐赠者所没有的特殊权益。
![]() | ScrollingMenuSign lets players execute commands with a simple click on a scrollable sign, map, icon, hologram or Spout menu view. Players can scroll through menus by right-clicking, and execute commands by left-clicking (button bindings are configurable). Redstone views allow commands to be executed when a redstone signal (on/off/toggle) is received. Sign views can consist of multiple signs for larger menus, and can be configured to emit a redstone signal when scrolled or executed. The sophisticated command parser allows for command costs (economy, items, item durability, health, food, XP), permission elevation and basic flow control (conditional execution & macros), and even more powerful control is possible with external scripting languages (Javascript, Python...). |
Want to get started quickly? Read the Quickstart Guide!
Videos
Latest video:
- See the Videos page for full list of demonstration & tutorial videos.
Latest Version
Features
- Create scrollable command menus with one or more sign, map, multisign, inventory, hologram or spout views. Or trigger your menus with redstone signals or even from any held item.
- Scroll through views with right-click, execute the selected command with left-click (configurable)
- Sophisticated command parser/executor - permission elevation, command costs (items/durability/economy/food/health/xp), player/group/world restrictions, variable substitutions...
- Commands can have warm-ups and cooldowns
- Macros - run multiple commands or display large text blocks with one click
- Build a hierarchy of menus using Submenus
- Flexible Access Control gives you private menus and views, or limited to permission groups.
- External scripting language support allowing unlimited flexibility in what menu commands can do
- Sign & multisign views can produce Redstone Output when scrolled or executed
- Redstone Control Signs allow remote scrolling & execution via redstone signals for sign & multisign views
- Permissions support via Bukkit superperms
- Command Logging lets you keep an audit trail of who's executed what commands from SMS menus
- Multi-world support: menus can have views in any number of worlds
- Full coloured/bold/italic/underline/strikethrough text support on menu titles, items and messages
- Configure menus or menu items to have a limited number of uses, either per-player or globally
- Comprehensive tab completion for all commands
- Optional Spout support
Possible Applications
- A menu of station setting commands for Minecart Mania (this is what inspired me to write the plugin in the first place!)
- Newbie user guide menus
- Warp menus for your favourite teleportation plugin
- A basic shop menu - buy/sell/swap items & credits
- Controlled access to commands that users can't normally run
- Item reward menus with limited usage count
- Traps built from redstone views and/or scripts
- Super-convenient game mode (survival/creative) changer with map and/or spout views
Installation
Pretty simple:
- Copy ScrollingMenuSign.jar into your server's
bukkit/pluginsfolder - Optional: install Vault for economy command costs and/or permission group support.
- Optional: install ProtocolLib to make active items glow.
- Restart or reload your server.
That's it. ScrollingMenuSign will automatically create a folder called bukkit/plugins/ScrollingMenuSign when it first runs. All data related to the plugin is stored in here.
Documentation
- Quickstart Guide
- FAQ
- Command Reference
- Permissions support
- The Configuration File
- The Command Parser
- Submenus
- Warmups and Cooldowns
- Popup Messages
- View Types
- Using Sign Views
- Using Multisign Views
- Using Map Views
- Using Public Hologram Views
- Using Private Hologram Views
- Using Inventory Views
- Using Spout Views
- Using Redstone Views
- Using Active Item "Views"
- Redstone Output
- Macros
- Menu Item Tooltips
- User Variables
- Command Logging
- Setting usage limits on menus & menu items
- Redstone Control Signs
- Spout Support
- Using External Scripting Languages
- API: Managing ScrollingMenuSign menus from scripts or other plugins
Source
Development Versions
Development versions can be downloaded from this Jenkins build server. Notes:
- Development versions have not been approved by dev.bukkit.org staff
- Development versions may be buggy or fail to work completely. Only use development versions if you a) want to help with finding bugs, or b) have been asked to, to test a bugfix.
Changelog
- Complete changelog
Usage Statistics
Since SMS v1.3.0, fully anonymous usage statistics are collected using MCStats:
If you wish to opt out of MCStats metrics collection, edit plugins/PluginMetrics/config.yml and change opt-out: false to true.
Donations
If you use and enjoy ScrollingMenuSign, you are welcome to make a donation by clicking the "Donate" button at the top right. However, donations are strictly optional, and don't confer any special benefits over non-donors.
下载 ScrollingMenuSign
下载 ScrollingMenuSign
下载 ScrollingMenuSign
下载 ScrollingMenuSign
下载 ScrollingMenuSign
下载 ScrollingMenuSign
下载 ScrollingMenuSign
下载 ScrollingMenuSign
下载 ScrollingMenuSign
下载 ScrollingMenuSign
v3.0.1(2014年6月25日)
- 修复:食物与投射物的交互被错误地阻止了:
- 修复:在迁移用户数据以使用 UUID 时,修复了潜在的 NPE(空指针异常)。
v3.0.0(2014年6月23日)
- 由于 UUID 迁移,此版本不再支持早于 1.7.9 的 CraftBukkit 版本。
- 添加了公共全息视图——使用 HoloAPI 插件提供的全息图向玩家显示菜单。此类视图对所有玩家通用(即如果一个玩家滚动视图,所有玩家都会看到更改),可以通过红石信号的有无来显示或隐藏,并且还可以控制红石输出开关。
- 添加了私有全息视图——这些视图仅向激活的玩家显示 HoloAPI 菜单,且每个玩家有独立的滚动位置。与公共全息视图不同,这些视图通过点击物品切换,且不具备任何红石功能。
- 添加了
/sms give popup命令;该命令可用于获取任意物品,当左键或右键点击该物品时,将显示弹出式菜单(库存、私有全息图或 Spout)。这也旨在替换之前用于显示库存视图的弹出书籍;弹出物品更加灵活。例如,/sms give popup warps-1 compass 1 desht会给玩家 'desht' 一个特制的指南针,点击后将弹出之前创建的视图 warps-1。 - 大规模玩家名称到 UUID 的迁移。SMS 不再持久存储玩家名称,而是改为存储玩家 UUID。这影响了菜单和视图的“所有者”属性,以及用户变量的所有者。安装 3.0.0 时将自动迁移数据,无需管理员干预。
- ScrollingMenuSign 现基于 Vault 1.4 构建,以便在经济/权限插件中正确支持 UUID。如果在运行时检测到旧版本的 Vault,将会记录警告日志。
- 访问控制:更改了菜单/视图属性中 "access" 的 GROUP 值的含义。现在称为 OWNER_GROUP(如有必要,数据将自动迁移)。添加了一个 "group" 属性,如果菜单/视图的访问控制设置为 GROUP,则该属性指定玩家必须所属的权限组。
- 扩展了用户变量的功能:现在它们在菜单标题、菜单项标签和菜单项描述中出现时会被替换,从而允许更好的个性化菜单定制。
- 菜单标题/项标签/项描述文本现在会处理 HTML 转义码,从而允许更自由地在菜单中插入任意 Unicode 字符。影响菜单文本的配置设置(例如前缀)也支持 HTML 转义码。示例:
/sms menu mymenu title "ΑΒΓ頰"。有关一些有用的 HTML 转义码列表,请参阅 。 - 作为上述更改的副作用,保存的菜单数据文件现在将包含 HTML 转义码,包括 Bukkit 颜色代码。但是,SMS 在加载时会取消转义所有数据, resulting in identical content to previous version(导致内容与前一版本完全相同)。如果您愿意,仍然可以直接编辑菜单文件。
- 各个菜单项现在可以定义自己的权限节点;玩家必须拥有此节点才能执行该菜单项(除了运行命令所需的任何其他节点外)。对于按玩家划分的视图(地图、库存、Spout、私有全息图),玩家需要拥有定义的节点才能看到该项的标签。例如:
/sms edit mymenu Diamonds -perm diamond.permission.node- - 为库存视图添加了 "noescape" 属性——如果设置为 true,则无法通过按 Escape 键或 'E' 键关闭视图,只能通过选择物品来关闭。出于理智考虑,不能同时将此属性和 "autopopdown" 属性设置为 false。
- 为
/sms view命令添加了 "-popup-for" 选项,以强制在给定玩家的屏幕上显示弹出式视图。例如:/sms view punishment-1 -popup-for evilplayer。此命令可以从控制台使用。这可能有助于强制玩家在继续之前选择特定的菜单项(另见上面添加的新 "noescape" 视图属性)。 - 在创建/编辑菜单项时,通过“-altcommand”选项增加了运行替代命令的能力。如果默认情况下在告示牌/地图/全息视图上左键点击(按住Shift),或在物品栏视图中右键点击图标,则会运行该替代命令。例如:
/sms add mymenu "Hello"\\hi! -altcommand\\bye! - 对于具有冷却时间的命令,命令中的字符串
<COOLDOWN>将被替换为用户可读的剩余时间。例如:/sms add mymenu Diamond "COOLDOWN 12hr diamond $diamond,-1\\Have a diamond! $$\\$6You must wait <COOLDOWN> !" - 命令中的字符串<UUID>将被替换为玩家的 UUID。此外,UUID 现在也接受在@p 限制器中用于命令。
- API:添加了 MenuManager 类,并将 SMSMenu 类中的所有静态方法移至其中。
- API:在 SMSHandler 中添加了 addSubstitionHandler() 方法;允许其他插件注册自定义替换,以便在命令字符串中执行。
/sms view -l现在将列出所有已知视图。- 添加了
/sms repaint命令,强制重绘所有视图。 - 现在可以为库存视图的图标指定编号,并让图标发光(如果已安装 ProtocolLib)。
- 修复:库存视图子菜单的门(BACK)图标未显示的问题: - 如果升级后仍遇到此问题,请执行
/sms set submenus.back_item.material wood_door - 修复:居中和右对齐的库存视图现在可以正常工作。
- 如果您使用 HoloAPI 来显示全息视图,请确保您已从 获取最新的开发版本——例如构建版本 运行良好。1.2.3 发布版将无法正常工作。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性


评论 0
登录后参与评分
还没有评论,来抢沙发吧