EpicEnchant
EpicEnchant
Description:
This plugin allows players to upgrade any kind of enchantment up to 127 with adjustable costs.
You can upgrade your stuff to get incredible damage, durablity and loot rate !
This plugin is perfect for RPG servers !
Requirements:
- Vault 1.2.8 or higher
- Any economy plugin compatible with vault
Using Guide:
How to create Sign ? You have to be an OP, then just place a sign and write:
- 1st line: [EpicEnchant]
- 2nd line: Name of enchantment ( List below ) OR random:<bow,armor or tool> Ex.: random:bow;
- 3rd line: Cost - ( Formula: (Enchantlevel+1)*cost )
- 4th line: Max level of enchant OR "reverse" - wille downgrade enchantment OR "max:"<level or "reverse"> i will upgrade enchantment to specifed level or if reverse will remove it completly. Ex.: max:30 ; max:reverse;
After this any player can check the price of upgrading an enchantment by right click on sign and buy it with sneak + rightclick.
Permission nodes:
GENERAL:
- epicenchant.use - able to use EpicEnchnat Shops.
- epicenchant.create - able to create EpicEnchant Shops.
COMMANDS:
- epicenchant.command.* - permission for all commands
- epicenchant.command.enchant - /epicenchant <enchantment name> [level]
- epicenchant.command.enchantall - /epicenchant all
- epicenchant.command.removeall - /epicenchant removeall
- epicenchant.command.list - /epicenchant list
DOWNGRADE PERMISSIONS:
- epicenchant.downgrade - players with this permission have chance to upgrade item
- epicenchant.downgrade.remove - if player has got this permission, on faill will lose enchantment
- epicenchant.downgrade.nothing - if player has got this perm, on fail nothing won't happen
- epicenchant.downgrade.half - on fail lose half level of enchantment
Without first permission next three didn't work so if player fail enchanting, level will downgrade by one.
VIP PERMISSIONS:
- epicenchant.admin - 100% discount | 100% upgrade chance | 1000,00% more enchantments and 100% higher enchantment level chance in random
- epicenchant.epicvip - 75% discount | 30% more upgrade chance | 100,00% more enchantments and 30% higher enchantment level chance in random
- epicenchant.vip - 50% discount | 20% more upgrade chance | 42,85% more enchantments and 20% higher enchantment level chance in random
- epicenchant.minivip - 25% discount | 10% more upgrade chance | 11,11% more enchantments and 10% higher enchantment level chance in random
ConfigFile:
Downgrade:
- BreakChanceMultiplier
- Basecost
FORMULA:
Succes chance = <Basecost> - (<half level of enchantment> * < BreakChanceMultiplier >) form version 0.92 - level of enchantment
List of Enchantments:
- For tools:
- efficiency
- unbreaking
- fortune
- silktouch
- looting
- fireaspect
- knockback
- vsarthropods
- vsundead
- sharpness
- For bow:
- damage
- flame
- punch
- infinity
- For armor:
- respiration
- aquaaffinity
- projectile
- protection
- blast
- falling
- fireprotection
Some ScreenShots
MORE SCREENSHOTS:
Link to movie:
http://www.youtube.com/watch?v=qVZcLy1Xyd4 < Polish / English Subtitles >
http://youtu.be/Ic7BU5LJYgQ < Deutsch >
say I make an enchant sign that charges $2000 per level, how do you make a sign that still charges you $2000 per level to remove the enchants? I am unclear on the reverse feature
/epicenchant all what does this do?
@Re4ly
Danke :) Gut gemacht.
Hier mal ein kleines Preview von diesem Plugin für die Deutschen nutzer ;) http://youtu.be/Ic7BU5LJYgQ
@matix931 Wow! Thanks! I set epicenchant.admin:false for admin group and cost will change, but no upgrade and not Enchant tools :( Please login again as Matix and use /god mode for you and /fly I wana create enchantments market, with you help!
@photocritic
I was on your server, but anyone didn't respond. Just someone killed me.
If cost of upgrade is 0.0 remove permission : epicenchant.admin
@matix931
I change economy plugin to BOSEconomy. Error dissapear, but not Enchant tools :(
Coast of upgrade is 0.00 :(
server 77.72.131.119
@photocritic
Probably economy plugin not supported.
But try to change name of EpicEnchant to zEpicEnchant or aEpicEnchant.
This server is running CraftBukkit version git-Bukkit-1.3.2-R1.0-b2377jnks .... 2012-09-30 01:15:48 [INFO] [Vault] Enabling Vault v1.2.18-b229 2012-09-30 01:15:48 [INFO] [Vault][Permission] PermissionsBukkit hooked. 2012-09-30 01:15:48 [INFO] [Vault][Permission] PermissionsBukkit found: Waiting 2012-09-30 01:15:48 [INFO] [Vault][Permission] SuperPermissions loaded as backup permission system. 2012-09-30 01:15:48 [INFO] [Vault][Chat] mChatSuite found: Waiting 2012-09-30 01:15:48 [INFO] [Vault] Enabled Version 1.2.18-b229 2012-09-30 01:15:48 [INFO] [Vault][Chat] mChatSuite hooked. .... 2012-09-30 01:15:53 [INFO] [Craftconomy3] Enabling Craftconomy3 v3.0.2 b321 2012-09-30 01:15:53 [INFO] [Craftconomy3] Starting up! 2012-09-30 01:15:53 [INFO] [Craftconomy3] Loading the Configuration 2012-09-30 01:15:53 [INFO] [Craftconomy3] Loading commands 2012-09-30 01:15:53 [INFO] [Craftconomy3] Loading the Database Manager 2012-09-30 01:15:53 [INFO] [Craftconomy3] Database Manager Loaded! 2012-09-30 01:15:53 [INFO] [Craftconomy3] Loading the Currency Manager 2012-09-30 01:15:53 [INFO] [Craftconomy3] Currency Manager Loaded! 2012-09-30 01:15:53 [INFO] [Craftconomy3] Loading default settings. 2012-09-30 01:15:53 [INFO] [Craftconomy3] Default settings loaded! 2012-09-30 01:15:53 [INFO] [Craftconomy3] Loading the Account Manager 2012-09-30 01:15:53 [INFO] [Craftconomy3] Account Manager Loaded! 2012-09-30 01:15:53 [INFO] [Craftconomy3] Loading the PayDay manager. 2012-09-30 01:15:53 [INFO] [Craftconomy3] PayDay Manager loaded! 2012-09-30 01:15:53 [INFO] [Craftconomy3] Ready! ..... 012-09-30 01:15:58 [INFO] [EpicEnchant] Enabling EpicEnchant v0.92 2012-09-30 01:15:58 [INFO] [EpicEnchant] - Disabled due to no Vault dependency found! 2012-09-30 01:15:58 [INFO] [EpicEnchant] Disabling EpicEnchant v0.92
Whats is wrong?
Works perfectly, and the red faillure message too =) Realy nice work, thank you.
@Ordrox
Try this :
Formula changed to: basecost - currlvl * breakchance
http://dev.bukkit.org/media/files/632/826/EpicEnchant.jar
ViP grade only for odd numbers? No, i don't have any ViP access. Could you tell me if you have that kind of "issue"?
@Ordrox
Maybe you have any of vip permissions, they are increasing succes chance;
That sound nice and i already tried it, but the results are the same, With basecost of 100 and break chance of 20, the percent are the same. Lvl 0 -> 1 100% Lvl 1 -> 2 80% Lvl 2 -> 3 80% Lvl 3 -> 4 60% Lvl 4 -> 5 60% ...
@Ordrox
It is not java, it is pure math.
If you want formula like this:
<Basecost> - (<level of enchantment> * < BreakChanceMultiplier >)
set break chance multiplier to 2, becouse:
half level of enchantment = level of enchantment / 2
half level of enchantment * 2 = level of enchantment
Huf... I don't know anything in java...
But the formula is:
If you think about another fomula it should be like:
And Break chances will be perfect.
@Ordrox
Try to choose break multiplier at 1.25 and base cost 100.
I have to think about another formula.
Also here is a source code:
http://sourceforge.net/p/gittestmine/code/commit_browser
Hello, can i ask you to take a look at my last request? (Sep 15, 2012 at 02:23) The way the break chances are calculated sound strange.
@erdrickk
Try this:
http://dev.bukkit.org/media/files/630/68/EpicEnchant.jar
Should be ok now.
massive Bug - if you use a plugin like SignColors and you put a color code on the first like before your code like &6[EpicEnchant] then people can bypass the permissions. Check this video out
http://www.youtube.com/watch?v=7lQEfKrhqg4&feature=player_embedded
NOTE: Skip to 3:30 in the video for the solid proof - Everything before is nothing Important. This is my moderator doing this and he does not have perms to make an Enchanting Sign