BeardAch 0.4 (chocolate)

Details

  • Filename
    BeardAch.jar
  • Uploaded by
  • Uploaded
    Feb 4, 2012
  • Size
    56.77 KB
  • Downloads
    569
  • MD5
    c51b99b5fb8690865f538f734ae810c5

Supported Bukkit Versions

  • CB 1.1-R3

Changelog

Requires BeardStat

!!ALERT!!

A bug has been discovered with the table generation code for the mysql storage. After the table has been built, you must run the following SQL code on the table

 ALTER achievements DROP PRIMARY KEY;
ALTER achievements ADD INDEX player (`player`);

I apologise for the inconvienience BUGFIX: Fixes the example achievement continually been placed in the config file. (as long as you have atleast one achievement, it will not appear)

Also as an added bonus, Colour Codes for messages! Syntax is &[0-9a-f], checkout the minecraft wiki for which colour code matches which colour.

Previous notes on 0.4

A new release and many new changes, so let's start with the biggest.

The sql table structure has been altered to add unlock dates to achievements, unfortunately this means you will either have to.

A) drop the achievements table from the database and let the new one be built in it's place.

B) Run the following mysql on the table

ALTER TABLE  `achievements` ADD `timestamp` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP;
UPDATE `achievements` SET timestamp=CURRENT_TIMESTAMP;

Second biggest new feature is economy support, via the magic of Vault any economy it supports is supported by us for a balance trigger (money > threshold) and reward (20 blockBucks for finding a hidden area)

Another addition is fancy output. Both SQL and flat file drivers support exporting the achievement data for outside use.

The sql driver will dump the id, name and description to a table (ach_map) for future use by the web api for stats and achievements.

The flatfile driver will instead create a html file in BeardAch of each users achievement and unlock date.

There are also a few more triggers, details and tutorial will be along shortly