EasyEnchant
EasyEnchant
EasyEnchant is a complete overhaul of the current enchanting method, using commands to get accurate enchantments while also allowing for server owners to completely control how much the enchantments cost (using a multiplier and adder) and each enchantments maximum level. This also allows for users to add enchantments to their already enchanted tools, weapons and armor.
Works well with EnchantMore
NOTE: When updating to v1.2 let a new config generate!!! IMPORTANT
ANOTHER NOTE SINCE PEOPLE DON'T READ: READ THE CONFIG PROPERLY
Servers using EasyEnchant
- BigDogsPvP: mc.bigdogspvp.com:25641
- MC Legends Realm: mc.legends-realm.com
- BoarderLine: play.blcraft.net
- SemiCraft: 80.222.151.230
- Land Of Ch'bey: landofchbey.com
- damNation: damNation.eu
- Xazier Prison: 69.122.231.55
More will be added to this list as I find them.
Requirements
- Vault (Only if you choose to use money as currency)
Commands
- /ee
- /ee list
- /ee combos
- /ee exceptions
- /ee comboinfo (combo)
- /ee combo (combo)
- /ee (enchantment) (level)
- /ee cost (enchantment) (level)
- /ee remove (enchantment)
- /ee plugininfo
- /ee (page number)
Permission Nodes
- easyenchant.use
- easyenchant.notable
- easyenchant.nocost
- easyenchant.combo.(combo-name) ie. easyenchant.example
Video Demo
http://www.youtube.com/watch?v=wUzMq8XhEsc
Combo Format
example: cost: 15 enchantments: protection_environmental:5&protection_fire:3&oxygen:2
How it works:
- Click on an enchantment table
- Use /ee (or /easyenchant or /enchant) to bring up a list of help commands
- Use /ee (enchantment) (level)
- If it passes all the checks (ie. level <= maxlevel, (playerLevel - cost) >= 0, etc) the item is enchanted and the player looses the amount of levels.
- When finished click on the table again or walk away from the table
Pictures:
Features:
- Modifiable alias list
- Permission Nodes
- Combinations (User modifiable)
- Conflict Check
- Extremely configurable (maxLevel/Level costs per enchantment)
- Easy to use (simple drag and drop)
- Very compatible with EnchantMore
- MaxEnchantmentStack allowing for owners to control how many enchantments people can put on certain types of items
- Exception list to add non-standard enchanting
- Command to show exceptions for the item in the players hand
- Original enchantment method can still be used
- Choice of using Levels or Money as currency
- Can remove certain enchantments from an item
To-Do for later versions
- Spout interface
- Incorporate Bookshelves
- All ideas are on extreme hold, due to University
- More ideas (?)
Like what I do? Want to support me and my projects? A donation goes a long way for a simple developer like myself!
@Troop116rules
use PlugMan. Works amazingly well. and is as-good as a server restart, without the messyness of restarting the server.
Please add a command to reload the plugin in-game. It is frustrating to have to restart the server every time I change something.
Also, don't forget to allow the command to be run from the console.
@Bear809
You don't make the combo in the command. The combo is made in the config using this format.
There are several examples in the config that you can follow.
To access each combo you need to have the combo permission node (ie. easyenchant.example) and use that in the command (ie. /ee combo example)
@Bear809
What are the : 3& : for?
Hi, i type in for my pickaxe /ee combo efficiency : 3&unbreaking: 1
But nothing happends
@BEQOsNtDi6xRDGzqIAT7
Enchantments to a player are impossible. Enchantments can only be applied to items.
@Laserhog
Actually i think he's asking to enchant people (of a certain group) instead of items. Which, while cool, probably goes slightly beyond this particular plugin.
(And yeah, more complexity with permission stuff is something i'd consider a bad thing. That stuff is already kind of a hassle in general.)
@iAutolycus
Err, you want only someone with that permission node to be able to use that enchantment?
Well you could make the enchantment cost really high, (unobtainabley high through legit ways) and make the enchantment accessible through combos only.
This seems to be something people are asking quite a bit of. Per Enchantment Permission Nodes. Should i add this? I believe it just gets too messy for the owner to add all the different enchantments to the player or group.......
Is there a way to apply a enchantment to permission group instead of a item? like give someone in vip section fall protection?
@Tough_Love
If you are using a permissions plugin then just give the player 'easyenchant.use' and they can use the basics. To allow for someone to use a combo give them the permission node 'easyenchant.<combo-name>'.
If you dont have a permissions plugin then all commands automatically default to op so you should be able to use it anyway if you are op.
Sorry i am new to this, how do i allow people to use easyenchant on my craftbukkit server? I am not allowed either? Please help.
I kind of wish that people with no permission to use this plugin didn't see any messages about it when clicking on a table, and got just the standard red bukkit permission message if they tried to use the /ee command.
@drorex
@BEQOsNtDi6xRDGzqIAT7
Right now I use bukkits "Enchantment.canEnchantItem(Item)" followed by my built in exceptions check if the previous returns false. Bukkits built in enchantment check only returns a boolean and there is none that lists all the avaliable enchantments for the item, however i can list my exceptions.
So i will probably just hard code a list in.
Also, "/ee list" and "/ee listall" sounds good.
@fingoxable
What is /perm info ?
Never heard of that before.
@Laserhog
Hm... difficult to say. Technically this is probably making "list" redundant indeed, assuming the new thing also shows the maximum enchantment levels. Should not be hard to list all enchantments available for a item, though. You can already check the exception list to see what is possible there and i suspect you can check the item against all default enchantments and see which ones come up as "true". (This would be a hardcoded list, taken from vanilla Minecraft. But at that point you could also just merge vanilla and exceptions into one big list in the config, for easy access and less headache, including doing a "/ee list" for the item held.)
Can't comment on spout, since it is incompatible with most of the mods we use. :) (A common Spout problem, as i've been informed.)
@Laserhog
How about making '/ee list' show enchantments applicable to what's in your hand, and '/ee listall' show all possible enchantments?
As for determining them...how do you determine right now to accept or reject an enchantment? Seems like you must either already have a list, or some way of querying if an enchantment is valid?
For a GUI, I'd imagine a scrollable list of buttons or sliders: buttons for enchantments with only a single level available, click on or off, and sliders to set the level for enchantments that have multiple levels. Then a display at the bottom saying required number of levels, and finally a big button to apply the enchantment. Probably also a cancel button? or people could just hit ESC key?
thanks!
@Laserhog
Im not sure why as I use PermissionPukkits and put myself as the default User which i enabled easyenchant.use: true for default users. But when i tried to use easyenchant, it says i dun have permissions. Furthermore, when i op myself and do /perm info easyenchant.use , it say can't be found. O.o
@drorex
@BEQOsNtDi6xRDGzqIAT7
Or how about "/ee listhand" or "/ee listcurrent".
Dont really wanna overwrite "/ee list", unless you think it will be redundant with this new command.
And one problem i can see is that there is no way to programmically list the enchantments avaliable for the item. The only way i can see to do this is to hard code the enchantment list myself. Will still do it, but :/
Ok so my short to-do list for tomorrow (since i have a free day)
NB on Spout Interface. Im pretty sure i have a layout all ready but it doesn't particularly look good. If anyone wants to make their own version of what they think it should look like (either a simple microsoft paint picture or an awesome Photoshop one) i may consider using it. Preferably want it to be similar to other GUIs used in MC.
One other thing, people keep telling me that Spout is breaking away from Bukkit. I tried finding some more info on this but couldn't see anything of the sorts. If this is true then the Spout GUI may be a bit pointless :/
@Laserhog
Oh, it is working. I guess i was just wondering why the same thing had two different names. Which is answered now via aliases. :)
Also, i second the notion of adding a derivative of "list" ("/ee list this"?) showing all the enchantments that can be put on the specific item held. (both standard and via exceptions)
Suggestion: make '/ee list' show only enchantments that apply to the currently held item, including exceptions.
Thanks!