GUI plugin

Discussion in 'Plugin Development' started by BakedPotato_HD, Jun 2, 2015.

Thread Status:
Not open for further replies.
  1. I want to make a GUI plugin that opens a GUI when you click with a chest in your hand. There should be 4 things in the chest:
    - Spawn --> Tps to spawn
    - Rules --> Sends the player all the rules
    - Doneren --> The player does /buy
    - Map --> Gives the player a map and if he scrolls away it disapears
    The last 2 do not work.
    On Inventory Click:
    How can I fix this?
  2. Offline


    Fix line 110, and follow naming conventions.
  3. What do you mean with "fix"?
  4. Offline


  5. Offline


  6. @Zombie_Striker Sorry for me being a noob, but I don't understand what a NullPointerException is. Do you know how to fix it?
  7. Offline


  8. Zombie_Striker likes this.
  9. I did google it but didn't really understand it :)
    I actually got it to work by removing something and coding that part from the beginning :)
  10. Offline


    Check if current item is null.
Thread Status:
Not open for further replies.

Share This Page