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
@sedvis
Good job.
Hey guys. I hope the developers dont mind, but I fixed a few bugs and wanted to share my version with you. It was tested on MC 1.2.5, because I run a TEKKIT CLASSIC server, but anyway.
What I fixed:
Anything about a 1.7.X update?
does anybody no if this will work with 1.6.4 without flaws i would love this on my pixelmon server and mabe update to 1.7.2 would be awsome to have on my factions server aswell ;) thanks
When a player uses the /referclaim command I get an error message in the console
This happens when the console tries to give an item to {player} using the give command. Why is the plugin not recognizing {player}?
How can i make it /invitedby (player) instead of referedby?
is this working with 1.6.4? I can't seem to get the rewards to payout.
@DQone
Because it does it with commands, then of course it is :)
Is it possible to rank someone up as a reward?
eg Command: - 'pex user {target} group set Referrer'
@ebear123
The person you refer has to run the /refer command. It doesn't work the other way around.
Hey, I'm getting a bug that when someone refers someone else, it says "You cannot refer yourself, you silly goose!", even though they're not referring themselves. Please help me with this.
The top referrals don't seem to be updating for me. One of my players has referred about 20 people, but the top referrals has been on the same person (at 5 referrals) since I installed the plugin.
awesome plugin dude, very helpful.
I was wondering if you could add a config option for the /referclaim command. Option to automatically give player the reward upon referal or to use the /referclaim command. AutoClaim: true/false something like that.
-scungilli
@LeBubbleBuilder
Hmm, I'm not sure why this is happening. The code completely ignores any arguments with /referclaim. It should claim all unclaimable rewards. Not sure why this isn't the case.
@TheSigler49
Do /referclaim 1, yes its stupid OP shud change code such that /referclaim claims the highest tier availible reward, but no, you need to select the ID of the reward
Sike I figured it out, beautiful plugin for small community server :D Thanks
@laxynd
Hia! I got no errors in my config, yet when players do /refer [name] it tells me "THanks for referring [player] to this server!" then i try /referclaim, and no rewards are found. This frustrates as every referal a player and target gets 1 diamond and 4 exp bottles. Mind checkng the config?
http://pastie.org/8200826
thank you!
@cmasson
Your lists need to be indented more. i.e.
Not
http://shrib.com/nFnIJuUc