API

Navigation: Main | API



As of version 1.0.1, there is now a basic API!

This will allow you to launch players with ease!

Adding LaunchOnCommand to your Project

Make sure to import the latest version of LaunchOnCommand, and make sure that it is added to your Build Path!

     import me.hrsn0410.loc;

Note that all plugins that have LaunchOnCommand methods will require LaunchOnCommand to use any LaunchOnCommand methods!

Methods

launch(player, velocity)

Launches the player at a specified velocity. Example:

     loc.launch(event.getPlayer(), 2.0);

Comments

Posts Quoted:
Reply
Clear All Quotes