382
Minecraft Command Blogs
By Pepijn96
/title and selector
/title
Finally, we (the mapmakers) now have a way to cummunicate with the player without using chat! /title allows you to put messages on the player's screen with a few simple commands.
First we have /title <targetselector> <title;subtitle> {raw json file}, this either sets a title (bigger font and higher) or a subtitle (smaller font and lower) the same way as you would use the tellraw command. So for example /title @a title {text:"Test",color:red,bold:true,italic:true,extra:[{text:"Test",color:gold},{text:"Test",color:yellow}]} would look like this:
If you run the subtitle command at the same time it will appear as well (If there is no title, subtitles won't show up!). So /title @a subtitle {text:"Test",color:red,bold:true,italic:true,extra:[{text:"Test",color:gold},{text:"Test",color:yellow}]}:
You can also set for each player how long the message should stay and even the fade in/fade out time: /title <targetselector> times <Fadein time in ticks> <Stay time in ticks> <Fadeout time in ticks>. This sets the values, so it stays till you set it to a new value or reset it with /title <targetselector> clear;reset.
You can probably already think of a lot of uses, but just in case you don't really know how to implement this in your adventure map or minigame:
- An awesome looking countdown without the use of chat!
- Display the name of your map in the beginning!
- Make different chapter for your adventure map and announce them with /title!
- In minigames like gmod murder, use it to tell the murderer he is the murderer!
- For a survival based map, use it to announce the beginning of a new day!
Just be aware of the fact that the font of the message doesn't change when the messages becomes longer, so there's a limit what people will be able to see/read!
Selector
/tellraw got a new feature! You can now use player selectors withing the raw json file: /tellraw <targetselector> {selector:"@a/@p/@r"}. You can even add the normal arguments to these selectors, such as m=0 or r=5. Just remember that you can't do {text:"Hello ",selector:"@p}, instead you have to use the extra tag: {text:"Hello",extra:[{selector:"@p}]}.
You can also use {selector:""} for your /title commands!
Sounds really awesome of course, but what can you fo with it? Well, you can use this to display the names of certain players without the use of /say (as /say is considered 'ugly')!
A small update, but it's as awesome as always! If you liked this blog or at least thought it was usefull, leave a diamond for me (If not, go yell at me in the comments that I need to do it better ;))
-Pepijn96
By Pepijn96
/title and selector
/title
Finally, we (the mapmakers) now have a way to cummunicate with the player without using chat! /title allows you to put messages on the player's screen with a few simple commands.
First we have /title <targetselector> <title;subtitle> {raw json file}, this either sets a title (bigger font and higher) or a subtitle (smaller font and lower) the same way as you would use the tellraw command. So for example /title @a title {text:"Test",color:red,bold:true,italic:true,extra:[{text:"Test",color:gold},{text:"Test",color:yellow}]} would look like this:
If you run the subtitle command at the same time it will appear as well (If there is no title, subtitles won't show up!). So /title @a subtitle {text:"Test",color:red,bold:true,italic:true,extra:[{text:"Test",color:gold},{text:"Test",color:yellow}]}:
You can also set for each player how long the message should stay and even the fade in/fade out time: /title <targetselector> times <Fadein time in ticks> <Stay time in ticks> <Fadeout time in ticks>. This sets the values, so it stays till you set it to a new value or reset it with /title <targetselector> clear;reset.
You can probably already think of a lot of uses, but just in case you don't really know how to implement this in your adventure map or minigame:
- An awesome looking countdown without the use of chat!
- Display the name of your map in the beginning!
- Make different chapter for your adventure map and announce them with /title!
- In minigames like gmod murder, use it to tell the murderer he is the murderer!
- For a survival based map, use it to announce the beginning of a new day!
Just be aware of the fact that the font of the message doesn't change when the messages becomes longer, so there's a limit what people will be able to see/read!
Selector
/tellraw got a new feature! You can now use player selectors withing the raw json file: /tellraw <targetselector> {selector:"@a/@p/@r"}. You can even add the normal arguments to these selectors, such as m=0 or r=5. Just remember that you can't do {text:"Hello ",selector:"@p}, instead you have to use the extra tag: {text:"Hello",extra:[{selector:"@p}]}.
You can also use {selector:""} for your /title commands!
Sounds really awesome of course, but what can you fo with it? Well, you can use this to display the names of certain players without the use of /say (as /say is considered 'ugly')!
A small update, but it's as awesome as always! If you liked this blog or at least thought it was usefull, leave a diamond for me (If not, go yell at me in the comments that I need to do it better ;))
-Pepijn96
Tags |
1 Update Logs
Update #1 : by Pepijn 05/15/2014 4:00:45 pmMay 15th, 2014
Didn't use BBcode for images, therefor they weren't working
tools/tracking
2897983
6
minecraft-command-blogs-title-and-selector
Create an account or sign in to comment.