ReferAFriend - Reward players who invite people to your server: Version: 0.2 This plugin is idea of Nipper, posted on the Pluggin Suggestions forum. ReferAFriend allows you to define bonus to be given to players who invite others to join your server. When the new player joins the server, he should type /refereed (name of the player who invited him). When the inviter do his next login, he will be instructed do type /refercollect to claim his items. When you put the plugin in yours /plugins folder and runs CraftBukkit, a /plugins/ReferAFriend folder will be created with two files: database.db (the SQLite database file) and config.yml (the configuration file). The config syntax is: Code: # You can define up to 99 bonus'es, and 99 nbonus'es # BONUS = items givem to inviters and NBONUS = itens given to the refereed player(only once) # Type: "item" to spawn specified items to the player # "money" to add money to the player's account. (iConomy or BOSEconomy) # Item: Item ID (for type=item only) # Amount: How many of the (item or money) will be given # Multiplier: How many inviteds to achieve this bonus. It's cumulative. # i.e.: If you have 3 bonuses: bonus01 with multiplier 1, bonus02 with 3 and bonus03 with 5: # 1st person: bonus01 # 2nd person: bonus01 # 3rd person: bonus01 + bonus02 # 4th person: bonus01 # 5th person: bonus01 + bonus03 # 6th person: bonus01 + bonus02 nbonus1.type: item nbonus1.item: 264 nbonus1.amount: 1 bonus1.type: item bonus1.item: 264 bonus1.amount: 5 bonus1.multiplier: 1 bonus2.type: money bonus2.amount: 1000 bonus2.multiplier: 1 bonus3.type: item bonus3.item: 57 bonus3.amount: 2 bonus3.multiplier: 10 Commands /refercheck: Lists people you refereed. OPs can do /refercheck (player) /refercollect: Collect all unpaid bonus the player haves. /refereed (inviter): Register the name of the person indicated the player. /referwipe (inviter): (OP only) Wipe all the indications of a player. /referadd (inviter) (invited): (OP only) Add a indication on tables. Permission Nodes referafriend.refereed: Permission to user /refereed referafriend.wipe: Permission to use /referwipe referafriend.add: Permission to use /referadd Avoiding Abuse One of the main concerns when people install this plugin is how to avoid it being abused. We recommend giving referafriend.refereed permission only to your lowest rank (guest/default), se it cannot be used by members. We're working on adding features to help detect misuse of the plugin. Pending features Register IP of the person who used /refereed, than check it against the IP of the player using /refercollect Fixing debug mode; Help messages improvement. As this is a very first release, there may be some bugs and some "not so helpful" help messages. Help me with suggestions. My english is really bad (I'm brazilian) so, please, tell me if you find wrong or confuse phrases. Download in the BukkitDev project page. Changelog Version 0.2 Permission nodes with Permissions and Superperms; Integration with iConomy and BOSEconomy, so you can define bonus with money amounts Version 0.1 Initial release.