Skip to content

TechzoneMC/TechUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TechUtils

Provides various utitlities for plugins:

  • Loading of offline players
  • UUID lookup

TODO: (in order of priority)

  • Javadocs
  • Easy config api
  • Easy scoreboard api
  • Anotation based command system
  • Reflection based loading of offline players

##Usage TechUtils is centered around TechPlugin and TechPlayer ExamplePlugin:

public class ExamplePlugin extends TechPlugin<ExamplePlayer> {
    
    @Override
    public void startup() {
        System.out.println("Startup");
    }
    
    @Override
    public void shutdown() {
        System.out.println("Shutdown");
    }
    
    @Override
    public ExamplePlayer createPlayer(UUID id) {
        return new ExamplePlayer(id, this);
    }

}

ExamplePlayer:

public class ExamplePlayer extends TechPlayer {
    public boolean isAwesome() {
        return true;
    }
}

Credits

  • Techcable - wrote it
  • Akkarin - config format and parser
    • Making me convert to java 8

About

General Minecraft Utilites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages