Just starting in plugin dev need help!

Discussion in 'Plugin Development' started by heifinator, May 25, 2011.

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

    heifinator

    So I am starting to write a plugin and got it to load and output a message when I type a command. I want to now work with permissions.

    Basically I have a command (/bp) when I type it I get a "hello" message in game. I wan to make it so I need bp.user to make that message come up.

    I have looked at theyetis guide to setting up permissions and got pretty far. I'm at this point.

    I understand that I can modify the if statement to something like this

    In my onCommand I have commandsender set to buyer. What would I need to set "player" to under the permission handler to make it work.

    Thanks for any help!

    Im setting up git right now for this =)

    Added my github code. Maybe someone can help me out =)

    https://github.com/Heifinator/BuyPermissions

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  2. Offline

    Tagette

    Heres a template that might help you. The Permissions works perfect.
    Click! <- Click That
     
Thread Status:
Not open for further replies.

Share This Page