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
@Killerman781
Yes. In the next update, I will be changing the config around though.
Alright, cool i will be using this plugin! one question on the config. is this how i would create the reward for giving the player who referrs the other player $500? Rewards: Tier1: 1 Command1a: eco give Command1b: 500
@Killerman781
Yes, after you successfully say you were referred by someone, it won't let you say you've been referred again.
Does this plugin, after you have said who referred you, prevent them from using the command again? if not could you add this? keep a database of who has said who they were referred by? or even remove their permissions?
@laxynd
How long do you think that will take? I really like the plugin and I'm making it so that my players will get a rank once they reach a number of referrals.
@Omgitsdmt
I'll try and add an IP checker in the next update to stop players from referring themselves with alternate accounts if the server is running in offline mode. I'll try and get an update out solving this issue (as well as a few other stuff I'm adding) before the end of the week.
@DarmaMoo
You can do it with /referleader.
@Laxynd
I've got this on my server but players still seem to be able to refer each other. Also, I've tested it myself with Nodus and I was able to create multiple accounts and refer myself.
@DarmaMoo
if you did /referleader, then it will show you who made the most referrals, but only the top 1 person so far. In the future, I will try to add a better leaderbord, and the ability to check what rank someone is with /referinfo. I'm thinking maybe a leaderboard made from signs now .... hmmm.
@laxynd
I like this. Can it show like a leaderboard of the people who made the most referrals?
Bukkit finally approved the file, so you can now download it. If you find any bugs or have any suggestions, please let me know. As for the next update, I'm planning on making the config file a lot better, and allow for variables such as {player} to be replaced by the player's name. Any bugs that need squashing, let me know. Feel free to leave any suggestions too.
@skipperguy12
Yeah, and yours is horrible.
@Omgitsdmt
As soon as bukkit approves it, not really sure how long I have to wait for that.
@ThijsRay
Definitely on my to-do list. Might take a while though, since I'm not very familiar with working with any SQL databases.
Why?
http://dev.bukkit.org/server-mods/mcrefer/
I already did this...
@ConnorMcf10
Look at mine its a little like this but has a sql database to store data of people who have been already referred
Sounds great! It would be very nice if you could implement MySQL so you can see who has referred who. It would be nice for my website.
Sounds great! Bookmarking for now! :D
This is an awesome plugin that I would love to see in my server. How long is the ETA?
EXACTLY WHAT I WAS LOOKING FOR!!! Can't wait!
This is perfect, waiting :]