Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #+------------------------------------------------------------+
- #| Divine Items RPG 2.0 Beta |
- #| Created by CapitalisM |
- #| Thanks for the purchase! |
- #| If you really like this plugin, please leave a review! |
- #| Let me know if you have any problems/questions |
- #+------------------------------------------------------------+
- ##-------------------------------------------------------------------------
- # QUICK CONFIG GUIDE
- # Here maybe some grammar errors (mistakes?)
- #
- # - Hooks
- # Use only ONE of this.
- # Use it for class and level restrictions in items.
- #
- # ========= GLOBAL ===========
- # - DamageFormula
- # Change it if you want to modify the damage.
- # Change it only if you know how it works.
- #
- # - DamageReduceCooldown
- # Defines damage reducing if weapon is on cooldown.
- # So settings this to 1.0 will return 0 damage when your attack indicator is not complete
- # Set to 0.0 to disable.
- #
- # - BreakItems
- # Defines if items will broke when the durability is 0.
- # Setting this to false will save items but unable to use while it's broken.
- #
- # - AttributeFormat
- # Lore format for item attributes (stats)
- #
- # - DamageTypeFormat
- # Lore format for item damage types
- #
- # ========= COMBAT LOG ===========
- # - Chat
- # Enable/Disable combat messages in chat
- #
- # - ActionBar
- # Enable/Disable combat messages in action bar
- #
- # - Indicators
- # Enable/Disable combat indicators upon entity head
- # REQUIRE: HolographicDisplays
- #
- # ========= DROP RATES ===========
- # Defines global drop rates for all plugin stuff.
- # Multipliers are increasing drop rates for some player groups.
- # 1.0 is 100% | 0.1 is 10% | 0.01 is 1%
- # Permission for multipliers is ditems.group.<Group>
- #
- # ========= DAMAGE MODIFIERS ===========
- # Here you can define how many damage will take mobs and players from specified damage cause.
- # All damage causes could be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
- #
- # ========= DAMAGE TYPES ===========
- # Here you can modify damage types that provided by DivineItems
- # Adding custom damage types currently impossible.
- # Actions list:
- # - [BUFF] <ATTRIBUTE> <VALUE> <TIME> - Add a buff for specified attribute to player.
- # - [POTION] <POTION_EFFECT> <LEVEL> <DURATION> - Add a potion effect to player
- # - [MESSAGE] <TEXT> - Sends a message to player
- # - [ACTION_BAR] <TEXT> - Sends a message to player's action bar
- # - [TITLE] <TEXT> <SHOW_IN> <STAY_IN> <HIDE_IN> - Sends a title to player
- # - [SUB_TITLE] <TEXT> <SHOW_IN> <STAY_IN> <HIDE_IN> - Sends a subtitle to player
- # - [EFFECT] <NAME> <X-OFFSET> <Y-OFFSET> <Z-OFFSET> <SPEED> <AMOUNT> - Play particle effect.
- # - [COMMAND] <COMMAND> - Run a command from console.
- # - [PLAYER_COMMAND] <COMMAND> - Run a command by player.
- # - [TELEPORT] <WORLD> <X> <Y> <Z> - Teleport a player to specified location.
- # - [SOUND] <SOUND> - Play sound.
- #
- # ========= ATTRIBUTES ===========
- # Here you can modify item attributes that provided by DivineItems
- #
- # ========= VALUES ===========
- # Here you can change some lore design details
- #
- # ========= RESTRICTIONS ===========
- # - Untradeable
- # Item with this lore will be binded with first player who used it,
- # and then another player will not able to use this item.
- #
- # - Level
- # Item can be used only by players with enough level.
- #
- # - Class (Require any class plugin, see Hooks)
- # Item can be used only by players with specified classes
- #
- # - Soulbound
- # Item can be used only after player set soulbound to them.
- # After that item will be 'untradeable'.
- #
- #-------------------------------------------------------------------------
- Hooks:
- SkillAPI: false
- BattleLevels: false
- Skills: false
- DivineClassesRPG: false
- Heroes: false
- Global:
- DamageFormula:
- phys: '((%phys_dmg% * (1 + %penetrate% / 100)) - (%phys_def% / 10))'
- magic: '((%magic_dmg% * (1 + %penetrate% / 100)) - (%magic_def% / 10))'
- fire: '((%fire_dmg% * (1 + %penetrate% / 100)) - (%fire_def% / 10))'
- poison: '((%poison_dmg% * (1 + %penetrate% / 100)) - (%poison_def% / 10))'
- water: '((%water_dmg% * (1 + %penetrate% / 100)) - (%water_def% / 10))'
- wind: '((%wind_dmg% * (1 + %penetrate% / 100)) - (%wind_def% / 10))'
- total: '(%phys% + %magic% + %fire% + %poison% + %water% + %wind%) * (1 + (%pvpe_dmg% - %pvpe_def%) / 100) * %crit% * (1 + %block% / 100)'
- DamageReduceCooldown: 0.0
- BreakItems: true
- AttributeFormat: '%att_prefix% %att_name%: %att_value%'
- DamageTypeFormat: '%type_prefix% %type_name%: %type_value%'
- CombatLog:
- Output:
- Chat: true
- ActionBar: true
- Messages:
- Default: true
- Critical: true
- Dodge: true
- Block: true
- Sounds:
- Default:
- Enabled: true
- Value: ENTITY_IRONGOLEM_ATTACK
- Critical:
- Enabled: true
- Value: ENTITY_GENERIC_EXPLODE
- Dodge:
- Enabled: true
- Value: ENTITY_COW_MILK
- Block:
- Enabled: true
- Value: BLOCK_ANVIL_PLACE
- Indicators:
- Enabled: false
- DropRates:
- ITEM: 0.1
- GEM: 0.05
- ENCHANT: 0.03
- RUNE: 0.02
- ABILITY: 0.01
- SCROLL: 0.04
- Multipliers:
- VIP: 1.25
- Premium: 1.45
- Gold: 1.75
- DamageModifiers:
- ENTITY_ATTACK:
- PLAYER: 1.0
- MOB: 1.0
- FIRE:
- PLAYER: 1.0
- MOB: 1.0
- POISON:
- PLAYER: 2.15
- MOB: 2.0
- DamageTypes:
- PHYSICAL:
- Enabled: true
- Prefix: '&6⚔'
- Name: 'Physical'
- Value: '&f'
- HitActions: []
- MAGICAL:
- Enabled: true
- Prefix: '&d⚡'
- Name: 'Magical'
- Value: '&f'
- HitActions:
- - '[EFFECT] MAGICAL 0.5 0.5 0.5 0.05 50'
- FIRE:
- Enabled: true
- Prefix: '&c☀'
- Name: 'Fire'
- Value: '&f'
- HitActions:
- - '[EFFECT] FLAME 0.5 0.5 0.5 0.05 50'
- POISON:
- Enabled: true
- Prefix: '&a☣'
- Name: 'Poison'
- Value: '&f'
- HitActions:
- - '[EFFECT] SLIME 0.5 0.5 0.5 0.05 50'
- WATER:
- Enabled: true
- Prefix: '&9⚓'
- Name: 'Water'
- Value: '&f'
- HitActions:
- - '[EFFECT] DRIP_WATER 0.5 0.5 0.5 0.05 50'
- WIND:
- Enabled: true
- Prefix: '&7⚕'
- Name: 'Wind'
- Value: '&f'
- HitActions:
- - '[EFFECT] SMOKE_NORMAL 0.5 0.5 0.5 0.05 50'
- Attributes:
- DAMAGE:
- Name: 'Damage'
- Prefix: '&a▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- PVP_DAMAGE:
- Name: 'PvP Damage'
- Prefix: '&b▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- PVE_DAMAGE:
- Name: 'PvE Damage'
- Prefix: '&b▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- DODGE_RATE:
- Name: 'Dodge Rate'
- Prefix: '&6▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- ACCURACY_RATE:
- Name: 'Accuracy Rate'
- Prefix: '&6▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- BLOCK_RATE:
- Name: 'Block Rate'
- Prefix: '&6▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- BLOCK_DAMAGE:
- Name: 'Block Damage'
- Prefix: '&6▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- CRITICAL_RATE:
- Name: 'Crit. Strike Rate'
- Prefix: '&a▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- CRITICAL_DAMAGE:
- Name: 'Crit. Strike Dmg'
- Prefix: '&a▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- DEFENSE:
- Name: 'Physical Defense'
- Prefix: '&a▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- PVP_DEFENSE:
- Name: 'PvP Defense'
- Prefix: '&b▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- PVE_DEFENSE:
- Name: 'PvE Defense'
- Prefix: '&b▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- POISON_DEFENSE:
- Name: 'Poison Defense'
- Prefix: '&a▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- FIRE_DEFENSE:
- Name: 'Fire Defense'
- Prefix: '&c▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- MAGIC_DEFENSE:
- Name: 'Magic Defense'
- Prefix: '&d▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- WATER_DEFENSE:
- Name: 'Water Defense'
- Prefix: '&9▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- WIND_DEFENSE:
- Name: 'Wind Defense'
- Prefix: '&7▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- MOVEMENT_SPEED:
- Name: 'Movement Speed'
- Prefix: '&e▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- DURABILITY:
- Name: 'Durability'
- Prefix: '&a▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- DURABILITY_UNBREAK:
- Name: 'Durability'
- Prefix: '&a▸'
- Value: '&f&lUnbreakable'
- Bonus: '&6⏏&f'
- PENETRATION:
- Name: 'Armor Penetration'
- Prefix: '&c▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- VAMPIRISM:
- Name: 'Vampirism'
- Prefix: '&c▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- ATTACK_SPEED:
- Name: 'Attack Speed'
- Prefix: '&e▸'
- Value: '&f'
- Bonus: '&6⏏&f'
- Values:
- DamageSeparator: ' &7- '
- DurabilitySeparator: '&7/'
- Percent: '%'
- Negative: '&c'
- Positive: '&a+'
- Modifier: 'x'
- Restrictions:
- Untradeable: '&7[Untradeable]; [Unable to sell on auction]'
- Level: '&cRequire %n level to use.'
- Class: '&cOnly for: '
- Soulbound: '&cRequire Soulbound to use!'
- SoulboundSet: '&2Soulbounded with &a%p'
- CmdBlock:
- - /market
- - /auc
- - /ah
- BindToPlayer:
- OnItemDrop: true
- OnItemPickup: true
- OnItemClick: true
- OnItemInteract: true
- ItemGroups:
- Weapons:
- - WOOD_SWORD
- - WOOD_AXE
- - STONE_SWORD
- - STONE_AXE
- - GOLD_SWORD
- - GOLD_AXE
- - IRON_SWORD
- - IRON_AXE
- - DIAMOND_SWORD
- - DIAMOND_AXE
- - SHEARS
- - FISHING_ROD
- - BOW
- Tools:
- - WOOD_HOE
- - WOOD_AXE
- - WOOD_SPADE
- - WOOD_PICKAXE
- - STONE_HOE
- - STONE_AXE
- - STONE_SPADE
- - STONE_PICKAXE
- - GOLD_HOE
- - GOLD_AXE
- - GOLD_SPADE
- - GOLD_PICKAXE
- - IRON_HOE
- - IRON_AXE
- - IRON_SPADE
- - IRON_PICKAXE
- - DIAMOND_HOE
- - DIAMOND_AXE
- - DIAMOND_SPADE
- - DIAMOND_PICKAXE
- - SHEARS
- - FISHING_ROD
- Armors:
- - LEATHER_HELMET
- - LEATHER_CHESTPLATE
- - LEATHER_LEGGINGS
- - LEATHER_BOOTS
- - GOLD_HELMET
- - GOLD_CHESTPLATE
- - GOLD_LEGGINGS
- - GOLD_BOOTS
- - CHAINMAIL_HELMET
- - CHAINMAIL_CHESTPLATE
- - CHAINMAIL_LEGGINGS
- - CHAINMAIL_BOOTS
- - IRON_HELMET
- - IRON_CHESTPLATE
- - IRON_LEGGINGS
- - IRON_BOOTS
- - DIAMOND_HELMET
- - DIAMOND_CHESTPLATE
- - DIAMOND_LEGGINGS
- - DIAMOND_BOOTS
- - SHIELD
- # DO NOT TOUCH!!!
- cfg_version: 2.0.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement