Configuration Files

Apr 20, 2016
Configuration Files
  • Configuration Files

    Default configuration files in eHub




    Code (Text):
    # +----------------------------------------------------+
    # <               eHub Configuration File              >
    # <                    = = = + = = =                   >
    # <              Thank you for using eHub!             >
    # +----------------------------------------------------+
    #  !!   More information can be found on Spigot:
    #  !!   https://www.spigotmc.org/resources/21382/
    Settings:
      # Features you dont want, can be disabled here (set them to false)
      UpdateChecker: true
      AutoBroadcast: true
      AutoBossBarBroadcast: true
      ChatControl: true
      TabList: true
      ArrowTeleporter: true
      CommandSpying: true
      NoBowMechanics: true
      BlockedCommands: true
      BungeePortals: true
      StaffChat: true
      ChatManager: true
      DoubleJump: true
      CustomJoinItems: true
      # Custom Join Items settings can be found in the joinitems.yml
      LaunchPads: true
      PlayerVisibility: true
      ServerSelector: true
      # Server Selector settings can be found in the serverselector.yml
      Titles: true
      Wardrobe: true
      # 2 = 1 Heart
      PlayerHealthScale: 20
      # Must be between 0 and 1. Default walking speed is 0.2
      PlayerWalkSpeed: 0.2

      Join:
        # Custom join message can be edited in the messages.yml if 'NoMessage' is set to false
        NoMessage: false
        Motd: true
        Firework: true
        TeleportPlayerToSpawn: true

      Quit:
        # Custom quit message can be edited in the messages.yml if 'NoMessage' is set to false
        NoMessage: false
        ClearPlayersInventory: false

      Disable:
        Damage:
          All: true
          Contact: true
          Drowning: true
          Explosion: true
          Fall: true
          Fire: true
          Lava: true
          Lightning: true
          Suffocation: true
          Mob: true
          Poison: true
          Projectile: true
          Starvation: true
          Void: true
        Player:
          Hunger: true
          ExpBar: true
        Mobs:
          # Recommended this is set to false, and peaceful mode is set to true in the server.properties
          NaturalSpawning: false

      World:
        NoRain: true
        VoidTeleportToSpawn: true

    ########################################################
    #                                                      #
    #                     Chat Manager                     #
    #                                                      #
    ########################################################
    # Vault is required for %prefix% and %suffix% to work
    ChatManager:
      Format: '&8[%prefix%&8]&7 %player% &8» &7%message%'
      StaffChat:
        Format: '&8(&cSC&8) [%prefix%&8]&7 %player% &8» &7%message%'
      SpyCommandFormat: '&f%player% &7:&f %command%'

    ########################################################
    #                                                      #
    #                     Chat Control                     #
    #                                                      #
    ########################################################
    ChatControl:
      # All Chat Control message can be changed in the messages.yml
      MoveToTalk: true
      Advertising:
        Whitelist:
          - '127.0.0.1'
          - 'mc.your-ip.com'
      Capitalization:
        MaxCapsPercentage: 30
        CapsMinLength: 4
      Spam:
        # Amount of time a player must wait between speaking (miliseconds)
        Duration: 500

    ########################################################
    #                                                      #
    #                  Command Settings                    #
    #                                                      #
    ########################################################
    # Blocked Commands message can be found in the messages.yml
    BlockedCommands:
      Commands:
        - 'about'
        - 'a'
        - 'icanhasbukkit'
        - 'bukkit:about'
        - 'bukkit:a'
        - 'bukkit:version'
        - 'bukkit:ver'
        - 'bukkit:?'
        - 'ver'
        - 'version'
        - '?'
    FakePlugins: Nothing, to, see, here

    ########################################################
    #                                                      #
    #               MOTD/Join Message Settings             #
    #                                                      #
    ########################################################
    # Join message and /motd
    Motd:
      Message:
        - '&7Welcome &a%player%&7!'
        - '&7Currently &c%online% &7players on the hub server.'
        - '&7Use the &ecompass &7or &e/server <name> &7to connect to other servers.'

    ########################################################
    #                                                      #
    #                  LaunchPads Settings                 #
    #                                                      #
    ########################################################
    LaunchPads:
      PressurePlate: 70
      Block: 152
      Force: 3
      Cooldown: 0
      ParticleEffects:
        - 'SMOKE'
      SoundEffects:
        - 'BLOCK_PISTON_EXTEND'

    ########################################################
    #                                                      #
    #              Arrow Teleporter Settings               #
    #                                                      #
    ########################################################
    ArrowTeleporter:
      ParticleEffects:
        - 'SMOKE'
      SoundEffects:
        - 'ENTITY_SNOWBALL_THROW'

    ########################################################
    #                                                      #
    #                  Broadcast Settings                  #
    #                                                      #
    ########################################################
    Broadcast:
      AutoBroadcast:
        # Time value is in seconds
        Time: 300
        Prefix: '&8[&a+&8]&7 '
        Messages:
          - 'You can edit this messages in the &cplugins/ehub/config.yml'
          - 'Thank you for using &deHub&7!'
      BossBarBroadcast:
          # Time/Timeout value is in seconds
          Time: 5
          # Color Options: BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
          # Style Options: NOTCHED_20, NOTCHED_12, NOTCHED_10, NOTCHED_6
          # Progress: between 0 and 1
          # %player% - gets the players name
          Messages:
            - 'color:RED|style:NOTCHED_20|progress:1.00|&cWelcome %player%, this is message 1!'
            - 'color:WHITE|style:NOTCHED_12|progress:0.75|&fMessage 2'
            - 'color:GREEN|style:NOTCHED_10|progress:0.50|&aMessage 3'
            - 'color:BLUE|style:NOTCHED_6|progress:0.25|&bMessage 4'

    ########################################################
    #                                                      #
    #                 Double Jump Settings                 #
    #                                                      #
    ########################################################
    DoubleJump:
      Movement:
        Height: 1.5
        Forward: 1.0
      Cooldown: 2
      ParticleEffects:
        - 'MOBSPAWNER_FLAMES'
        - 'LARGE_SMOKE'
      SoundEffects:
        - ''

    ########################################################
    #                                                      #
    #                   Wardrobe Settings                  #
    #                                                      #
    ########################################################
    # More options can be found in the messages.yml
    Wardrobe:
      Heads:
        1: 'InfoPaste'
        2: 'Notch'
        3: 'BurningFurnace'
        4: 'PC'
        5: 'Mapparere'
        6: 'Miner'
        7: 'LeftShark'
        8: 'Mario'
        9: 'iron_man'
        10: 'Santa'
        11: 'Tetris'
        12: 'Pikachubutler'
        13: 'WalkinEggs'
        14: 'xBenji118x'
        15: 'Pr0SkyNesis'
        16: 'Smaug'
        17: 'TheBadOrc'
        18: 'vire'
        19: 'Clear'
        20: 'IM_'
        21: '006'
        22: 'Richard1230'
        23: 'Axle39'
        24: 'Sloggy_Whopper'
        25: 'AverageWalrus'
        26: 'pixelgiraffe'
        27: 'MHF_Steve'
        28: 'MHF_Villager'
        29: 'MHF_WSkeleton'
        30: 'MHF_Zombie'
        31: 'MHF_OakLog'
        32: 'MHF_Exclamation '
        33: 'MHF_Question'
        34: 'Nemanja011sl'
        35: 'CaptainSparklez'

    ########################################################
    #                                                      #
    #                   Titles Settings                    #
    #                                                      #
    ########################################################
    # Tested on: 1.9
    Titles:
      JoinTitle:
        Title: '&cHello, &e%player%'
        SubTitle: '&aSelect your &egamemode&a!'
        # Timing in seconds unless set to ticks, (20 ticks in 1 second)
        SetTimingToTicks: false
        FadeInTime: 1
        StayTime: 3
        FadeOutTime: 1
      Example1:
        Title: '&cWelcome, &e%player%'
        SubTitle: '&aThis is an example title!'
        FadeInTime: 1
        StayTime: 4
        FadeOutTime: 2

    ########################################################
    #                                                      #
    #                   TabList Settings                   #
    #                                                      #
    ########################################################
    # Tested on: 1.9
    TabList:
      # In ticks, 20 ticks in 1 second
      RefreshRate: 5
      # !! Please note, the header and footer list length must be the same
      # All variables can be found on https://www.spigotmc.org/wiki/ehub-variables/
      Header:
        - |-
          &7Welcome to &e%servername%
          &aTPS&8: &e%tps%
        - |-
          &7Welcome to &a%servername%
          &aTPS&8: &a%tps%
      Footer:
        - |-
          &e%onlineplayers%&8/&e%maxplayers% &7players online
          &7Your IP&8: &f%playerip%
          &7X&8:&f %x% &8| &7Y&8:&f %y% &8| Z:%z%
        - |-
          &e%onlineplayers%&7/&e%maxplayers% &7players online
          &7Your IP&8: &7%playerip%
          &7X&8:&f %x% &8| &7Y&8:&f %y% &8| Z:%z%

    # Do not edit
    ConfigurationVersion: '0.9.0'
     
    Code (Text):

    InventorySettings:
      Title: '&5Server Selector'
      Rows: 1
      RequirePerm: false

    # Lore Variables:
    #  %max% - gets max players of a server
    #  %current% - gets current online players of a server
    #  %status% - gets the status of a server (No color)
    #  %cstatus% - gets the status of a server (Green if online, Red if offline)
    #  %motd% - gets the server motd
    #  %verison% - gets the server verison

    Items:
      3:
        Name: '&aCreative'
        ID: 277
        SubID: 0
        Server:
          IP: 'factions.server.ip'
          Port: 25564
        Lores:
          - '&7Click to join the factions server!'
          - '&7%cstatus% &7- &e%current%&7/&e%max%'
        Commands:
          Bungee: creative

      4:
        Name: '&cFactions'
        ID: 276
        SubID: 0
        Server:
          IP: 'factions.server.ip'
          Port: 25564
        Lores:
          - '&7Click to join the factions server!'
          - '&7%cstatus% &7- &e%current%&7/&e%max%'
        Commands:
          Bungee: factions

      5:
        Name: '&bSkyBlock'
        ID: 2
        Lores:
          - '&7Click to join the Skyblock server!'
        Commands:
          Bungee: skyblock

      6:
        Name: '&dPrison'
        ID: 278
        Lores:
          - '&7Click to join the Prison server!'
        Commands:
          Bungee: prison

      7:
        Name: '&eMinigames'
        ID: 2
        Lores:
          - '&7Click to join the Minigames server!'
        Commands:
          Bungee: minigames
     
    Code (Text):
    # Plugin Data

    Portals: []
  • Loading...
  • Loading...