Ok, so I have a request where I want to give players who type a command for ex. /caress one free diamond & send a public chat message "Player caressed Admin." I want the plugin to check for if player "Admin" is online and execute the command, or elsewhere show an error message "Player you requested is not online." I want the Admin's name to be configurable preferably and I want the plugin to work for Minecraft 1.7.2 version, without permissions and no dependencies. If not I would like to know a way to simply make this work somehow using alias command /caress for/msg Admin have a code check if Admin is online and then execute the /give @p diamond 1 command and /broadcast <Player> has been nice to Admin so he gave him a "free gift". Problem is I don't know how to do this by myself and any player should be able to execute the command only once per hour or so.. P.s: I will give the creator of the plugin a free spank For real though.
@1sh you should follow this format: https://bukkit.org/threads/read-me-first-plugin-requests-guide.81209/ Other than that I could probably make this, but it might take some time since I am a little busy. So if someone else wants to try, go ahead!
@1sh I can do this but to be clear this is what you want Plugin name: Caress Server Type :Bukkit Version : 1.7.2 Commands: /caress Permissions: - Description: Gives a free diamond without cooldown (odd) and send a message to public chat Usage 1sh: /Caress ironinventor (Ironinventor recieves 1 diamond) Chat: 1sh has caressed Ironinventor - That makes sense. The configuration however doesnt. Do you want /caress only to work if a certain player in this case ironinventor is online. Can you clarify what you want in the configuration and who gets the diamond
Yes that is exactly what I want. I want to specify which player must be online in the configuration (in this case me) and the one player who uses the command must be the one who gets a diamond. sorry for the late reply...
@1sh Hi! I made the plugin for you and made it as customizable as much. I've tested it on Craftbukkit 1.7.2 and it is good so far. The only issue with this is the rewards will still send even if you have a full inventory. Let me know if you've come across some bugs. Hope you still need it. Download: https://www.dropbox.com/s/am2y5ble704wyag/Caress.jar?dl=0