A bizzare request

Discussion in 'Plugin Requests' started by 1sh, Feb 22, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    1sh

    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.
     
  2. Offline

    Neymar11

  3. Offline

    ironinventor1

    @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
     
  4. Offline

    1sh

    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...
     
  5. Offline

    Sensevx

    @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
     
Thread Status:
Not open for further replies.

Share This Page