Hi everyone,
-==[ Request ]==-
1. SQLite addition to store runtime data, and resume scripts on server boot
2. Script name overwrite config option
Source: https://github.com/Phoenix616/TimedScripts/
-==[ Problem ]==-
Non Persistent Scripts
When scripts are run, there is currently no way to determine and store the runtime data.
The server gets shutdown, and essentially the script is stopped and can only be started and not resumed from its last position.
Overwrite Issues
When command /script create name is run from server an error occurs if the filename exists.
When command /script create name is run from console it duplicates or adds entries to the existing script.
-==[ Requirement ]==-
Store script runtime data in SQLite.
Allow script to auto restart if it marked as persistent.
Add config option to overwrite scripts entirely if they exist.
-==[ How To Implement ]==-
Create a seperate directory for persistent scripts ( persistent )
All scripts in persistent will have runtime data stored, and will auto resume on server boot / reload or /script reload
Persistent scripts should be created with /pscript create name
/script commands should still always check both folders for editing etc
Please post your offer in the thread if you are able to assist.
Kind Regards
FZR
-==[ Request ]==-
1. SQLite addition to store runtime data, and resume scripts on server boot
2. Script name overwrite config option
Source: https://github.com/Phoenix616/TimedScripts/
-==[ Problem ]==-
Non Persistent Scripts
When scripts are run, there is currently no way to determine and store the runtime data.
The server gets shutdown, and essentially the script is stopped and can only be started and not resumed from its last position.
Overwrite Issues
When command /script create name is run from server an error occurs if the filename exists.
When command /script create name is run from console it duplicates or adds entries to the existing script.
-==[ Requirement ]==-
Store script runtime data in SQLite.
Allow script to auto restart if it marked as persistent.
Add config option to overwrite scripts entirely if they exist.
-==[ How To Implement ]==-
Create a seperate directory for persistent scripts ( persistent )
All scripts in persistent will have runtime data stored, and will auto resume on server boot / reload or /script reload
Persistent scripts should be created with /pscript create name
/script commands should still always check both folders for editing etc
Please post your offer in the thread if you are able to assist.
Kind Regards
FZR
