hebrewFix
通用设置
当使用从右向左书写的语言(与英语不同)如希伯来语进行书写时,消息会出现翻转。
例如,如果你输入 אני אוהב עברית,消息将显示为:תירבע בהוא ינא。
发送消息后,它仍然保持翻转状态:

此插件允许你用希伯来语发送消息(即使你玩的是游戏的英文版本),并且文本已修复,确保单词不会翻转且顺序正确。
效果如下:

安装
将插件放入插件目录中(适用于 Bukkit/Spigot 1.8.8-1.12.2)。
无需权限或 Essentials。
用法
自由输入即可
~ 1.16 客户端应通过 "/hf" 关闭! ~
- 使用 /hf 仅在你(玩家)端启用或禁用插件
- 混合句子(例如:一个句子中包含英语+希伯来语+数字)
- 每个用户都可以选择是否启用修复,插件会记住你的选择。
- 告示牌已修复
- 语言默认选择器
- 私聊 / 自定义命令修复(新功能!)
配置
在 config.yml 中配置自定义命令模板(%message% 代表消息,%player% 代表玩家)。
以下是一个包含 /msg 和 /tell 命令的配置示例:
private-messages-commands:
- /msg %player% %message%
- /tell %player% %message%
要添加命令,只需按如下方式添加条目:
private-messages-commands:
- /msg %player% %message%
- /tell %player% %message%
- /<cmd> %<arg>% %<arg>% ...
其中:
cmd - 命令名称
arg - 命令参数的占位符。
如果 arg 是 player 或 message,hebrewFix 将修复希伯来语 %message% 参数;如果提供了该参数,它将使用 %player% 参数根据 %player%'s 的语言(希伯来语或非希伯来语)来判断如何修复。
享受吧!
这是一个相当简单的基础实用工具,但我之前从未在任何地方找到过针对从右向左消息的类似工具。
团队成员
hebrewFix
General
When writing in right to left languages (unlike english) such as hebrew the message get flipped.
For example, if you'd type אני אוהב עברית then the message will appear this way:תירבע בהוא ינא.
When sending the message it just stays flipped:

This plugin alows you to send message in hebrew (even if you're playing the english version of the game.) with the text fixed so that words aren't flipped and appear in the right order.
Resulting:

Installation
Put the plugin on the plugin directory (for bukkit/spigot 1.8.8-1.12.2).
No permissions or essentials are used.
Usage
Just type freely
~ 1.16 CLIENTS SHOULD TURN OFF WITH "/hf" ! ~
- Use /hf to enable or disable the plugin on your (player) side only
- Mixed sentences (for example-english+hebrew+numbers in one sentence)
- Every user can choose wether he wants the fix or not, and the plugin will remember his choice.
- Signs fixed
- Language default chooser
- Private Messages / custom commands fixing (NEW!)
Configuration
Config custom command templates in config.yml (%message% for message, %player% for player).
An example for configuration file with commands /msg and /tell:
private-messages-commands:
- /msg %player% %message%
- /tell %player% %message%
To add a command simply add an entry like so:
private-messages-commands:
- /msg %player% %message%
- /tell %player% %message%
- /<cmd> %<arg>% %<arg>% ...
Where:
cmd - name of the command
arg - placeholder for command argument.
If arg is player or message, hebrewFix will fix the hebrew %message% arguments and if provided will use the %player% argument to deduce how to fix it according to %player%'s language (hebrew or non hebrew).
Enjoy!
A pretty simple and basic utility, yet didn't find it anywhere for right to left messages.
Team
评论 0
登录后参与评分
还没有评论,来抢沙发吧