[FUN] CookieJoin v1.1.1 - Get a cookie when you join [1317]

Discussion in 'Inactive/Unsupported Plugins' started by Daninator1, Aug 14, 2011.

  1. Offline

    Daninator1

    CookieJoin - Get a cookie when you join!
    Version: 1.1.1

    Download
    (Source in jar)

    This is my first plugin! All it does is giving you a cookie when you join.
    No permissions, just put it into your plugins-folder!

    Features:
    • Get a cookie when you join
    • Receive a short message when you get the cookie
    • When you get the cookie, a chat message will be shown for all users
    Changelog:
    Version 1.1.1
    • Changed the color of the text, the player gets when he receives the cookie
    Version 1.1
    • Added a chat message when you get the cookie that every player can see
    Version 1.0

    • First release!
     
    stuntguy3000 and JonasD like this.
  2. Offline

    nubpro

    Might add a string which everyone in the world can see what it said?
    NAME had received the god of cookies.
     
  3. You are missing the version in your title.

    Couln't people just keep login in and out to get free cookies?
     
  4. Offline

    Daninator1

    basically yes, but cookies aren't that valuable you know :p
    it's just a little fun plugin ^^
     
  5. Offline

    JonasD

    Hello! Add a cooldown that you can get a cookie every day. :) :)
     
  6. Offline

    Cosmic Break

    add some kind of cooldown for this plugins. highly exploitable just by relogging alot.
     
  7. Offline

    chernobyl360

    add a
    Code:
                Random r = new Random();
                if (r.nextInt(10)==1){
    so then every 10 players will get this. or even raise the random event.only change the 10 higher or lower. no lower then 1. it will most likely error out.... 1 on 1 will be a 100% chance of everyone getting a cookie...
     
  8. Offline

    SwearWord

    Although declaring a new Random every join is not good practice.

    Leave it to us to adulterate a simple plugin. IMO don't change anything :p
     
  9. Offline

    chernobyl360

    ffs i cant give a simple opinion?why leave it to you? your no better then anyone else...
     
  10. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Retired Staff

    You seem to have misinterpreted his post.

    Also, to reiterate, a new random each login is a bit silly.
     
  11. Offline

    SwearWord

    @chernobyl360
    What? I wasn't being hostile at all. I was just making the observation how tiny plugins turn into behemoths because of us (us including me). Also if you didn't know IMO means in my opinion, so that read "In my opinion don't change anything." You responded accusing me of not allowing you your opinion. Very confusing. Unless you were talking about the Random object in which case...I'm right. You don't declare a new Random every time, you create one on plugin load and access it when you need randomness.
     
  12. Offline

    tiuner89

    this plugin is great =3
    youre a genius :D [diamond]
     
  13. Offline

    Strange_ice0

    Add permissions support? It would be great if only the VIP of my server could get a cookie :)
     
  14. Offline

    stertingen

    sounds like a nice plugin, but:
    - make permissions support pls (only vip get cookies) - i know this is already requested but id linke to underline this.
    - an config file where i can set the messages for getting a cookie.
    - the posibility to disable these messages.
     
  15. can this be done? :
    Only once can get the cookie, first time when joining to server.
     
  16. Offline

    weini37

    Could you please create a YML file to edit the message?
     
  17. Offline

    Moonridden

  18. Offline

    MultiBana

    Hey, if you want to add something for this plugin just say so i will do it for you ;)
     
  19. Offline

    niZeCraft

    Awesome plugin,
    But make a YML file where u can type your own message
     
  20. Offline

    Fi3t3

    can you edit it so, that you can use it WITH authme? because if you are logging in it's giving you a cookie, then your inventory will be restored and the cookie disappears. can you please fix that?

    dude.. open the cookiejoin.jar file, go "src\me\daninator1\cookiejoin". then open the file CookieJoinPlayerListener.java with notepad ++ and you can edit WHAT item and what amount of item it will give him AND you can change all messages and their colours! that is so easy. why you don't do that?

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

    nick1023822

    please update this
     
  22. Offline

    vat21s

    In Progress Of Updating...Adding A config also
     
  23. Offline

    stuntguy3000

    One thing, I think you should either

    A) In the config add a option to use a permission node weather they recieve it or not
    B) Simply add a perm node :p

    (We all love configuration, right :p)
     

Share This Page