Configuration

Apr 2, 2020
Configuration

  • Default configurations(top)

    Code (Text):

    # ------------------------------------ #
    #
    #  ArcadeBoard
    #  (c) Maxim Van de Wynckel
    #
    # ------------------------------------ #

    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
    # GENERAL PLUGIN SETTINGS
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

    ## Config version (DO NOT EDIT)
    config: 2

    ## Language file
    lang: 'en'

    ## Debug mode
    debug: false

    ## Log to file
    log:
      enabled: true
      # Reset log on startup
      reset: true

    ## Update checking
    update:
    # RECOMMENDED YOU LEAVE THIS TRUE
    # Support for older versions is not provided
      check: true


    # Database settings
    # These settings are mainly used by games to store
    # information such as settings or high scores.
    # It is also used to store the URL and HASH of the uploaded
    # resource pack, to make sure it does not get uploaded again
    # when you restart your server (faster startup).
    database:
      # If you want games to store data for players like score, statistics, ...
      # you have to enable persistence
      persistent: true
      # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
      # with isolation, url, driver, ...
      # Database name
      database: "arcadeboard"
      # Database username
      username: bukkit
      # Database password
      password: walrus
      # Database driver URL
      # {DIR} will be replaced with the plugin directory
      # {NAME} will be replaced wit the plugin name
      url: jdbc:sqlite:{DIR}{NAME}.db
      # Save interval in ticks
      save-interval: 6000

    # Games GUI settings (/ab play)
    games-gui:
      # Menu title
      title: "&f&lArcadeBoard Games"

    gameplay:
      ui-override:
         # Action when the scoreboard or game UI gets removed by another plugin
         #  PREVENT           - Prevent the ui from being removed
         #  QUIT              - Quit the game
        action: PREVENT
      combat:
        # Quit the game when the sender is
        # being attacked.
        # Progress will be lost
        quit: true
      chat:
        # This will prevent any chat messages from being
        # sent to the player.
        hide-in: true
        # This will prevent any chat messages that are being
        # sent by the player who is playing to be shown.
        hide-out: true

    resource-pack:
      upload-destination:
        mcpack:
          enabled: true
        minepack:
          enabled: false
        # Local resource pack location
        #   Use this when you have a webserver running on the same
        #   server as your minecraft server
        local:
          enabled: false
          # Directory where to store the ZIP files of the resource packs
          directory: "/var/www/"
          # URL of the root of the above directory
          url: "http://myserver.com/"
        # SFTP server resource pack location
        #   Use this when you have a remote web server
        #   that uses SFTP with password auth
        sftp:
          enabled: false
          username: "root"
          password: ""
          remote-directory: "/var/www/"
          server: "myserver.com"
          port: 22
          url: "http://myserver.com/"
        # FTP server resource pack location
        #   Use this when you have a remote web server
        ftp:
          enabled: false
          username: "root"
          password: ""
          remote-directory: "/var/www/"
          server: "myserver.com"
          port: 21
          url: "http://myserver.com/"
        # FTPS server resource pack location
        #   Use this when you have a remote web server
        #   NOTE: This is not SFTP!
        ftps:
          enabled: false
          username: "root"
          password: ""
          remote-directory: "/var/www/"
          server: "myserver.com"
          port: 21
          url: "http://myserver.com/"
        # Manually upload the resource pack
        #   In this case you have to manually uplaod the resource pack and update the URL
        #   The resource pack can be found in /plugins/ArcadeBoard/resource-pack/...
        manual:
          enabled: false
          url: "http://myserver.com/myresourcepack.zip"
     

    Main configuration(top)

    General settings(top)

    lang
    This config setting will set the locale file that will be used for translations.

    log
    This applies to the log file that contains errors and other valuable information for troubleshooting problems. However when a lot of errors occur this file can become very big.

    If you think you got ArcadeBoard working without need for support you can turn this off.

    update
    Update checking will contact spigot to check for a new version. Operators will get a message ingame when they log in with an update notification.

    Plugin specific settings(top)


    Database(top)

    The database is used to store game settings, plugin settings and lots more. It is a requirement for a efficient use of the plugin.

    Default the plugin uses an SQLite database. You can configure it to use MySQL or any other available JDBC driver.

    Example:
    jdbc:mysql://localhost:3306/mycutedatabase

    Resource Pack Upload Destination(top)


    SFTP(top)

    FTP & FTPS(top)

    Manual(top)

    Local(top)

    Others(top)
  • Loading...
  • Loading...