[REQUEST] Queued Commands

Discussion in 'Archived: Plugin Requests' started by coloneljdog, Jul 15, 2014.

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

    coloneljdog

    Plugin category: Admin

    Suggested name: Queued Commands (Name does not matter to me.)

    What I want: I would like a plugin that queues commands and executes them when the specified player comes online. If possible, I would like the command you set to be executed by the Console. For example, if I were to type /queue ColonelJdog pex promote ColonelJdog, I would like the Console to execute "pex promote ColonelJdog" next time ColonelJdog comes online.

    Ideas for commands:
    - /queue <player> <command>
    - Maybe an alias could be /q

    Ideas for permissions: queue.admin - Default Op. Permission to use set commands to queue.

    When I'd like it by: As soon as possible.

    If this is possible, I'd like to thank you in advance! My server would really appreciate this plugin. :)

    Any devs out there? [pig]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  2. Online

    timtower Administrator Administrator Moderator

  3. Offline

    coloneljdog


    I have a MYSQL database. That's not a problem, and actually perfect because I'm running a network. However, how do I add pending commands? Do I have to figure out how to use phpmyadmin and manually edit the database? All I want to do is be able to type a simple command in the chat that executes a command when playerx joins (like my example in the original post).

    Thank you for responding.

    EDIT: Basically, I need my moderators to have be able to set commands to queue, and I'd rather them enter a command than give them access to our MySQL database. I truly appreciate you're response, and this plugin is the closest I've seen so far to what I need, but again, I need a command, not manually editing the MYSQL database.
     
  4. Offline

    coloneljdog

  5. Offline

    OrangeGuy

    Last edited by a moderator: Jun 9, 2016
  6. Offline

    coloneljdog


    Thank you for making this plugin! I dropped it into my test server and got the following error in my Console; however, I'll do some testing and let you know if it's working.

    Code:
    [12:24:57 ERROR]: Error occurred while enabling QueuedCommands v1.0.0 (Is it up
    to date?)
    java.lang.NullPointerException
            at xyz.chengzi.QueuedCommands.QueuedCommands.onEnable(QueuedCommands.jav
    a:77) ~[?:?]
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) ~[s
    pigot1559.jar:git-Spigot-1559]
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:329) [spigot1559.jar:git-Spigot-1559]
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:405) [spigot1559.jar:git-Spigot-1559]
            at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.jav
    a:476) [spigot1559.jar:git-Spigot-1559]
            at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.
    java:394) [spigot1559.jar:git-Spigot-1559]
            at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:3
    60) [spigot1559.jar:git-Spigot-1559]
            at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:3
    34) [spigot1559.jar:git-Spigot-1559]
            at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:2
    90) [spigot1559.jar:git-Spigot-1559]
            at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.jav
    a:210) [spigot1559.jar:git-Spigot-1559]
            at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java
    :458) [spigot1559.jar:git-Spigot-1559]
            at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:6
    28) [spigot1559.jar:git-Spigot-1559]
     
  7. Offline

    TnT

    Locked. Unfortunately you have decided not to use our software, limiting the ability to provide you any adequate support. For support for the software you use, please seek it out on that software's forums.
     
Thread Status:
Not open for further replies.

Share This Page