This is a very large project and understand if no one wants to do it for free, contact me on skype: silas.ashton or by email [email protected] This is a lot to take in, if you have questions/criticism please leave in below This plugin would run scripts (chains of commands with delays) or commands through console that are defined in a config. The plugin would bind with world guard for player checks. This essentially allows server owners to run commands through console in sequences. Scripts are defined in the config. execute the script in game or through console by typing "/cscript run Example" Example: - smite Jimmy - DELAY 5 - heal Jimmy (these commands are run through console) Now one of the key features of this plugin would be that the script can vary depending on the player count in world guard regions. The player measures would work in 3 ways Exact player counts Player counts plus for example: 10+ Player counts of less: 10- For example Example2 - smite jmmy - DELAY 10 - smite jimmy - if 1 player in region Example run option 1, if 5 run option 2, if 10+ run option 3 option 1 - smite jimmy - heal billy option 2 - heal jimmy - kill billy option 3 - ban jimmy - give billy cookie 1 Another feature for this plugin would be to run alternate command scripts depending on player counts. If the player requirement is not met you can run a different script. Example3 - smite jimmy - DELAY 10 - smite jimmy - if 1 player in region Example continue: if not run alternate script - heal jimmy Alternate Script: - give jimmy cookie 1 - DELAY 5 - give jimmy milk 1 Another great feature would be to pause the command script until player counts in regions are met. Example4 - smite jimmy - DELAY 5 - smite jimmy - when region example has 10 players continue - heal jimmy The next feature would be to do different things depending on a regions player count. Example 5 - smite jimmy - DELAY 5 - smite jimmy - if 10+ players are in region "example" terminatescript. if 10- players are in region run script: <scriptname>. If 15+ players continue script. - eco give s_ryan 1 The next idea is so that if a player count is at a set amount it will run a different script then recheck. Example 6 - smite jimmy - DELAY 5 - smite jimmy - if 1- (1 or less) players are in region <regionname> run side script: <scriptname> (once done running that script it will recheck for the player count) - eco give jimmy 1 Sidescript: - kill jimmy - DELAY 10 - kill tommy (now it is done this script it will recheck the player count for the other script, if the player count is still not met run one of these alternates: -stopscript -run altscript -continuescript altscript: - kill tommy Next feature, the idea is so that times for player counts to be met can be set, once the player count is met it will continue, if not it will run one of the options. Example 7 - smite jimmy - DELAY 5 - smite jimmy - pausescript for 60 seconds or continue if playercount of <x amount> is met in region {regionname};if in that time player count is not met run option - stopscript - alternatescript continued script: - heal jimmy - DELAY 5 - give jimmy cookie 1 altscript: - kill jimmy Final features (as of now ) Example8 - smite jimmy - DELAY 10 - smite jimmy - run options depending on chance option 1 %30, option 2 40%chance, option 3 30% chance option 1 - smite silas_bowen option 2 - heal silas_bowen option 3 - ban silas_bowen Notes: #1 Creative players must not be detected by the player counts #2 options must be able to be used more than once in a script, for example a script can have a pausecheck and an alternate count check. Commands: /cscript run [scriptname] /cscript stop [scriptname] /cscript stopall /cscript reload
I am looking for this to be done to the way I want it, plus I don't think skript has the world guard features
I would prefer something like this done, it would fill my needs perfectly without having to ask another developer to add to his plugin.
Huge update! I have also made a default config which will always represent the entire functionality of the plugin. You can grab the latest builds here: http://176.106.161.164:8080/job/ConsoleScript/consolescript$ConsoleScript/ I wont be able to mess around with regions unless someone helps me here: http://forums.bukkit.org/threads/problems-with-maven-using-worldedit-and-worldguard.181259/ Here is the wiki that I started working on: https://github.com/Vilsol/ConsoleScript/wiki
Hopefully you get the help you need! Thanks for adding so many features anyway! Just one small thought, for servers with lots of scripts a "/cscript list" command would be great if its not too much to ask.
Also check out mine cron here is link:http://dev.bukkit.org/bukkit-plugins/minecron/ Its just what you want . Let me know if not.
hmmm... I think you have them all down I would love the randomize feature that is included in the post. The world guard region features I'll wait for too and understand if they cannot be done. Thanks so much!
It has nothing to do with what he wants in the plugin. What you posted is just a command scheduler. What he wants is a command builder, which can run them in a specific sequence with specific conditions.
There is nothing really you can do to help, I will experiment today with different maven configurations and maybe I will manage to get regions working.