1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

How do i make a ranks plugin?

Discussion in 'Plugin Help' started by Indexfire, Jan 2, 2017.

  1. Junkdude

    Junkdude Zombie

    Messages:
    346
    GitHub:
    JunkDaCoder
    Can someone please point him to PurePerms *hint* for an example
     
  2. SuperDude36

    SuperDude36 Spider Jockey

    Messages:
    26
    GitHub:
    superdude36
    Just use PurePerms and PureChat... If my server was Nukkit I would still put the PHP versions in plugins. They are great :D
     
  3. eDroid

    eDroid Witch

    Messages:
    59
    GitHub:
    edroiid
    What exactly does he want?
     
  4. SuperDude36

    SuperDude36 Spider Jockey

    Messages:
    26
    GitHub:
    superdude36
    A rank plugin... USE PUREPERMS
     
  5. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    but he said how to make not what to use????!?
     
    archie426 likes this.
  6. archie426

    archie426 Baby Zombie

    Messages:
    130
    GitHub:
    archie426
    Umm, you are lying, because comments are BASIC. And also: [​IMG] Matter settled, stop arguing now
     
  7. Indexfire

    Indexfire Baby Zombie

    Messages:
    137
    GitHub:
    Indexfire
    None of the tutorials of php mentioned comments
     
  8. archie426

    archie426 Baby Zombie

    Messages:
    130
    GitHub:
    archie426
    Well don't use tutorials
    MOST of the people here learned PHP by looking at plugins code
     
  9. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    you should learn form php.net not 3rd party tutorials
     
  10. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    I learned general programming through a C++ book 4 years ago. And learning php through looking at code may be a good start, but you should learn some structures properly.
     
  11. SuperDude36

    SuperDude36 Spider Jockey

    Messages:
    26
    GitHub:
    superdude36
    Why does he even want to know how to make one? Here's my totorial:
    - Dowloas PurePerms and PureChat
    - Put Them in Plugins
    - Restart Server
    - Be Happy You Didn't Make Your Own Plugin
     
  12. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    xD
     
  13. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    because that is not helping OP in what OP had requested?
    so in a hypertitical senario:
    you asked a chief how to bake a cake, but instate the chief insisted that you should just go buy one instated of baking one

    isnt that kind of rude? at the most you could have just say something among the lines of "sorry but it is too complex to be thought [but maybe you should check out that cake store]"
     
    Indexfire and HimbeersaftLP like this.
  14. SuperDude36

    SuperDude36 Spider Jockey

    Messages:
    26
    GitHub:
    superdude36
    Well this is a website and not real life so who cares?
     
  15. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    no one other then OP i suppose ¯\_(ツ)_/¯
     
  16. SuperDude36

    SuperDude36 Spider Jockey

    Messages:
    26
    GitHub:
    superdude36
    Who's OP?
     
  17. Jack Noordhuis

    Jack Noordhuis Zombie Pigman Poggit Reviewer

    Messages:
    618
    GitHub:
    JackNoordhuis
    OP = Operator
    In this case he's referring to a staff member.
     
  18. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    No not that OP the other OP Original Poster / Thread Starter / level1 post (Indexfire)
     
    HimbeersaftLP likes this.
  19. SuperDude36

    SuperDude36 Spider Jockey

    Messages:
    26
    GitHub:
    superdude36
    Ohhh
     
  20. Robin

    Robin Spider

    Messages:
    11
    GitHub:
    Blackbarbar
    How can I give a player a rank for example

    case "test":
    if($sender instanceof Player){
    if($sender->hasPermission("Test.cmd")){
    $sender->sendMessage("You have buy the VIP Rank");
    ??????????????
    }else{
    $sender->sendMessage("You don’t have the permission");

    What should I write in the ??? Line how can I give the player the rank ?
    thanks for u help
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.