summaryrefslogblamecommitdiff
path: root/manachat.json
blob: 576627882e7f01e7d31f0fd8bc6cfe83bf870018 (plain) (tree)



























































































































                                                                                  
[
  { "type"    : "title",
    "title"   : "Server" },

  { "type"    : "string",
    "title"   : "Host",
    "desc"    : "IP or hostname of the TMWA-compatible server",
    "section" : "Server",
    "key"     : "host" },

  { "type"    : "numeric",
    "title"   : "Port",
    "desc"    : "Numeric port of the TMWA-compatible login server",
    "section" : "Server",
    "key"     : "port" },

  { "type"    : "title",
    "title"   : "Player" },

  { "type"    : "string",
    "title"   : "Username",
    "desc"    : "Account name",
    "section" : "Player",
    "key"     : "username" },

  { "type"    : "password",
    "title"   : "Password",
    "desc"    : "Account password",
    "section" : "Player",
    "key"     : "password" },

  { "type"    : "string",
    "title"   : "Character name",
    "desc"    : "Character to use. The character must exist.",
    "section" : "Player",
    "key"     : "charname" },

  { "type"    : "title",
    "title"   : "Other" },

  { "type"    : "string",
    "title"   : "Online players list source",
    "desc"    : "The source of online.txt file, containing current online users.",
    "section" : "Other",
    "key"     : "online_txt_url" },

  { "type"    : "bool",
    "title"   : "Log network packets",
    "desc"    : "Used for debugging. Log file will be saved in $TEMP/netlog.txt",
    "section" : "Other",
    "key"     : "log_network_packets" },

  { "type"    : "title",
    "title"   : "Plugins" },

  { "type"    : "bool",
    "title"   : "notify",
    "desc"    : "Desktop notifications.",
    "section" : "Plugins",
    "key"     : "notify" },

  { "type"    : "bool",
    "title"   : "chatlogfile",
    "desc"    : "Log chat history to files.",
    "section" : "Plugins",
    "key"     : "chatlogfile" },

  { "type"    : "bool",
    "title"   : "shop",
    "desc"    : "Enable shop mode.",
    "section" : "Plugins",
    "key"     : "shop" },

  { "type"    : "bool",
    "title"   : "autofollow",
    "desc"    : "Add autofollow (/follow Player).",
    "section" : "Plugins",
    "key"     : "autofollow" },

  { "type"    : "title",
    "title"   : "Notifications" },

  { "type"    : "numeric",
    "title"   : "Notifications timeout",
    "desc"    : "Seconds (or milliseconds) before notifications disappear.",
    "section" : "notify",
    "key"     : "notif_timeout" },

  { "type"    : "bool",
    "title"   : "Notification sound",
    "desc"    : "Play notification sound.",
    "section" : "notify",
    "key"     : "notif_sound" },

  { "type"    : "title",
    "title"   : "Chat logs" },

  { "type"    : "path",
    "title"   : "Chat log directory",
    "desc"    : "Created automatically.",
    "section" : "chatlogfile",
    "key"     : "chatlog_dir" },

  { "type"    : "title",
    "title"   : "Shop mode" },

  { "type"    : "numeric",
    "title"   : "Max trade time",
    "desc"    : "Max time (seconds) before shop auto-cancels trade.",
    "section" : "shop",
    "key"     : "timeout" },

  { "type"    : "path",
    "title"   : "shoplist.txt file",
    "desc"    : "Path to ManaPlus-compatible shoplist.txt",
    "section" : "shop",
    "key"     : "shoplist_txt" },

  { "type"    : "path",
    "title"   : "File with shop admins",
    "desc"    : "Each line contains a name of a shop admin. Can be empty",
    "section" : "shop",
    "key"     : "admins_file" }
]