Queue Commands

Discussion in 'Archived: Plugin Requests' started by Nathan3553, Nov 24, 2014.

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

    Nathan3553

    Plugin category: Admin Tools

    Suggested name: QueueCommands

    What I want: I need a plugin that will allow you to type a command to run any command to the given player. If the player is online, the command will execute immediately. If the player is offline, the command will be queued on a list or something and executed the next time the player joins. I need this plugin to be based off player names and not UUIDs.

    Ideas for commands: /qc add <player> <command>

    Ideas for permissions: queuecommands.use
     
  2. Offline

    connorlinfoot


    Is this for use on a offline server?
     
  3. Online

    timtower Administrator Administrator Moderator

    connorlinfoot Probably for commands that need to be ran when the player is online. Not for offline mode
     
  4. Offline

    Nathan3553

    Yes, I need it for a player that is offline. Not offline mode.

    It has to be possible because plugins such as GAListener queue commands for offline players. Does anyone think they could create a plugin for me?

    EDIT by Timtower: merged double post
     
  5. Online

    timtower Administrator Administrator Moderator

    Nathan3553 I have something that performs commands based on mysql values. It isn't able to upload commands though.
     
  6. Offline

    Nathan3553

    you t
    Thank you so much! Please provide a link when it's available for download. :)
     
  7. Offline

    Nathan3553

    [quote uid=90954909 name="HDminecraftnerd" post=2905222]i uploaded it to mediafire instead hope u dont mind :3 il update it if needed also i havent tested it yet but it should work

    <Edit by Moderator: Redacted mediafire url>
    i forgot the plugin.yml wait a moment and il fix it[/quote]
    Thank you so much! I will test it out when I get home! :)
     
    Last edited by a moderator: Oct 31, 2016
  8. HDminecraftnerd If your having troubles then make a plugin development post and I will glad fully help.
     
  9. Offline

    Spinalvine89

    Checked it out, and you're using sendMessage(), where you should be using performCommand(). Also, the way you are currently doing it, they can't enter any arguments in their commands. Might wanna fix that.

    EDIT: Also, you really need to add a permission check, otherwise this would be very abusable.
     
  10. Offline

    Spinalvine89

    Working on it.
     
  11. Offline

    Nathan3553

    Huge thanks goes out to everyone who is helping to create this plugin! By making this plugin, you're helping with so many other problems I am facing. Just keep me updated on the progress :)
     
  12. Offline

    Spinalvine89

    Nathan3553 likes this.
  13. Offline

    Nathan3553

    Wow, it works! Thank you so much for creating this plugin for me. I just have one suggestion, would it be possible to make a command be ran by console and not by player? This would be great because then I could make it so a command could be queued if a user performs a certain action. However, with the current setup of the plugin, the command is ran by the player. So if I were to make the player receive something such as a diamond whenever they were do something, they would get a no access to that command message. Besides that, the plugin is perfect!
     
  14. Offline

    Spinalvine89

    Sure thing, I'll add it when I have time tomorrow afternoon.

    EDIT: Finished, uploaded on the dev bukkit page. Nathan3553 If you're satisfied, make sure to label this as filled. :p
     
Thread Status:
Not open for further replies.

Share This Page