ShiftFCmd
快速在服务器菜单中通过 Shift + F 打开

简介
ShiftFCmd 是一款简单实用的 Minecraft 服务器插件。
它允许玩家在按下 Shift + F 时快速执行预先配置好的命令。
适用于打开菜单、使用常用功能或处理简单但频繁的操作。
快速开始:
本示例以“zMenu”菜单插件作为演示。
在实际使用中,请将命令部分替换为你服务器上用于打开菜单的命令。
首次安装:
- 下载最新版本的 ShiftFCmd
- 将其放入服务器的
plugins文件夹中 - 重启服务器(请使用
stop然后启动,不要使用reload) - 运行命令
sfcmd command player zm open basic_inventory - 完成
从旧版本更新:
- 下载最新版本的 ShiftFCmd
- 将其放入服务器的
plugins文件夹中 - 删除旧的 ShiftFCmd 插件
- 重启服务器(请使用
stop然后启动,不要使用reload) - 完成(配置文件将自动更新)
功能特性
- 按下
Shift + F执行一条或多条命令 - 支持以
console(控制台)或player(玩家)身份运行命令 - 大多数配置选项可通过命令修改——无需直接编辑配置文件
- 支持英文、简体中文和繁体中文
- 内置自动检查更新功能
- 自动更新配置文件——从旧版本升级时无需手动替换配置文件
- 命令拥有独立的权限节点,便于与 LuckPerms 等权限插件配合使用
命令
| 命令 | 权限 | 描述 |
|---|---|---|
/sfcmd reload |
sfcmd.reload |
重新加载语言文件和配置文件 |
/sfcmd update |
sfcmd.update |
手动检查插件更新 |
/sfcmd language <en/zh/zh_TW> |
sfcmd.language |
切换插件语言 |
/sfcmd command <player/console> <command> |
sfcmd.command |
设置命令执行者和命令内容 |
/sfcmd switchhand |
sfcmd.switchhand |
切换是否保留副手交换动作 |
权限
| 权限节点 | 默认值 | 描述 |
|---|---|---|
sfcmd.admin |
OP | 授予所有管理相关权限 |
sfcmd.reload |
OP | 允许使用 /sfcmd reload |
sfcmd.update |
OP | 允许使用 /sfcmd update |
sfcmd.update.notify |
OP | 允许接收更新通知 |
sfcmd.language |
OP | 允许使用 /sfcmd language |
sfcmd.command |
OP | 允许使用 /sfcmd command |
sfcmd.switchhand |
OP | 允许使用 /sfcmd switchhand |
注意:
sfcmd.admin自动包含sfcmd.reload、sfcmd.update、sfcmd.update.notify、sfcmd.language、sfcmd.command和sfcmd.switchhand- 管理员可以使用 LuckPerms 等权限管理插件将这些权限分配给特定玩家
注意事项
该插件通过监听玩家的潜行和副手交换动作来检测 Shift + F。
如果玩家更改了客户端按键绑定,触发方式也会相应改变,可能不再是默认的 Shift + F。
bStats
ShiftFCmd
Open server menu in a flash with Shift + F

Introduction
ShiftFCmd is a simple, practical Minecraft server plugin.
It allows players to quickly execute pre-configured commands when pressing Shift + F.
Suitable for opening menus, using common features, or handling simple but frequent interactions.
Quick Start:
This example uses the "zMenu" menu plugin as a demonstration.
In actual use, please replace the command part with the command players use to open menus on your server.
First-time setup:
- Download the latest version of ShiftFCmd
- Place it in the server's
pluginsfolder - Restart the server (use
stopthen start, do not usereload) - Run the command
sfcmd command player zm open basic_inventory - Done
Updating from an older version:
- Download the latest version of ShiftFCmd
- Place it in the server's
pluginsfolder - Delete the old ShiftFCmd plugin
- Restart the server (use
stopthen start, do not usereload) - Done (configuration files will be updated automatically)
Features
- Execute one or more commands by pressing
Shift + F - Supports running commands as either
consoleorplayer - Most configuration options can be modified via commands — no need to edit config files directly
- Supports English, Simplified Chinese, and Traditional Chinese
- Built-in automatic update checking
- Automatic configuration file updates — no need to manually replace config files when upgrading from an older version
- Separate permission nodes for commands, making it easy to use with permission plugins such as LuckPerms
Commands
| Command | Permission | Description |
|---|---|---|
/sfcmd reload |
sfcmd.reload |
Reload language files and configuration files |
/sfcmd update |
sfcmd.update |
Manually check for plugin updates |
/sfcmd language <en/zh/zh_TW> |
sfcmd.language |
Switch the plugin language |
/sfcmd command <player/console> <command> |
sfcmd.command |
Set the command executor and command content |
/sfcmd switchhand |
sfcmd.switchhand |
Toggle whether the offhand swap action is preserved |
Permissions
| Permission Node | Default | Description |
|---|---|---|
sfcmd.admin |
OP | Grants all management-related permissions |
sfcmd.reload |
OP | Allows use of /sfcmd reload |
sfcmd.update |
OP | Allows use of /sfcmd update |
sfcmd.update.notify |
OP | Allows receiving update notifications |
sfcmd.language |
OP | Allows use of /sfcmd language |
sfcmd.command |
OP | Allows use of /sfcmd command |
sfcmd.switchhand |
OP | Allows use of /sfcmd switchhand |
Notes:
sfcmd.adminautomatically includessfcmd.reload,sfcmd.update,sfcmd.update.notify,sfcmd.language,sfcmd.command, andsfcmd.switchhand- Administrators can use permission management plugins such as LuckPerms to assign these permissions to specific players
Notes
This plugin detects Shift + F by listening for player sneaking and offhand-swap actions.
If a player changes their client key bindings, the trigger will change accordingly and may no longer be the default Shift + F.
bStats
下载 ShiftFCmd
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShiftFCmd
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShiftFCmd
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShiftFCmd
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShiftFCmd
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
新增功能:首次安装时自动检测系统语言。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧