Skip to content
Netprogs edited this page Oct 10, 2012 · 3 revisions

Download here:

https://github.com/downloads/Netprogs/GiftCodes/GiftCodes-1.0.0-BETA-0.6.jar

Also made a version to support Tekkit. It only has the basic MC items, but should work fine otherwise.

https://github.com/downloads/Netprogs/GiftCodes/GiftCodes-1.0.0-TEKKIT_BETA-0.2.jar

Couple things you'll need to do:

Delete and allow the plug-in to rebuild resources.json

Run the following SQL:

ALTER TABLE giftcodes ADD COLUMN server_name varchar(40) NOT NULL;

In config.json, add the following:

  // Change the value as needed to separate each server being used on. 
  // Doesn't have to be an actual name, just something different between the two.
  "serverName": "minecraft",
  
  // This defines the list of worlds that you do not want player to be able to receive their gift in.
  // When they attempt to redeem their token on the website and their character is in one of these worlds,
  // they will be told they cannot receive their gift at this time. They can later redeem it once they've
  // left the excluded world.
  "excludedWorlds": ["example_world","example_world"],

Then update the names as needed to exclude whatever worlds you want.

Clone this wiki locally