EssentialsKitEditor
EssentialsKitEditor will be discontinued until Essentials updates the way they manage their kits. Plugin will return with the release of Essentials 3.0
EssentialsKitEdit is an add-on to Essentials that gives admins full control over the kits that they and players use.
I have originally seen this request countless times on various websites ranging from DevBukkit Plugin Requests to Minecraft Forums and haven't seen anything (yet) that does exactly this.
It has been brought up to my attention that the comments in the Essentials config are being deleted. I apologize and will try to fix this issue in the next release.
Commands
USE /ke instead of /kitedit for easier use
- /kitedit: Display help.
- /kitedit list: Display list of kits AND lists all lines and info about a kit
- /kitedit select <kitNumber or kitName/clear>: Select kitName or Clear Current Selection.
- /kitedit clear: Clear Current Selection.
- /kitedit add <line>: Add Line to Selected Kit.
- /kitedit remove <lineNumber>: Removes the number of the line from the Selected Kit
- /kitedit edit <lineNumber> <newLine>: Replaces the line given by lineNumber with newLine.
- /kitedit save: Force-Save Essentials Config file.
- /kitedit removekit <name/id>: Removes any kits called <name> or removes the kit ID from list.
- /kitedit addkit <name> [-i]: Adds a new kit. Adding "-i" will automatically convert full inventory into a new kit (instead of adding a kit manually).
- /kitedit append <lineNumber> <lineAddition>: Adds lineAddition to the end of the lineNumber.
- /kitedit setdelay <delay>: Sets the delay of the selected kit.
Permissions
- essentialskitedit.help:
- essentialskitedit.add:
- essentialskitedit.remove:
- essentialskitedit.edit:
- essentialskitedit.setdelay:
- essentialskitedit.select:
- essentialskitedit.addkit:
- essentialskitedit.removekit:
- essentialskitedit.save:
- essentialskitedit.append:
- essentialskitedit.*: Allows use of all commands
How-To
- Use /ke list
- Pick a kit using /ke select <name or number of kit>
- Use /ke list (again)
Then use any of the following:
- Use /ke setdelay <number> (to set delay)
- Use /ke add <newline> (to add a new line)
- Use /ke remove <line number> (to remove a line)
Dependencies
- Essentials (obviously)
- Optional - Metrics (please use Metrics if possible, would greatly help track stats)
Source Code
- Available in jar
Bugs and Feature Requests
- Please report bugs below, feel free to comment and use the following template:
- Version:
- Steps to Reproduce:
To-Do
- Look for more bugs
Reviews
As said in the video, the setdelay bug has been fixed.
Also, if you have a good idea for a way to make this plugin better, drop in a comment and I'll try add in as many useful features as I can. '
@therealspoljo
Also, using /ke addkit <name> -i won't work in 2.1, I only added that in 2.2.2. Thanks.
@therealspoljo
As I said below, lores WONT be saved because essentials does not support them. Also, the essentials reload problem is a bug and Ill push a new update in a few hours. Glad you figured it out that the command is NOT /kit xD. The /ke save should automatically reload the config as well (however it doesn't in the beta).
@khobbits
Well that's the reason I was looking for something like this.
Edit: My version 2.2.2 (which is still not yet approved) fixes most of the bugs that you are encountering.
The reason we never added this to Essentials, is that the Bukkit YAML classes we use internally, don't support writing of YAML files with comments in them.
The config file is a little too complicated to be usable without comments. Essentials3 release should split kits to their own config file, but this version is still months off.
Also, I had diamond tools in my inventory, I wanted that to be a kit, I wrote /kitedit addkit tools (No, there is not a kit in my config with that name already), but when I wrote /kit tools, it gave me the default kit tools that come with essentials (Stone tools) and a diamond pickaxe. Thats also a bug probably... ;) Hope you fix them all as soon as possible! I really like your plugin!
EDIT1: *facepalm*, you need to type /kitedit addkit [name] -i to save the inv... -_-
EDIT2: Also, it does not save lores from the kits saved with /kitedit addkit [name] -i
I figured it out, you need to reload essentials config with /essentials reload command to save the kit and not with /kitedit save, thats maybe a bug.
Your plugin removed all info from the essentials config file when I typed /kitedit save. There is no more info like:
# A color code between 0-9 or a-f. Set to 'none' to disable.
ops-name-color: '4'
Now, its just:
ops-name-color: '4'
Here is an error when I just type /kitedit addkit , without name of a new kit.
http://pastebin.com/raw.php?i=w7FeXfQc
And when I typed /kitedit addkit New, the new kit does not show up when I type /kits
Why are there now files behind the download button?
Here is the latest version:
NOTE: It hasn't been approved yet by BukkitDev Staff, so use it at your own risk !
PERFECT!!1!!!!!!!!11!!!!11111!!!!!11!11!!!
@ZxiAMN3X I've uploaded the file about 5 hours ago, just waiting for approval.
Edit: Uploaded a second version with bug fixes and new features. Still waiting on moderator approval (could take a bit unfortunately).
@joshwenke Right now the functionality is as limited as essentials is. Quoting essentials, the syntax is: "Syntax: - itemID[:DataValue] Amount [Enchantment:Level].."
If essentials decides to add lores and names to the items, I'll be the first one to update the plugin to do so as well.
looks good. cant wait for download
Looks great, any estimated date for the release?
Can you give a lore and name variable with the player's name who spawned the kit when you spawn a tool or armor (or anything) in a kit?