Advertisement
Guest User

config.yml

a guest
Oct 4th, 2017
1,624
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 10.15 KB | None | 0 0
  1. #+------------------------------------------------------------+
  2. #|               Divine Items RPG 2.0 Beta                    |
  3. #|                 Created by CapitalisM                      |
  4. #|                Thanks for the purchase!                    |
  5. #|   If you really like this plugin, please leave a review!   |
  6. #|      Let me know if you have any problems/questions        |
  7. #+------------------------------------------------------------+
  8. ##-------------------------------------------------------------------------
  9. #                      QUICK CONFIG GUIDE
  10. #           Here maybe some grammar errors (mistakes?)
  11. #
  12. # - Hooks
  13. # Use only ONE of this.
  14. # Use it for class and level restrictions in items.
  15. #
  16. # ========= GLOBAL ===========
  17. # - DamageFormula
  18. # Change it if you want to modify the damage.
  19. # Change it only if you know how it works.
  20. #
  21. # - DamageReduceCooldown
  22. # Defines damage reducing if weapon is on cooldown.
  23. # So settings this to 1.0 will return 0 damage when your attack indicator is not complete
  24. # Set to 0.0 to disable.
  25. #
  26. # - BreakItems
  27. # Defines if items will broke when the durability is 0.
  28. # Setting this to false will save items but unable to use while it's broken.
  29. #
  30. # - AttributeFormat
  31. # Lore format for item attributes (stats)
  32. #
  33. # - DamageTypeFormat
  34. # Lore format for item damage types
  35. #
  36. # ========= COMBAT LOG ===========
  37. # - Chat
  38. # Enable/Disable combat messages in chat
  39. #
  40. # - ActionBar
  41. # Enable/Disable combat messages in action bar
  42. #
  43. # - Indicators
  44. # Enable/Disable combat indicators upon entity head
  45. # REQUIRE: HolographicDisplays
  46. #
  47. # ========= DROP RATES ===========
  48. # Defines global drop rates for all plugin stuff.
  49. # Multipliers are increasing drop rates for some player groups.
  50. # 1.0 is 100% | 0.1 is 10% | 0.01 is 1%
  51. # Permission for multipliers is ditems.group.<Group>
  52. #
  53. # ========= DAMAGE MODIFIERS ===========
  54. # Here you can define how many damage will take mobs and players from specified damage cause.
  55. # All damage causes could be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
  56. #
  57. # ========= DAMAGE TYPES ===========
  58. # Here you can modify damage types that provided by DivineItems
  59. # Adding custom damage types currently impossible.
  60. # Actions list:
  61. # - [BUFF] <ATTRIBUTE> <VALUE> <TIME> - Add a buff for specified attribute to player.
  62. # - [POTION] <POTION_EFFECT> <LEVEL> <DURATION> - Add a potion effect to player
  63. # - [MESSAGE] <TEXT> - Sends a message to player
  64. # - [ACTION_BAR] <TEXT> - Sends a message to player's action bar
  65. # - [TITLE] <TEXT> <SHOW_IN> <STAY_IN> <HIDE_IN> - Sends a title to player
  66. # - [SUB_TITLE] <TEXT> <SHOW_IN> <STAY_IN> <HIDE_IN> - Sends a subtitle to player
  67. # - [EFFECT] <NAME> <X-OFFSET> <Y-OFFSET> <Z-OFFSET> <SPEED> <AMOUNT> - Play particle effect.
  68. # - [COMMAND] <COMMAND> - Run a command from console.
  69. # - [PLAYER_COMMAND] <COMMAND> - Run a command by player.
  70. # - [TELEPORT] <WORLD> <X> <Y> <Z> - Teleport a player to specified location.
  71. # - [SOUND] <SOUND> - Play sound.
  72. #
  73. # ========= ATTRIBUTES ===========
  74. # Here you can modify item attributes that provided by DivineItems
  75. #
  76. # ========= VALUES ===========
  77. # Here you can change some lore design details
  78. #
  79. # ========= RESTRICTIONS ===========
  80. # - Untradeable
  81. # Item with this lore will be binded with first player who used it,
  82. # and then another player will not able to use this item.
  83. #
  84. # - Level
  85. # Item can be used only by players with enough level.
  86. #
  87. # - Class (Require any class plugin, see Hooks)
  88. # Item can be used only by players with specified classes
  89. #
  90. # - Soulbound
  91. # Item can be used only after player set soulbound to them.
  92. # After that item will be 'untradeable'.
  93. #
  94. #-------------------------------------------------------------------------
  95. Hooks:
  96.   SkillAPI: false
  97.   BattleLevels: false
  98.   Skills: false
  99.   DivineClassesRPG: false
  100.   Heroes: false
  101.  
  102. Global:
  103.   DamageFormula:
  104.     phys: '((%phys_dmg% * (1 + %penetrate% / 100)) - (%phys_def% / 10))'
  105.     magic: '((%magic_dmg% * (1 + %penetrate% / 100)) - (%magic_def% / 10))'
  106.     fire: '((%fire_dmg% * (1 + %penetrate% / 100)) - (%fire_def% / 10))'
  107.     poison: '((%poison_dmg% * (1 + %penetrate% / 100)) - (%poison_def% / 10))'
  108.     water: '((%water_dmg% * (1 + %penetrate% / 100)) - (%water_def% / 10))'
  109.     wind: '((%wind_dmg% * (1 + %penetrate% / 100)) - (%wind_def% / 10))'
  110.     total: '(%phys% + %magic% + %fire% + %poison% + %water% + %wind%) * (1 + (%pvpe_dmg% - %pvpe_def%) / 100) * %crit% * (1 + %block% / 100)'
  111.   DamageReduceCooldown: 0.0
  112.   BreakItems: true
  113.   AttributeFormat: '%att_prefix% %att_name%: %att_value%'
  114.   DamageTypeFormat: '%type_prefix% %type_name%: %type_value%'
  115.  
  116. CombatLog:
  117.   Output:
  118.     Chat: true
  119.     ActionBar: true
  120.   Messages:
  121.     Default: true
  122.     Critical: true
  123.     Dodge: true
  124.     Block: true
  125.   Sounds:
  126.     Default:
  127.       Enabled: true
  128.       Value: ENTITY_IRONGOLEM_ATTACK
  129.     Critical:
  130.       Enabled: true
  131.       Value: ENTITY_GENERIC_EXPLODE
  132.     Dodge:
  133.       Enabled: true
  134.       Value: ENTITY_COW_MILK
  135.     Block:
  136.       Enabled: true
  137.       Value: BLOCK_ANVIL_PLACE
  138.   Indicators:
  139.     Enabled: false
  140.  
  141. DropRates:
  142.   ITEM: 0.1
  143.   GEM: 0.05
  144.   ENCHANT: 0.03
  145.   RUNE: 0.02
  146.   ABILITY: 0.01
  147.   SCROLL: 0.04
  148.   Multipliers:
  149.     VIP: 1.25
  150.     Premium: 1.45
  151.     Gold: 1.75
  152.  
  153. DamageModifiers:
  154.   ENTITY_ATTACK:
  155.     PLAYER: 1.0
  156.     MOB: 1.0
  157.   FIRE:
  158.     PLAYER: 1.0
  159.     MOB: 1.0
  160.   POISON:
  161.     PLAYER: 2.15
  162.     MOB: 2.0
  163.  
  164. DamageTypes:
  165.   PHYSICAL:
  166.     Enabled: true
  167.     Prefix: '&6⚔'
  168.     Name: 'Physical'
  169.     Value: '&f'
  170.     HitActions: []
  171.   MAGICAL:
  172.     Enabled: true
  173.     Prefix: '&d⚡'
  174.     Name: 'Magical'
  175.     Value: '&f'
  176.     HitActions:
  177.    - '[EFFECT] MAGICAL 0.5 0.5 0.5 0.05 50'
  178.   FIRE:
  179.     Enabled: true
  180.     Prefix: '&c☀'
  181.     Name: 'Fire'
  182.     Value: '&f'
  183.     HitActions:
  184.    - '[EFFECT] FLAME 0.5 0.5 0.5 0.05 50'
  185.   POISON:
  186.     Enabled: true
  187.     Prefix: '&a☣'
  188.     Name: 'Poison'
  189.     Value: '&f'
  190.     HitActions:
  191.    - '[EFFECT] SLIME 0.5 0.5 0.5 0.05 50'
  192.   WATER:
  193.     Enabled: true
  194.     Prefix: '&9⚓'
  195.     Name: 'Water'
  196.     Value: '&f'
  197.     HitActions:
  198.    - '[EFFECT] DRIP_WATER 0.5 0.5 0.5 0.05 50'
  199.   WIND:
  200.     Enabled: true
  201.     Prefix: '&7⚕'
  202.     Name: 'Wind'
  203.     Value: '&f'
  204.     HitActions:
  205.    - '[EFFECT] SMOKE_NORMAL 0.5 0.5 0.5 0.05 50'
  206.  
  207. Attributes:
  208.   DAMAGE:
  209.     Name: 'Damage'
  210.     Prefix: '&a▸'
  211.     Value: '&f'
  212.     Bonus: '&6⏏&f'
  213.   PVP_DAMAGE:
  214.     Name: 'PvP Damage'
  215.     Prefix: '&b▸'
  216.     Value: '&f'
  217.     Bonus: '&6⏏&f'
  218.   PVE_DAMAGE:
  219.     Name: 'PvE Damage'
  220.     Prefix: '&b▸'
  221.     Value: '&f'
  222.     Bonus: '&6⏏&f'
  223.   DODGE_RATE:
  224.     Name: 'Dodge Rate'
  225.     Prefix: '&6▸'
  226.     Value: '&f'
  227.     Bonus: '&6⏏&f'
  228.   ACCURACY_RATE:
  229.     Name: 'Accuracy Rate'
  230.     Prefix: '&6▸'
  231.     Value: '&f'
  232.     Bonus: '&6⏏&f'
  233.   BLOCK_RATE:
  234.     Name: 'Block Rate'
  235.     Prefix: '&6▸'
  236.     Value: '&f'
  237.     Bonus: '&6⏏&f'
  238.   BLOCK_DAMAGE:
  239.     Name: 'Block Damage'
  240.     Prefix: '&6▸'
  241.     Value: '&f'
  242.     Bonus: '&6⏏&f'
  243.   CRITICAL_RATE:
  244.     Name: 'Crit. Strike Rate'
  245.     Prefix: '&a▸'
  246.     Value: '&f'
  247.     Bonus: '&6⏏&f'
  248.   CRITICAL_DAMAGE:
  249.     Name: 'Crit. Strike Dmg'
  250.     Prefix: '&a▸'
  251.     Value: '&f'
  252.     Bonus: '&6⏏&f'
  253.   DEFENSE:
  254.     Name: 'Physical Defense'
  255.     Prefix: '&a▸'
  256.     Value: '&f'
  257.     Bonus: '&6⏏&f'
  258.   PVP_DEFENSE:
  259.     Name: 'PvP Defense'
  260.     Prefix: '&b▸'
  261.     Value: '&f'
  262.     Bonus: '&6⏏&f'
  263.   PVE_DEFENSE:
  264.     Name: 'PvE Defense'
  265.     Prefix: '&b▸'
  266.     Value: '&f'
  267.     Bonus: '&6⏏&f'
  268.   POISON_DEFENSE:
  269.     Name: 'Poison Defense'
  270.     Prefix: '&a▸'
  271.     Value: '&f'
  272.     Bonus: '&6⏏&f'
  273.   FIRE_DEFENSE:
  274.     Name: 'Fire Defense'
  275.     Prefix: '&c▸'
  276.     Value: '&f'
  277.     Bonus: '&6⏏&f'
  278.   MAGIC_DEFENSE:
  279.     Name: 'Magic Defense'
  280.     Prefix: '&d▸'
  281.     Value: '&f'
  282.     Bonus: '&6⏏&f'
  283.   WATER_DEFENSE:
  284.     Name: 'Water Defense'
  285.     Prefix: '&9▸'
  286.     Value: '&f'
  287.     Bonus: '&6⏏&f'
  288.   WIND_DEFENSE:
  289.     Name: 'Wind Defense'
  290.     Prefix: '&7▸'
  291.     Value: '&f'
  292.     Bonus: '&6⏏&f'
  293.   MOVEMENT_SPEED:
  294.     Name: 'Movement Speed'
  295.     Prefix: '&e▸'
  296.     Value: '&f'
  297.     Bonus: '&6⏏&f'
  298.   DURABILITY:
  299.     Name: 'Durability'
  300.     Prefix: '&a▸'
  301.     Value: '&f'
  302.     Bonus: '&6⏏&f'
  303.   DURABILITY_UNBREAK:
  304.     Name: 'Durability'
  305.     Prefix: '&a▸'
  306.     Value: '&f&lUnbreakable'
  307.     Bonus: '&6⏏&f'
  308.   PENETRATION:
  309.     Name: 'Armor Penetration'
  310.     Prefix: '&c▸'
  311.     Value: '&f'
  312.     Bonus: '&6⏏&f'
  313.   VAMPIRISM:
  314.     Name: 'Vampirism'
  315.     Prefix: '&c▸'
  316.     Value: '&f'
  317.     Bonus: '&6⏏&f'
  318.   ATTACK_SPEED:
  319.     Name: 'Attack Speed'
  320.     Prefix: '&e▸'
  321.     Value: '&f'
  322.     Bonus: '&6⏏&f'
  323.  
  324. Values:
  325.   DamageSeparator: ' &7- '
  326.   DurabilitySeparator: '&7/'
  327.   Percent: '%'
  328.   Negative: '&c'
  329.   Positive: '&a+'
  330.   Modifier: 'x'
  331.  
  332. Restrictions:
  333.   Untradeable: '&7[Untradeable]; [Unable to sell on auction]'
  334.   Level: '&cRequire %n level to use.'
  335.   Class: '&cOnly for: '
  336.   Soulbound: '&cRequire Soulbound to use!'
  337.   SoulboundSet: '&2Soulbounded with &a%p'
  338.   CmdBlock:
  339.  - /market
  340.   - /auc
  341.   - /ah
  342.   BindToPlayer:
  343.     OnItemDrop: true
  344.     OnItemPickup: true
  345.     OnItemClick: true
  346.     OnItemInteract: true
  347.  
  348. ItemGroups:
  349.   Weapons:
  350.  - WOOD_SWORD
  351.   - WOOD_AXE
  352.   - STONE_SWORD
  353.   - STONE_AXE
  354.   - GOLD_SWORD
  355.   - GOLD_AXE
  356.   - IRON_SWORD
  357.   - IRON_AXE
  358.   - DIAMOND_SWORD
  359.   - DIAMOND_AXE
  360.   - SHEARS
  361.   - FISHING_ROD
  362.   - BOW
  363.   Tools:
  364.  - WOOD_HOE
  365.   - WOOD_AXE
  366.   - WOOD_SPADE
  367.   - WOOD_PICKAXE
  368.   - STONE_HOE
  369.   - STONE_AXE
  370.   - STONE_SPADE
  371.   - STONE_PICKAXE
  372.   - GOLD_HOE
  373.   - GOLD_AXE
  374.   - GOLD_SPADE
  375.   - GOLD_PICKAXE
  376.   - IRON_HOE
  377.   - IRON_AXE
  378.   - IRON_SPADE
  379.   - IRON_PICKAXE
  380.   - DIAMOND_HOE
  381.   - DIAMOND_AXE
  382.   - DIAMOND_SPADE
  383.   - DIAMOND_PICKAXE
  384.   - SHEARS
  385.   - FISHING_ROD
  386.   Armors:
  387.  - LEATHER_HELMET
  388.   - LEATHER_CHESTPLATE
  389.   - LEATHER_LEGGINGS
  390.   - LEATHER_BOOTS
  391.   - GOLD_HELMET
  392.   - GOLD_CHESTPLATE
  393.   - GOLD_LEGGINGS
  394.   - GOLD_BOOTS
  395.   - CHAINMAIL_HELMET
  396.   - CHAINMAIL_CHESTPLATE
  397.   - CHAINMAIL_LEGGINGS
  398.   - CHAINMAIL_BOOTS
  399.   - IRON_HELMET
  400.   - IRON_CHESTPLATE
  401.   - IRON_LEGGINGS
  402.   - IRON_BOOTS
  403.   - DIAMOND_HELMET
  404.   - DIAMOND_CHESTPLATE
  405.   - DIAMOND_LEGGINGS
  406.   - DIAMOND_BOOTS
  407.   - SHIELD
  408.  
  409. # DO NOT TOUCH!!!
  410. cfg_version: 2.0.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement