Refer a Friend
REFER A FRIEND - ALPHA
Did you ever ask yourself if there might be a possibility to reward your players for inviting their friends?
The time to thank your players has come! Refer a friend adds exactly what you are looking for!
Refer a Friend allows to invite users via mail (removed causing problems) or link and rewards the player who invited a friend successfully.
Features:
- invite a player to your server via mail
- invite a player to your server via link (not yet!)
- register ingame or use existing accounts
- low server-usage through effective code
Requirements:
- webserver
- mysql database
- vault (optional)
Installation
- download and extract the zip archive
Server:
- upload raf.jar to your minecraft server and restart it
- configure the plugin (refer-a-friend/config.yml)
Webserver:
- upload the content of folder "webserver" to your webserver(into a folder your choice - e.g. "raf")
- open install.php with your browser (your.domain.com/RAF-FOLDER/install.php)
Commands:
- /raf <referrer>
- /raf reload
- /raf register <password> <email>
Permissions:
- raf.use
- raf.use.reload
ToDo
- System with a custom amount of available invites which are required to join a server (Invited players can invite other players and so on... -> closed beta like) [Can be enabled/disabled]
- The amount of invites available should be refillable (e.g. after time)
- Premium account check for invite system (just as an option)
- Use existing accounts (e.g. your forum accounts, authme registrations etc.) (authme done)
- Ingame account registration and verification (done)
- The more successful invites the better rewards
- Link invitation (done)
Current language files for next update
- English (done)
- German (done)
- French (done)
- Spain (done)
- Polish (done)
- Italian (done)
Support
English / German
You can get english and german support from me if you send me a pm.
@dqtreats
Sorry for the useless errors in my plugin. This will also be improved in 0.7!
The described error is displayed if:
You should have a look at your configs again. (mc: config.yml | web: config.php)
Rgds
I'm having some trouble...
I had to do a lot of work to try to get everything situated, but when I try to do the command /raf <referrer>
It won't work. I understand why too. I went into my database and looked at the "ref_invites" and it doesn't have any rows of invited people. I don't exactly know how to invite people, so I invited through the website, had them do /ref register, and I had them try to /ref me, and it continues to say, "Oops, something went wrong." Idk if there is a connection error somewhere, and there are no invites in the ref_invites... If you could please help me, that would be appreciated.
@Kocacola97
Ok. Thanks!
@Zachary_DuBois
Thank you for your feedback.
As you can see on my preview page, the name is already added for the next version.
Customers had lots of trouble with the mail function, so it will be removed for the next version. This will allow me to improve the mail system as much as possible.
In 0.7 players can be invited using a >>link<< instead of a mail. Maybe I'll improve the system itself soon.
When my server sends out the email from my RAF site, the name of the email is "notifications" because its sending from [email protected] (System email AKA cannot receive mail so don't spam it) . A fix for this would be nice like an option in the config for a sender name for the mail() function.
EDIT: Also, the make a config option for the title of the page. My site for RAF is raf.polardrafting.com . I use a dedicated linux box so, if you need me to test some stuff, I can SCP them up and give them a try. (Contact me on APNetwork for that.)
EDIT of that EDIT: Also, you should make it so the person can't do /raf [Playername] unless they were acctually invited. Do this by making the refer command /refer [player] [code] . The code will be sent in the email to the person referring. Lots of ideas to help an amazing plugin like this. :D - Thanks,
Zach>>Have a look at the new design<< and give me a feedback please :)
@federmito
I couldn't test it yet. I'm working on a new version and I'm fixing lots of bugs to let RAF work for everyone.
@Lakees
Actually you can promote somebody after X invites, but giving money isn't possible atm. I'm working on it.
__
@ALL: I know it's extremely annoying when I say "I'm working on a new version. It'll be out soon" or something, but please notice that I develop this in my freetime ;)
I want my players to get money and a rank when refer 10 friends is this possible or can u add it please :D
does this work with 1.5.2? i really need it
It wont bring me to the loggedin page? when I try to log in it keeps bringing me to a blank page :/ http://www.terturl.com/raf
@Kocacola97
i sent you the config ... if you could get back to me before i release the next rev on my server on 5/1 id appreciate it
@Malvagio87
"Oops an error has occurred" means that the plugin didnt receive the expected information.
When i visit your page, there is no background and when I look at the server scripts I see a part of your config. This means that your config.php is failure. You could paste your webserver config (config.php) and send the link via private msg
@Kocacola97
go to server.10hearts.com/raf
that is where the files are stored.
Also what about "Also when i do /raf <playername> it says Oops an error has occurred, but does not display anything in the console."
@Malvagio87
I can't help you when you say "when i login using my username and password nothing happens."
The only thing I notice when I visit your website is, that the raf files are missing in your folder. Enjin doesn't even display something of the website, not even an error.
Kocacola97 i have reprovisioned my server and stil cant get this to work right =(
I have got it to say installation complete when using the install.php, but when i login using my username and password nothing happens.
Also when i do /raf <playername> it syas Opps an error has occurred, but does not display anything in the console.
@broomy123
No idea. I've to learn really much for school at the moment :s
Any idea on eta for next update?
@icheesy
It will be something like http://ref.tekkit-unlimited.de/register.php?inv=icheesy The URL above would be for your invitations then.
Rgds
@icheesy
Maybe that works in the next Update. Site is not found for me.
@wavecom
Err, refer a friend via link like http://ref.tekkit-unlimited.de/ref-3927930423