Skip to content

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:

publicclassExamplePluginextendsTechPlugin<ExamplePlayer> {
@Overridepublicvoidstartup() {
System.out.println("Startup");
}
@Overridepublicvoidshutdown() {
System.out.println("Shutdown");
}
@OverridepublicExamplePlayercreatePlayer(UUIDid) {
returnnewExamplePlayer(id, this);
}
}

ExamplePlayer:

publicclassExamplePlayerextendsTechPlayer {
publicbooleanisAwesome() {
returntrue;
}
}

Credits

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

About

General Minecraft Utilites

Resources

Stars

7 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages