2.1 Clans 1.0

Allows players to create clans.

  1. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    This plugin allows users to create clans

    Commands
    - /c - talk in the clan chat (or use togglechat to automaticly talk in clan chat)

    - /clan checkupdate - checks for available updates.
    - /clan changelog - shows the changelog if a new update is available.
    - /clan create <name> - create a new clan with you as leader.
    - /clan join <name> - join an existing clan.
    - /clan leave - leave your current clan.
    - /clan reloadclans - reload all clans and their members.
    - /clan reloadconfig - reload the clans configuration file."
    - /clan invitemode <true/false> - toggle invite-only mode.
    - /clan list - list all existing clans.
    - /clan tp - teleport to the clan's spawnpoint.
    - /clan setspawn - set the clan's spawnpoint to your current location.
    - /clan setcolor <r, g, b> - change the clanchat's color.
    - /clan who - list all online members in your clan.
    - /clan find <player> - find out which clan a player is in.
    - /clan togglechat - toggle auto-talking in clanchat instead of global chat.
    - /clan rename <new name> - change your clan's name.
    - /clan help - displays a list of clan commands

    Permissions
    See link

    Things I will probably add
    - Some commands
    - Clan banks - if possible to combine with infinite chests plugin
    - Clan wars (this will be alot of work)
    - Clan region
    - <possibly one of your suggestions here>



    If you have any suggestions feel free to post them!
     
    • Like Like x 6
    #1 Ancientgods, Dec 19, 2013
    Last edited: Apr 17, 2015
  2. IamUSER

    IamUSER Level 7

    Joined:
    Jul 29, 2013
    Messages:
    184
    Once again. Moar awesomness!
     
  3. Shadowtactic

    Shadowtactic Level 0

    Joined:
    Nov 10, 2013
    Messages:
    2
    The could be the option of a (Ranking) Point System/Bank System with the clans, something like Statistics / SEconomy
    Dedicated pvp, pve, team vs or clan vs. for a selective point awards and normal as boss/minion kills//time//number of members.
    Code:
    /clan points/power/something
    #1 - [Name] [#Members] [#Award Points] [Etc.]
    #2 - Etc.
    Wars could be selective/randomized (for multiple parties) or events from admin, stakes could also be a factor for Clan banks or to disband.
    New players can not join a Clan for a select number of days so they can selectively choose/not get slaughtered and rage.
    A major note of this is the size of the server/active player count. Too small a server and overpowered clans could pose an issue. (Clan limits)
    Also how the Clan data is saved as players can make multiple clans. (So a limit would be needed, or price to make a Clan)
    Clan buffs, the admin or one of power can buy (If market or bank) a buff for the entire clan. Something as far as double mob/boss points.
    Maybe the possibility of Parenting or Merging of Clans (Agreed or staked)
    Just tossing ideas..
     
    • Like Like x 1
  4. Ijwu

    Ijwu Level 11

    Joined:
    Apr 4, 2012
    Messages:
    647
    Please use Git+Github. :(

    I want to browse your source but I'm much too lazy to actually unzip it and open up the solution.
     
    • Like Like x 1
  5. DarkunderdoG

    Plugin Developer

    Joined:
    Jul 21, 2011
    Messages:
    239
    This is amazing! Nice job!
     
    • Like Like x 1
  6. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    I finally found out people are using something called "toirtoisegit" while cantaloupe me was using git bash, no wonder github was like chinese for me -_-, i will try to figure out how github works now!
     
  7. DarkunderdoG

    Plugin Developer

    Joined:
    Jul 21, 2011
    Messages:
    239
    Laurens: can you add the ability for the clan admin to set what the chat color is for all members of that clan?
     
  8. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    Yes, i can, however you will have to wait 2 weeks as i am going to thailand pretty much 20 minutes after this message.
     
    • Like Like x 1
  9. AFACA T twanna

    AFACA T twanna Level 4

    Joined:
    Jan 19, 2012
    Messages:
    70
    awesome laurens thx !

    im gona test this on my server tonight
     
  10. Wolfe

    Wolfe Level 9

    Joined:
    Jan 3, 2012
    Messages:
    386
    Regarding the "no permissions" thing - After a day of having this my users are getting slighty annoyed because everyone is creating clans. Is there a possibility of adding a permission to allow people to create clans?
     
  11. Latros

    Latros Level 3

    Joined:
    Dec 20, 2013
    Messages:
    48
    Also I ask.
     
  12. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    Sure but you will have to wait though as i'm still in thailand for anoyher 11 days, and i have no access to a computer :/
     
  13. IamUSER

    IamUSER Level 7

    Joined:
    Jul 29, 2013
    Messages:
    184
    I for some strange reason have a bunch of complaints about just anyone being able to make clans also. So here is my suggestion. Make a "clan.master" permission to allow certain people to open clans. Their inductee's will either gain tokens on a timed basis or can be awarded tokens from the clan master. Once the member has enough tokens (configurable) they can cash them in to make a clan.?. That may take care of two issues. Or you could give clan masters the ability to assign new clans to users. This could maybe go as far as making people pay out their seconomy currency or actual coins to the clan master to gain the clan they want. That way you can do something (or nothing) with the tokens.
     
  14. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    Mmhm interesting idea, will think about it.
    In the meanwhile you can fix it yourself by compiling your own modified version just put this code at the top of the clan create command:
    Code:
     
    if(!args.Player.Group.Haspermission("clan.master")
    {
    args.Player.SendErrorMessage("You do not have permission to create clans.")
    return;
    }
    
     
    • Like Like x 1
  15. Ijwu

    Ijwu Level 11

    Joined:
    Apr 4, 2012
    Messages:
    647

    I'd happily do it for you... If you used GitHub so I could Pull Request the change.

    :)
     
    • Like Like x 1
  16. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    I do use GitHub now! Just check the links :D
     
    • Like Like x 1
  17. Latros

    Latros Level 3

    Joined:
    Dec 20, 2013
    Messages:
    48
    I rank superadmin and write /clan create name I have a message: You do not have permission to create clans
     
  18. Ijwu

    Ijwu Level 11

    Joined:
    Apr 4, 2012
    Messages:
    647

    Great. Now use GitHub's web editor to add the permission so I don't need to. ^_^
     
  19. Latros

    Latros Level 3

    Joined:
    Dec 20, 2013
    Messages:
    48
    Help.
     
  20. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    I have 3 questions for you:

    1. Are other people able to actually edit my code or do i have to agree or something?
    2. Web editor, how?
    3. Am i able to do that with my iphone because that is currently the only thing i have to access the internet.