Filled Prefix Changer (Permissions)

Discussion in 'Archived: Plugin Requests' started by klosjaarrr, Jun 7, 2014.

  1. Offline

    klosjaarrr

    Plugin category: Informational

    Suggested name: PrefixTitles

    What I want: I'd like to see a plugin so users can change their prefix by choosing from a predefined list instead of being able to change it to everything available. If possible, I would like a config file with seperated groups where I can define titles. Players must have the permission according to that group to be able to change their prefix to a specific title.

    So for example, the config file has a group called 'users' and 'admins'. In the group users there are 2 titles available, "Peasant" and "Farmer". The admin group only has "Admin". A normal player will now be able to do /titles to see a list with the 2 titles "Peasant" and "Farmer" in there, while an admin can only see his "Admin" title.

    The user can now do /title Peasant to change his or her prefix to "Peasant", and on a later moment he or she can change it to "Farmer". To be clear here: I don't want the display name or anything to be editted, just the prefix being used by permission plugins such as Pex. Please make it possible to assign a format to a group, so I can color the different titles. An example config file:

    =================

    groups:
    users:​
    format: '&6$title &f'​
    titles:​
    - Peasant​
    - Title​
    admins:​
    format: '&c$title &f'​
    titles:​
    - Admin​

    =================


    Ideas for commands: /titles to list all titles and /title <name> to change prefix to "name".

    Ideas for permissions: prefixtitles.groupname

    When I'd like it by: Maybe next week?
     
  2. Offline

    Walruski

    So, the person in the group 'Users' would have the name like "[Peasant][Title]<displayname>"?
     
  3. Offline

    klosjaarrr

    A person in the group (this is not the permission group, just a group assigned in the config file) "Users" would have a name like <prefix><displayname> where <prefix> is changed by the users choice with /title <name of title> (when they have the permission prefixtitle.users).
     
  4. Offline

    Walruski

    That doesn't make sense of why "titles" in the config file.
     
  5. Offline

    klosjaarrr


    This way players are able to change their own prefix, but instead of giving them permission to change it to everything this plugin allows us to predefine titles for them that they can choose from.
     
  6. Offline

    Alster551

    klosjaarrr so you want to be able to set some pre defines prefixes in a config for certain ranks, and then they can chose out of those prefixed which one they have depending in their rank?
     
  7. Offline

    Walruski

    I understand now :D
     
    klosjaarrr likes this.
  8. Offline

    klosjaarrr


    Exactly!
     
  9. Offline

    Walruski

    Almost completed, just finishing the command up to set a title. Doing a quick test now to see if everything so far is all good.

    EDIT: Completed! Download the plugin by clicking download ^.^. If it needs to be more customisable then please tell me. (You'll see what I mean by customisable in the config file)

    Thanks, Walruski.
     

Share This Page