boolean help

Discussion in 'Plugin Development' started by kreashenz, Feb 1, 2013.

Thread Status:
Not open for further replies.
  1. Offline


    Is it possible to hold 2 public booleans , one for normal player ( deopped players ) help, and one for admin help ( opped players ).
  2. Offline


    What do you mean?

    Of course, you can hold thousands upon thousands of booleans for whatever you which.

    What are you trying to accomplsih
  3. Offline


    I'm trying to make 2 set of commands, one for admins, and one for normal players. Would i be able to put 2 public booleans, or would one be public and the other private or something like that .
  4. Offline


    You want to store commands inside of a boolean?

    a boolean is true of false remember? dont you mean a HashMap or ArrayList?

    the difference between private and public is really simple, public fields can be accessed from orther classes and private fields cant (unless you use reflection)
  5. Offline


    I think he means to set permissions, so he has permissions for the admin group and permissions for normal group.
  6. Offline


    Im not sure what he wants.
  7. Offline


    Ok, well you guys didn't help me , but I found the answer..

    Yes this guy is correct.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 31, 2016
Thread Status:
Not open for further replies.

Share This Page