Question Ordering

Discussion in 'Bukkit Help' started by MachoPiggies, Oct 11, 2017.

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

    MachoPiggies

    Is there a way to order prefixes with <Edit by Moderator: Redacted not allowed paid resource url> premium plugin? This is my config.
    Code:
    ######################
    # Prefixes - SainttX #
    ######################
    
    # Configurable messages related to the plugin
    messages:
      noPrefixes: "You don't have access to any prefixes"
      permission: "You don't have permission to use this prefix"
      prefixSet: "Your prefix is now [prefix]"
    
    # Configure all prefixes that players can have access too
    prefixes:
      Disable:
        # What the prefix displays in chat
        display: "&r"
        # The required permission node for the prefix
        permission: "rank.default"
        # Define the icon (ie. item) that is used to identify the
        # prefix in the /prefix GUI using this format:
        # icon:
        #   material: valid bukkit material
        #   durability: number <the items durability/data> (not required)
        #   name: string <the items display name> (not required)
        #   lore: list of strings <the items lore> (not required)
        #   enchantments: (not required)
        #     VALID_BUKKIT_ENCHANTMENT: number <level>
        icon:
          material: REDSTONE_BLOCK
          durability: 0
          name: "&r"
          lore:
          - "&7Remove your prefix"
      Hero:
        display: "&d&lHERO&r"
        permission: "rank.Hero"
        icon:
          material: PAPER
          durability: 0
          name: "&d&lHERO&r"
          lore:
          - "&7Hero tag"
      Elite:
        display: "&e&lELITE&r"
        permission: "rank.Elite"
        icon:
          material: PAPER
          durability: 0
          name: "&e&lELITE&r"
          lore:
          - "&7Elite tag"
      Champion:
        display: "&2&lELITE&r"
        permission: "rank.Champion"
        icon:
          material: PAPER
          durability: 0
          name: "&2&lCHAMPION&r"
          lore:
          - "&7Champion tag"
      Overlord:
        display: "&6&lOVERLORD&r"
        permission: "rank.Overlord"
        icon:
          material: PAPER
          durability: 0
          name: "&6&lOVERLORD&r"
          lore:
          - "&7Overlord tag"
      BuildLead:
        display: "&9&lBUILDLEAD&r"
        permission: "rank.BuildLead"
        icon:
          material: PAPER
          durability: 0
          name: "&9&lBUILDLEAD&r"
          lore:
          - "&7BuildLead tag"
      Builder:
        display: "&9&lBUILDER&r"
        permission: "rank.Builder"
        icon:
          material: PAPER
          durability: 0
          name: "&9&lBUILDER&r"
          lore:
          - "&7Builder tag"
      Trainee:
        display: "&3&lTRAINEE&r"
        permission: "rank.Trainee"
        icon:
          material: PAPER
          durability: 0
          name: "&3&lTRAINEE&r"
          lore:
          - "&7Trainee tag"
      Mod:
        display: "&6&lMOD&r"
        permission: "rank.Mod"
        icon:
          material: PAPER
          durability: 0
          name: "&6&lMOD&r"
          lore:
          - "&7Mod tag"
      SMod:
        display: "&f&lSMOD&r"
        permission: "rank.SMod"
        icon:
          material: PAPER
          durability: 0
          name: "&9&lSMOD&r"
          lore:
          - "&7SMod tag"
      Admin:
        display: "&c&lADMIN&r"
        permission: "rank.Admin"
        icon:
          material: PAPER
          durability: 0
          name: "&c&lADMIN&r"
          lore:
          - "&7Admin tag"
      Manager:
        display: "&c&lMANAGER&r"
        permission: "rank.Manager"
        icon:
          material: PAPER
          durability: 0
          name: "&c&lManager&r"
          lore:
          - "&7Manager tag"
      Dev:
        display: "&c&lDEV&r"
        permission: "rank.Dev"
        icon:
          material: PAPER
          durability: 0
          name: "&c&lDEV&r"
          lore:
          - "&7Dev tag"
      LT:
        display: "&4&lLT&r"
        permission: "rank.LT"
        icon:
          material: PAPER
          durability: 0
          name: "&4&lLT&r"
          lore:
          - "&7LT tag"
      Owner:
        display: "&4&lOWNER&r"
        permission: "rank.Owner"
        icon:
          material: PAPER
          durability: 0
          name: "&4&lOWNER&r"
          lore:
          - "&7Owner tag"
    
     
  2. Offline

    Zombie_Striker

    @MachoPiggies
    1. Don't use the center alignment. It messes up the config and makes it harder to read.
    2. What exactly do you mean by order? You mean in the config itself, or in chat?
     
  3. Offline

    MachoPiggies

    Code:
    ######################
    # Prefixes - SainttX #
    ######################
    
    # Configurable messages related to the plugin
    messages:
      noPrefixes: "You don't have access to any prefixes"
      permission: "You don't have permission to use this prefix"
      prefixSet: "Your prefix is now [prefix]"
    
    # Configure all prefixes that players can have access too
    prefixes:
      Disable:
        # What the prefix displays in chat
        display: "&r"
        # The required permission node for the prefix
        permission: "rank.default"
        # Define the icon (ie. item) that is used to identify the
        # prefix in the /prefix GUI using this format:
        # icon:
        #   material: valid bukkit material
        #   durability: number <the items durability/data> (not required)
        #   name: string <the items display name> (not required)
        #   lore: list of strings <the items lore> (not required)
        #   enchantments: (not required)
        #     VALID_BUKKIT_ENCHANTMENT: number <level>
        icon:
          material: REDSTONE_BLOCK
          durability: 0
          name: "&r"
          lore:
          - "&7Remove your prefix"
      Hero:
        display: "&d&lHERO&r"
        permission: "rank.Hero"
        icon:
          material: PAPER
          durability: 0
          name: "&d&lHERO&r"
          lore:
          - "&7Hero tag"
      Elite:
        display: "&e&lELITE&r"
        permission: "rank.Elite"
        icon:
          material: PAPER
          durability: 0
          name: "&e&lELITE&r"
          lore:
          - "&7Elite tag"
      Champion:
        display: "&2&lELITE&r"
        permission: "rank.Champion"
        icon:
          material: PAPER
          durability: 0
          name: "&2&lCHAMPION&r"
          lore:
          - "&7Champion tag"
      Overlord:
        display: "&6&lOVERLORD&r"
        permission: "rank.Overlord"
        icon:
          material: PAPER
          durability: 0
          name: "&6&lOVERLORD&r"
          lore:
          - "&7Overlord tag"
      BuildLead:
        display: "&9&lBUILDLEAD&r"
        permission: "rank.BuildLead"
        icon:
          material: PAPER
          durability: 0
          name: "&9&lBUILDLEAD&r"
          lore:
          - "&7BuildLead tag"
      Builder:
        display: "&9&lBUILDER&r"
        permission: "rank.Builder"
        icon:
          material: PAPER
          durability: 0
          name: "&9&lBUILDER&r"
          lore:
          - "&7Builder tag"
      Trainee:
        display: "&3&lTRAINEE&r"
        permission: "rank.Trainee"
        icon:
          material: PAPER
          durability: 0
          name: "&3&lTRAINEE&r"
          lore:
          - "&7Trainee tag"
      Mod:
        display: "&6&lMOD&r"
        permission: "rank.Mod"
        icon:
          material: PAPER
          durability: 0
          name: "&6&lMOD&r"
          lore:
          - "&7Mod tag"
      SMod:
        display: "&f&lSMOD&r"
        permission: "rank.SMod"
        icon:
          material: PAPER
          durability: 0
          name: "&9&lSMOD&r"
          lore:
          - "&7SMod tag"
      Admin:
        display: "&c&lADMIN&r"
        permission: "rank.Admin"
        icon:
          material: PAPER
          durability: 0
          name: "&c&lADMIN&r"
          lore:
          - "&7Admin tag"
      Manager:
        display: "&c&lMANAGER&r"
        permission: "rank.Manager"
        icon:
          material: PAPER
          durability: 0
          name: "&c&lManager&r"
          lore:
          - "&7Manager tag"
      Dev:
        display: "&c&lDEV&r"
        permission: "rank.Dev"
        icon:
          material: PAPER
          durability: 0
          name: "&c&lDEV&r"
          lore:
          - "&7Dev tag"
      LT:
        display: "&4&lLT&r"
        permission: "rank.LT"
        icon:
          material: PAPER
          durability: 0
          name: "&4&lLT&r"
          lore:
          - "&7LT tag"
      Owner:
        display: "&4&lOWNER&r"
        permission: "rank.Owner"
        icon:
          material: PAPER
          durability: 0
          name: "&4&lOWNER&r"
          lore:
          - "&7Owner tag"
    There the plugin is Prefixes premium spigot. I want to order them in the GUI that pops up.
     
  4. Offline

    timtower Administrator Administrator Moderator

    @MachoPiggies Depends on the internals of the plugin, might be a random order, might be ordered as it is in the config, might be ordered by alphabet.
     
  5. Offline

    MachoPiggies

    From the order they're in now, they don't seem alphabetical. And I have ordered them how I want them into the config, but they won't show in that order.
     
  6. Offline

    timtower Administrator Administrator Moderator

  7. Offline

    MachoPiggies

  8. Offline

    timtower Administrator Administrator Moderator

  9. Offline

    MachoPiggies

    I tried, he's been inactive for a while.
     
Thread Status:
Not open for further replies.

Share This Page