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 Moderator 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 Moderator Moderator

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

    HDminecraftnerd

    im making it now

    its done and waiting for approval

    EDIT by Timtower: merged double post
     
  7. Offline

    Nathan3553

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

    HDminecraftnerd

    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
     
    Last edited by a moderator: Oct 31, 2016
  9. 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
  10. Offline

    HDminecraftnerd

    Nathan its not done il post a new link VERY soon
    im having a problem with the command not running properly
     
  11. Offline

    bwfcwalshy Retired Staff

    HDminecraftnerd If your having troubles then make a plugin development post and I will glad fully help.
     
  12. 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.
     
  13. Offline

    HDminecraftnerd

    if anyone wants to make it better here is the code http://pastebin.com/NaLMGQsv

    else here u have the plugin <Edit by Moderator: Redacted mediafire url>

    [quote uid=91001132 name="Spinalvine89" post=2905779]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.[/quote]

    i know m8 i made this in school also i posted the code above ^ already figured out why it didnt work

    [quote uid=90927090 name="bwfcwalshy" post=2905773]HDminecraftnerd If your having troubles then make a plugin development post and I will glad fully help.[/quote]

    thnx m8 if u want to just edit my code i uploaded the plugin like it is now and my code ^

    <Edit by mrCookieSlime: Merged Posts. Please dont triple post. There is an Edit-Button right next to the Date.>
     
    Last edited by a moderator: Oct 31, 2016
  14. Offline

    Spinalvine89

    Working on it.
     
  15. 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 :)
     
  16. Offline

    Spinalvine89

    Nathan3553 likes this.
  17. 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!
     
  18. 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