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!
Might add a string which everyone in the world can see what it said? NAME had received the god of cookies.
You are missing the version in your title. Couln't people just keep login in and out to get free cookies?
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...
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
You seem to have misinterpreted his post. Also, to reiterate, a new random each login is a bit silly.
@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.
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.
Already done, please search before and scour before requesting. Thanks. http://forums.bukkit.org/threads/misc-welcomegift-v0-2-0-be-good-to-new-players-1060.32950/ I further this request.
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.
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 (We all love configuration, right )