Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Trojaner/ShoebillPlusPlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShoebillPlusPlus

An enhanced and bukkit-like API for Shoebill

Example Usage

This shows an example usage for the scheduler framework:

@Override
public void onEnable() {
  Resource res = this;
  // Executes the given runnable every 200 Ticks. 
  // 1 Tick = 50ms, so it will print the message every 10 seconds
  PlusServer.get().getScheduler().runTaskTimerAsynchronously(res, new PlusRunnable() { 
    int i = 1;
    @Override
    public void run() {
      PlusServer.get().getLogger().info("Scheduler Test: #" + i);
      i++;
    }
  }, 0, 200); 
}

Output:

Contribution Guidelines

License

This work is licensed under an GNU Affero General Public Licenese v3. For more information, read the LICENSE file.

To-Do

  • Implement new event system
  • Implement new scheduler system
  • Implement new command system
  • Implement new plugin system/wrapper(?)
  • Add wiki and explain how to use this

About

An enhanced and bukkit-like API for Shoebill

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages