Guest User

config

a guest
Feb 10th, 2019
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 11.71 KB | None | 0 0
  1. # ---------------------------------------------- #
  2. #              General Configuration             #
  3. # ---------------------------------------------- #
  4. # If you are unsure of how to use this file,     #
  5. # but would like to change how the plugin shows  #
  6. # text, visit the BukkitDev page at:             #
  7. # http://dev.bukkit.org/bukkit-plugins/skillapi/ #
  8. # and look at the default configuration section  #
  9. # ---------------------------------------------- #
  10. Accounts:
  11.  
  12.   # The main class group used for GUI displays
  13.   main-class-group: 'class'
  14.  
  15.   # Currently disabled, ignore this
  16.   one-per-class: 'false'
  17.  
  18.   # The max number of accounts a normal user can use
  19.   max-accounts: '3'
  20.  
  21.   # The max number of accounts users can have with certain permissions
  22.   # must be in the format '<permission>:<accounts>'
  23.   perm-accounts:
  24.   - 'skillapi.account.admin:10'
  25.  
  26. # While targeting settings aren't necessary most of the time,
  27. # they can help make running ally checks much faster if
  28. # you are able to use them.
  29. Targeting:
  30.  
  31.   # Whether or not all monsters are enemies.
  32.   # If you are using pets that include zombies/spiders/etc,
  33.   # you shouldn't enable this.
  34.   # If you want to enable it for specific worlds, list out the
  35.   # worlds it should apply to in a list format such as:
  36.   # monsters-enemy:
  37.   # - world1
  38.   # - world2
  39.   monsters-enemy: 'false'
  40.  
  41.   # Whether or not all passive mobs are allies.
  42.   # If there are custom passive mobs that you can fight,
  43.   # you should not enable this.
  44.   # If you want to enable it for specific worlds, list out the
  45.   # worlds it should apply to in a list format such as:
  46.   # passive-ally:
  47.   # - world1
  48.   # - world2
  49.   passive-ally: 'false'
  50.  
  51.   # Whether or not all players are allies.
  52.   # If you have any PvP, this should not be enabled.
  53.   # If you want to enable it for specific worlds, list out the
  54.   # worlds it should apply to in a list format such as:
  55.   # player-ally:
  56.   # - world1
  57.   # - world2
  58.   player-ally: 'false'
  59.  
  60. Saving:
  61.  
  62.   # Whether or not to auto save data periodically
  63.   auto-save: 'false'
  64.  
  65.   # How often to auto-save in minutes
  66.   minutes: '30'
  67.  
  68.   # Whether or not to use an SQL database to save
  69.   sql-database: 'false'
  70.  
  71.   # Details for connecting to the database
  72.   sql-details:
  73.     host: 'localhost'
  74.     port: '54321'
  75.     database: 'plugins'
  76.     username: 'username'
  77.     password: 'password'
  78.  
  79. Classes:
  80.  
  81.   # Whether or not to use SkillAPI's health system
  82.   modify-health: 'true'
  83.  
  84.   # The default health for players without a class
  85.   classless-hp: '20'
  86.  
  87.   # Whether or not non-castable auto-leveled skills are shown
  88.   show-auto-skills: 'false'
  89.  
  90.   # Whether or not attributes are enabled
  91.   attributes-enabled: 'false'
  92.  
  93.   # Whether or not attributes can be refunded
  94.   attributes-downgrade: 'false'
  95.  
  96.   # This casts the dynamic skill for the player when they level up,
  97.   # allowing you to use dynamic mechanics for level up effects. If
  98.   # there is no existing dynamic skill with the name, no effect
  99.   # will be played. For level-specific effects, use the level condition.
  100.   level-up-skill: 'lvlup'
  101.  
  102. Mana:
  103.  
  104.   # Whether or not to use SkillAPI's mana system
  105.   enabled: 'true'
  106.  
  107.   # How frequently mana is gained in seconds
  108.   freq: '1'
  109.  
  110. Skills:
  111.  
  112.   # Whether or not players are allowed to downgrade skills
  113.   allow-downgrade: 'true'
  114.  
  115.   # Whether or not messages should be shown on casting a skill
  116.   show-messages: 'true'
  117.  
  118.   # The radius in which to show cast messages to nearby players
  119.   message-radius: '20'
  120.  
  121.   # Whether or not to apply damage knockback when damage is blocked
  122.   # by defensive or offesnive buffs and debuffs
  123.   knockback-no-damage: 'false'
  124.  
  125.   # Blocks to ignore when using the Block mechanic in dynamic skills
  126.   # End values in an * to do all materials containing the value
  127.   block-filter:
  128.   - 'chest'
  129.   - 'ender chest'
  130.   - 'trapped chest'
  131.   - 'redstone*'
  132.   - 'wall sign'
  133.   - 'sign post'
  134.  
  135. Items:
  136.  
  137.   # Whether or not to check for class, level, and attribute
  138.   # requirements in an item's lore
  139.   lore-requirements: 'false'
  140.  
  141.   # Whether or not to check for skill requirements
  142.   # in an item's lore
  143.   skill-requirements: 'false'
  144.  
  145.   # Whether or not to check for stat bonuses in an item's lore
  146.   lore-attributes: 'false'
  147.  
  148.   # Whether or not to drop weapons when unable to use them
  149.   drop-weapon: 'false'
  150.  
  151.   # The text used for class requirements in the lore
  152.   lore-class-text: 'Class Req: '
  153.  
  154.   # The text used for skill requirements in lore
  155.   lore-skill-text: 'Requires {skill}: '
  156.  
  157.   # the text used for level requirements in the lore
  158.   lore-level-text: 'Level Req: '
  159.  
  160.   # The text used for excluded classes in the lore
  161.   lore-exclude-text: 'Excluded Class: '
  162.  
  163.   # The text used for attribute requirements
  164.   lore-attribute-text: '{attr} Req: '
  165.  
  166.   # The text used for providing attributes
  167.   attribute-text: '{attr}: '
  168.  
  169.   # How many players to check for the requirements each tick
  170.   # This should be increased on larger servers to prevent
  171.   # large delays before the same player is checked again
  172.   players-per-check: '1'
  173.  
  174. GUI:
  175.  
  176.   # Whether or not to lock the health bar to 10 hearts
  177.   # This does not affect total health, only the display
  178.   old-health-bar: 'false'
  179.  
  180.   # Whether or not to force SkillAPI to override
  181.   # health scaling of other plugins
  182.   force-scaling: 'false'
  183.  
  184.   # This is what to display using the level bar, if anything.
  185.   # Options are: none, mana, level
  186.   level-bar: 'none'
  187.  
  188.   # This is what to display using the food bar, if anything.
  189.   # Options are: none, mana, exp
  190.   food-bar: 'none'
  191.  
  192.   # Whether or not to use the action bar
  193.   use-action-bar: 'true'
  194.  
  195.   # The text to display on the action bar.
  196.   # Available filters:
  197.   #   {combo}       - the player's current click combo
  198.   #   {class}       - the player's main class name
  199.   #   {level}       - the player's main class level
  200.   #   {exp}         - the player's main class exp
  201.   #   {expReq}      - the player's main class required experience
  202.   #   {expLeft}     - the player's main class experience until the next level
  203.   #   {health}      - the player's current health
  204.   #   {maxHealth}   - the player's max health
  205.   #   {mana}        - the player's current mana
  206.   #   {maxMana}     - the player's max mana
  207.   #   {name}        - the name of the player
  208.   #   {attr}        - the player's attribute points
  209.   #   {sp}          - the player's main class skill points
  210.   #   {value:<key>} - a skill value
  211.   action-bar-text: '&l&a{name}/{class} &eLevel:{level} &6次のレベルまで{expLeft} &c体力:{health}/{maxHealth} &bマナ:{mana}/{maxMana} &5SP:{sp}'
  212.  
  213.   # Whether or not to use title messages
  214.   title-enabled: 'false'
  215.  
  216.   # Duration for title messages in seconds
  217.   title-duration: '3'
  218.  
  219.   # Fade in time for title messages in seconds
  220.   title-fade-in: '0.5'
  221.  
  222.   # Fade out time for title messages in seconds
  223.   title-fade-out: '0.5'
  224.  
  225.   # Messages to display using the Title bar
  226.   # Second lines of messages will be displayed in the subtitle
  227.   # Ones you can use include:
  228.   #   level_up
  229.   #   exp_gained
  230.   #   exp_lost
  231.   #   status
  232.   title-messages:
  233.   - 'level_up'
  234.   - 'exp_lost'
  235.  
  236.   # Whether or not to display class information on a scoreboard
  237.   scoreboard-enabled: 'true'
  238.  
  239.   # Whether or not to add a prefix to players with their class name
  240.   show-class-name: 'true'
  241.  
  242.   # Whether or not to display a player's level below their name
  243.   show-class-level: 'true'
  244.  
  245.   # The text to show with the player's level when enabled.
  246.   # This always appears as {level} {text}
  247.   class-level-text: 'Level'
  248.  
  249.   # Whether or not to use map trees instead of the regular ones
  250.   # View map.yml for further customization for this option
  251.   # Also add more schemes by adding folders in the "img" folder
  252.   # Allow for both map skill trees and regular ones by setting
  253.   # this to "partial"
  254.   map-tree-enabled: 'false'
  255.  
  256. Click Combos:
  257.  
  258.   # Whether or not to use click combinations
  259.   enabled: 'false'
  260.  
  261.   # Whether or not players can customize their combos
  262.   allow-custom: 'false'
  263.  
  264.   # Whether or not left clicks are allowed at all
  265.   use-click-left: 'true'
  266.  
  267.   # Whether or not right clicks are allowed at all
  268.   use-click-right: 'true'
  269.  
  270.   # Whether or not shift clicks are allowed at all
  271.   use-click-shift: 'false'
  272.  
  273.   # How many clicks are needed to perform a combo
  274.   combo-size: '4'
  275.  
  276.   # Inactivity time in seconds before clicks for a combo are reset
  277.   click-time: '1.0'
  278.  
  279. Skill Bar:
  280.  
  281.   # Whether or not to use skill bars
  282.   enabled: 'false'
  283.  
  284.   # Whether or not to show skill cooldowns in the skill bar
  285.   show-cooldown: 'true'
  286.  
  287.   # The item to use as a placeholder in the skill bar
  288.   empty-icon:
  289.     material: 'PUMPKIN_SEEDS'
  290.     data: '0'
  291.     text: '&7Unassigned'
  292.  
  293.   # The default layout for skill bars
  294.   # Players can customize unlocked slots
  295.   layout:
  296.     1:
  297.       skill: 'true'
  298.       locked: 'false'
  299.     2:
  300.       skill: 'true'
  301.       locked: 'false'
  302.     3:
  303.       skill: 'true'
  304.       locked: 'false'
  305.     4:
  306.       skill: 'true'
  307.       locked: 'false'
  308.     5:
  309.       skill: 'true'
  310.       locked: 'false'
  311.     6:
  312.       skill: 'false'
  313.       locked: 'false'
  314.     7:
  315.       skill: 'false'
  316.       locked: 'false'
  317.     8:
  318.       skill: 'false'
  319.       locked: 'false'
  320.     9:
  321.       skill: 'false'
  322.       locked: 'false'
  323.  
  324. Experience:
  325.  
  326.   # Whether or not to use vanilla exp drops for class exp
  327.   # Note: any dropped exp will not count towards class exp,
  328.   # only enabled sources will count. By default, this is only
  329.   # mob deaths.
  330.   use-exp-orbs: 'true'
  331.  
  332.   # Whether or not to prevent gaining experience from mobs
  333.   # spawned via a mob spawner block
  334.   block-mob-spawner: 'true'
  335.  
  336.   # Whether or not to prevent gaining experience from mobs
  337.   # spawned via a mob spawn egg
  338.   block-mob-egg: 'true'
  339.  
  340.   # Whether or not to prevent gaining experience while
  341.   # in creative mode
  342.   block-creative: 'true'
  343.  
  344.   # Whether or not to display a message when gaining experience
  345.   exp-message-enabled: 'true'
  346.  
  347.   # Whether or not to display a message when gaining a level
  348.   level-message-enabled: 'true'
  349.  
  350.   # Whether or not to show a message when losing exp de to dying
  351.   lose-exp-message: 'true'
  352.  
  353.   # The formula used for calculating required experience
  354.   # The formula is: x*lvl*lvl + y*lvl + z
  355.   formula:
  356.     x: '1'
  357.     y: '8'
  358.     z: '16'
  359.  
  360.   # Whether or not to use a custom equation
  361.   use-custom: 'false'
  362.  
  363.   # The custom formula to use with 'lvl' being the current player level
  364.   custom-formula: '25(1.1^(lvl-1))'
  365.  
  366.   # The experience yields from each mob type
  367.   # When exp orbs are enabled, these values are ignored
  368.   yields:
  369.     blaze: '10'
  370.     cavespider: '5'
  371.     creeper: '3'
  372.     elderguardian: '10'
  373.     enderdragon: '400'
  374.     enderman: '5'
  375.     endermite: '3'
  376.     ghast: '5'
  377.     giant: '20'
  378.     guardian: '10'
  379.     irongolem: '10'
  380.     magmacube: '1'
  381.     pigzombie: '5'
  382.     player: '5'
  383.     shulker: '5'
  384.     silverfish: '2'
  385.     skeleton: '3'
  386.     slime: '1'
  387.     spider: '3'
  388.     witch: '3'
  389.     wither: '500'
  390.     witherskeleton: '5'
  391.     zombie: '2'
  392.  
  393. # How much logging to do when loading SkillAPI
  394. # When testing setting up skills/classes, increase this to 1-5
  395. Logging:
  396.  
  397.   # Logs for loading attributes
  398.   attribute-load: '0'
  399.  
  400.   # Logs for attack/defense buffs applying
  401.   buff: '0'
  402.  
  403.   # Logs for registration of skills and classes
  404.   registration: '0'
  405.  
  406.   # Logs for GUI updates
  407.   gui: '0'
  408.  
  409.   # Logs for mana updates
  410.   mana: '0'
  411.  
  412. Worlds:
  413.  
  414.   # Whether or not to enable the world restriction
  415.   enable: 'false'
  416.  
  417.   # Whether or not to use the list as an enabling list
  418.   # If true, only worlds in the list will let players use SkillAPI
  419.   # If false, any world not in the list will let players use SkillAPI
  420.   use-as-enabling: 'true'
  421.  
  422.   # The worlds to include in the enable/disable list
  423.   worlds:
  424.   - 'world'
Add Comment
Please, Sign In to add comment