16.04.2015, 08:51
the Gamemode is the main, core script of your server. It is the gamemode. So, the Gamemode is where you put the logic for the gameplay (RP, Capture the flag, team death match, death match etc...)..
Filterscripts are standalone, compiled scripts which can be loaded or unloaded onto the server at any time. Unlike a gamemode, a filterscript can be loaded into the server from In game by using /rcon loadfs [FSname]. And this loads a filterscript in the background (no server reset needed). With a gamemode you would need to add the GM to the server.cfg and reset the server, also you can only run ONE gamemode at a time. Wher eas with filterscripts you can run many different ones alongside each other.
Filterscripts are usually things like anti-hack systems, admin systems, extra commands, business/housing systems... all of that sort of stuff.
2) They are both good! Depends on whatever feels best for your projects needs. In the past though, i have had issues with filterscripts where they havnt loaded properly on server restart.
3) In My Opinion, you should use a filterscript when there are some features you want on your server, but havnt got time or the know-how to script it yourself. Filterscrits are nice because you can load them on and off your server without having to touch any code... So you can download a filescript for hosuing, business, vehicle ownership, admin, even system etc... and then slowly over time just write your own code in the GAmemode which replaces the filterscripts with better systems of your own!
Hope ive helped!
Filterscripts are standalone, compiled scripts which can be loaded or unloaded onto the server at any time. Unlike a gamemode, a filterscript can be loaded into the server from In game by using /rcon loadfs [FSname]. And this loads a filterscript in the background (no server reset needed). With a gamemode you would need to add the GM to the server.cfg and reset the server, also you can only run ONE gamemode at a time. Wher eas with filterscripts you can run many different ones alongside each other.
Filterscripts are usually things like anti-hack systems, admin systems, extra commands, business/housing systems... all of that sort of stuff.
2) They are both good! Depends on whatever feels best for your projects needs. In the past though, i have had issues with filterscripts where they havnt loaded properly on server restart.
3) In My Opinion, you should use a filterscript when there are some features you want on your server, but havnt got time or the know-how to script it yourself. Filterscrits are nice because you can load them on and off your server without having to touch any code... So you can download a filescript for hosuing, business, vehicle ownership, admin, even system etc... and then slowly over time just write your own code in the GAmemode which replaces the filterscripts with better systems of your own!
Hope ive helped!