#|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|# #|++++++++++++++++++++++++++++++++++++++++++++++++++++++|# #| Invasions |# #|++++++++++++++++++++++++++++++++++++++++++++++++++++|# #|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|# # https://github.com/CryptoMorin/KingdomsX/wiki/Mechanics#Invasion # By default, your kingdom can only invade one kingdom at a time. # 0 means no limit. simuntanous-invasions: 1 # Required resource points to invade a kingdom. costs: resource-points: 50 money: 0 pacifism: # If pacifism system should work at all. Kingdoms that have this option # enabled, will keep it, but it'll not have any effects. # Note that the option in the nexus settings will still work, so you might # want to remove that as well. enabled: true # If kingdoms should be pacifist by default. default: false # Cooldown before kingdoms can be a pacifist again after their last invasion. # Set to 0 to disable. cooldown: 4days shields: # You'll lose your kingdom shield if you invade and cannot invade at all if your nation has a shield active. disallow-invasions: true # Cooldown before buying shields again after the last invasion whether it failed or not. last-invasion-cooldown: 1day champions: # Players with ceasefire attribute with the kingdom that the # champion belongs to, can't damage the champion. disable-friendly-damage: true # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html disabled-champion-damages: - FALL - SUFFOCATION # One of the following messages will be randomly announced when the champion dies. # Each one of the entries indicates a death cause. You can find a list of death causes here: # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html # Note: Some damage causes are disabled for champions. This depends on the mob type or # they're disabled from disabled-champion-damages option. champion-death-messages: # Defaults are used when the death cause is not specified in this list. defaults: - "&e%kingdoms_name%'s &cchampion was brutally slashed." projectile: - "&e%kingdoms_name%'s &cchampion was shot to death by %player%" void: - "&e%kingdoms_name%'s &cchampion somehow managed to fall into the void!" entity-attack: - "&e%kingdoms_name%'s &cchampion was slayed by %player%" # Allow block explosion during invasions only on the invading land? # This will not break turrets, structures or protected chests. allow-explosion: true # https://github.com/CryptoMorin/KingdomsX/wiki/Mechanics#Masswar masswar: # You can only invade during MassWar events. during-masswar-only: false # Should misc upgrades be disabled during masswars? disable-misc-upgrades: false # Disable turrets during masswar. disable-turrets: false allow-invading: # Allow invading pacifist kingdoms during Mass Wars. pacifists: true # Allow invading shielded kingdoms during Mass Wars. shields: true # Set to 0 to disable. These times will reset on server restart. # The interval between each MassWar. This interval starts right after an automatic MassWar has ended. interval: 0 # The duration of the MassWar. time: 1hr # Required resource points to invade during masswar events. costs: resource-points: 0 money: 0 bossbar: enabled: true title: "&4&lMasswar &8[&6%time%&8]" color: RED style: SEGMENTED_20 titles: start: title: "&4Masswar" subtitle: "&eMasswar has started!" fade-in: 20 stay: 60 fade-out: 20 end: title: "&2Masswar" subtitle: "&6Masswar has ended!" fade-in: 20 stay: 60 fade-out: 20 # Disallow kingdoms to move their kingdom nexus when their nexus land is being invaded. disallow-nexus-move: true # Options for when a nexus land is invaded. on-nexus-loss: disband: false drop-nexus-chest-items: true give-all-resource-points: true # For cosmetic purposes only. lightning: times: 3 # In ticks interval: 10 amount: 3 # /k tp teleportation: # Used to prevent players from escaping PvP in seconds. # Teleportation will be cancelled if the player gets damaged. # Set to 0 to disable. # This can also be upgraded as a misc upgrade. # Note that this option is in seconds and doesn't support time suffixes like other config options. teleport-delay: 5 # If true, it'll send the message every one second with the new timer # otherwise it'll only send the message once. use-timer-message: true # If the player should stand still without moving # when teleporting to home, otherwise cancels the teleportation. should-not-move: true # If the player should not take damage when teleporting to home. should-not-be-damaged: true # The BossBar shown to nearby players for the chmapion. # This bossbar is also used for attackers during plunder invasions. # Multiple champions will show multiple bossbars of course. bossbar: enabled: true # Should the bossbar be displayed only for nearby players around the champion # or set to 0 for all the online members of the defender and attacker kingdoms. range: 13 # For champion invasions if set to true, this will keep increasing the progress bar, and the champion is dead once the bar is full, # otherwise if set to false, the champion is dead once the progress bar is empty. # Same for plunder invasions, but for your opponent's lives. reverse-progress: true title: "&2Champion Health &8[&6%health%&7/&6%max_health%&8]" color: GREEN style: SEGMENTED_20 flags: [ PLAY_BOSS_MUSIC ] # https://github.com/CryptoMorin/KingdomsX/wiki/Introductions#nations nations: # If a kingodm is in a nation, it'll use the capital's champion for invasions. use-capital-champion: true # Force nation members (kingdoms) to use nation shields instead. # If this is enabled and a nation doesn't have a shield, but the kingdom does, # players will be still able to invade the kingdom. use-shield: true nation-zone-radius: 2 capital-protection: # The land radius around the capital kingdom's nexus to protect from # invaders before the nation kingdoms nexus lands are invaded. # Set to 0 to protect all the capital lands. # Set to -1 to disable. radius: 0 # The cooldown for each invaded kingdom nexus land. nexus-invasion-cooldown: 1 day shields: disabled: false ignore-individual-shields: true # Remove home if it's set on the invaded land. remove-home: true # Should the champion spawn where the player did "/k invade" # If set to false, the champion will spawn near the player wherever they # currently are after the countdown ends. initial-location: true # Countdown before the champion spawns in seconds. countdown: 5 # The sound played for each countdown. # To disable this, set the option entry to ~ countdown-sound: 0: ENTITY_ENDER_DRAGON_GROWL, 10 1: ENTITY_EXPERIENCE_ORB_PICKUP, 10, 2.0 2: ENTITY_EXPERIENCE_ORB_PICKUP, 10, 1.75 3: ENTITY_EXPERIENCE_ORB_PICKUP, 10, 1.5 4: ENTITY_EXPERIENCE_ORB_PICKUP, 10, 1.25 5: ENTITY_EXPERIENCE_ORB_PICKUP, 10, 1.0 # The cooldown for a kingdom when they fail to invade a kingdom # and they want to try again. fail-cooldown: 5min # The amount of time that the invader kingdom needs to wait before unclaiming # the land they invaded. # This only applies to /k unclaim, they can still do /k disband and /k unclaimall unclaim-cooldown: 0 # Disallowed items during an invasion for the invader. items: whitelist: false # For ender pearls and other teleportation items, use the allow-teleportation option. list: [ ] # Disallows any teleportation. Whether it's from commands, plugins, portals and etc... # Note that the player still can't teleport to other worlds if this option is true. This is used to # prevent people from using end and nether portals, which can cause some issues due to the player world and the champion's world differing. allow-teleportation: false # Allow the invader to use elytra during invasions. # It's possible to use this to escape without the drag event. # But this is also useful for other invasion systems. allow-elytra: false # Commands to perform when invasion begins. commands-upon-invasion: [ ] # Disallowed/allowed commands during invasions for the invader player and the kingdom that is being invaded. commands: # This option can detect main command aliases and block them all as a part of the list below. # Note that subcommands cannot be detected as they're registered on the plugin, not on the server. smart-command: true invader: # If the list below should act as a whitelist or blacklist. whitelist: false # Whether this restriction should only be applied to the invader player # or the whole kingdom that the invader belongs to. kingdom-wide: false # Command names ignore slash "/" and are case-insensitive. # This checks of the sent commmand "starts with" with one of # the elements in the list, so it supports arguments. # You have to add all the aliases for that specific command or subcommand. # Note that "pluginname:command" is also a valid command unless you blocked those entirely. list: - k home - k spawn - kingdom home - kingdom spawn - kingdoms home - kingdoms spawn - k nation spawn - tp - tpa - tpaccept - tpahere - rtp - randomtp - randomteleport # This applies to the whole kingdom. defender: whitelist: false list: [ ] # /k surrender surrender: # If the attacker can surrender. The champion will despawn. attacker: true # If the defender kingdom can surrender. The champion will despawn and the # land that's being invaded will be for the invaders. defender: true # Return resource points of the invader surrendered? refund: resource-points: false money: false # Time limit for defeating the champion. Set to 0 to disable. # If this time limit ends, the champion will despawn and invaders will lose. # Default time unit is minutes. time-limit: default: 30mins # For defeating the nexus champion. nexus: 35mins # Show the time limit progress with a bossbar. # Read the previous bossbar for more info. # The "range" of this bossbar is always the same as the previous one. bossbar: enabled: true # Special placeholders are the same as the previous bossbar. title: "&5āŒ› &8[&d%time%&8] &5āŒ›" color: PURPLE style: SOLID # Minimium members needed to be online to start the invasion. # This supports AuthMe authentication system. online-members: invader: 5 defender: 5 # Only stop invasion if the defending kingdom members die the amount of times. # The invaders will win by default. # This is not recommended as members in the defending kingdom can betray. # For plunders, This number is the amount of kills a kingdom has to get in order to win the battle. # Set to 0 to disable. player-deaths: defender: 40 attacker: 40 # This option has no effect for the standard invasion method. # Should the defender keep these when they die? # This works for both attackers and defenders for plunders. keep: inventory: true xp: true plunder: enabled: true particles: enabled: true states: capturing: particle: REDSTONE count: 5 color: 255, 0, 0 size: 2 protected: particle: REDSTONE count: 0 offset: 0, 5, 0 color: 0, 0, 255 extra: 2 size: 2 # This is only for attackers. capture-progress: increment: 0.1 # This happens every tick goal: 100 # after this, attackers win bossbar: # Which boss bar should the capture progress use to show the progress since it doesn't have its own bossbar? # none: None of the bossbars if you want to use the placeholders instead. # timer: The time limit bossbar. # normal: Use the progress on the normal bossbar of defender and attackers use: normal # This color is applied to whichever bossbar the above option points to. state-colors: capturing: RED protected: BLUE # The enabled and range option are the same as the main bossbar option. # The attacker's bossbar is the default bossbar used for champions. # That means during plunder invasions attackers and invaders have different bossbars. defender-bossbar: title: "&cāš” %attacker-lives-left% &8| &2%defender-lives-left% šŸ›” &7∫ &6%capture-progress%&8/&6%capture-progress-goal%" color: RED style: SEGMENTED_20