Inactive [ADMN/MISC]ReferGift v1.0.9 - Refer a friend & receive a gift![BROKEN] [1.4.6 - R0.3]

Discussion in 'Inactive/Unsupported Plugins' started by TopGear93, Mar 15, 2012.

  1. Offline


    I'm not sure how the:

    switch: true
    switch: true
    switch: true

    works. It's not described really on the post, so I have no idea what these are. What do they do?
  2. Offline


    chat:switch: true
    This will make /chat on automatically fire after the player uses /notreferred or /referredby

    chatshutoff:switch: true
    When this is set true, new just joined players will be kicked from chat. They wont see the chat and they cant chat. This was implemented to stop loopholes.

    welcomemessage:switch: true
    When this is set to true, all returning players will receive a welcome message. When this is false they wont get the message.

    money:switch: true
    When this is set true then the player will receive money instead of blocks.
  3. Offline


    Ah, makes sense. Thanks.
    TopGear93 likes this.
  4. Offline


    How do you make it so that you can give people an item for referring someone? like instead of just the iconomy reward. also how do i remove someone from the list 'cause i want to test it
  5. Offline


    Your source code link is broken. :oops:
  6. Offline


    Locked and moved to Inactive
  7. Offline


    v1.0.7 - Engine Update
    • Fixes deprecated chat system. Everything should be fine for 1.3.1
    • Fixes chat boolean false to true.
    • adds permission node for chat enable. look above for changes
    • Fixes command issues for rg & chat. look above for changes.
    • Adds new config node. look above for changes
    • New major features inbound for 1.0.8
    kahlilnc likes this.
  8. Offline


    This is what I got when I ran this on the recomended craftbukkit 1.3 build.
    14:17:08 [SEVERE] Could not load 'plugins/ReferGift.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: us/topgear93/refergift/ReferGift : Unsupported major.minor version 51.0
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(
        at org.bukkit.craftbukkit.CraftServer.<init>(
        at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(
        at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
        at net.minecraft.server.DedicatedServer.init(
    Caused by: java.lang.UnsupportedClassVersionError: us/topgear93/refergift/ReferGift : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(
        at java.lang.ClassLoader.defineClass(
        at Method)
        at java.lang.ClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        ... 9 more
  9. Offline


    gustebeast ah that error again. That is from an improper version of java. Ill try to get jdk v1.6.

    Try downloading again. I built the plugin on JRE6. Hopefully the error is gone now, if not let me know and ill continue to figure it out.

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


    I used the dl link under the 1.0.7 update post and got the same error. Should I update java or something?
  11. Offline


    yea try updating java.
  12. Offline


    done, same error
    chopstick121 likes this.
  13. Offline


    does it mean that i could refer everyone on the server and make millions?
  14. Offline


    Sadly one of the biggest problems with ReferGift is that you can refer everyone that is currently on the server and make money. The plugin is meant so that when you refer a new person you can make money or receive a gift that way.

    ATM i need to figure out a way to correct the java version errors. My computer updated to the latest JRE and now it's difficult to switch back.
  15. Offline


    Could I get the source to this plugin? (your github link don't work)
    It would strongly improve my shallow knowledge in the java language.
    I sent ya a PM :)
    Thank you!
  16. Offline


    I would strongly suggest learning from someone that actually knows what their doing. Ive got almost two years of experience and i haven't progressed much. ReferGift is horribly built and lacks a proper "engine". I would prefer to see someone take this over and do it right.

    here try and see if this works. If not then i guess were s.o.l. I went and deleted everything related to java and reinstalled java 6. It should work. Im not getting any errors when running this.

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


    started right up, nice work muchacho
    TopGear93 likes this.
  18. Offline


    Please respond, I cannot chance the amount given for refer. Every reload it resets back to 10.
  19. Offline


    Which node? One of them or both?

  20. Offline


    Players still can't chat after they've typed /chat on
  21. Offline


    i had to change a few things with the commands. The OP shows all the latest news and updates for ReferGift

    To turn chat on-
    Command: /refer chat on
    Permission node: ""

    Confirmed features for v1.0.8

    This hasnt been released yet, nor even finished. I still need to do heavy testing on the authentication system.

    Official dropbox updater.**
    General bug fixes.
    Small noticeable changes.

    **ReferGift will check when a new version has been uploaded to Dropbox and auto download to a folder for manual install. You can also manually check if a new version has been released by using /refer update

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


    sounds cool
  23. Offline


    yea, I know theres other features that i should be focusing more on but i thought maybe id try something different.
  24. Offline


    I cannot change the config file it just resets it self every time I change it and reload server
  25. Offline


    could you add it so its only one gift per IP?
    i dont want people going on new accounts and giving themselves things.
  26. Offline


    yea i could add this.
  27. Offline


    I rebut this for two reasons.

    1. Anyone can change their IP using proxy's these days, it doesnt block people from getting on seperate accounts, it just makes it harder for them,

    2. Many many people refer other members of their family to the server. They have the same IP but that second account is a real player and you are blocking them from claiming so.
    TopGear93 likes this.
  28. Offline


    hmm, ok.
    point taken.
    i see what you mean, though i think nocheat+ blocks proxies from entering.
    also, i definitley see what you mean about family, ok, thanks for telling me why you wont/dont do that.
    if you did, maybe an option in the config?
  29. Offline


    idc if its an option.
  30. Offline


    Hey i got can't fix the /chat on too. When the player type /chat on, it say ''unknow commands'' and when they type /refer chat on it say nothing. Just nothing. Like nothing happened in the chat, no ''unknow commands'' or anything else.
    Also when i try to change the chatshutoff to false, to desable it, the player still can't talk. Can you do something for me ?


Share This Page