Refer [1.8 -> 1.10.2]

 Refer [1.8 -> 1.10.2] 2.1.1

Refer [1.8 -> 1.10.2]
Uploader's note:
Some, if not most, of the resources I share are those that I have purchased myself. Not only that, but I put effort in providing these leaks and do not demand for anything. I simply ask that you return the favor by using the Adfly link provided.

Thanks and happy leaking! :)

61ce0588f764425ba594e20b825bd99f.png
------------------------------​

Q2mmPfm.png

Refer is a plugin made to increase your server's popularity. If you have ever seen a refer-a-friend function on a website, this is a similar concept, but much more user friendly and rewarding.

bJA4t2H.png

Let's assume we have three players - Bob, Jim and Dave. Bob has been playing on the server for a while, and decides he wants to earn a reward for referencing. He has two friends named Jim and Dave, and he invites them onto the server. When they arrive, Bob opens the Refer GUI, and selects request to ask Jim and Dave to refer him since he brought them on. They both open the Refer GUI and refer Bob. Bob gains rewards for bringing people online, and the server now has two new players. Note that Jim and Dave cannot refer anyone anymore, but they can still be referred to gain rewards.

xozlokD.png

  • Easy to use GUI
  • Disallows players from referring multiple times
  • Extremely configurable
  • Add as many rewards as you like
  • Economy support
  • Add messages, sounds, commands, etc.
  • Edit all messages
  • Logs each reference
  • Request a reference from a player
  • Balance checking
  • And more!
NEW: Lottery style chance reward system!

DPd3jVw.png

/Refer
- Brings up the Refer GUI
-- Permission: refer.use

/Refer admin
- Brings up the Refer-Admin GUI
-- Permission: refer.admin

gSQEuSz.png

When opened, the GUI looks like this:
vJL5Jr9.png

Gif version: http://imgur.com/WAibsRZ

Selecting the emerald will allow you to refer the player who brought you to the server if you haven't already.

Hovering over the diamond will show you your current balance of references.

Selecting the gold bar will allow you to request a reference from a player if you brought them to the server.


tPG0PPv.png

Refer is an extremely configurable plugin - every single message is configurable, you can add as many or as little rewards as you want, and you can add economy support to your rewards if you wish to do so.
This is an explained config.yml file:
More readable version.
This is an example of the messages.yml file, where you can customise every message in the plugin:
The plugin also includes a log of every reference in the file log.txt, in the format:

{UUID_Player1} - {Name_Player1} referred {Name_Player2} - {UUID_Player2}


OUwjnO0.png

To access the Refer API, you must first add Refer.jar as an external library. In your onEnable () method you should include:
Code (Text):
Code:
//Check if refer is installed
        if (getServer().getPluginManager().getPlugin("Refer") == null) {

            //If Refer is null, Refer is not installed.
            getServer().getPluginManager().disablePlugin(this);
        }
Then to access values, use:
Code (Text):
Code:
//Examples
    private void doThings () {

        //Get a player's amount of references
        OfflinePlayer getOfflinePlayerReferences;
        int playerReferences = ReferAPI.getRefer(getOfflinePlayerReferences);
        //OR
        Player getPlayerReferences;
        int playerReferences2 = ReferAPI.getRefer(getPlayerReferences);


        //Check if player has referred before
        OfflinePlayer offlinePlayerHasReferredBefore;
        boolean playerHasReferredBefore = ReferAPI.hasPlayerReferredBefore(offlinePlayerHasReferredBefore);
        //OR
        Player onlinePlayerHasReferredBefore;
        boolean playerHasReferredBefore2 = ReferAPI.hasPlayerReferredBefore(onlinePlayerHasReferredBefore);


        //Refer two players
        Player playerWhoIsReferring;
        Player playerWhoIsBeingReferred;
        ReferAPI.refer(playerWhoIsReferring, playerWhoIsBeingReferred);


        //Open the refer GUI to a player
        Player openGUITo;
        ReferAPI.openReferGUI(openGUITo);
    }
arZcCRj.png

Please read the Terms and Conditions before purchasing Refer:
Terms and Conditions:
  • By purchasing Refer you are agreeing to the Terms and Conditions.
  • You may not -Redacted- Refer.
  • You may use Refer on one server or network only.
  • You may not place a negative review about a problem before sending a PM about it first.
  • There are no refunds.
lCELPrI.png

  • play.superiorcraftmc.com
  • play.firesoftitan.com
  • play.crucialmc.com
  • play.opasylum.com
  • s20.minespan.com:25588
  • 192.99.44.125:27562
  • play.cylestialcraft.com
Please leave your server's IP in a review to be added here!

Have a good day!

Latest updates

  1. Update 2.1.1

    Fixes more fanciful bugs. Minor update.
  2. Recommended version

    Update Info: - No changes to the plugin in general (new version has been released by developer)...

Latest reviews

Thanks for purchasing from SpigotMC!
Keep up the good work for more premium resources please.
Works 100%
Ace
Ace
Thanks for the review. Enjoy! :)
BlackSpigot General Chat
Rules Help Users
    RealNotSound @ RealNotSound: With what?
    Top