hebrewFix

hebrewFix

12.7k Downloads

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:

Before sending the message (before the fix)

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

  • go0
  • Nikita10
  • Liel Amar