Jump to content

kdx7214

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

kdx7214's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I'm currently updating my mod from 1.5.2 and one of the features it provides is nickname support in chat. In the past I had setup a listener for ServerChatEvents and did the substitution there by changing the "line" member. Now in 1.6.2 the "line" member is no longer present and after quite a bit of digging I've yet to find a way to modify the message before it gets sent to the players. Not sure if I'm missing something obvious or if I'm just approaching this the wrong way entirely. Any ideas?
  2. I'm have a command mod that saves it's data in NBT format. It's stored in memory for performance reasons, but I would like to write it to disk say every 15 minutes. The math is no problem, the problem is I can't seem to find a way to get a timer event notification server-side. The Timer class is client-side only. Is there a tick event or some other less obvious way to achieve this? Or is there a way to tap into the /save-on command so I can write the data back out? I'd hate to have to write the data every time a user makes a change. Thanks!
×
×
  • Create New...

Important Information

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