GameModeChanger for MultiWorld-Server v1.3
GameModeChanger 为每个世界管理玩家的游戏模式。
如果玩家在服务器上切换到另一个世界,GameModeChanger 会检查配置文件,以确定玩家在该世界中是否应以创造、生存或冒险模式进行游戏!
功能特性
- 通过命令单独更改每个玩家的游戏模式
- 为每个世界分配一种游戏模式
- 在配置文件中编辑插件消息
- 支持冒险模式
- 创建“游戏模式白名单”,其中包含所有即使切换世界也不应更改其游戏模式的玩家
- 支持权限系统
- 通过权限节点授予对创造模式命令的访问权限
- 通过命令管理世界模式
- 设置/取消设置每个世界的 PvP(新增)
命令
| /gmd | 返回帮助信息 |
| /gmd 0/1/2 | 更改您自己的游戏模式 |
| /gmd worldmode | 返回该世界的当前游戏模式 |
| /gmd worldmode 0/1/2 | 更改世界的游戏模式,并将更改应用于该世界中的每个当前玩家(白名单玩家除外) |
| /gmd set <player> 0/1/2 | 手动设置玩家的游戏模式 |
| /gmd wl <player> | 将玩家添加或移除到 GameMode 白名单中 |
| /gmd getwl | 返回 gmd 白名单上列出的所有玩家(新增) |
| /gmd pvp | 在当前世界中启用/禁用 PvP(新增) |
权限
使用这些权限节点给予部分玩家对某些命令的特殊访问权限:
| gmd.creative | 给予玩家对自己所有游戏模式的完全访问权限 |
| gmd.admin | 给予玩家对所有 GameModeChanger 命令的完全访问权限(仅限服务器管理员和/或版主) |
配置
配置非常简单。只需打开配置文件,在正确的列表中写入您的世界名称,然后重新加载插件即可。白名单和世界游戏模式也可以在游戏中编辑。消息必须在文件中编辑。以下是配置的预览:
##
## GameModeChanger Config-File
## DO NOT USE TAB! Otherwise your plugin will not work!
##
config:
creative:
- world_nether
survival:
- world
adventure:
- world_the_end
whitelist:
- JohnLocke94
- FightingFox
- bs1701
- harryak
- blacksnowman007
- Hawkeye94
messages:
unknown: Unknown command!
doesnotexist: This player is not online or does not exist!
changetosurvival: Your GameMode has been changed to SURVIVAL.
changetocreative: Your GameMode has been changed to CREATIVE.
changetoadventure: Your GameMode has been changed to ADVENTURE.
worldmodesurvival: GameMode of this world has been changed to SURVIVAL!
worldmodecreative: GameMode of this world has been changed to CREATIVE!
worldmodeadventure: GameMode of this world has been changed to ADVENTURE!
noperms: You have no permissions to do this!
故障排除
如果插件无法启动且未创建包含配置文件的文件夹,请检查是否已安装 JRE7。
JRE 6 用户请下载此版本而不是主版本:
GameModeChanger for MultiWorld-Server v1.3
GameModeChanger manages your player’s gamemode for each world.
If a player switches to another world on the server, GameModeChanger checks in config-file if players should play in creative, survival or adventure mode in this world!
Features
- change the gamemode of each player separately by command
- assign each world one gamemode
- edit plugin messages in config-file
- ADVENTURE-mode support
- create a “GameMode-whitelist” which contains all players whose gamemode should not be changed although they changes world
- permissions support
- grant access to creative mode command by permission node
- manage worldmodes by command
- set/unset pvp in each world (NEW)
Commands
| /gmd | returns help |
| /gmd 0/1/2 | changes your own gamemode |
| /gmd worldmode | returns the actual gamemode of this world |
| /gmd worldmode 0/1/2 | changes the worlds gamemode and applies changes to every actual player in this world (except for whitelisted players) |
| /gmd set <player> 0/1/2 | set the gamemode of a player manually |
| /gmd wl <player> | puts or removes a player from GameMode-whitelist |
| /gmd getwl | returns all players listed on gmd-whitelist (NEW) |
| /gmd pvp | enables/disables pvp in actual world (NEW) |
Permissions
Use those permission nodes to give some players special access to some commands:
| gmd.creative | gives a player full access to all gamemodes for himself |
| gmd.admin | gives a player full access to all GameModeChanger commands (only for server-moderators and/or admins) |
Configuration
Configuration is really simple. Just open config-file write your worlds in the right list and reload your plugins. The whitelist and the worlds gamemode can also be edited ingame. Messages must be edited in the file. Here is a preview for configuration:
##
## GameModeChanger Config-File
## DO NOT USE TAB! Otherwise your plugin will not work!
##
config:
creative:
- world_nether
survival:
- world
adventure:
- world_the_end
whitelist:
- JohnLocke94
- FightingFox
- bs1701
- harryak
- blacksnowman007
- Hawkeye94
messages:
unknown: Unknown command!
doesnotexist: This player is not online or does not exist!
changetosurvival: Your GameMode has been changed to SURVIVAL.
changetocreative: Your GameMode has been changed to CREATIVE.
changetoadventure: Your GameMode has been changed to ADVENTURE.
worldmodesurvival: GameMode of this world has been changed to SURVIVAL!
worldmodecreative: GameMode of this world has been changed to CREATIVE!
worldmodeadventure: GameMode of this world has been changed to ADVENTURE!
noperms: You have no permissions to do this!
Troubleshooting
If the plugin does not start and create its folder with config-file, check if you have installed JRE7.
JRE 6 users have to download this version instead of the main-version:
评论 0
登录后参与评分
还没有评论,来抢沙发吧