-
Posts
460 -
Joined
-
Last visited
Content Type
Profiles
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by kasvoton
-
Changed Status from Pending to Not a Bug
-
{ "Cron": [ { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "5", "Command": "oxide.unload MapSplit" }, { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "5", "Command": "audio.message sendall soundname" }, { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "5", "Command": "Say The Purge has started!. All crime including RAIDING AND PVP is allowed for the next 16hrs. May Sation be with you." }, { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "5", "Command": "time 8.2" }, { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "5", "Command": "fog 0" }, { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "5", "Command": "rain 100" }, { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "5", "Command": "rainbow 0" }, { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "5", "Command": "Thunder 100" }, { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "5", "Command": "wind 100" }, { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "5", "Command": "weather.atmosphere_rayleigh 0" }, { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "5", "Command": "weather.atmosphere_mie 0" }, { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "5", "Command": "weather.atmosphere_brightness 0" }, { "Minute": "0", "Hour": "16", "Day": "*", "Month": "*", "DoW": "5", "Command": "oxide.load MapSplit" }, { "Minute": "0", "Hour": "16", "Day": "*", "Month": "*", "DoW": "5", "Command": "weather.clear_chance 1" } ] }
-
Something like: { "Version": { "Major": 1, "Minor": 0, "Patch": 1 }, "AdditionalEvents": { "Enabled": false, "Min": 300.0, "Max": 600.0 }, "Airplane": { "Speed": { "Enabled": true, "Min": 5.0, "Max": 5.0 } }, "Signal": { "Duration": 210.0 }, "Cargo": { "Mass": { "Enabled": false, "Min": 1.0, "Max": 1.0 }, "Drag": { "Enabled": true, "Min": 0.45, "Max": 0.45 } } }
-
I’m abroad for professional reasons, I will get back to your questions as soon as possible. I guess there is something wrong with the config but I need to load it on a proper validator rather then the phone. dow is day of the week.
-
Yeah I get what would mean but this part “[ $(date +\%d) -le 7 ] && command” it’s actually a bash evaluation and not directly a functionality from cron. The evaluation if it is the first Thursday of a month is something I can add to the plug-in as I’m not trying to be crontab compliant, it was just an inspiration. Be posted, I should implement this and release a new version in the next couple of days.
-
Changed Status from Pending to Not a Bug
-
{ "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "5", "Command": "oxide.unload xyz" }, { "Minute": "0", "Hour": "16", "Day": "*", "Month": "*", "DoW": "5", "Command": "oxide.load xyz" }
-
I’m on a mobile phone it’s hard to give the exact json file but I will do it later today when at the PC.
-
Hi You must do it into two actions, the unloading part: 0 0 * * 5 oxide.unload xyz and then the loading part: 0 16 * * 5 oxide.load xyz The syntax is minute, hour, day, month, dow, command.
-
Version 1.1.1
202 downloads
SAVE 13% WHEN BUYING THE BUNDLE This plugin will allow you to run console commands at any given schedule. The syntax was inspired on the Unix's crontab format but ported to json for easy of use. Below you'll find some examples.. but sky is the limit. ┌───────────── minute (0 - 59) │ ┌───────────── hour (0 - 23) │ │ ┌───────────── day of the month (1 - 31) │ │ │ ┌───────────── month (1 - 12) │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday); │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ * * * * * <command to execute> { "Minute": "*", "Hour": "*", "Day": "*", "Month": "*", "DoW": "*", "Command": "ai.sleepwakestats" } New features "@forced" and "!forced" to be used on the Command field as conditionals: /* * > minute = 15, hour = 19, DoW = 4, command = @forced restart 60 * > minute = 15, hour = 12, DoW = 4, command = !forced restart 900 * > The special keys "@forced" and "!forced" will allow you to execute commands * > only of forced wipe days or only on non forced wipe days. This example will * > restart the server every thursday at 12:15 except forced wipe days were it * > will only execute at 19:15. */ New features "@wipe" and "!wipe" to be used on the Command field as conditionals: /* * > minute = @restart, command = @wipe my_command * > minute = @restart, command = !wipe my_other_command * > The special keys "@wipe" and "!wipe" will allow you to execute commands * > only if the map was wiped. This example will execute my_command on server * > restart if the map was wiped otherwise will execute my_other_command. */ Execute the command "ai.sleepwakestats" every 3m: { "Minute": "*/3", "Hour": "*", "Day": "*", "Month": "*", "DoW": "*", "Command": "ai.sleepwakestats" }, Execute the command "status" at 15m of every hour: { "Minute": "15", "Hour": "*", "Day": "*", "Month": "*", "DoW": "*", "Command": "status" }, Restart the server every day at 6:45: { "Minute": "45", "Hour": "6", "Day": "*", "Month": "*", "DoW": "4", "Command": "restart 60" }, Have a specific plugin running only during the weekends: { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "6", "Command": "oxide.load MyWeekEndPlugin" }, { "Minute": "0", "Hour": "0", "Day": "*", "Month": "*", "DoW": "1", "Command": "oxide.unload MyWeekEndPlugin" } Execute the command "oxide.version" every Tuesday between 10:15 to 10:25: { "Minute": "15-25", "Hour": "10", "Day": "*", "Month": "*", "DoW": "3", "Command": "oxide.version" } Sets the fps limit to 30 at every server restart: { "Minute": "@restart", "Hour": "*", "Day": "*", "Month": "*", "DoW": "*", "Command": "fps.limit 30" } Keeps the plugin MyWeekEndPlugin unloaded during weekend restarts: { "Minute": "@restart", "Hour": "*", "Day": "*", "Month": "*", "DoW": "1", "Command": "oxide.unload MyWeekEndPlugin" }, { "Minute": "@restart", "Hour": "*", "Day": "*", "Month": "*", "DoW": "6", "Command": "oxide.unload MyWeekEndPlugin" }$4.99 -
- 99 comments
-
- 1
-
-
Changed Status from Pending to No Response
-
Changed Status from Pending to No Response
-
- 99 comments
-
I may add that I only manipulate the properties of the existing physics engine so there are limits how fast things can go. For true crazy stuff custom handlers will need to be implemented which is not the scope of this plugin.
-
This is an example config: { "Version": { "Major": 1, "Minor": 0, "Patch": 0 }, "AdditionalEvents": { "Enabled": true, "Min": 300.0, "Max": 600.0 }, "Airplane": { "Speed": { "Enabled": true, "Min": 60.0, "Max": 120.0 } }, "Cargo": { "Mass": { "Enabled": false, "Min": 20.0, "Max": 20.0 }, "Drag": { "Enabled": true, "Min": 1.0, "Max": 5.0 } } } It will spawn additional drop within a random 300 to 600 seconds interval. The planes speed will be a bit faster than normal (70-80) or almost twice as slow when crossing the sky. The standard drop speed is between 2.5 to 3.5, so on this config it can fall almost twice as fast or twice as slow (approximate). PS: The number for mass and drag are generic floats without any specific unit. I you want the drops really fast, set airspeed to 10 and drag to 0.5.
-
Could you please paste your config ?
-
This is coming from Oxide not from the plugin directly. How many users are online ? What is your config file for the plugin ?
-
- 99 comments
-
Changed Status from Work in Progress to Closed Changed Fixed In to 1.4.14
-
Sorry for the long time. Your issue was fixed on the latest release.
-
- 99 comments
-
Changed Status from Pending to Work in Progress
-
You are doing the correct configuration. I will check what's happening with the feature.