Undercover Moderator Prefix

Discussion in 'Plugin Requests' started by nightcrawler601, Oct 15, 2015.

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

    nightcrawler601

    Plugin category: Administration

    Suggested name: UndercoverMod

    What I want: I would like a plugin that basically toggles your prefix through default one (which can be set in the config) and [Moderator] (i prefer this to be customizable as well), it MUST BE compatible with PermissionsEx.

    Config example:

    defaultprefix: '&3[&7OP&3]'
    modprefix: '&3[&bModerator&3]'

    Ideas for commands:
    /modprefix - toggles prefix (default and moderator)
    /undercovermod reload - reloads the plugins config

    Ideas for permissions: undercovermod.toggle - permission to do /modprefix

    When I'd like it by: ASAP.
     
    Last edited: Oct 15, 2015
  2. Offline

    PresentingTulip

    Would you have the default prefix set in your PEX config? Or would both prefixes be in the plugin's config?
     
  3. Offline

    nightcrawler601

    @PresentingTulip I prefer either reading default group prefix from PEX, and then only modprefix line included in the plugins config, or both prefixes in the plugins config.
     
  4. Offline

    PresentingTulip

    @nightcrawler601 Pretty sure there's many plugins out there that do this.

    EDIT: I'll give this a shot. Can you tell me the prefixes you want just in case I can't get a configuration working?
     
    Last edited: Oct 15, 2015
  5. Offline

    nightcrawler601

    Recommend some then, please!

    EDIT: It's meant for several servers, but lets say I'd want "&3[&7OP&3] &c" as default prefix and "&3[&bModerator&3] &b" as moderator prefix.
     
    Last edited: Oct 15, 2015
  6. Offline

    PresentingTulip

    @nightcrawler601 So you want them to be able to change between their prefixes. Like: [OP] PresentingTulip then you do a command and their name is [Moderator] PresentingTulip?
     
  7. Offline

    nightcrawler601

    Yes, that is correct.
     
  8. Offline

    PresentingTulip

    @nightcrawler601 Just letting you know, this will require vault.

    EDIT: I'm not sure if I can get into a configuration, but I might be able to get it with the prefixes you told me.
     
    Last edited: Oct 15, 2015
  9. Offline

    nightcrawler601

    Yeah, no prob.
     
  10. Offline

    PresentingTulip

    @nightcrawler601 I finished coding it, I'm going to test it, and if it works I'll post it.

    EDIT: Plugin is done. It works two commands:
    I did the prefixes in the colors you requested.
    /toggleop: Changes prefix to OP
    /togglemod: Changes prefix to Mod

    Permissions:
    /toggleop: undercovermod.toggleop
    /togglemod: undercovermod.togglemod


    Commands and permissions were both tested.
     
    Last edited by a moderator: Oct 15, 2015
  11. Offline

    oceantheskatr

    @PresentingTulip Make sure that you hook in to Vault instead of PEx as it's more universal.
     
  12. Offline

    PresentingTulip

    I've been using vault the whole time.
     
  13. Offline

    oceantheskatr

    Sweet :)
     
  14. Offline

    timtower Administrator Administrator Moderator

  15. Offline

    PresentingTulip

Thread Status:
Not open for further replies.

Share This Page