Evolving Tools

Evolving tool is simple and powerful level based tool plugin.
Evolution applied tool listen events, and keep evolving.
 
Commands
  /addevolve <Evolution type name>
    Permission: evolve.tools.admin
    Add evolution to holding item.
    If item already has evolution, reject apply.
 
  /reloadevolve
    Permission: evolve.tools.admin
    Reload evolve types from files.
 
 
Adding a evolving type
  If you want to add evolve type, create new yaml file on "plugins/EvolvingTools/EvolutionTypes".
 
 
Supporting Event Types
 
 * Bold is currently supported event type.
 
  BlockBreak (1.0.0)
Event executed when block break.
  Add 1 exp per block.

 

  HitEntity (1.1.0)
Event executed when hit entity.
  Add 1 exp per hit.
 
  DamageEntity (1.1.0)
Event executed when hit entity.
  Add damage to exp per hit
  
  Hitted (1.1.0)
Event executed when hit by entity.
  Add 1 exp per hit.
 
  Damaged (1.1.0)
Event executed when hit by entity.
  Add damage to exp per hit.
 
 
Supported Attributes
 * Bold is currently supported attribute.
 
  Enchant Helper (1.0.0) 
Enchant Helper Attribute is enchant modifier.
  Three type can use to Action : Add,Subtract,Set
  Add adds enchant on level up.
   
  Subtract subtracts enchant on level up.
   
  Set force set enchants on level up.
   

 

  Durability Helper (1.1.0)
Durability Helper Attribute is durability modifier.
  Three type can use to Action : Add,Subtract,Set
  Add fix durability of tool on level up.
   
  Subtract subtracts durability of tool on level up.
   
  Set force set durability on level up.
   

 

 

FAQ
 
Is plugin free? Can I use it to my server?
Yes, This plugin is free.
You can use this plugin in any server.
 
I want more attribute and events!
How can I add more attribute or events?
Comment your idea to reply of this post.
I'll add to next version If I can.
Or, Download code from github and edit.
This plugin is open source based on MIT License.
 
How can I access to plugin API?
I don't want to edit plugin, but want to make addon.
If you want to add Attributes, extends class "AttributeExtension" and call "AttributeExtension#registerExtension(String name)".
Here is example code for you.
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import skywolf46.EvolvingTools.Data.ItemEvolvingData;
import skywolf46.EvolvingTools.Extension.AttributeExtension;
 
public class TestExtension extends AttributeExtension {
    static {
        new TestExtension().registerExtension("TestExtension");
    }
 
    @Override
    public AttributeExtension createExtension(ConfigurationSection cs) {
        return new TestExtension();
    }
 
    @Override
    public void levelUp(Player p, ItemStack lv, ItemEvolvingData tool) {
        p.sendMessage("Congratulation, your tool evolved.");
    }
 
    @Override
    public void listen(ItemStack tool) {
 
    }
}
cs

 

 
 
Where can I find a code?
Go to my github.
 
 
Screenshot

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    322125
  • Created
    May 19, 2019
  • Last Released File
    Jul 1, 2019
  • Total Downloads
    2,169
  • License

Categories

Members

Recent Files