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. '
@franga2000
You CAN already do that, just use /ke addkit <name> -i and it will save all that you have in your inventory and armour slots to the new kit <name>
It would be EPIC if you could build the kit in your inventory and then run a command to make it, but the plugin is still EPIC and saved me an hour of screwing around with configs.
@bluequentin
Yes, thats a problem from my version 2.2.5. In your essentials config, for the kit you created, remove the ' ' from the delay. For now, until the 2.2.7 update is approved, dont use the setdelay command.
So I created all of of donator kits aswell as my default kits with this plugin. But when I went to go test out the kit on my player (de-oped and has the permission) it gave me the error java.lang.string cannot be cast to java.lang.number
@UncleanerFlame4
If your running Java 6 or below, the plugin won't work. I'll add compatibility in the next version. However, most plugins use Java 7 so you might want to update.
[GRAVE] Could not load 'plugins/EssentialsKitEdit.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/github/allek/EssentialsKitEdit/EssentialsKitEdit : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_5_R3.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_5_R3.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:106) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:382) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.UnsupportedClassVersionError: com/github/allek/EssentialsKitEdit/EssentialsKitEdit : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:249) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more
@khobbits
1) Yes, I was planning on the content being there as well.
3) Fixed.
Edit: Content inside book won't be there (because obviously I would have to compare strings in the book file). However, the name, author, etc will be there. Also, I'm adding every other meta as well except fireworks. By the way, potions according to the Item Meta essentials page don't work at all. Seems to be a bug in essentials.
@Allek1
1) I was talking about storing the content (the pages) of books :p
Type:
3) If you leave it with the vanilla package name, it can conflict with the package in other plugins, because it has the same class path. Should be copied into your own package structure.
@khobbits
1. Books names and everything: done. 2. Source code I'll post in the next jar. I was almost sure I included it, but Ill make sure in the next release. 3. Does it matter where I put mcstats?
@Allek1
Oh two other things: Firstly, your missing the source code from the jar, which you advertised. Secondly, you forgot to move mcstats to your own package.
@Allek1
I'm sitting here wondering if you'll try and take a stab at the books XD
@khobbits
Oh, my mistake. I'll add that in the next version. For the moment, manually adding them to the end using append or add is the best option.
@Allek1
Why would you think lores aren't supported?
Examples from the config file:
http://pastie.org/7900015
@NisseCool
There's nothing I can about the download link, Bukkit Dev hasn't approved it yet and its been 20 hours.
awesome i don't want to the config to change kits but please a download link
@Gunnerrrrr
How so? You can already add enchantments in kits. When your adding a new line, just add sharpness:1 or whatever enchant you want to use to the end (if you forgot, use /ke append <line> <what you want to add>). If your adding using the -i option, it will auto-add the enchants to the kit.
Please add a feature to add enchantments in kits.
Note to everyone who can't find a download link, I posted the latest version in the "Download Here" link. However, it's still pending approval.
@therealspoljo
I was referring to when you said "*facepalm*, you need to type /kitedit addkit [name] -i to save the inv... -_-"
Edit: I also fixed the saving problem in the newest release.
@Allek1
I am using that version...
What do you mean by "Glad you figured it out that the command is NOT /kit xD" I didnt said that I run that command (only to list the new kit when I typed /kitedit save, and that new kit wasnt there...)?
I HAVE BEEN LOOKING FOR THIS