Jump to content

Adding a startup message for a mod?


Recommended Posts

Hey there!


Some of the mods out there (i.e More Creeps And Weirdos & Singleplayer Commands) adds a sort of a startup message upon entering a world/server saying:


"More creeps and weirdos loaded, version x.xx.xx" Or something.


I want this for my mod aswell, and I was wondering, How would I add it?


If this wouldn't work, I'd like to code a mod/find a mod which is sort of like a MOTD mod with bukkit - Upon login you're presented with the MOTD, what the time is, and who's online.


I'd be very thankful if you were to find a way for me to do this.


Thanks! /Falling

Link to comment
Share on other sites

Create a tickHandler called on client side, create an int, then checks if the int is 0, the world its not null, and the player its not null, u send a message to him, for a mod that im developing i use this,

client side tick handler



public void tickStart(EnumSet<TickType> type, Object... tickData)



if(DiverseCraft.ticksPassed == 0 && Minecraft.getMinecraft().theWorld != null && Minecraft.getMinecraft().thePlayer != null)











then if has updates availables, its says a msg, if not, its says other message that i can customiza, on the dropbox (where i hosted the files)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.