ExternalPrefix

Discussion in 'Plugin Requests' started by LordOfPex, Dec 24, 2015.

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

    LordOfPex

    Plugin category: Chat Utilities.

    Suggested name: ExternalPrefix

    What I want: I'd like a plugin that lets me to have a variable such as {PREFIX} or something like that, and a config to set up custom prefixes with custom permission per prefix. For example, if a player has a permission i setup in config for donator prefix, he will have the prefix that i configured in the config.

    Example of config:
    EndPrefixWith: ' &7'
    Ranks:
    Donator:
    Prefix: '&8[&9Donator&8]'
    Permission: externalprefix.prefix.donator
    changable: true
    God:
    Prefix: '&8[&6God&8]'
    Permission: externalprefix.prefix.god
    changable: false

    The 'Changable' part is for that: I would a command such as /prefix, that will let players to change their prefix to whatever they want. The 'changable' paart is to set if the prefix is changable with /prefix or not.
    If it's 'true' they can change it with /prefix, if it's 'false' they won't be able to change it.

    Also, I would like that when they are performing /prefix <something>, it will ask them 'are you sure you want to change your prefix to <PrefixTheyEntered>? Type yes or no.' - then, if they will type yes it will change it, and if they will type no, it will cancel the change.
    I would also like all messages of the plugin to be customizable if possible.

    Also, i would like 2 commands for taking the ability to use /prefix incase a player abuses his prefix (Such as putting swear words in prefix), and another command to give the player the ability to change prefix back.
    When I perform /noprefix <player> it will reset his prefix to the one he has permission to, and he wont be able to change the prefix again until ill perform /returnprefix <player>.

    One last thing: I would like all the prefixes (as well as the custom one) has a space in the end and the &7 color code, so it will look like that:

    [Donator] LordOfPex
    and not like that: [Donator]LordOfPex
    Ideas for commands:
    /Prefix = Change the prefix.
    /noprefix = Take the ability to change prefix from a player.
    /returnprefix = Give a player the ability to change prefix back.
    /ep reload = Reload the config

    Ideas for permissions:
    externalprefix.prefix.change = Permission for /prefix.
    externalprefix.prefix.color = Permission to put color codes in the new custom prefix.
    externalprefix.prefix.format = Permission to put formatting codes (such as &n, &l, &o) in the new custom prefix.
    externalprefix.noprefix = Permission for /noprefix.
    externalprefix.returnprefix = Permission for /returnprefix.
    externalprefix.reload = Permission for /ep reload.

    When I'd like it by: As soon as possible, Thanks in advance! :)
     
  2. Offline

    LordOfPex

    Bump. Please anyone? :)
     
  3. Offline

    pie_flavor

  4. Offline

    LordOfPex

    @pie_flavor
    I need an external plugin that will work with PEX.
     
  5. Offline

    20zinnm

  6. Offline

    LordOfPex

    @20zinnm
    I did consider that ugin, But it doesn't have what I need. I requested the features I need for a reason.
    Thanks anyway :p
     
  7. Offline

    20zinnm

    What other features do you need? I'm doing a complete rewrite (again) and I'm open to suggestions.
     
  8. Offline

    LordOfPex

    @20zinnm
    The features I requested in my main post xD
     
  9. Offline

    20zinnm

    @LordOfPex so you want permission-based prefixes? I can make this later.

    EDIT: Actually, the changeable part is quite reminiscent of BuildAPrefix. Why not use PEX prefixes and BAP for the changeable one?
     
  10. Offline

    LordOfPex

    @20zinnm
    Basically yes, if its permission-based i need to able to also set where i want to position the prefix in chat format (aka variable for the prefix).

    Also, if you could make the option to change the prefix with a command to a custom prefix as i wrote in my main post it will be awesome. :p
     
  11. Offline

    LordOfPex

    Bump. Anyone? :)
     
  12. Offline

    LordOfPex

  13. Offline

    LordOfPex

    Bump. Anyone please? :p
     
  14. Offline

    Jaackk

    You could just make groups and add a prefix to that group. When a player wants to use /prefix you could use an alias plugin. (I use MyCommand which supports custom permissions and many placeholders) and redirect /prefix to run a console command of /pex user (name) group add (group) therefore giving them this groups prefix. ALSO remember to run /pex user (name) group remove (whatever other groups have prefixes) so that their prefix isn't kept the same because of them being in a group with one already.

    Let me know if you need any help with doing it, I believe this is definitely possible without a whole newly coded plugin. When I am need of things I look for ways to manipulate other plugins to work and create what I am trying to do. MyCommand allows you to create your own commands like I explained and I would recommend it :)

    Best Regards,
    Jack.
     
  15. Offline

    LordOfPex

    @Jaackk
    I'm sorry, I didn't mention that it is for a Prison server. I know how to manipulate plugins for some stuff like that, and I need that plugin as an extra prefix plugin with a variable. I know I can have prefixes/suffixes with permissions plugin and Vault, but as I already use it, I need this plugin for an extra set of prefixes.
     
  16. Offline

    Jaackk

    I see, have you used both the prefix and suffix up?

    You could use:

    [Prefix] [Suffix] [Displayname] by changing the order.

    If not I don't think you are able to have more than the two prefixes including moving a suffix to make it a prefix in chat display order with pex, I was looking into this the other day as I was interested on doing this too.

    This wasn't fully clear in the request so if this was possible in a plugin I'd be happy to check it out :)

    What I was looking into it was for having the ability to show 3 pex groups on a player e.g:

    {Group1} {Group2} {displayname} {group3}

    This being, Staff Rank, In game Rank, Name, Donor Rank.

    Best of luck with the plugin request will definitely check it out if made,

    Best Regards,
    Jack.
     
  17. Offline

    LordOfPex

    @Jaackk
    I know I can do this somehow, butI need at least 3 prefixes, as well with the option to change them in a cool way and the option to take the custom ones if someone abuses it (aka using swear words and such).
     
  18. Offline

    Meecles

  19. Offline

    LordOfPex

    @Meecles
    I tried that already, Its not working well with my server setup and plugins.
    I realy need an external new plugin for it as requested :p
     
  20. Offline

    LordOfPex

  21. Offline

    LordOfPex

    Bumperino.
     
Thread Status:
Not open for further replies.

Share This Page