PickUpgrader
PickUpgrader V2.0
Requested By TheGamesHawk2001
http://forums.bukkit.org/threads/pickaxe-enchant-upgrading.318007/#post-2856554
What It Does
Every (configurable) amount of blocks it gives you a Token. When you get 3 tokens you can do /upgrade and the plugin will add a enchant to your pickaxe, note you need to have the enchantment already their are least level 1. You can also do /blocks to see how many blocks left before your Token. To make your blocks go down you NEED to be in survival and be mining with a diamond Pickaxe.
How to install it
Download the file
Put into the plugins folder
Reload the server
Config
You Config should load like this.
Blocks:
AmmountMined: 100
Players:
PlayerName:
BlocksLeft: 100
TotalBlocks: 0
Tokens: 0
NextName:
BlocksLeft: 100
TotalBlocks: 0
Tokens: 0
Planned
Work for all tools, swords have to hit mob or player.
Configurable how many Tokens needed for each /upgrade.
Right click the Pickaxe to open it (Configurable)
@TheGamesHawk2001
Any errors in consol
@Koolzskillz
none of the commands seem to work. They just done do anything..
@Koolzskillz
Figured it out I was forgetting a bracket
@Koolzskillz
k
@TheGamesHawk2001
i am confused on how to code this the get the level and then add one to it im trying to get my friend to help my ill keep you posted
@TheGamesHawk2001
No between noticing advanced warfare and school I haven't had that much time to work on it and you request a lot.
I'll try add some of your features tonight
@Koolzskillz Done yet?
@TheGamesHawk2001
Ok I'll work on it tonight, I won't push the update because I will TRY add all those items
@Koolzskillz can you make it so you can change the name of the item and the actual item? u can also change ALL of the messages. ALL of the upgrades and also, can U just remove the weird pick lvl thing and have it upgrade the efficiency or fortune or whatever upgrade by 1 each time :) and u can also define how many tokens it costs to buy an upgrade THX :D
@TheGamesHawk2001
Ok I'm not gonna put the tokens "in the air"
They will still be nether stars but called 'Upgrade Tokens'
I am doing this because,
I want them to be raid able
So:
In the update
I changed the config, example
'Blocks:
AmmountMined: 100
Players:
KoolzSkillz:
TotalBlocks: 324235
BlocksLeft: 30
Another player
It will be released when I get home from school
Bukkit won't accept right away tho
@TheGamesHawk2001
Wait what
I don't understand
@Koolzskillz There's a bug where you cant type /upgrade whilst holding a pick and if you added the /upgrade when u right click the pick it would work cus it wud run the /upgrade command whilst the pick is in ur hand. and can you allow the changing of colours?
Na, maybe a command in game that prints the values e.g. /pickupgrade uuid (player) or /pickupgrade tokens (player) e.t.c
@TheGamesHawk2001
Hey, how about it is Blocks: Needed:
Players: UUID: 4537934648353535 Playername: KoolzSkillz Tokens: 6 TotalBlocksMined: 45 BlocksLeft: 112 Next Player
@TheGamesHawk2001
Ok I'll try add it
Can you make it so you don't get a nether star, just stores your amount of tokens.also, change the config shown above to this:
Uuid: 1234556522287465819747.
Player name: CheeseBall
Tokens: 6
Total Blocks Mined: 39858 WITH NO SPACES :P
Then it here for the next player etc
@TheMode911
I'll look into seeing if I can add that :)
I have idea
It would be necessary to add the command /upgrade [ Enchant] Example: /upgrade efficiency and what he improves has the infinite
(Sorry for my english)