• Filename
  • Uploaded by
  • Uploaded
    May 19, 2012
  • Size
    37.12 KB
  • Downloads
  • MD5

Supported Bukkit Versions

  • CB 1.3.2-R1.0


  • Updated to CB 1.2.5-R2.0
  • Introduces two new Decorators, @EventHandler and @CommandHandler which have the same funcitonality like @hook.event and @hook.command but work also for instancemethods
  • A log class which simplifies logging. There are 3 methods, log.severe(msg) and log.msg(player, msg) and one property log.prefix which enables you to set a prefix to the logged messages
  • org.bukkit is now automatically imported as bukkit
  • there is now a predefined variable "server" which holds a reference to the bukkit server

I also have to give credit to Zaph34r alias senritsu who wrote the new annotations, great job!!!

  • when using @EventHandler or @CommandHandler on instance methods you have to create at least one instance during plugin loading, if you create the instance later the methods will be registered as static methods which results in an invalid number of arguments error because the self parameter is not inferred
  • When using Zaph34r's boilerplate code log is overwritten, this can lead to problems when using the new annotations as they depend on it. Try to change to the new system or edit the boilerplate to use another name than log to save the logger reference