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 Apr 21, 2013I'll be using this on my server soon, thanks for your hard work!
-
View User Profile
-
Send Message
Posted Apr 21, 2013V0.4 is here! You can now disable IP Checking (recommended leaving it enabled). The leaderboard's accuracy has been improved (still not perfect). The config file is now editable in-game and some bugs have been fixed.
-
View User Profile
-
Send Message
Posted Apr 21, 2013@GioboiMC
Bug has been fix and update has been uploaded. I've also added the ability to disable the ipcheck. Sorry it took so long.
-
View User Profile
-
Send Message
Posted Apr 15, 2013Any news on how it's coming along?
-
View User Profile
-
Send Message
Posted Apr 13, 2013http://pastebin.com/
-
View User Profile
-
Send Message
Posted Apr 13, 2013@GioboiMC
Try this test build: Link Removed: http://www.mediafire.com/download.php?dxu9ht7b02zhqc3 It probably won't fix the problem. When you try it, it should say "A severe error occurred, please report this error (See Console)" just send me what it says in the log, along with a list of any plugins you have installed.
-
View User Profile
-
Send Message
Posted Apr 11, 2013I tried again and got this error: http://pastebin.com/9W8hX1qH
This is what my config looked like this time: http://pastebin.com/pbARdddb
Please respond soon! Thanks.
-
View User Profile
-
Send Message
Posted Apr 11, 2013Any progress on this plugin? I'd LOVE to use it on my server, but not if I can't configure it correctly :X
-
View User Profile
-
Send Message
Posted Apr 9, 2013Hi,
I see you have added some things that I suggested. I now have another request. Lol. My request is to add a MySQL database. I've had the plugin on my server for a while now and the file is getting bigger and bigger.
Thanks!
-
View User Profile
-
Send Message
Posted Apr 9, 2013@laxynd
I'm not using nicknames.. Can you add me on skype? (Bla_Saige433). I could probably help you out. I have a whole test server that's a replica of my main server that we can test things on.
-
View User Profile
-
Send Message
Posted Apr 9, 2013@GioboiMC
I think I was finally able to reproduce the problem (or a similar one). When you press tab in-game, does it show your username, or your nickname? If it's your nickname, then that's the problem. (Assuming your using Essentials to change this) Go to the Essentials config, and under Essentials (Global), change "change-playerlist:" to false. If the tab menu shows your username, or what I said didn't resolve the issue, then I'm stumped.
-
View User Profile
-
Send Message
Posted Apr 9, 2013(Deleted link because my IP was in it)
If you want, you can add me on skype (Bla_Saige433) and I can help you test it
-
View User Profile
-
Send Message
Posted Apr 9, 2013@GioboiMC
Can you post your config file?
-
View User Profile
-
Send Message
Posted Apr 8, 2013Had a friend come online, try to refer me, and the console started spitting out more errors.
-
View User Profile
-
Send Message
Posted Apr 8, 2013With the new version, I tried to refer myself and got this error: http://pastebin.com/KCTVQNN7
It also said "An internal error occurred while attempting to perform this command"
I also would love it if you added an option to set referring yourself or someone from the same IP to true or false. Would sure help me with testing the plugin.
-
View User Profile
-
Send Message
Posted Apr 8, 2013After a longish delay, I finally updated the plugin. The config has been changed around, so update it accordingly. Example Config.
-
View User Profile
-
Send Message
Posted Apr 8, 2013@GioboiMC
First download the latest version, and update the config to follow this format. To give someone $50 every time they refer someone, then this is what you should have;
After making any changes, you have to do /referreload. If anyone uses /refer or a new user joins the game for the first time before you /referreload, the config will update itself and you will lose any changes you made.
-
View User Profile
-
Send Message
Posted Apr 6, 2013The config is frustrating me so much.. Can you please help me? If you could add me on skype bla_saige433 that would really be amazing.. But if not, here's what I'm trying to do. I want people to get $50 on my server every time they refer someone. This is what I have in the config that I think should do that:
Recurring: 1 Commandra: eco give Commandrb: '50'
Yet nothing is happening.. Plus once someone is in the config it totally changes next time you refresh it. Please help me figure out how to just give someone $50 each time they refer someone.
-
View User Profile
-
Send Message
Posted Apr 3, 2013Simple, useful, AWESOME :) Good job, i'm sure this plugin will get a lot more downloads in a little time :D
-
View User Profile
-
Send Message
Posted Mar 29, 2013I really love this plugin! Only two things would be nice to add: 1. if someone joins he couldnt use the command till he was online for ... hours/minutes/... 2. if someone used the refer command, there is a message in chat, so everybody can see who referred somebody
bye Cobra