Hmm didn't work for me Nallar, I'm on windows if that matters.
what I've done is come up with this:
Note:Starting and stopping the server is not something i want to do with this though its probably easy to add in if you like.
Also I'm not auto downloading the mod from the net though if you like you can probably add that in as well.
Another also, this bat is set up to be in the same folder as the server jar. Then i just made a shortcut on the desktop
I know i don't really need to delete the patchedmods contents, but i had an issue a while back when i updated and the solution was to delete the patched mods and re-ptach. So now i do it everytime just as a safeguard.
what I've done is come up with this:
Note:Starting and stopping the server is not something i want to do with this though its probably easy to add in if you like.
Also I'm not auto downloading the mod from the net though if you like you can probably add that in as well.
Another also, this bat is set up to be in the same folder as the server jar. Then i just made a shortcut on the desktop
@echo off
set serverFolder=%~dp0
::%~dp0 Somehow says hey this is the bat file's path location
@echo on
del "%serverFolder%\mods\TickThreading.jar"
::deletes your current version of TickThreading
del /q "%serverFolder%\patchedMods\"
::deletes everything in the Patched folder
copy "C:\The file\Path were\You downloaded\Latest version\TickThreading.jar" "%serverFolder%\mods\"
PATCHME.cmd
::Now it runs the patchme for the new version, still need to hit enter when its done though
::Not sure if i can auto do that need to look more online
set serverFolder=%~dp0
::%~dp0 Somehow says hey this is the bat file's path location
@echo on
del "%serverFolder%\mods\TickThreading.jar"
::deletes your current version of TickThreading
del /q "%serverFolder%\patchedMods\"
::deletes everything in the Patched folder
copy "C:\The file\Path were\You downloaded\Latest version\TickThreading.jar" "%serverFolder%\mods\"
PATCHME.cmd
::Now it runs the patchme for the new version, still need to hit enter when its done though
::Not sure if i can auto do that need to look more online
I know i don't really need to delete the patchedmods contents, but i had an issue a while back when i updated and the solution was to delete the patched mods and re-ptach. So now i do it everytime just as a safeguard.