Skip to main content

How can I add a splash text when a customized world is loaded



  • zhong chen

    I mean, show the splash text at the very beginning.

  • Moderator Beacon of Knowledge Super Star

    Hello, zhong chen I don't know exactly. But I think we can find out! I assume it will either be a command block which is triggered immediately and issues a show title command, or it is one of those java script edits I haven't done yet that Dani Noble or another great mod know better than I do! I'm hoping Dan isn't on a long vacation! In the meantime, I will do some research! I'd like to know this, too!

  • zhong chen

    Thank you so much Debbie, it is just like a Hint text when we open a new world, and after a couple of time, then disappear, 

    And make students have the initial information regarding the tasks of class.

  • Nadine Ebri

    Hi zhong chen! I found this video hope this helps! 

  • Debbie Alexander
    Moderator Beacon of Knowledge Super Star

    I was thinking along the lines of a command that was coded to run on world start, but maybe I was over complicating it.

    Perhaps a pressure plate could be used where the player starts, and it could trigger a command block to run the show title command? I've never tested a pressure plate with a teleport command or on start like that before.

    Bryan Sanders Dan Noble

  • Dani Noble
    Moderator Beacon of Knowledge Super Star

    Hi zhong chen

    There's a few ways you can approach this. I think the most important first step is making sure everyone is appearing at the same place when they come into the world where you want to provide the start up information to the students. 

    Once you've picked a spot, go to the location and type in /setworldspawn 

    Providing a lot of details for students is probably best done using an NPC or Boards as you can enter a lot of text into them. I usually have these right at the spawn point. 

    NPCs are great for providing hints, as you can also add commands to them for teleporting, etc. 

    As Debbie mentioned, the /title command is probably best for a "splash" message. Easiest way to set this up is to use a command block. It's not available from the inventory so you'll need to give one to yourself: /give @s command block. Once you have it:

    1. Dig a one space hole, place the command block in it. 

    2. Click on the command block and enter this in the space for the command: /title @p title Hi (You can change the "Hi" to whatever you want. 

    3. Place a pressure plate on top of it. 

    This requires the student to actually stand on it. If you want to get a little fancier: 

    1. Bury a  command block under the ground (no more than 2 spaces deep). 

    2. Click on the command block and set the following: Block Type: Repeat Redstone: Always Active

    3. Type: /testfor @p [r=3] into the command input space. This sets the block to look for any player within a radius of three blocks (so bury it right at the spawn point). 

    4. Place a comparator next to the command block. 

    5. Place another command block next to the comparator and type the /title @p title Hi into the input space. The setup should look like this: 

    Hope this helps and let us know if you need anything else. 

  • Bryan Sanders
    Bug Zapper Beacon of Knowledge Super Star Moderator

    the testfor comparator splash is the most elegant -- I have been working on a way to cause a loop to run after the testfor finds a player within a radius . . . 

  • zhong chen

    Thank you Bryan, Thank you Dan, Thank you Debbie, Thank you Nadine, 

    You gave a lot of fresh ideas which are very helpful. Thank you so much.

    I think I got a clue to start, you all are very nice and brilliant. 

    It is very nice to be one of the community. :-D


Please sign in to leave a comment.