Configuration

Configuration Explanation


Debug: false 
Sponsor-List:
  cooked_beef:   //Name of the Sponsor Gift. This is what the player will be typing. Ie. /sponsor Notch cooked_beef
    type: item        //type of gift. Can be item\xp\effect
    item: STEAK   //ENUM value for item. This must be a proper value.
    data-value: 0  //data value if you are looking to give out items like potions/dyes
    amount: 1       //amount of the items to give the tribute
    cost: 4.0         //amount of currency to remove from the sponsor.
  bread:
    type: item
    item: BREAD
    data-value: 0
    amount: 1
    cost: 3.0
  apple:      //NOTE: Gift name must use only lowercase letters and numbers. Use _ for spaces.
    type: item
    item: APPLE
    amount: 1
    cost: 2.0
  cookies:
    type: item
    item: COOKIE
    amount: 2
    cost: 1
  xp1:
    type: xp           //xp rewards do not need item: \ data: sections.
    amount: 15     //amount of xp to give the tribute NOTE: this is not levels!
    cost: 5
  xp-pack2:
    type: xp
    amount: 60
    cost: 20
  hasteI:
    type: item
    item: POTION
    data: 8194         //Data values are useful for potions
    amount: 1
    cost: 8
  blind:
    type: effect     //gives the tribute a designated potion effect
    effect: 15        //use potion effect numbers
    duration: 80    // length of time in ticks
    strength: 1      //the amplitude of the potion effect. Some effects will not see a change from this.
    cost: 2
Messages:           //many of the messages can be customized here. Supports color codes and variables (see below for more info).
  custom-help: '&3Type in &6/sponsor-help &3for more info!'     //DOES NOT SUPPORT VARIABLES
  tribute-item: '&6You were Sponsored! <sponsor> &3gave you <amount> <gift>!'
  tribute-xp: '&6<sponsor> &6has sent you <amount> xp!'
  tribute-effect: '&6<sponsor> has placed the <gift> <strength> &6effect on you &6for <duration> seconds!'
  sponsor-item: '&3You sponsored <tribute> &3with <amount> <gift> for a cost of &6<cost> VP!'
  sponsor-xp: '&3You have sent <tribute> <amount> experience points. Hope it helps, because it cost you <cost> VP.'
  sponsor-effect: '&3You have place the &2<gift> <strength> effect &3on <tribute> &3for <duration> seconds. It cost you &3<cost> VP&3.'
Errors:
  not-enough-money: '&3You do not have enough money to sponsor that item. It costs <cost>'
  no-permission: '&3You do not have the Permission to Sponsor <gift>.'
  not-a-tribute: '&3You may only sponsor tributes that are alive in the arena.'
  not-on-list: '&6<gift> &3is not on the sponsor list.'
  not-an-effect: '&4<gift> does not have a valid effect.'
  invalid-type: '&3<gift> does not have a valid type.'
  duration: '&4<gift> has a duration of less than 1 Therefore adding no effect.'

Color Codes and Variables:


  • &0-f Ie: &6Notch will display "Notch" in gold letters.
  • <gift> - Name of the Gift Package. Will be formatted to CAPS
  • <sponsor> - Name of the player running the command
  • <tribute> - Name of the player getting the gift.
  • <cost> amount of money the sponsor paid in 0.0 format.
  • <amount> - Number of Items or XP given.
  • <currency> - replaced by the value in 'currency-label: '$'

Effect Specific ones

  • <effect> - Will display the potion effect NOTE: not working 100% yet.
  • <duration> - Displays the amount of time the effect will last in Seconds.
  • <strength> the amplitude of the effect.

Potion Effect Numbers - http://www.minecraftwiki.net/wiki/Potion_effects

Valid Enum values - http://jd.bukkit.org/apidocs/org/bukkit/Material.html


Comments

Posts Quoted:
Reply
Clear All Quotes