# All permissions can be self defined in the config. If a permission is set to '' everybody has that permission

#Available options: SQLite, MySQL
Storage: SQLite
MySQL:
  Host: localhost
  Port: 3306
  UseSSL: false
  Username: root
  Password: Password
  Database: friends
  TablePrefix: fr_
  Cache: true
  # Allows the plugin to use more bandwidth for SQL requests. In most cases this will enhance performance, but in some
  # cases (very limited bandwidth or on some MySQL forks), it will cause a much worse performance.
  EnhancedDataLoading: false
  Pool:
    # Available options are HikariCP and C3P0. HikariCP is faster. Use C3P0 if you are having problems with HikariCP
    ConnectionPool: 'HikariCP'
    # You can tweak these settings to enhance the performance. The larger the pool is the more ram is used
    # and the more cpu power is used to maintain the connections. If the pool is not large enough your
    # players may experience lags when executing commands
    #
    # InitialPoolSize, IdleConnectionTestPeriod and TestConnectionOnCheckin are only used if C3P0 is used
    InitialPoolSize: 3
    MinPoolSize: 3
    MaxPoolSize: 15
    IdleConnectionTestPeriod: 290
    # This wastes performance. Only activate it if your mysql server is configured incorrectly
    # or you expect to have connection dropouts towards your mysql server.
    TestConnectionOnCheckin: false
General:
  # Activate this if you want to customize the messages in the messages.yml.
  # The messages.yml will be generated in your under "Language" chosen language
  UseOwnLanguageFile: false
  # If activated empty messages will appear as blank lines in the chat of the player
  # If disabled empty messages aren't sent to the player.
  SendBlankLines: true
  CheckForUpdates: true
  # Available languages are English and German
  Language: English
  # Activate this if you have more than a one core cpu to enhance performance
  MultiCoreEnhancement: true
  Time:
    LanguageTag: US
    # To find out which time zones are available check out https://garygregory.wordpress.com/2013/06/18/what-are-the-java-timezone-ids/
    TimeZone: 'SYSTEM_DEFAULT'
    # To find out which characters do what check out https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html
    Format: dd/MM/yyyy HH:mm:ss
  # A list of worlds which should not be automatically be joined by the whole party if the party leader joins this world
  PartyDoNotJoinTheseWorlds:
    - lobby
    - lobby1
    - lobby2
  CommandsWhichShouldBeExecutedByTheHoleParty:
    - exampleminigamecommand join arenaname
    - anotherexampleminigamecommand join arenaname
  CommandsWhichShouldBeExecutedByTheHolePartyDelayInTicks: 0
  FriendlyDamageInParty: false
  # If enabled players receive a notification about open friend requests on join
  SendFriendRequestNotificationOnJoin: true
  # If you are having a server where premium players and offline players can join
  # and another plugin provides UUID injection for premium players you have to activate this.
  ForceUUIDSupportOnOfflineServers: false
  Deactivated:
    OfflineMessages: false
  SignsWhichShouldBeClickedByTheHoleParty:
    - locx|locy|locz|world
    - locx|locy|locz|world
# Set custom names for worlds. For example, you can rename bw1123 to plays Bedwars.
WorldDisplayNames:
  # When set to true more config options will be generated after a server restart
  Use: false
Party:
  MaxPlayersPerParty:
    # If the default value is set to 0 players can have unlimited many players in a party
    Default: 0
    NoLimitPermission: ''
    AddSlotsPermissions:
      # You can create as many slot permissions as you want, by adding new sections.
      # All sections have to contain the key "Permission" and "SlotsToAdd". Just make sure to not use the same name twice
      Premium:
        Permission: de.simonsator.partyandfriends.party.addslots.premium
        SlotsToAdd: 5
      SuperPremium:
        Permission: de.simonsator.partyandfriends.party.addslots.premium
        SlotsToAdd: 10
Extensions:
  # If this option is activated supported extensions will have their config folder in the folder plugins/PartyAndFriends/extensions/EXTENSION_NAME
  UseExtensionFolderAsConfigFolder: false
GUI:
  # Should a message be sent to a player when he changes his hide mode?
  ChangedHideModeMessage: true
  # If set to false a message will be displayed that the player currently has no open friend requests
  OpenFriendRequestMenuWithoutHavingRequests: true
Commands:
  Friends:
    General:
      # Determines if the help message should be printed out when the user missuses a friend command after the error message
      PrintOutHelpOnError: true
    TopCommands:
      Friend:
        Names:
          - friend
          - friends
        Permissions: ''
        Disabled: false
      Reply:
        Names:
          - reply
          - r
        Disabled: false
        Permission: ''
      MSG:
        Names:
          - msg
          - fmsg
        Disabled: false
        Permission: ''
        MSGNonFriendsPermission: de.simonsator.partyandfriends.msg.msgnonfriends
        AllowPlayersToUseChatFormatting: true
        # If a player is in a world listed here he won't be able to receive messages via /friend msg//msg from friends.
        # If 'General.Deactivated.OfflineMessages' is not disabled the player will still receive the offline messages on
        # this server when he goes online.
        DisableMessageReceivingWorlds:
          - login1
          - login2
    SubCommands:
      Accept:
        Names:
          - accept
          - approve
        Permission: ''
        Priority: 3
        SendTextIsNowOnline: true
      Add:
        Names:
          - add
          - addfriend
        Permission: ''
        Priority: 2
        FriendRequestTimeout: 0
      Deny:
        Names:
          - deny
          - reject
        Permission: ''
        Priority: 4
      Jump:
        Names:
          - jump
          - jumpto
        Disabled: false
        Permission: ''
        Priority: 6
        DisabledWorlds:
          - login1
          - adminlobby1
      List:
        Names:
          - list
          - info
        Disabled: false
        Permission: ''
        Priority: 0
        SortElements: true
        EntriesPerPage: 10
      MSG:
        Names:
          - msg
          - message
        Disabled: false
        Permission: ''
        Priority: 1
        ReplyCommand: /friend msg [PLAYER]
      Remove:
        Names:
          - remove
          - deleteAccount
        Permission: ''
        Priority: 5
        # If activated a message is send to the person which was removed from the friend list
        UseFriendRemovedYouMessage: false
      Settings:
        Names:
          - setting
          - settings
        Disabled: false
        Permission: ''
        Priority: 7
        Settings:
          FriendRequest:
            Names:
              - friendrequest
              - receivefriendrequests
              - friendrequests
            Enabled: true
            Permission: ''
            Priority: 0
          # This setting determines if a friend can use /friend jump to teleport to the server of the user who did set the setting
          Jump:
            Names:
              - jump
              - allowjump
            Enabled: true
            Permission: ''
            Priority: 1
          # This setting determines if a friend can see the online status of the user who did set the setting
          Offline:
            Names:
              - offline
              - alwaysoffline
            Enabled: true
            Permission: ''
            Priority: 2
          # This setting determines if the user who set this setting, receives a notification when a friend of his goes online
          NotifyOnlineStatusChange:
            Names:
              - notifyonline
              - notify
            Enabled: true
            Permission: ''
            Priority: 3
          # This setting determines if friends of the user who set this setting are able to send him a private message using /friend msg
          PM:
            Names:
              - pm
              - message
              - messages
            Enabled: true
            Permission: ''
            Priority: 4
          # This setting determines if other users are able to send the user who set this setting party invitations
          PartyInvite:
            Names:
              - invite
              - party
            Enabled: true
            Permission: ''
            Priority: 5
  Party:
    General:
      # Determines if the help message should be printed out when the user missuses a party command after the error message
      PrintOutHelpOnError: true
      # If this option is activated the player will only see the commands they can currently execute when they execute /party
      PrintOnlyExecutableSubCommandsOut: true
    TeleportOnLeaderChangeWorld: true
    TopCommands:
      Party:
        Names:
          - party
          - parties
        Permissions: ''
        Disabled: false
      PartyChat:
        Names:
          - partychat
          - p
        Permissions: ''
        Disabled: false
    SubCommands:
      Join:
        Names:
          - join
          - j
        Permissions: ''
        Priority: 0
        AutoTeleportToLeaderOnJoin: false
      Deny:
        Names:
          - deny
          - decline
        Permissions: ''
        Priority: 0
        Disabled: true
      Invite:
        Names:
          - invite
          - add
        Permissions: ''
        Priority: 1
        InvitationTimeOutTimeInSeconds: 60
      InviteSetting:
        Names:
          - settings
          - setting
          - invitesetting
        Permissions: ''
        Priority: 2
        Disabled: true
      Kick:
        Names:
          - kick
          - forcedleave
        Disabled: false
        Permissions: ''
        Priority: 6
      Info:
        Names:
          - info
          - list
        Disabled: false
        Permissions: ''
        Priority: 3
      Leave:
        Names:
          - leave
          - le
        Permissions: ''
        Priority: 5
      Chat:
        Names:
          - chat
          - message
          - msg
        ReplyCommand: chat
        Disabled: false
        Permissions: ''
        Priority: 4
      Leader:
        Names:
          - leader
          - lead
        Disabled: false
        Permissions: ''
        Priority: 7
  # The pafadmin command can be only executed from the console
  PAFAdmin:
    Enabled: false
    Names:
      - pafadmin
      - adminpaf