Skip to content

Main Configuration

Stampede edited this page Nov 12, 2023 · 2 revisions

The guide explains configuring the main config.json file for SkiesKits

{
  "debug": false,
  "economy": "IMPACTOR",
  "storage": {
    "type": "SQLITE",
    "host": "localhost",
    "port": 27017,
    "database":  "skieskits",
    "username": "root",
    "password":  ""
  },
  "messages": {
    "kit_not_found": "<red>Could not find a kit named %kit_name%!",
    "kit_received": "<green>You have received the kit %kit_name%!",
    "kit_failed_uses": "<red>You cannot claim the kit %kit_name% because you have reached the max uses!",
    "kit_failed_cooldown": "<red>You cannot claim the kit %kit_name% because it's still on cooldown for another %kit_cooldown%!",
    "kit_failed_requirements": "<red>You cannot claim the kit %kit_name% because you have not met the requirements!",
    "kit_no_permission": "<red>You cannot claim the kit %kit_name% because you do not have permission!"
  }
}

Config Options

Debug

Toggles the debugging status to make finding mistakes easier. Actual errors with Kits will still be displayed even if false. This is not recommended to leave enabled as it may display a lot of information. Can also be toggled using the command /kits debug.

"debug": false

Economy

Controls the economy integration used for SkiesKits. Economy integrations are used for Currency requirements and actions. The mod will still load even if an integration is not found, but Currency requirements and actions will not function.

"economy": "IMPACTOR"

Economy Types

The following are the different types of Economy Integrations supported.

Identifier Mod
IMPACTOR Impactor
PEBBLES Pebbles Economy

Messages

Change the player facing messages of SkiesKits. These messages can be disabled per kit with the "notification": false option.

"messages": {
  "kit_not_found": "<red>Could not find a kit named %kit_name%!",
  "kit_received": "<green>You have received the kit %kit_name%!",
  "kit_failed_uses": "<red>You cannot claim the kit %kit_name% because you have reached the max uses!",
  "kit_failed_cooldown": "<red>You cannot claim the kit %kit_name% because it's still on cooldown for another %kit_cooldown%!",
  "kit_failed_requirements": "<red>You cannot claim the kit %kit_name% because you have not met the requirements!",
  "kit_no_permission": "<red>You cannot claim the kit %kit_name% because you do not have permission!"
}
Clone this wiki locally