HomeJavaModsGKits (/gkit) [abandoned]
GKits (/gkit) [abandoned]
[​IMG]
Let your donators use your predefined GKits!


As seen in CosmicPvP

GKits are unique kits, which are mostly focused on improving donators gameplay. They usually are well-liked when using Custom Enchantment plugins and giving the GKits rare enchantments.

FEATURES:

[​IMG]

COMMANDS:

Spoiler
  • /gkit
    • Description: open GKits menu
    • Permission: none
    • Aliases: /gkits (define more in configuration (config.yml)
  • /gkitedit
    • Description: Main editor command.
    • Permission: gkits.edit
    • Aliases: /gedit
  • /gkitsedit edit <gkit>
    • Description: Open in-game editor for specified GKit
    • Permission: gkits.edit
  • /gkitsedit reload
    • Description: Reload all configurations
    • Permission: gkits.edit
  • /gkitsedit create <gkit>
    • Description: Create a GKit with your inventory items
    • Permission: gkits.edit
  • /gkitsedit setpermission <gkit> <permission node>
    • Description: Change custom permission for specified GKit
    • Permission: gkits.edit
  • /gkitsedit setdelay <gkit> <number>
    • Description: Set delay (cooldown) for GKit (in seconds)
    • Permission: gkits.edit
  • /gkitsedit reset <online player> <gkit>
    • Description: Reset delay of GKit for a player
    • Permission: gkits.edit

HOW-TO:
* create a kit:
  1. Have all items in inventory to the ones you want your GKit to have
  2. Use command /gedit create <gkit> to create a GKit
  3. You've finished! Now you can use gkit via /gkit command or continue editing it with the in-game editor.

CONFIGURATION:
Spoiler: CONFIG.YML
Code (Text):
# ---------------------------- #
#        GKits by N3kas        #
# ---------------------------- #
# inventory : the gkits main kits preview, which can be opened via /gkits
# inventory.size : the number of rows in inventory (number has to be a multiply of 9, from 9 to 54)
# inventory.name : name of the inventory (max 16 chars., can use color codes)
# inventory.custom-command : make a custom defined command which can be used to open gkits menu
# messages : all player-accessable messages. ({gkit} returns GKit's name, {cooldown} returns how much time left till next use ('0h 0m 0s' as an example)
# ----------------------------#
# FOUND A BUG, GLITCH OR IN NEED OF HELP? CONTACT ME, 'N3kas' ON SPIGOT VIA PM.
# ----------------------------#
inventory:
  size: 3
  name: '&cServer GKits'
  custom-command: /mygkits
messages:
  cooldown: '&cYou cannot use this kit yet, kit {gkit} is on cooldown &f({cooldown})'
  no-perm: '&cYou don''t have permissions to use {gkit} kit.'
  used-kit: '&cYou have used kit {gkit}.'
 
Spoiler: KITS.YML
Code (Text):
# this is where all the gkits are put.[/FONT][/COLOR][/COLOR][/FONT][/FONT][/COLOR][/COLOR][/FONT][/FONT][/COLOR][/COLOR][/FONT][/FONT][/COLOR][/COLOR][/FONT]
[FONT=Verdana][COLOR=rgb(20, 20, 20)][COLOR=rgb(44, 44, 44)][FONT=Arial][FONT=Verdana][COLOR=rgb(20, 20, 20)][COLOR=rgb(44, 44, 44)][FONT=Arial][FONT=Verdana][COLOR=rgb(20, 20, 20)][COLOR=rgb(44, 44, 44)][FONT=Arial][FONT=Verdana][COLOR=rgb(20, 20, 20)][COLOR=rgb(44, 44, 44)][FONT=Arial]# you
# GKITS Kits v2
# For changes to take effect, use '/gedit reload' in-game.
god:
  slot: 0
  delay: 6000
  display:
    no-permission:
      material: STAINED_GLASS_PANE
      data: 14
      name: '&c{gkit}'
      lore:
      - '&7&lSTATUS &cNot unlocked'
      - '&cYou haven''t unlocked this kit yet!'
    cooldown:
      material: STAINED_GLASS_PANE
      data: 4
      name: '&e{gkit}'
      lore:
      - '&7&lSTATUS &eON COOLDOWN'
      - '&c{cooldown}&f left until you can use this gkit.'
    available:
      material: STAINED_GLASS_PANE
      data: 5
      name: '&a{gkit}'
      lore:
      - '&7&lSTATUS &aAVAILABLE'
      - '&cYou can use this kit now.'
  permission: gkits.use.god
  content:
    '1':
      material: DIAMOND_SWORD
      data: 0
      amount: 1
      name: '&c&lGOD SWORD'
      lore:
      - '&7Sword for the greatest warriors'
      - '&fSpeed %1-3%'
      enchants:
      - damage_all:5
      - unbreaking:3
    '2':
      material: GOLD_HELMET
      data: 0
      amount: 1
      name: '&6&lKING HELMET'
      lore:
      - '&7Helmet for kings'
      - '&fExample Enchantment %3-10%'
      enchants:
      - protection:4
      - unbreaking:3
    '3':
      command: say %player% claimed their %gkit% kit.

 


There is another configuration file, "delays.yml". It stores all player data with delays, I wouldn't advise editing it as it may break cooldown for every player.



TOS:
*
You may not upload, distribute or share this plugin with anyone else but yourself, if they have asked for the plugin, link the resource.
* You may not redistribute source code, any part of it or decompile it
* I am not obligated to make updates to this resource, but I'll keep on adding features.
* I may not add feature you request, don't go raging about it.
* I am allowed to report and get reviews that are low rating deleted, if the reporter hasn't contacted me before with his problem.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

GKits (/gkit) [abandoned] is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 11,441 times (via Spigot). Download it and open it directly in the game.

Explore more