GameModeControl
一款功能强大的轻量级插件,帮助你在服务器上管理游戏模式。
根据你的服务器版本下载 GameModeControl:
- 适用于 1.7 及以下版本:使用 此版本
- 适用于 1.8 及以上版本:使用最新版本
信息
此插件使用自动更新器以保持自身最新。你可以通过将配置中的
options.auto-update更改为 false 来禁用此功能。
此插件使用插件指标来分析使用 GMC 的服务器。收集的数据将发送到 bstats.org,并可以在此处查看 这里。任何人都可以看到匿名数据,例如有多少服务器正在使用 GMC,但无法看到具体是哪些服务器。你可以通过将配置中的
options.bstats更改为 false 来禁用此功能。
命令
帮助:
- <> = 必填
- [] = 可选
- 1 | 2 = 1 或 2,但不能同时选
- gmc.<权限> = 允许你更改自己的和其他玩家的游戏模式
- gmc.<权限>.self = 你只能更改自己的游戏模式
- gmc.<权限>.others = 你有权限更改其他玩家的游戏模式
命令 |
功能 |
权限 |
| /gm <id> [player] /gamemode* <id> [player] |
将玩家的游戏模式 更改为指定的模式 |
gmc.gamemode[.self | .others] |
| — id 的有效值:0, 1, 2, 3, survival, creative, adventure, spectator, su, c, a, sp | ||
| /gm0 [player] /survival [player] |
将玩家的游戏模式 更改为生存模式 |
gmc.survival[.self | .others] |
| /gm1 [player] /creative [player] |
将玩家的游戏模式 更改为创造模式 |
gmc.creative[.self | .others] |
| /gm2 [player] /adventure [player] |
将玩家的游戏模式 更改为冒险模式 |
gmc.adventure[.self | .others] |
| /gm3 [player] /spectator [player] |
将玩家的游戏模式 更改为旁观者模式 |
gmc.spectator[.self | .others] |
| /gmonce <player> [生存] [创造] [冒险] [旁观] |
允许玩家仅更改 一次其游戏模式 |
gmc.gmonce |
| /gmtemp <player> <game mode> <seconds> |
临时更改玩家的游戏模式(例如 30 秒) | gmc.gmtemp |
| /gmh [page | command] | 显示 GMC 的所有命令,或 特定命令的帮助信息 |
gmc.gmh |
| /gmi | 显示有关 GMC 的信息, 例如版本号 |
gmc.gmi |
| /gmr | 重新加载整个服务器,以便重新加载 GMC 的配置 | gmc.gmr |
<small>* 覆盖 Minecraft 中的标准 '/gamemode' 命令;你仍可使用 /minecraft:gamemode 来使用“正常”的 /gamemode 命令。</small>
安装
- 将你下载的文件复制到你的 "plugins" 文件夹中
- 重启服务器,然后关闭它
- 编辑 'config.yml' 并设置你想要的消息
- 启动服务器并开始享受吧
配置
如果你想重置配置,只需删除 'config.yml' 文件(位于 <你的服务器文件夹>/plugins/GMC/)。GMC 会在服务器启动时自动生成该文件。如果你需要一个示例,请查看 这个示例配置。
格式化代码
请访问:minecraft.gamepedia.com/Formatting_codes
别名
别名 |
描述 |
示例 |
| $player | 将被替换为指定的玩家名称 | &c未找到此玩家:&7$player |
| $gm | 将被替换为未找到的游戏模式 | &c未找到此游戏模式:&7$gm |
设置
-
force-gamemode
启用此功能,以便将与指定 游戏模式 匹配的权限 gmc.forcegm 的玩家加入服务器时,将其游戏模式更改为该指定模式。 -
auto-update
如果你希望 GameModeControl 始终保持最新版本,请设置为 true;如果你仅想在有新版本可用时收到通知,请设置为 false。
-
bstats
如果你希望向 bstats.org 发送服务器和玩家统计数据,请设置为 true。如果你希望禁用此功能,请设置为 false。收集到的数据将发送至 bstats.org/plugin/bukkit/GMC。
源代码
你可以在 github.com 上找到源代码:github.com/ricardoboss/GameModeControl
待办事项
- 请通过 私信、发表评论或使用 GitHub 问题反馈系统(并添加“enhancement”标签)来建议新功能
Bugs
目前没有任何已知错误 :)(至少没人报告过)。如果您想报告错误,请使用 GitHub 问题反馈系统。
How about a donation?
GameModeControl
A powerful lightweight plugin that helps you organizing game modes on your server.
Download GameModeControl for your server version:
- for 1.7 and below: use this version
- for 1.8 and above: use the latest version
Information
This plugin uses an auto updater, to keep itself up-to-date. You can disable this in your config by changing
options.auto-updateto false.
This plugin uses plugin metrics to analyze the servers using GMC. The collected data will be sent to bstats.org and can be viewed here. Everyone is able to see anonymous data, such as how many servers are using GMC, but not which servers. You can disable this feature in your config by changing
options.bstatsto false.
Commands
Help:
- <> = required
- [] = optional
- 1 | 2 = 1 or 2, but not both
- gmc.<permission> = permission to change your own and the gamemode of other players
- gmc.<permission>.self = you are only allowed to change your own gamemode
- gmc.<permission>.others = you have the permission to change the gamemode of other players
Command |
Function |
Permission |
| /gm <id> [player] /gamemode* <id> [player] |
Change the gamemode of a player to the specified one |
gmc.gamemode[.self | .others] |
| — valid values for id: 0, 1, 2, 3, survival, creative, adventure, spectator, su, c, a, sp | ||
| /gm0 [player] /survival [player] |
Change the gamemode of a player to survival |
gmc.survival[.self | .others] |
| /gm1 [player] /creative [player] |
Change the gamemode of a player to creative |
gmc.creative[.self | .others] |
| /gm2 [player] /adventure [player] |
Change the gamemode of a player to adventure |
gmc.adventure[.self | .others] |
| /gm3 [player] /spectator [player] |
Change the gamemode of a player to spectator |
gmc.spectator[.self | .others] |
| /gmonce <player> [survival] [creative] [adventure] [spectator] |
Allow a player to change his/her game mode only one time |
gmc.gmonce |
| /gmtemp <player> <game mode> <seconds> |
Change the game mode of a player only temporary (e.g. 30s) |
gmc.gmtemp |
| /gmh [page | command] | Show all commands for GMC or help for a specific command |
gmc.gmh |
| /gmi | Shows information about GMC, such as the version |
gmc.gmi |
| /gmr | Reloads the whole server in order to reload the config of GMC |
gmc.gmr |
<small>* overrides the standard '/gamemode' from minecraft; you can still use /minecraft:gamemode for the "normal" /gamemode command.</small>
Installation
- Copy the file you have downloaded into your "plugins"-folder
- Restart your server, then stop it
- Edit the 'config.yml' and set the messages you want
- Start your server and enjoy
Configuration
If you want to reset the config, just delete the 'config.yml' file (in <your server folder>/plugins/GMC/). GMC will generate it on server startup. If you need an example, take a look at this example configuration.
Formatting codes
Please visit: minecraft.gamepedia.com/Formatting_codes
Aliases
Alias |
Description |
Example |
| $player | will be replaced with the specified player | &cCould not find this player: &7$player |
| $gm | will be replaced with the game mode, that has not been found | &cCould not find this gamemode: &7$gm |
Settings
-
force-gamemode
enable this feature to change the game mode of every player with the permission gmc.forcegm that joins your server to the specified game mode. -
auto-update
true if you want GameModeControl to keep itself always up to date, false if you just want to be notified if a newer version is available. -
bstats
true if you want to send server and player statistics to bstats.org. false if you want to disable this feature. The collected data is sent to bstats.org/plugin/bukkit/GMC.
Source code
You can find the source code here on github.com: github.com/ricardoboss/GameModeControl
ToDo list
- Please send me a pm, post a comment or use the github issues system and add the label 'enhancement' to it to suggest a feature
Bugs
There are no bugs at the moment :) (at least noone reported one). If you want to report a bug, please use the github issues system.
How about a donation?
下载 GameMode-Control
下载 GameMode-Control
下载 GameMode-Control
下载 GameMode-Control
下载 GameMode-Control
下载 GameMode-Control
下载 GameMode-Control
下载 GameMode-Control
下载 GameMode-Control
已更新到最新的 API 版本。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧