对其他告示牌编辑工具(例如需要输入命令)的机制不满意,我随手写了一个插件,让你只需手持另一个告示牌右键点击即可编辑告示牌。
在此处 下载。(旧版本可在 此处 获取。)
如果您是从 1.6 或更早版本升级,请确保在启动已更新插件的服务器之前,先在配置文件中设置好数据库信息。
右键点击编辑告示牌时,你可以查看并编辑告示牌上的文本,就像创建时一样。只有在你拥有该告示牌或它属于所有人时,才能对其进行编辑。要在告示牌上添加颜色,请使用 & 字符后跟一个数字或 A 到 F 之间的字母。这在放置和编辑告示牌时都有效。如果你想在告示牌中包含 & 字符,而插件将其解释为颜色代码,只需重复两次该字符,插件就会明白你不需要将其转换为颜色。
要查看告示牌的归属者,请手持一根木棍(可在配置文件中更改为任意物品),然后右键点击告示牌。如果你有权限,想要更改告示牌的归属者,请手持一根羽毛(同样可在配置文件中更改为任意物品),然后右键点击告示牌。接着在聊天栏输入新归属者的名称,或者走过去攻击该玩家。你也可以在聊天栏中输入符号 @、# 和 *,分别将归属者设置为你自己、无人或所有人。虽然也可以通过编辑配置文件来修改归属权,但由于告示牌是按其位置存储的,这样做并不方便。
要配置用于设置/查看告示牌归属者的物品,只需在配置文件中将 "view-owner" 或 "set-owner" 的值设置为你想要使用的物品的 ID。如果愿意,你还可以更改 "allow-stacking" 和 "break-protect" 的值。建议不要动 "signs" 部分,因为它负责记录每个告示牌的归属情况。你还可以配置为需要潜行(或不潜行)才能编辑告示牌。
- Configuration and Permissions
- API functions
- Changelog
- 论坛
- Bug 反馈与功能建议
视频由 Warby579(即 UltiByte)制作:
可能要做的事情列表:
Not satisfied with the mechanics of other sign edit tools, such as requiring the use of commands, I went and threw together a plugin that lets you edit signs simply by right-clicking them with another sign in hand.
Download here. (Older versions available here.)
If you are upgrading from 1.6 or earlier, be sure to set up your database info in the config before you start up your server with the updated plugin.
When you right-click to edit a sign, you can then view and edit the text of the sign just as you would when creating it. You can only edit signs if you are the owner or if they are owned by everyone. To include colours on the sign, use the & character followed by a digit or a letter from A to F. This works both when placing and when editing. If you want to include an & character on the sign, and the plugin interprets it as a colour code, simply double it and the plugin will realize that you don't want it to be converted.
To see who owns a sign, hold a stick in your hand (you can change this to any item in the config file), and right-click the sign. To change who owns a sign if you have permission, hold a feather in your hand (you can change this to any item in the config file), and right-click the sign. Then either type the new owner name into chat, or walk over and punch them. You can also enter the symbols @, #, and * into chat to set the owner to yourself, no-one, or everyone, respectively. You could also edit ownership by editing the config file, but since signs are stored by their location that would not be an easy task.
To configure the items used for setting/viewing the owner of the sign, simply set the "view-owner" or "set-owner" values in the config file to the ID of the item you want to use. You can also change the "allow-stacking" and "break-protect" values if you wish. It's probably a good idea to leave the "signs" section alone since that keeps track of who owns which sign. You can also configure it so that you need to be sneaking (or not sneaking) to edit signs.
Video by Warby579 aka UltiByte:
List of things to maybe do:
评论 0
登录后参与评分
还没有评论,来抢沙发吧