Jump to content

custom GUI for block


jamiemac262

Recommended Posts

hi, i have a block that acts like a sort of marker in the land..... it allows the player who places it to create a faction and control the faction from this block... the problem is that i can't seem to get the GUI too work, some aspects of the wiki tutorials aren't crystal clear.

 

do i need a containerGui for every block that has a GUI? or just blocks that are going to store items?

 

e.g. a block that will store strings and an array or 2, i'm not sure if that needs to extend containerGui for a block that serves this function.

 

at the moment my GUI only extends GuiScreen, and in the log the problem is: "A mod tried to open a gui on the server without being a NetworkMod"

 

i guess this question might be a bit vague so if anybody could offer some tips or suggestions for any part of this topic i would appreciate it :)

 

thanks in advance

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.

Guest
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.