
A Pocketmine Plugin For Accessing And Using Minecraft Bedrock Unicode Characters At Ease .
Releases
·
Report Issue
·
Unicodes Wiki
To use a unicode character you must know the name of the unicode by looking at 'In-Code Name' at 'Supported Character List' below.
use UnicodesAPI/Base as UnicodesAPI;
echo UnicodesAPI::MINECOIN;
sendMessage(UnicodesAPI::MINECOIN);
The replace function will replace the unicode character name put either lower or capital in curly braces in the string given.
use UnicodesAPI/Base as UnicodesAPI;
#Method 1
UnicodesAPI::replace("{MINECOIN} is a currency {HEART}.");
#Method 2
$message = $event->getMessage();
UnicodesAPI::replace($message);
---
# If This Is Set true Unicode Name Written In {} While PlayerChatEvent() Will Be Replaced With Actual Unicode Characters.
# But If It's Set False Unicode Name Won't Be Replaced.
Unicode-Auto-Replacing: true
...