AutoPvPKit icon

AutoPvPKit -----

Get prepared with a kit right after you join, respawn, change worlds, or enter a WorldGuard region.




- Updated libraries to latest version to support 1.20.4.
----------, Jan 11, 2024

- If neither of disable kit drops options are enabled then items won't get an NBT tag.
----------, Aug 12, 2022

- Added support for versions 1.16-1.19
- Improved handling of dropped items, so only items that are provided from the plugin are handled by giving them an NBT tag.
- Fixed items in the ground where player is standing on are getting cleared after a kit is selected.
----------, Jun 23, 2022

- Added an API package :(me.autopvpkit.api.AutoPvPKitAPI)
- Added events: (PlayerKitChangeEvent), (PlayerKitSaveEvent) both are cancellable.
- Code cleanup
- Fixed issues with save kit command where it's possible to have 2 kits stored in 1 saved kit.
- Now your inventory will be cleared everytime you take a kit to prevent item duplication.
----------, Jun 6, 2020

- Added /savekit command. with permission: autopvpkit.savekit
~ Supports multiple kits. so when you write /apk kit <kit> you will get the saved item slots for that kit.
- Fixed kits are not listed on order on the list of /kits command
# Whenever you get a kit your inventory will be cleared.
----------, Jun 3, 2020

- Plugin completely recoded from scratch.
- Super lightweight and efficient.
- Added worldguard on region entry event.
- Added commands /apk kits, and /apk kit <kit> [player].
- OPEN SOURCE
- new config.yml:
Code (YAML):
# permissions:
# default permssions >
# autopvpkit.kit = access to '/apk kit' command
# autopvpkit.kits.<name> = access to a kit when you join/respawn/worldchange/worldguard-region-entry
# admin permissions >
# autopvpkit.kit.other = access to give other players a kit using '/apk kit <kit> <player>'
# autopvpkit.kits.* = access to all kits
Settings
:
  change-on-spawn
: true
  change-on-respawn
: true
  change-on-world-change
: true
  disable-kit-drops
: false
  disable-kit-drops-on-death
: false
  disabled-worlds
:
 - "a disabled world"
  kit-does-not-exist
: "&7The kit &c%kit% &7doesn't exist."
  kit-no-permission
: "&7Sorry, but you don't have permission to use this kit."
  player-does-not-exist
: "&7Unable to find player: &c%player%&7."
  kit-other-no-permission
: "&cYou don't have permission to give kit to other players."
  # placeholders: %kit% %kit_displayname%
  kit-message
: "&7Selected kit: &c%kit%&7."
  kit-message-other
: "&7Given kit &c%kit% &7to &c%player%&7."
  # must have WorldEdit and WorldGuard for this to work.
  worldguard-hook
: false
WorldGuard-Settings
:
  # select a kit when you enter a region?
  change-on-worldguard-region
: true
  worldguard-region
: "pvp"
Kits
:
  member
:
    display-name
: "&7Default"
    helmet
:
      item
: IRON_HELMET
      amount
: 1
      data
: 0
      name
: "&eDefault Helmet"
      lore
:
     - "&fa lore line"
      enchantments
:
     - "protect 1"
    chestplate
:
      item
: IRON_CHESTPLATE
      amount
: 1
      data
: 0
    leggings
:
      item
: IRON_LEGGINGS
      amount
: 1
      data
: 0
    boots
:
      item
: IRON_BOOTS
      amount
: 1
      data
: 0
    0
:
      item
: STONE_SWORD
      amount
: 1
      data
: 0
      enchantments
:
     - "sharpness 1"
    1
:
      item
: BOW
      amount
: 1
      data
: 0
      enchantments
:
     - "power 1"
      flags
:
     - "HIDE_ENCHANT"
    2
:
      item
: ARROW
      amount
: 2
      data
: 0
  gold
:
    display-name
: "&6Vip"
    helmet
:
      item
: DIAMOND_HELMET
      amount
: 1
      data
: 0
    chestplate
:
      item
: IRON_CHESTPLATE
      amount
: 1
      data
: 0
    leggings
:
      item
: IRON_LEGGINGS
      amount
: 1
      data
: 0
    boots
:
      item
: IRON_BOOTS
      amount
: 1
      data
: 0
    0
:
      item
: IRON_SWORD
      amount
: 1
      data
: 0
      name
: "&6Vip &7sword"
      enchantments
:
     - "sharpness 1"
----------, May 26, 2020

- Added "heal-killer" option
- Added "Events" to disable getting kits like when you respawn including:
* onJoin , onRespawn , onWorldchange
- Improved Scoreboard thingies
- Added "apk kit <kitname>" command | permission: apk.command.kit
- Added "Sounds" to play sounds when you kill someone
- disable-itemdrop now will cancel dropping "Kits" When you die
- Some bug fixes
$ example config of the latest version $
Code (Text):
#commands + permissions
#/apk | apk.help
#/apk-reload | apk.reload
#/apk kit <kitname> | apk.command.kit
allowed-worlds:
- FFA
- world
heal-killer: true
disable-itemdrop: true
enable-scoreboard: true
Events:
  onJoin: true
  onRespawn: true
  onWorldchange: true
scoreboard:
  title:
    text:
    - "&f&lCraftGamers"
    - "&f&lCraftGamers"
    - "&f&lCraftGamers"
    - "&4&lC&c&lr&f&laftGamers"
    - "&c&lC&4&lr&c&la&f&lftGamers"
    - "&f&lC&c&lr&4&la&c&lf&f&ltGamers"
    - "&f&lCr&c&la&4&lf&c&lt&f&lGamers"
    - "&f&lCra&c&lf&4&lt&c&lG&f&lamers"
    - "&f&lCraf&c&lt&4&lG&c&la&f&lmers"
    - "&f&lCraft&c&lG&4&la&c&lm&f&lers"
    - "&f&lCraftG&c&la&4&lm&c&le&f&lrs"
    - "&f&lCraftGa&c&lm&4&le&c&lr&f&ls"
    - "&f&lCraftGam&c&le&4&lr&c&ls"
    - "&f&lCraftGame&c&lr&4&ls"
    - "&e&lCraftGamers"
    - "&e&lCraftGamers"
    - "&e&lCraftGamers"
    - "&e&lCraftGamers"
    - "&6&lCraftGamers"
    - "&6&lCraftGamers"
    - "&6&lCraftGamers"
    - "&6&lCraftGamers"
    - "&e&lCraftGamers"
    - "&e&lCraftGamers"
    - "&e&lCraftGamers"
    - "&e&lCraftGamers"
    interval: 2
  other:
    text:
    - "&7&7&m------------------------"
    - "&3IGN &7> &e%player%"
    - "&r &r"
    - "&3Kills &7> &e%player_kills%"
    - "&a"
    - "&3Deaths &7> &e%player_deaths%"
    - "&7&m------------------------"
#onJoin Kits / onRespawn Kits
#ToUse: apk.kits.<kit>
#example: apk.kits.Member
#---------
#To cancel an armor just type AIR in the 'item:' value
#Operators will automatically get the latest kit in the Config
#To change the operators default kit just put like this to disable a kit '- -apk.kits.Vip' then the operators will get the member kit for example :O
kits:
  'Member':
    head:
      item: IRON_HELMET
      itemamount: 1
      itemdata: 0
      enchantments: []
    chestplate:
      item: IRON_CHESTPLATE
      itemamount: 1
      itemdata: 0
      enchantments: []
    leggings:
      item: IRON_LEGGINGS
      itemamount: 1
      itemdata: 0
      enchantments: []
    boots:
      item: IRON_BOOTS
      itemamount: 1
      itemdata: 0
      enchantments: []
    SLOT#1:
      item: STONE_SWORD
      itemname: "&aCustomized Name"
      itemamount: 1
      itemdata: 0
      enchantments:
      - sharpness#1
    SLOT#2:
      item: FISHING_ROD
      itemamount: 1
      itemdata: 0
      enchantments:
      - unbreaking#3
  'Vip':
    head:
      item: DIAMOND_HELMET
      itemname: "&3Vip &cHelmet"
      itemamount: 1
      itemdata: 0
      enchantments:
      - protect#1
    chestplate:
      item: IRON_CHESTPLATE
      itemamount: 1
      itemdata: 0
      enchantments: []
    leggings:
      item: IRON_LEGGINGS
      itemamount: 1
      itemdata: 0
      enchantments: []
    boots:
      item: IRON_BOOTS
      itemamount: 1
      itemdata: 0
      enchantments: []
    SLOT#1:
      item: IRON_SWORD
      itemname: "&b&kii&3&nUltraInstinct Sword&b&kii"
      itemamount: 1
      itemdata: 0
      enchantments:
      - sharpness#1
    SLOT#2:
      item: FISHING_ROD
      itemamount: 1
      itemdata: 0
      enchantments:
      - unbreaking#3
----------, Jul 15, 2018

- Added disable-itemdrop
- Added a scoreboard ; supports animated title
these options can be disabled and enabled in the config
----------, Jul 14, 2018

- Fixed boots enchantments not appearing
- Fixed boots display name not being updated on respawn + on world change
----------, May 15, 2018

- Fixed boots gets head name not boots itemname
- Added lore support
= lore: []
#example \/
lore:
- "&6Cool Lore"
- "&eMore Lines"
----------, Apr 20, 2018

- Fixed sometimes the items in the hotbar being cleared \/
- Added a delay between clearing and getting the items to remove that bug above
----------, Apr 7, 2018

Resource Information
Author:
----------
Total Downloads: 2,136
First Release: Apr 1, 2018
Last Update: Jan 11, 2024
Category: ---------------
All-Time Rating:
8 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings