[SHOEBILL] Gamemode Reloader -
mk124 - 04.06.2015
Hi,
yesterday I made an automatic gamemode reloader for shoebill, which will reload your gamemode automatically when the file will change. This is very useful, because you don't have to restart your server manually or via the /rcon reload command. If you want to use this plugin, you need to open your resources.yml file and add this to the plugins section:
Code:
- net.gtaun:shoebill-gamemode-reloader:1.0-SNAPSHOT
Now, it should look like this:
Code:
plugins:
- net.gtaun:shoebill-gamemode-reloader:1.0-SNAPSHOT
If you start the server the first time after editing the resources.yml, you need to make sure that you are not in offlineMode, because the server needs to download one artifact from repo.gtaun.net.
After the first start, the server should be running fine. When you recompile your gamemode now, the server will automatically restart.
Manual download:
http://ci.gtaun.net/job/shoebill-gam...0-SNAPSHOT.jar
Source (GitHub):
https://github.com/Shoebill/shoebill-gamemode-reloader
(This plugin was made for the project "Shoebill", and won't work with a normal pawn system or the normal SA-MP Server.
https://sampforum.blast.hk/showthread.php?tid=397735)
Re: [SHOEBILL] Gamemode Reloader -
Younes44 - 04.06.2015
good job dude..
+Rep..i will test it soon
Re: [SHOEBILL] Gamemode Reloader -
Pottus - 04.06.2015
This is not a filterscript though dude wrong section
it belongs on your project plugin page and should really be considered a tool not a filterscript for a release. Just re-make the thread in tools and ask them to delete this.
Re: [SHOEBILL] Gamemode Reloader -
stueycow - 04.06.2015
Quote:
Originally Posted by Pottus
This is not a filterscript though dude wrong section it belongs on your project plugin page and should really be considered a tool not a filterscript for a release. Just re-make the thread in tools and ask them to delete this.
|
Basically this but nice one I guess
Re: [SHOEBILL] Gamemode Reloader -
nilesk - 04.06.2015
Okay so, this will make an self-function when the server crashes per example to start it again? as i know it makes the same function when loads the server, right?
Re: [SHOEBILL] Gamemode Reloader -
mk124 - 05.06.2015
@nilesk: It automatically reloads the server when your recompile your gamemode.
Re: [SHOEBILL] Gamemode Reloader -
Su37Erich - 30.01.2016
Very useful, thank you!
Re: [SHOEBILL] Gamemode Reloader -
lucesita - 19.03.2016
when this plugin reloads my gamemode, I get some random ZIP uncompressing exceptions when I load classpath resources, but when I start Shoebill using startup.sh, everything works fine.
I think this happens because shoebill tries to load my gamemode when maven copy operation is not finished, so i think it can be fixed by sleeping for ~500ms under while(true) gamemode reloader loop.
Re: [SHOEBILL] Gamemode Reloader -
Luicy. - 16.05.2016
really? It's to write 3 letters in the console:
gmx
done.
Re: [SHOEBILL] Gamemode Reloader -
Firewire - 16.05.2016
Quote:
Originally Posted by Meller
really? It's to write 3 letters in the console:
gmx
done.
|
After a deployment and running unit tests pass, the gamemode will automatically be restarted without the aid of anyone else to be there. You could set a Jenkins job to trigger at a certain time to target a small percentage of the players whilst most are offline.
It's a good idea actually a very handy feature for my development.
Thanks for the hard work MK124.
Re: [SHOEBILL] Gamemode Reloader -
oMa37 - 16.05.2016
Was looking for something like this, Thanks dude!
But how to use it? lol