Skip to content
goflishMC edited this page Oct 21, 2024 · 11 revisions

Overview

Each section below comprises the settings within the /fabled/config.yml file, governing the majority of the plugin’s configurations. Accounts

Players can maintain multiple accounts that progress independently, enabling them to cultivate distinct characters such as a warrior or mage. Each account’s class level, skills, and experience advance autonomously. Switching between accounts is facilitated through controlled permissions.

Accounts:
  main-class-group: 'class'
  one-per-class: 'true'
  max-accounts: '1'
  perm-accounts:
  - 'skillapi.account.admin:5'
  • main-class-group
    • This is the primary group on your server.
    • Most people use “class,” but it can be customized using any of your groups defined in groups.yml. one-per-class
    • If set to true, players are limited to one account per class.
    • Setting it to false allows players to level up multiple classes within each account.
  • max-accounts
    • Specifies the maximum number of accounts for default players.
    • Every player joining the server will have this number of accounts by default.
  • perm-accounts
    • Permission nodes to grant multiple accounts to permission groups.
    • Customize the number of accounts per group by editing the permission node.
    • Format: skillapi.account.admin..
  • Commands
    • Players need access to specific commands for managing their accounts:
      • /class acc : Switch between accounts by specifying the account ID.
      • /class profess: Profess into a class after switching accounts.
      • /class list: View a list of all accounts with their associated IDs.

Targeting

Targeting determines whether or not entities take damage.

Targeting: 
  # monsters-enemy:
  # - world1
  # - world2
  'monsters-enemy': 'false'
  # passive-ally:
  # - world1
  # - world2
  'passive-ally': 'false'
  # player-ally:
  # - world1
  # - world2
  'player-ally': 'false'
  'affect-npcs': 'false'
  'affect-armor-stands': 'false'
  • monsters-enemy

    • If set to true then all mobs are considered enemy and will take damage by skills.
    • If you are using pet plugins that lets you have hostile mobs as pets you should set this to false.
    • If you wish to designate certain worlds where all hostile mobs act as enemies, you can remove the comment markers from those lines and specify the particular worlds where hostile mobs are considered adversaries.
  • passive-ally

    • If set to true then all passive mobs are considered allies and will not take damage by skills.
    • If you have custom passive mobs that should be attacked, then set this to false.
  • player-ally

    • If set to true then all players are considered allies and will not take damage by player’s skills.
    • If you allow PVP on your server, then you should set this to false.
  • affect-npcs

    • If set to true, then NPC’s will be affected by skills and can take damage.
    • If you don’t want NPC’s to be damaged on your server, then set this to false.
  • affect-armor-stands

    • If set to true, then skills will effect armor stands.

Saving

The subsequent settings dictate the frequency of player data saving and the option to utilize a MySQL database for data storage.

Saving: 
   auto-save: 'false'
   minutes: '30'
   sql-database: 'false'
   sql-details: 
    host: 'localhost'
    port: '54321'
    database: 'plugins'
    username: 'username'
    password: 'password'
    # Time to wait on loading data from the SQL database in ticks.
    # Can be used to give time for other servers to synchronize data. Note:
    # this does not apply when loading player data on server startup since
    # players wouldn't be coming from another server.
    delay: '0'
  • auto-save
    • If set to true data will be saved every X minutes based on the setting below
    • If set to false data is saved on server shutdown. It’s recommended to enable auto saving.
  • minutes
    • How often in minutes the auto save will save player data.
    • If auto save above is set to false, this does not do anything
  • sql-database
    • If set to true, then saving will be done in your MySQL database instead of on the server
  • sql-details
    • host
      • Your database host details, this is usually localhost
    • port
      • The port of your host, this is usually 21
    • database
      • The name of your MySQL database
    • username
      • The username of your MySQL Database
    • password
      • The password of your MySQL database
    • delay
      • How long to wait on loading data from the MySQL database in ticks.
      • This is usually used when you have multiple servers connecting in a multi-server setup.
      • There are 20 ticks in 1 second

Classes

Classes: 
  'modify-health': 'true'
  'classless-hp': '20'
  'show-auto-skills': 'false'
  'attributes-enabled': 'true'
  'attributes-downgrade': 'false'
  'attributes-downgrade-price': '0'
  'level-up-skill': 'lvlup'

This info controls how class groups are handled on your server.

Clone this wiki locally