FirstKit 1.2.1 Wiki
FirstKit
This plugin will give users a kit (customizable, 5 items), and will register username so that a user can only get the kit once.
Commands
/fkgive->Base command to give commandsender a kit. /fkset [player]->Bans set player from getting a kit. /fkunset [player]->Unbans/pardons a player from getting a kit.
What does it do?
As said in the first line of this description, this plugin will give users a kit, but just once (until an admin unbans them with /fkunset). Config files are stored in the base directory of your plugin (so not in the 'plugins' folder), but where your 'craftbukkit.jar' or 'spigot.jar' file is located. A folder named 'fkconfig' is created here. This folder will contain at least two files, one of which is the kit and color config file. All config files are in plain .txt format, so you can modify them in any text editor.
Config files
The default configuration will look like:
STONE_SWORD STONE_PICKAXE STONE_AXE STONE_SPADE COOKED_BEEF GOLD RED DARK_RED
The first five lines are kit items, part of the enum Material, listed here. The last three lines are color codes, part of the enum ChatColor, listed here. The first color value is for succes messages, second for error messages related to kit giving (if a player is already registered), third for fatal errors and exceptions.
Player config files will be created per world, so players are registered per world.
Comments