Configuration

Feb 13, 2019 at 2:39 PM
Configuration

  • Default configurations(top)

    Code (Text):

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

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

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

    ## 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
     

    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
  • Loading...
  • Loading...