Jump to content

Proper way to set up a non-inventory GUI?


Recommended Posts

Hey there, just a quick question for setting up a non-containered GUI.


I have a GUI that simply displays text, nothing fancy there.

I suppose I'm running into a problem with figuring out what the server element should be. Normally that would be where the container goes, right? Right.


In the case of not needing a container, I thought I would just return it as null. However, that does absolutely nothing(or I have made an error elsewhere)


SO back to the main point, what is the proper way for setting this up? Should I be creating an empty container?


If I should be returning null, I will be glad to post up all the code to see where else I may have made an error.




Thanks for any info you may be able to provide.

Link to comment
Share on other sites

I have to disagree with that. 


In my GUI handlers I have null returned on the server side, and the actual GUI returned on the client for a GUI interface like he is speaking of.  I have a block that opens it up on right click serverside only.  Everything works fine.

Long time Bukkit & Forge Programmer

Happy to try and help

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.