Is there a way to add color to the chat through javascript ? Like maybe a good coder such as 500 ISE can get the code from minecraft pc plugins and try to convert it into modpe ! or a .mod since that is Java !
Will this work ?
if(itemId==352 && itemId==323) // tap a sign with a bone
{
clientMessage("No Items In Stock !");
}
i didnt mean to make 2 topics my wifi laggs at my grand mothers home. @donnald i was just wondering ! Someone told me you can ! but Yeah so there is no way at all that you can add color ?
i didnt mean to make 2 topics my wifi laggs at my grand mothers home. @donnald i was just wondering ! Someone told me you can ! but Yeah so there is no way at all that you can add color ?
Yup No Way at all.
Rollback Post to RevisionRollBack
Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
Just added support for this in the latest BlockLauncher beta. Use standard Minecraft color codes.
BLACK = BEGIN + "0",
DARK_BLUE = BEGIN + "1",
DARK_GREEN = BEGIN + "2",
DARK_AQUA = BEGIN + "3",
DARK_RED = BEGIN + "4",
DARK_PURPLE = BEGIN + "5",
GOLD = BEGIN + "6",
GRAY = BEGIN + "7",
DARK_GRAY = BEGIN + "8",
BLUE = BEGIN + "9",
GREEN = BEGIN + "a",
AQUA = BEGIN + "b",
RED = BEGIN + "c",
LIGHT_PURPLE = BEGIN + "d",
YELLOW = BEGIN + "e",
WHITE = BEGIN + "f";
Access them like this:
clientMessage(ChatColor.RED + "This is red!");
Also: A challenge!
Break the color chat feature.
Write a text sequence that crashes MCPE when you print it to client message or when printed to server chat log, and you'll receive a special badge of honour.
I can be found on Freenode IRC channels #pocketmine, #ModPEScripts, #LegendOfMCPE, #pmplugins or #BeaconMine.
I am a PocketMine-MP plugin developer. I hate it when people think that I love stupid admin positions. Being an admin is nothing compared to being a plugin developer.
I am also a main developer of BlockServer, a work-in-progress MCPE server software. You are welcome to download it, but it so far onlly spawns you in the upther (above the world). You can chat, though.
I do not own this server but I just love to put this banner here:
I tried that, I wasn't allowed yet I did and downloaded cyanogen 10.1 and it ruined my old phone. I'm lucky to have a new one. Verizon almost detected the root. So long story shory, until I'm paying my phone bills, no root for me! (At least until I'm all outta warranty)
500ise do you think you could add function that changes text color.
Example: function text Color(color);
alreadu added
Rollback Post to RevisionRollBack
I can be found on Freenode IRC channels #pocketmine, #ModPEScripts, #LegendOfMCPE, #pmplugins or #BeaconMine.
I am a PocketMine-MP plugin developer. I hate it when people think that I love stupid admin positions. Being an admin is nothing compared to being a plugin developer.
I am also a main developer of BlockServer, a work-in-progress MCPE server software. You are welcome to download it, but it so far onlly spawns you in the upther (above the world). You can chat, though.
I do not own this server but I just love to put this banner here:
To post a comment, please login or register a new account.
Will this work ?
if(itemId==352 && itemId==323) // tap a sign with a bone { clientMessage("No Items In Stock !"); }Will that work ?
Yup No Way at all.
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
Unfortunately, no. Fixed code:
function useItem(x, y, z, itemId, blockId, side) { if(itemId == 352 && blockId == 63 || 68) { clientMessage("No Items In Stock"); } }Lead developer of Dragonet!
Check out my game, Adventuria!
Dev of (IMO the best server ever) TwilightGamez!
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumvar text = "Hello World!" function useItem(x,y,z,itemId,blockId,side){ if(itemId==0){ document.write("Fontcolor: " + txt.fontcolor("green") + "p"); } }-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThere's no document object in ModPE Script.
Example: function text Color(color);
Lol.
Lol. This isn't for a website. PS: txt isn't even a variable in this code.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumBLACK = BEGIN + "0",
DARK_BLUE = BEGIN + "1",
DARK_GREEN = BEGIN + "2",
DARK_AQUA = BEGIN + "3",
DARK_RED = BEGIN + "4",
DARK_PURPLE = BEGIN + "5",
GOLD = BEGIN + "6",
GRAY = BEGIN + "7",
DARK_GRAY = BEGIN + "8",
BLUE = BEGIN + "9",
GREEN = BEGIN + "a",
AQUA = BEGIN + "b",
RED = BEGIN + "c",
LIGHT_PURPLE = BEGIN + "d",
YELLOW = BEGIN + "e",
WHITE = BEGIN + "f";
clientMessage(ChatColor.RED + "This is red!");
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumGet root? Check XDA-developers for information.
I tried that, I wasn't allowed yet I did and downloaded cyanogen 10.1 and it ruined my old phone. I'm lucky to have a new one. Verizon almost detected the root. So long story shory, until I'm paying my phone bills, no root for me! (At least until I'm all outta warranty)