Skip to content

Config.yml

DevTec edited this page Aug 5, 2021 · 2 revisions

Here you can find default Config.yml and explanations of some options in the config.


Default Config.yml (Plugin version 1.1)

Config.yml
Options:
  Prefix: "!#8602e1&lAmazing!#c148f3!#c148f3&lTags!#ffffff &7&l»"

  Command:
    Name: "tags"
    Permission: "amazingtags.command"
    Aliases:
    - "amazingtags"
    - "tag"

  # Database is only used to saving the selected tag 
  MySQL:
    Use: false
    username: ""
    password: ""
    hostname: ""
    port: 3306
    database: ""
    table_prefix: "amazingtags_"
    
  Tags:
    # A default tag
    Default_Tag: "Owner"
    Settings:
      # Player will see all tags in GUI even if he does not have permission (true)
      seeAll: true
      
    Default:
      Material: "NAME_TAG"
      Name: "&5&l» &7%tagname%"
      Lore:
      - "&7Info: &f%info%"
      - "&7Tag: &f%tag%"
      - ""
      - "%tag% &7%player%"
      # Permission example: amazingtags.%tagname% -> amazingtags.owner or amazingtags.default
      Permission: "amazingtags.tag.%tagname%"
      
    # Thiw will process when you select tag!
    Select:
      Sound: "ENTITY_PLAYER_LEVELUP"
      Default_select_sound: "ENTITY_PLAYER_LEVELUP"
      Commands: []
      Messages:
      - "&7&l----------------------------------------"
      - "&7You have selected tag: %tag%"
      - "&7&l----------------------------------------"

# Translation
Translation:
  noPerms: "%prefix% &cYou do not have permissions for this! &7(&5%permission%&7)"
  created_new_tag: "%prefix% &7You have created new tag! &7Tag: &d%tagname% &7Format: &d%tag%"

Tag item in GUI:

You can edit default look of tag items in GUI here.
Possible placeholders: %tagname%, %info% (info about tag, can be edited in Tags.yml), %player% (players name), %tag% (tag format, how tag will looks for example in chat).
You can also edit default tags permission here

    Default:
      Material: "NAME_TAG"
      Name: "&5&l» &7%tagname%"
      Lore:
      - "&7Info: &f%info%"
      - "&7Tag: &f%tag%"
      - ""
      - "%tag% &7%player%"
      # Permission example: amazingtags.%tagname% -> amazingtags.owner or amazingtags.default
      Permission: "amazingtags.tag.%tagname%"

Clone this wiki locally