[CLOSED] Plugin Complete (patent pending)

Discussion in 'Archived: Plugin Requests' started by gustebeast, Feb 12, 2012.

  1. Offline

    gustebeast

    Suggested name: ReferBonus

    A bit about me: I run a minecraft server, and im trying to get more people in my server. I thought about the best ways to do this and I came up with an answer! Reward the people for advertising for me. And i'd do it through this plugin.

    What I want: I want to give people a configured item whenever this happens. The player types /refer [name]. Then [name] joins the game for the first time. Then the original player gets the item! This encourages people to bring their friends into the server because they get a reward for it! Also, it's very important that only one person could refer each player name, thus the flat file.

    Idea's For FlatFile: When a person types /refer [name] it would create an entry like so,
    OriginalPlayerName::NameOfPersonBeingReferred::0 or 1 (e.g. gustebeast::bobina::1)
    0 would mean the player has not joined yet. 1 means the player has joined.

    Ideas for commands: /refer [name] (could be /invite [name])

    Ideas for permissions: referbonus.refer :: allows the player to refer others

    Willing to pay up to: $0 - but I think this plugin could get a lot of downloads

    When I'd like it by: A.S.A.P.
     
  2. Offline

    se1by

    Check my signature -> RewardMe
    Perhaps you could use it for your idea.
     
  3. Offline

    gustebeast

    could you explain how i would do it with reward me?
     
  4. Offline

    josip1

    Would like this as well. I'll give $5-$10 for it.

    Rewards should the option of both items and iconomy money.

    Maybe make it possible so you can have in config

    referral1: 'reward1'
    referral2: 'reward2'
    referral3: 'reward3'

    So on the third referral they get a different reward etc. Make it so we can have lots of them and create them ourselves. So we have no limit.

    Next make it so that it's possible once they reach 10 they only get what 10 gives. So if 10 gave $500 11 would give $500 30 would give $500.

    Also make it so their is a log of how many people a person refereed. Would be good if it worked with a mysql database and then had a nice webpage to go with it. (Can always do that myself as long as it connects to the mysql database)
     
  5. Offline

    gustebeast

    Any developers willing to take this on?
     
  6. Offline

    william2405

    I can do this for you, it might take a few days to week
     
  7. Offline

    gustebeast

    Oh and btw, any time a person joins the game it should make an entry into the file (even if they werent refered)
    ::bobina::1 Notice their is no player name before the bobina.
     
  8. Offline

    fafaffy

    I might be interested in this, but, do you mind if I use SQLite? I find it much easier than dealing with a flat file, and much more information could be stored on a MySQL Database
     
  9. Offline

    gustebeast

    totally fine i was just giving an example :p
     
  10. Offline

    KaiBB

    Wouldn't storing it in a config be easier? o.o
     
  11. Offline

    gustebeast

    i honestly dont care about how it is stored exactley, as long as it gets done
     
  12. Offline

    KaiBB

    I'm thinking I could work on this too. I had an idea, feel free to say no, but wouldn't it be better for the player to use a command to tell who referred them? That way players couldn't guess at usernames, because I've succeeded in that game before. :)
     
  13. Offline

    gustebeast

    Actually i had a new idea for it. You join the game, and it pops up a help screen, and shuts off chat so no1 can message you. It says "if someone referred you here, type in their username now, if not type "no". If they type in a username of someone in game, that person gets the item, if they type no, they are logged to the file and cant do it again. Works better than my original idea.
     
    jorisk322 likes this.
  14. Offline

    KaiBB

    Uhm. Players would need Spoutcraft :/
     
  15. Offline

    gustebeast

    no like a chat pop up, BuyCraft has something similar to it. Just puts up a thing in chat and shuts off chat from other people. BuyCraft did it w/o spout.
     
  16. Offline

    KaiBB

    When you said Help Menu I thought you meant a GUI :p
     
  17. Offline

    gustebeast

    No just chat. Ya, if you could make it that would be great, do you have any idea how long it might take?
     
  18. Offline

    KaiBB

    If I do it I won't start it until earliest in ~14 hrs from now. I'll tell you then.
     
  19. Offline

    Nellocore

    Hey if this plugin gets completed and works well I'll throw the dev some junk food money
     
    KaiBB likes this.
  20. Offline

    KaiBB

    Estimate? Just curious.
     
  21. Offline

    Nellocore

    20 dallah
     
  22. Offline

    KaiBB

    That's a good amount :p
     
  23. Offline

    Nellocore

    =] well since i tried plugin making and wanted to commit suicide 15 minutes in i feel dev's deserve some money =p
     
    KaiBB likes this.
  24. Offline

    KaiBB

    gustebeast
    Nellocore
    I'll be sending this privately to both of you. I will release it, so please don't leak it. When I send it, it'll be a pre-release, and when I release it'll be, well the release ;)
     
  25. Offline

    Nellocore

    :cool: Your the man
     
  26. Offline

    KaiBB

    P.S. The pre-release will give a diamond to the referer. The release will be configurable. Starting work either tonight or after school tomorrow, for sure.
     
  27. Offline

    gustebeast

    I know this is an odd request, but its actually very important that the referring give the player 3 spawn eggs. Not ones with any mob, just the base one with no sub-id. The item id is 383. Its because this is a special kind of currency in my server, and i really cant use the plugin unless it gives that item.
     
  28. Offline

    Nellocore

    O_O I'm not even gonna ask how eggs are your currency
     
  29. Offline

    KaiBB

    I'll be starting momentarily. The item's ID doesn't help, but I'll see if Bukkit doesn't have that item :)

    iConomy isn't an option at this time. Maybe in the full release, though. I don't know how to hook.

    Instead of a refer command, I was thinking I'll just do a thing where the player types the referer's name into chat, and it won't broadcast the chat message to anybody. Agree?
    And a FlatFile isn't necessary unless you want to undo a refer, so do you still want it?

    Just finished, about to test it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  30. Offline

    Nellocore

Share This Page