
版本 1.x.x
我在服务器模组中搜索了一番,发现市面上没有一款简单、轻量且易于使用的隐身插件。于是我自己制作了一个。SimpleConceal 是一款轻量级、易于使用的 Bukkit 服务器隐身插件。它仅使用两个权限节点和简单易记的命令来控制谁可以隐身以及谁不能隐身。
功能特性
1) 支持权限系统(否则默认仅 OP 可用)
2) 当玩家隐身时,抑制加入和退出服务器的消息提示。
3) 提供配置文件以处理相关事件。
4) 记录隐身状态(如果服务器崩溃或有人断开连接)。
5) 允许命令发送者将其他玩家或自己设为隐身。
6) 现在可以从隐身列表中移除离线玩家。
安装说明
1) 将 SimpleConceal.jar 放入你的 plugins 文件夹中。
就这样!
命令及说明
- /simpleconceal 或 /sc - 显示插件信息。
- /simpleconceal list 或 /sc list - 显示所有当前隐身玩家的列表(包括在线和离线)。
- /simpleconceal help 或 /sc help - 显示所有可用命令(不显示别名)。
- /invis 或 /invisible 或 /hide - 将使用此命令的玩家设为隐身。
- /vis 或 /visible 或 /unhide - 将使用此命令的玩家设为可见(对离线玩家有效 [区分大小写])。
除了这些命令外,你还可以添加参数来设置其他玩家隐身或可见。例如:/invis Spartan_V23 或 /vis Spartan_V23。所有这些命令均可在控制台执行。
配置及示例配置
在 1.0.2 更新中,我们添加了配置文件。下面我将告诉你每个选项的作用,并在配置文件未自动创建时为你提供配置文件的示例。
- no_pickup - 阻止隐身玩家拾取掉落的物品。
- no_item_drop - 阻止隐身玩家丢弃物品。
- no_block_break - 阻止隐身玩家破坏方块。
- no_block_place - 阻止隐身玩家放置方块。
- no_player_interaction - 阻止玩家与可切换状态的物品交互(如门、箱子等)。
- no_entity_targeting - 阻止生物锁定隐身玩家。
- suppress_on_join_message - 抑制隐身玩家加入时的消息
- suppress_on_join_message - 抑制隐身玩家退出时的消息
#请勿修改版本号,否则会导致错误。
version: 1.0.3
#以下配置和消息仅针对隐身玩家生效。
configs:
no_pickup: false
no_item_drop: false
no_block_break: false
no_block_place: false
no_player_interaction: false
no_entity_targeting: false
messages:
suppress_on_join_message: true
suppress_on_quit_message: true
权限节点
simpleconceal.list - 允许玩家列出所有当前隐身玩家(包括在线和离线)。
simpleconceal.allow - 允许玩家将自身设为隐身或可见。
simpleconceal.allow.other - 允许玩家将其他玩家设为隐身或可见。
待办事项
1) 无
!! 始终欢迎提出建议。 !!
更新日志
版本 1.0.0
版本 1.0.1
- 修复错误:无法将 onPlayerJoin 传递给 SimpleConceal
版本 1.0.2
- 新增命令:/simpleconceal list
- 新增命令:/simpleconceal help
- 新增在控制台中使用命令的功能
- 新增配置文件以增加灵活性
- 为新增命令添加权限
版本 1.0.2 [已修复]
- 修复错误:无法将 EntityTargetEvent 传递给 SimpleConceal。
版本 1.0.3
- 修复了权限相关的问题
- 开始对代码进行轻微优化以提高效率。
已知问题
1) 无

Version 1.x.x
I did some looking around on the server mods to find that there was no simple, lightweight, and easy-to-use invisibility plugin out there. So I made one. SimpleConceal is a lightweight, easy-to-use plugin for invisibility in a bukkit server. SimpleConceal uses two permission nodes and easy to remember commands to control who can and cant go invisible.
Features
1) Permission Support (else defaults to OP)
2) Suppresses OnJoin and OnExit messages when the player is invisible.
3) Config file for event handling.
4) Remembers invisible players (if in the event a server crashes, or someone dc's)
5) Allows the command sender to set someone else invisible or just themselves.
6) Can now remove offline players from the invisibility list.
Installation Instructions
1) Drop the SimpleConceal.jar into your plugins folder.
Thats it!
Commands and Explanations
- /simpleconceal (or) /sc - Shows plugin info.
- /simpleconceal list (or) /sc list - Shows the list of all currently invisible players (Online and Offline).
- /simpleconceal help (or) /sc help - Shows all available commands (Does not show aliases).
- /invis (or) /invisible (or) /hide - Sets the player using the command invisible.
- /vis (or) /visible (or) /unhide - Sets the player using the command visible (Works for Offline Players [Case Sensitive])..
In addition to these commands you can give it a parameter to set another player invisible or visible. In example: /invis Spartan_V23 (or) /vis Spartan_V23. All of these commands work in the console.
Configs and Example Config
With the 1.0.2 update, we added in a configuration file. Below I will tell you what each one does as well as show you the config file in the event one doesn't auto-create for you.
- no_pickup - Stops the invisible player from being able to pickup dropped items.
- no_item_drop - Stops the invisible player from being able to drop items.
- no_block_break - Stops the invisible player from being able to break blocks.
- no_block_place - Stops the invisible player from being able to place blocks.
- no_player_interaction - Stops player interaction with toggle-able items. (doors, chests, etc).
- no_entity_targeting - Stops mobs from targeting invisible players.
- suppress_on_join_message - Suppresses the on join message for invisible players
- suppress_on_join_message - Suppresses the on quit message for invisible players
#Do not edit the version number. It will cause errors.
version: 1.0.3
#The configs and messages below are for invisible players only.
configs:
no_pickup: false
no_item_drop: false
no_block_break: false
no_block_place: false
no_player_interaction: false
no_entity_targeting: false
messages:
suppress_on_join_message: true
suppress_on_quit_message: true
Permission Nodes
simpleconceal.list - Allows the player to list all currently invisible players (Online and Offline).
simpleconceal.allow - Allows the player to set self invisible and set self visible.
simpleconceal.allow.other - Allows the player to set another player invisible and another player visible.
Todo
1) None
!! Suggestions are always recommended. !!
Changelog
Version 1.0.0
Version 1.0.1
- Fixed Error: Could not pass onPlayerJoin to SimpleConceal
Version 1.0.2
- Added Command: /simpleconceal list
- Added Command: /simpleconceal help
- Added ability to use commands in console
- Added Config File for flexibility
- Added permissions for new commands
Version 1.0.2 [FIXED]
- Fixed Error: Could not pass EntityTargetEvent to SimpleConceal.
Version 1.0.3
- Fixed issues with the permissions
- Began minor optimization of code for efficiency.
Known Issues
1) None
评论 0
登录后参与评分
还没有评论,来抢沙发吧