GithubHelp home page GithubHelp logo

ezfe / tellraw Goto Github PK

View Code? Open in Web Editor NEW
73.0 7.0 13.0 8.74 MB

Home Page: https://www.minecraftjson.com

License: MIT License

HTML 1.05% JavaScript 0.92% TypeScript 40.87% CSS 0.33% Svelte 56.84%
minecraft html javascript

tellraw's Introduction

To build and run this project locally:

npm install
npm run build

Then, either open public/index.html in the browser of your choice or run npm start and open http://localhost:5000 in your browser.

tellraw's People

Contributors

dependabot[bot] avatar ezfe avatar kalinuska avatar metarmask avatar plumeex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tellraw's Issues

Does not supports 1.7

This generator no more supports 1.7...
Command block gives something like "Illegal use of "/""

Reimplement Translated Strings

Original Title: "Translated" breaks when opened a second time

How to reproduce:
Create a translated text, change the text to something. Save the text, open it again. You will notice the text you typed have been replaced by "language.string".
Browser: Chrome
OS: Windows 7

Escaped text

Everytime I try to create a specific text (Everytime I enter "Tree Animation") in the field, it gets escaped and in command block output I see the JSON code, how it should probabbly look. However, when I entered there "Cvolton's Redstone Navigation" it worked

Issue Report - Missing View

Please enter steps to reproduce the issue below the line, as well as any other information you want to include

?!?!? Tellraw Problem

I get this command: /tellraw @A ["{"text":"","extra":[{"text":"Your Health: ","color":"gold"},{"score":{"name":"@p","objective":"health"},"bold":"true"}]}"]
and in minecraft it says: {"text":"","extra":[{"text":"Your Health: ","color":"gold"},{"score":{"name":"@p","objective":"health"},"bold":"true"}]} and there are no error messages or anything.
I'm confused.

Error in translation

Written "Светло-серый" - a light gray and light purple is selected, and should be written "Светло-пурпурный "!

Book Page / Sign Line Error

The tab title indicates that it should either sign a line or turn the page, but it only turns the page. For example, I want:

Page 1;
Your Current Effects:
Regeneration 1 On/Off
Page 2;
[other effects that won't fit on first page]

What I'm getting:
Page 1;
Your Current Effects:
Page2;
Regeneration 1 On/Off

Was it designed like that? Or is this an oversight?

Dafuq?

Doesn't load the freaking tellraw website had no trouble with it yesterday

HoverEvent is no more works.

I make a command, but in some text hoverEvent won't work!
How it must be:
"hoverEvent":{"action":"show_text","value":"Text"}}
How it now:
"hoverEvent":{"text":"Text"}}
Here's my command.

/give @A written_book 1 0 {pages:["{"text":"","extra":[{"text":"Привет, ","color":"gold","bold":"true","underlined":"true","clickEvent":{"action":"run_command","value":"/tellraw @p {text:\"КА-кн alpha 0.1.3 by HaivoN\",color=red}"},"hoverEvent":{"text":"alpha 0.1.3"}},{"selector":"@p"},{"text":"!","color":"gold","bold":"true"},{"text":"\nВремя:","color":"blue","bold":"true","hoverEvent":{"action":"show_text","value":"Устанавливает время по вашему желанию"}},{"text":"\n"},{"text":"День\n","bold":"true","clickEvent":{"action":"run_command","value":"/time set day"},"hoverEvent":{"text":"Устанавливает день"}},{"text":"Вечер\n","bold":"true","clickEvent":{"action":"run_command","value":"/time set night"},"hoverEvent":{"text":"Устанавливает вечер"}},{"text":"Ночь\n","bold":"true","clickEvent":{"action":"run_command","value":"/time set 16000"},"hoverEvent":{"text":"Устанавливает ночь"}},{"text":"Добавить 500 к времени\n\n","bold":"true","clickEvent":{"action":"run_command","value":"/time add 500"},"hoverEvent":{"text":"Добавляет 500 к времени"}},{"text":"Режим игры:","color":"blue","bold":"true","hoverEvent":{"action":"show_text","value":"Меняет ваш режим игры"}},{"text":"\n"},{"text":"Творческий режим\n","bold":"true","clickEvent":{"action":"run_command","value":"/gamemode 1"},"hoverEvent":{"action":"show_text","value":"Полет, бесконечные блоки. Стройте все, что хотите!"}},{"text":"Режим приключений\n","bold":"true","clickEvent":{"action":"run_command","value":"/gamemode 2"},"hoverEvent":{"action":"show_text","value":"Вы не можете ломать или ставить блоки, только бить мобов"}},{"text":"Выживание\n","bold":"true","clickEvent":{"action":"run_command","value":"/gamemode 0"},"hoverEvent":{"action":"show_text","value":"Ограниченные блоки, защищайтесь от мобов, идите в шахты"}},{"text":"Режим наблюдателя\n","bold":"true","clickEvent":{"action":"run_command","value":"/gamemode 3"},"hoverEvent":{"action":"show_text","value":"Вы невидимы и можете ходить сквозь стены"}}]}","{"text":"","extra":[{"text":"Сложность:","color":"blue","bold":"true","hoverEvent":{"action":"show_text","value":{"text":"Чем выше сложность - тем сложнее играть."}}},{"text":"\n"},{"text":"Мирная\n","bold":"true","clickEvent":{"action":"run_command","value":"/difficulty 0"},"hoverEvent":{"action":"show_text","value":{"text":"Враждебных мобов нет, не нужна еда"}}},{"text":"Легкая\n","bold":"true","clickEvent":{"action":"run_command","value":"/difficulty 1"},"hoverEvent":{"action":"show_text","value":{"text":"Есть монстры, нужна еда"}}},{"text":"Нормальная\n","bold":"true","clickEvent":{"action":"run_command","value":"/difficulty 2"},"hoverEvent":{"action":"show_text","value":{"text":"Монстры сильные, еда нужна постоянно"}}},{"text":"Сложная\n\n","bold":"true","clickEvent":{"action":"run_command","value":"/difficulty 3"},"hoverEvent":{"text":"[object Object]"}},{"text":"Наказания:","color":"blue","bold":"true","hoverEvent":{"action":"show_text","value":{"text":"Хотите позабавить себя и других? :P"}}},{"text":"\n"},{"text":"Призвать фаейболл\n","bold":"true","clickEvent":{"action":"run_command","value":"/summon Fireball ~ ~1 ~ {direction:[]}"},"hoverEvent":{"text":"Если ты читаешь это, ты очень хороший человек."}},{"text":"Молния вам всем","bold":"true","clickEvent":{"action":"run_command","value":"/execute @A ~ ~ ~ /summon LightningBolt"},"hoverEvent":{"text":"Если ты читаешь это, ты очень хороший человек."}}]}","{"text":"","extra":[{"text":"Бой:","color":"blue","bold":"true"},{"text":"\n"},{"text":"Вылечить себя\n","bold":"true","clickEvent":{"action":"run_command","value":"/effect @p 6 2 30"},"hoverEvent":{"text":"Ах ты читор!"}},{"text":"Убить мобов\n","bold":"true","clickEvent":{"action":"run_command","value":"/kill @e[type=!Player,r=10]"}}]}"],title:AdmBook!,author:ivan00412}

probleme

j'ai renconter un probléme concernant cette commande /tellraw @A ["{"text":"","extra":[{"text":"SONDAGE EXTENSION VILLE "},{"text":"OUI","color":"dark_green","clickEvent":{"action":"run_command","value":"scoreboard players set @p sondage 1"}},{"text":" NON","color":"dark_red","clickEvent":{"action":"run_command","value":"scoreboard players set @p 3"}}]}"] qui quand je l'execute dans un bloc de command m'affiche la command (/tellraw @A ["{"text":"","extra":[{"text":"SONDAGE EXTENSION VILLE "},{"text":"OUI","color":"dark_green","clickEvent":{"action":"run_command","value":"scoreboard players set @p sondage 1"}},{"text":" NON","color":"dark_red","clickEvent":{"action":"run_command","value":"scoreboard players set @p 3"}}]}"] )dans le tchat et non pas SONDAGE EXTENSION VILLE OUI NON

clickEvent is not properly nested in signs

Pretty sure it needs to be moved up out of an Extra tag for it to work. As it stands, neither give or blockdata signs can be clicked and neither can have more than 1 line (since Text2, Text3, and Text4 aren't added)

Can't make a book (with this site) then make a sign (with the site) that when you click it runs the command to give you the book you made (on the site)

This might just be something I'm screwing up but I made a book with http://ezekielelin.com/tellraw/ and I then tried to make a sign with the text "Click" and set the click event to run command and pasted the book command into there but when I run the command I got from the sign generator it just gives me a sign that when I place says {"text":""."extra": when it should give me a sign that when placed says Click and when clicked gives the person the book that I made on http://ezekielelin.com/tellraw/ . Am I messing something up?

The book code the site gives me:
/give @p written_book 1 0 {pages:["{"text":"","extra":[{"text":"Lobby","bold":"true","underlined":"true","clickEvent":{"action":"run_command","value":"/tp @p 44 70 143"}},{"text":" "},{"text":"Floor 1","bold":"true","underlined":"true","clickEvent":{"action":"run_command","value":"/tp @p 44 81 143"}},{"text":" "},{"text":"Floor 2","bold":"true","underlined":"true","clickEvent":{"action":"run_command","value":"/tp @p 44 89 143"}},{"text":" "},{"text":"Floor 3","bold":"true","underlined":"true","clickEvent":{"action":"run_command","value":"/tp @p 44 97 143"}},{"text":" "},{"text":"Floor 4","bold":"true","underlined":"true","clickEvent":{"action":"run_command","value":"/tp @p 44 105 143"}},{"text":" "},{"text":"Floor 5","bold":"true","underlined":"true","clickEvent":{"action":"run_command","value":"/tp @p 44 113 143"}},{"text":" "},{"text":"Floor 6","bold":"true","underlined":"true","clickEvent":{"action":"run_command","value":"/tp @p 44 121 143"}},{"text":" "},{"text":"Floor 7","bold":"true","underlined":"true","clickEvent":{"action":"run_command","value":"/tp @p 44 129 143"}},{"text":" "},{"text":"Floor 8","bold":"true","underlined":"true","clickEvent":{"action":"run_command","value":"/tp @p 44 137 143"}},{"text":" "},{"text":"Floor 9","bold":"true","underlined":"true","clickEvent":{"action":"run_command","value":"/tp @p 44 145 143"}}]}"],title:Book,author:TellrawGenerator}

The sign code the site gives me:
/give @p sign 1 0 {BlockEntityTag:{Text1:"{"text":"","extra":[{"text":"Click","clickEvent":{"action":"run_command","value":"/give @p written_book 1 0 {pages:[\"{\"text\":\"\",\"extra\":[{\"text\":\"Lobby\",\"bold\":\"true\",\"underlined\":\"true\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp @p 44 70 143\"}},{\"text\":\" \"},{\"text\":\"Floor 1\",\"bold\":\"true\",\"underlined\":\"true\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp @p 44 81 143\"}},{\"text\":\" \"},{\"text\":\"Floor 2\",\"bold\":\"true\",\"underlined\":\"true\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp @p 44 89 143\"}},{\"text\":\" \"},{\"text\":\"Floor 3\",\"bold\":\"true\",\"underlined\":\"true\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp @p 44 97 143\"}},{\"text\":\" \"},{\"text\":\"Floor 4\",\"bold\":\"true\",\"underlined\":\"true\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp @p 44 105 143\"}},{\"text\":\" \"},{\"text\":\"Floor 5\",\"bold\":\"true\",\"underlined\":\"true\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp @p 44 113 143\"}},{\"text\":\" \"},{\"text\":\"Floor 6\",\"bold\":\"true\",\"underlined\":\"true\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp @p 44 121 143\"}},{\"text\":\" \"},{\"text\":\"Floor 7\",\"bold\":\"true\",\"underlined\":\"true\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp @p 44 129 143\"}},{\"text\":\" \"},{\"text\":\"Floor 8\",\"bold\":\"true\",\"underlined\":\"true\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp @p 44 137 143\"}},{\"text\":\" \"},{\"text\":\"Floor 9\",\"bold\":\"true\",\"underlined\":\"true\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp @p 44 145 143\"}}]}\"],title:Book,author:TellrawGenerator}"}}]}",id:"Sign"}}

Add Settings Panel

Settings for enabling all the hidden features and disabling features people may not want to use.

Tellraw

I cant get on the tellraw page it wont load

Feature request: Old background

I really liked the old background, I saw that you added the dark mode, which was better than the current default (took quite some time to find), but still not as good. I would like a more visible background option with the old background as a option. Thank you for this generator! =)
Windows 7
Chrome

Particle command has changed its syntax

In one of the most recent snapshots, particle command has changed its syntax. Now is this one:
/particle <name> <x> <y> <z> <xd> <yd> <zd> <speed> [count] [mode]

/tellraw error

when i copy the generated command into a command block and power it, the command block just says the inputed command

inputed command:
image
output text:
image

Waiting For Load

Title says it all, it says waiting for assets just infinitely.

Can't make a new book page if I modified the book template.

For example, if I want to change
"/give @A written_book 1 0 {pages:["%e"],title:Book,author:TellrawGenerator}"
to
"/give @A[score_giveBook_min=1] written_book 1 0 {pages:["%e"],title:"A banana",author:"metarmask"}" I can't add a book page.
Browser: Chrome
OS: Windows 7

Escaped quotes in hover/click command break books

Example

{"command":"/give @p written_book 1 0 {pages:[\"%e\"],title:\"DevBook v2\",author:TellrawGenerator}","jobject":[{"text":"Self Commands\\n","bold":"true","hoverEvent":{"action":"show_text","value":{"text":"Commands that affect you"}}},{"text":"\\n"},{"text":" • Survival\\n","clickEvent":{"action":"run_command","value":"/gamemode 0"},"hoverEvent":{"action":"show_text","value":{"text":"Command: /gamemode 0"}}},{"text":" • Creative\\n","clickEvent":{"action":"run_command","value":"/gamemode 1"},"hoverEvent":{"action":"show_text","value":{"text":"Command: /gamemode 1"}}},{"text":" • Adventure\\n","clickEvent":{"action":"run_command","value":"/gamemode 2"},"hoverEvent":{"action":"show_text","value":{"text":"Command: /gamemode 2"}}},{"text":" • Spectator\\n","clickEvent":{"action":"run_command","value":"/gamemode 3"},"hoverEvent":{"action":"show_text","value":{"text":"Command: /gamemode 3"}}},{"text":" • Teleport to spawn\\n","clickEvent":{"action":"run_command","value":"/tp @p 0 51 0"},"hoverEvent":{"action":"show_text","value":{"text":"Command: /tp @p 0 51 0"}}},{"text":" • Leave all teams","clickEvent":{"action":"run_command","value":"/tp @p 0 41 0"},"hoverEvent":{"action":"show_text","value":{"text":"Command: /tp @p 0 41 0"}}},{"NEW_ITERATE_FLAG":true},{"text":"Game Commands\\n","bold":"true","hoverEvent":{"action":"show_text","value":{"text":"Commands that affect the game"}}},{"text":"\\n"},{"text":" • Team readiness:\\n"},{"text":" + READY\\n","color":"dark_green","clickEvent":{"action":"run_command","value":"/setblock 4 40 -4 redstone_block"},"hoverEvent":{"action":"show_text","value":{"text":"Command: /setblock 4 40 -4 redstone_block"}}},{"text":" + NOT READY\\n","color":"dark_red","clickEvent":{"action":"run_command","value":"/setblock 4 44 -4 redstone_block"},"hoverEvent":{"action":"show_text","value":{"text":"Command: /setblock 4 44 -4 redstone_block"}}},{"text":" • Reset game","color":"black","clickEvent":{"action":"run_command","value":"/setblock 8 30 -5 redstone_block"},"hoverEvent":{"action":"show_text","value":{"text":"Command: /setblock 8 30 -5 redstone_block"}}},{"NEW_ITERATE_FLAG":true},{"text":"Fun commands\\n","bold":"true","hoverEvent":{"action":"show_text","value":{"text":"Commands for fun :D"}}},{"text":" • Give Dev Bow","clickEvent":{"action":"run_command","value":"/give @p minecraft:bow 1 0 {display:{Name:\"Dev Bow\",Lore:[\"It is said that this bow is \\\"OP.\\\"\"]},Unbreakable:1,HideFlags:31,ench:[{id:51,lvl:1},{id:49,lvl:2}]}"},"hoverEvent":{"action":"show_text","value":{"text":"It is said that this bow is \"OP\""}}},{"text":" • Give Dev Slapper","clickEvent":{"action":"run_command","value":"/give @p minecraft:clay_ball 1 0 {display:{Name:\"Dev Slapper\",Lore:[\"It is said that this slapper is \\\"OP\\\"\"]},HideFlags:31,ench:[{id:19,lvl:2}]}"},"hoverEvent":{"action":"show_text","value":{"text":"It is said that this slapper is \"OP\""}}}]}

No way to delete individual saves

As far as I can see there is no way to delete individual saves; you can only delete all of them at once.

[edit] There is also no way to rearrange or rename them.
[edit2] Individual, not single.

Template Incorrect

if you put this in:

{"command":"/tellraw @a %s","jobject":[{"text":"Instructions:","color":"dark_red","bold":"true"},{"text":"Click To Join The RED TEAM","color":"red","clickEvent":{"action":"run_command","value":"/scoreboard teams join Red"},"hoverEvent":{"action":"show_text","value":{"text":"Click to join the RED TEAM","color":"gold"}}}],"jtemplate":"book"}

you will get the problem, put it in MC and it will print out the code.

problem with tellraw

mine craft says :Datatag parsing failed.when I type in the command. what is going on?

Is not loading

Sorry but, when ich click on the Tellraw Button i read the text ''Loading Javascript) But is not loading.

Problème avec le tellraw generator

Bonjour, je trouve que votre tellraw generator est génial mais il manque une chose: on ne peut pas sauter de ligne !!
Merci à l'avance !
xam4lor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.