Filled Console message

Discussion in 'Plugin Requests' started by BizeaxPvP, Jul 19, 2019.

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

    BizeaxPvP

    Minecraft version: Spigot 1.8.8

    Suggested name: ConsoleMessage

    What I want: I'd like a simple plugin where when you do /cm (player) (message) It sends a prefix and a message to that player only. Also it plays a chicken egg pop sound when the play recieves the message.

    Make prefix configurable in config

    Ideas for commands: /cm (player) (message)

    Ideas for permissions: cm.admin

    When I'd like it by: Anytime
     
  2. Offline

    ItzDerock

    Hmm... seems simple enough, I will start working on this soon! What exactly does cm.admin do? Are players allowed to do /cm?
     
  3. Offline

    BizeaxPvP

    cm.admin allows the player to message people using /cm
    No, players can't use this.
     
    Last edited: Jul 19, 2019
  4. Offline

    johnny boy

    you working on this? if not then since i got back into programming id like to attempt this. I'll probably try this anyway

    Hey if only the console can use this command then having a permission is useless.. I'm going to add the permission support anyway :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 19, 2019
  5. Offline

    BizeaxPvP

    Not only console can use this, players aswell. I thought he meant if players could use the command in default.
     
  6. Offline

    johnny boy

    OHHHHH okay dude im finishing up the plugin now. Every error message and little thing can be customised :)
     
  7. Offline

    BizeaxPvP

    Thanks!
     
  8. Offline

    ItzDerock

    Alright! I have finished it!
    All messages are configurable in the config!
    And in-game you can do /cm-reload to reload the config!

    Permissions:
    - cm.* all access
    - cm.admin ability to do /cm
    - cm.reload ability to do /cm-reload

    Commands:
    - /cm <player name> <message> sends a message with the provided prefix and message
    - /cm-reload reloads the config

    Config:
    prefix: "&e[ConsoleMessage]"
    ErrNoPermission: "&cYou do not have permission!"
    ErrPlayerNotFound: "&cThat player is not found!"
    ErrWrongUsage: "&cUsage: &6/cm <Player Name> <Message>"
    ConfigReloaded: "&6Configuration Reloaded!"
    sent: "&6The message was sent!"

    Download:
    <Edit by Moderator: Redacted mediafire url> me if the first one doesn't work)
     
    Last edited by a moderator: Jul 20, 2019
  9. Offline

    BizeaxPvP

    Perfect! Thank you so much!
     
    Last edited by a moderator: Jul 20, 2019
  10. Offline

    johnny boy

    i went to bed to upload it to Bukkit :( Good job nonetheless..
     
    Last edited by a moderator: Jul 20, 2019
  11. Offline

    timtower Administrator Administrator Moderator

    @ItzDerock URL shortners, adfly and mediafire are not allowed.
     
Thread Status:
Not open for further replies.

Share This Page