ReferredByMe
ReferredByMe is a plugin that allows users to refer other users to the server, letting them get rewards in return, and you to get more players to join your server. This plugin is still early in development, and so if you find any bugs, please let me know so I can fix them as soon as possible. Feel free to make suggestions too.
Commands and Permissions;
Usage - description - permission
- /refer <player> - Says who referred them to the server - ReferredByMe.refer
- /referinfo [player] - Gets information on the player. Who referred them, and how many people they have referred. - ReferredByMe.info
- /referversion - Checks information on the version you are using - ReferredByMe.version
- /referreload - Reloads the config file - ReferredByMe.reload
- /referleader - Checks which player has the most referrals - ReferredByMe.leader
- /referrank - Checks which player has the most referrals - ReferredByMe.leader
- /referconfig - Edits the config in-game - ReferredByMe.config
- /referclaim - Claims unclaimed rewards - ReferredByMe.claim
ReferRank LeaderBoard Signs
You can now create leaderboards from signs. Just type;
- [referrank]
- <which rank>
- This will produce a sign that says
- [referrank]
- <rank>
- <player>
- <Referrals>
- Signs update whenever you right-click them.
Features
- Stops players from referring themselves
- Doesn't allow players to use the /refer command, if someone else has claimed they were referred by this user. This is to prevent people from doing a "I refer you and you refer me" sort of thing.
- Doesn't allow users to say they have been referred by someone, if they claimed they have already been referred by another user.
- Customizable messages
- Customizable Rewards. After a certain amount of referrals, or every time a user refers a certain number of players. You may use as many tiers as you wish.
- Stops players from referring users that have the same IP. This is to prevent users from referring themselves with alternate accounts.
Config
Users who are updating from V0.5.1 or earlier, must change the config to follow the style shown here, otherwise, there will be a lot of bugs. http://dev.bukkit.org/server-mods/referredbyme/pages/example-config/
The config allows you to change the messages that appear on the screen, and edit the rewards. When a player gets a certain amount of rewards, then a command will be executed from the console. If you want the player to get a reward every time they referred someone, set "Recurring" to '1'. Variables: {player} - Replaced by the player who joined/executed the command {target} - The player a command is targeted to.
To disable Welcome messages, set WelcomeMessage, ReferElse and/or ReferredBy to ''. (double apostrophe)
Planned Future Features
- MySQL support.
Bugs and Requests
If you find a bug, or just want something added to the plugin, use the ticket system. It's easier on me than using the comments below. Make sure the bug/request hasn't already been posted before posting and that you are using the latest version.
Open Source
ReferredByMe is open-sourced. Feel free to take a look at the code, or even contribute to it. Source on GitHub
-
View User Profile
-
Send Message
Posted May 18, 2013I dont get the signs working..
i do what it says : You can now create leaderboards from signs. Just type;
[Referrank] <which rank>
-
View User Profile
-
Send Message
Posted May 17, 2013I've been really busy with school and exams, so I won't be able to roll out any updates any time soon.
-
View User Profile
-
Send Message
Posted May 12, 2013Even went to the lengths of trying spigot vs bukkit neither worked.
-
View User Profile
-
Send Message
Posted May 12, 2013@laxynd
No matter what I try, I can't get the recurring to work.. I just don't get it..
-
View User Profile
-
Send Message
Posted May 12, 2013@GioboiMC
No, I tested it myself with an alternate account and it worked fine. The IPs aren't used when giving out rewards, and if the tiers works, there shouldn't be any problems with the recurring, they're done in very similar ways. Sorry, but I'm completely stumped on this one.
-
View User Profile
-
Send Message
Posted May 11, 2013Could it have something to do with the fact that I referred myself and used alt accounts on the same computer? I DO have the ip address thing turned off though.
-
View User Profile
-
Send Message
Posted May 10, 2013@laxynd
Yeah it said 1... And then I did /referconfig Reward.Commandr. It said "eco give {target} 20"
-
View User Profile
-
Send Message
Posted May 10, 2013@GioboiMC
I think there seems to be a problem in obtaining information from the config for you. Try /referconfig Rewards.Recurring (case-sensitive). It should say 1, but if it says anything else, do /referconfig Rewards.Recurring 1 int. Then try /referconfig Rewards.Commandr. It should say "eco give {target} 20". If the problem was any or both of these, then the problem is in obtaining information from the config.
-
View User Profile
-
Send Message
Posted May 9, 2013Deleted my whole referredbyme folder so I had to redo it all.. I decided to post my whole config in case you needed it. Here you go: http://pastebin.com/KRC4eycJ
-
View User Profile
-
Send Message
Posted May 9, 2013@GioboiMC
Works for me, can you post the Rewards section of the config? As for more tiers, this isn't possible yet, but I'll try and add it in future updates.
-
View User Profile
-
Send Message
Posted May 8, 2013Yeah The recurring just doesn't work at all..
-
View User Profile
-
Send Message
Posted May 8, 20131. Does the recurring thing not work at all or just doesn't work when you use the tiers? 2. Can I add more tiers? 3. If not can you add infinite tiers?
-
View User Profile
-
Send Message
Posted May 7, 2013@Mint33
I added that specifically for my server because it was the easiest way to do it, but just forgot to remove it, sorry.
-
View User Profile
-
Send Message
Posted May 7, 2013You should change the alias of /vote, or remove it all together. As someone who prefers having minimalistic plugins, it seems unnecessary. Just a suggestion.
-
View User Profile
-
Send Message
Posted May 6, 2013I don't know if this is possible but I think it would be a good idea. I have a large user base already so I'm worried players would use the referral with 5 friends and 1 person get the rewards. Maybe there could be a way where you can only use the /refer <player> command for 10 mins after you are new to the server. After that you can no longer use the /refer command.
-
View User Profile
-
Send Message
Posted May 6, 2013V0.5 is here! Not a lot was added this update, I've been busy lately with school, and most of my time working on this, was spent on the ReferRank leaderboard signs. I also added the ability to disable the welcome messages if you set them as '' (double apostrophe). Any bugs or requests? Submit a ticket.
-
View User Profile
-
Send Message
Posted May 6, 2013@laxynd
Thanks! :)
I'll look forward to it :)
-
View User Profile
-
Send Message
Posted May 5, 2013@DeanUKMC
@LeakCraft
I will add this in the next update.
-
View User Profile
-
Send Message
Posted May 5, 2013@LeakCraft
Would like to see this also. I don't want messages being spammed every time someone joins.
-
View User Profile
-
Send Message
Posted Apr 26, 2013Can you add an option to disable the welcome ReferredByMe messages? Deleting the text under: WelcomeMessage, WhoReferred, and ReferElse didn't work.