Jump to content

Twijn

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Twijn

  1. I've found it and it works quite nicely. Thank you all for your help!
  2. I've googled GuiPlayerTabOverlay and nothing useful is found? Do you possibly have a link? Also, will having "custom" tab menus affect it? (For example, things like this: http://prntscr.com/anfbta )
  3. There's no way to intercept chat messages on the client before they're sent to the server without some ASM or possibly messing around with Netty to intercept the packet. Why not just create an ICommand and register it with ClientCommandHandler . Okay, I've done all of that and it seems to work just fine! The one thing I want to know now is how to get a list of all of the players then allow it to autofill to those players on the command
  4. There's no way to intercept chat messages on the client before they're sent to the server without some ASM or possibly messing around with Netty to intercept the packet. Why not just create an ICommand and register it with ClientCommandHandler . Okay, I'll try that.
  5. Nevermind, I got it. It was just me being stupid and not realizing that the tutorials I was looking at was extending "Gui"... The thing that I'm stuck on now is being able to get a message that the player (From typing it in) sends to the server, and cancelling it if it has some character in front of it. Basically, I want to make commands like they do in hack mods (for example .help). Except it of course won't be used to hack and stuff.
  6. Whatever I try it doesn't seem to work. I've tried googling it many times also, but it was no help.
  7. Ok, but where do you actually put the textures in the files to where it can reach it? It keeps saying file not found.
  8. Okay, so I got that, however, I'm still somewhat confused on what I put to make a new GUI, and where I actually put the GUI textures I want to use.
  9. I've found everything, except I can't figure out how to do the RenderGameOverlay thing. Do you have any code showing it being used, or something?
  10. I am a moderator on a server, and when 100+ people are on it gets a bit hard to keep up on chat. So, what I thought was I could make a Mod that will display messages on the top left of the screen that possibly breaks chat rules, ex. profanity, to where I can just press a button and it will say something in chat or press another button and it will be dismissed. I'm somewhat decent at writing Bukkit plugins, so Forge can't be that different? I was clearly wrong. So to restate what I want to do, if someone in the server chat says something, I want a notification on the top right of the screen, similar to how achievements are shown. This will have 2 buttons to either accept the warning for them and say something in chat or to entirely dismiss the notification. I know how to do all of the filters and everything, so all I really need to know is: -How to get the chat events from the server (and getting the message from it) -How to display a notification on the side -How to send a message to the server This mod will not be installed server-side.
×
×
  • Create New...

Important Information

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