CPFix
CPFix
CPFix is created to fix some code page problems, bounded to Windows console and broken version of LWJGL included to Minecraft Client. It create to resolve Russian (Cyrillic) issues, but you can easy configure this plugin to any code page and characters set (broken by LWJGL).
Russian version of this description | Описание на русском языке
Minecraft Font replacement
If you did not like default "thin" unicode font you cant try resourcepack Minecraft Font (PC).
Features
- Fix characters in chat and in in-game commands
- Fix characters at signs. Including signs, that was created before CPFix installation (you just need to click sign with wrong codepage and it will be fixed)
- Fix characters at books (Author, Title, Pages)
- Fix characters at items' names and lore (disabled by default)
- Inform player when he typing wrong character in chat or at sign
- Recode output (console, server log) and input - very useful for Windows users.
Why do I want it?
If your players sometimes typing at chat or at signs using Russian language this plugin is required to provide players full compatibility with UTF-8.
Commands:
- /cpfix — Show current configuration
- /cpfix reload — Reloads configuration
Configuration
To configure plugin, you must edit config.yml file and type /cpfix reload to reload configuration from the file:
general: # Find new of plugin version at BukkitDev check-updates: true # Language (russian - is default) language: russian # Save current language to a file language-save: false code-page: # Enable (true) recoding chat message chat-fix-enable: true # Enable (true) recoding commands command-fix-enable: true # Enable (true) recoding signs sign-fix-enable: true # Enable (true) recoding books book-fix-enable: true # Enable (true) recoding item's name and lore (Disabled by default) lore-fix-enable: false # Inform player if he types wrong character at chat or at sign (only once :)) inform-player: true # Recode output console and server.log output-recode: console: enable: true code-page: CP866 server-log: enable: true code-page: CP866 # Recode input (console only) input-recode: enable: true code-page: CP866
character.txt file includes charsets containing "wrong" character set and "right" characters set. If typed message contains any wrong symbol (character located at the first line) it will be replaced with character located in "right" character set (second line) in same position. If you don't need to correct Russian symbols, but you going to replace any symbol with another - you use this plugin to do it. Just configure this characters sets. The third line of characters is a white-list — characters allowed to type in chat. If your players use another code-page, unknown characters will be replaced with "_" symbol. Default character.txt:
ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ¸¨ АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяёЁ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_¸abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЫЭЮЯабвгдеёжзийклмнопрстуфхцчшщъыьэюя
Permissions
- cpfix.sign - Player with this permission can click signs to fix text located on it
- cpfix.config - Allows to use commands and receive plugin update information
Metrics and update checker
CPFix includes two features that use your server internet connection. First one is Metrics, using to collect information about plugin (versions of plugin, of Java.. etc.) and second is update checker (required to periodical check new version of CPFix at dev.bukkit.org). If you don't like this features you can easy disable it. To disable update checker you need to set parameter "version-check" to "false" in config.yml. Obtain more information about Metrics and learn how to switch off it, you can read here.
@eentes7
http://dev.bukkit.org/bukkit-plugins/cpfix/pages/main-ru/
Там написано на русском.
Но вообще зачем Вам нужно? В последних версиях майнкрафта никаких дополнительных средств для нормальной поддержки русского языка не требуется.
Как пользоваться или активировать
@IlyaGooDBiG
Справа есть прямая ссылка (там где Recent files), а ещё вверху страницы есть раздел Files, где можно увидеть все версии плагина.
где скачать
@Serrrgio У меня всё ок (везде - UTF8). С другими кодировками под 1.7.2 я не эксперементировал
@iron_pony Читатйте внимательно инструкцию. В сервере и в клиенте обязательно должен быть "руссифицированный" font.txt
@alex444143 Про bungeecord пока ничего сказать не могу. Я им не пользовался
@dimashr
Справа страницы есть список файлов. Оттуда и качать.
Что-то у меня не работает на Spigot 1.7.2, в консоли кракозыбры, до обновления ядра все было хорошо
Это я криворукий или плагину необходимо обновление?
пОМОГИТЕ, как bungeecord сделать на русском. Яя перевел, а он на 164 пишет кирилицу
Работает русский текст везде кроме табличек. На табличках просто не вводится и все. В чем проблема?
как скачать?
@CorsarSPb Всё работает и под 1.6.2.
Works fine under 1.6.2, no updates required.
для 1.6.2 пожалуйста сделайте
v0.3.1
v0.3.0
@Fiorka You need to update font.txt file at craftbukkit.jar. You can find it here: http://www.rubukkit.org/threads/admin-fix-chat-cpfix-v0-2-0-%D0%A4%D0%B8%D0%BA%D1%81-%D0%BA%D0%BE%D0%B4%D0%B8%D1%80%D0%BE%D0%B2%D0%BE%D0%BA-%D1%82%D0%B5%D0%BF%D0%B5%D1%80%D1%8C-%D0%B1%D0%B5%D0%B7-%D0%B4%D0%BE%D0%BF%D0%BE%D0%BB%D0%BD%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D0%B9-%D0%BD%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B8-1-5-1-r0-1.31859/
Замечательный плагин, но на табличках не печатает некоторые буквы (то есть не выводит ни правильного символа, ни неправильного): гхрэчюёУКНГХЪФЫВАПРОЛЭЯМИТБЮЁ
@baksovic
You need to use normal codepage at plugins too. It not possible to control plugins output and recode it. If you setup your Citizens NPC before CPFix installation, your Citizens' config contain broken symbols and best way is to edit config-files and remove broken text manually. I cannot say anything about factions, but if plugin use wrong codepage for store text it will display this text at wrong codepage. If this text is stored in separated files you can manually recode this files into UTF8 or into codepage used in your system (console).
В самом плагине должна быть нормальная кодировка. Вывод плагина естественно никто перехватить не может. Если в Citizens вручную вводился текст который говорят (и вводили его до установки CPFix) то он сохранился в кривой кодировке. Лучше исправить прямо в конфигах. Насчет фракций не знаю, то не если в плагине, в самом текст сохранен в неверной кодировке, то и выводиться он будет неверно. Если для хранения текста используются отдельные файлы, то скорее всего достаточно будет перекодировать эти файлы либо в UTF8 либо в системную кодировку (ту которую используете в консоли).
P.S. Лучше всего настраивать систему под использование UTF8 и файлы плагинов сохранять в этой кодировке. Тогда гарантированно не будет проблем с выводом текста.
@couverbo
Where you going to add this characters? If there is a LWGJL bug (we have a problem with russian at LWJGL) - you need to edit file characters.txt and set at first line wrong-coded symbols (what's provided by LWGJL) and in second line - right (UTF8-encoded).
If you need to add support to console and log file - you just need to setup code page at "output-recode" and "input-recode" sections.