View Full Version : Just a simple question

01/08/2015, 08:59 PM
As the title says, just a simple question:

What is less RAM consuming or anything like that, adding a script as a filterscript or directly into the gamemode?

Thanks (:

01/08/2015, 09:04 PM

01/08/2015, 09:05 PM
I think, it does not matter, if you wanna use less ram you probably have to use less variables in your script
(as far as I know)

But you shouldn't worry much about ram, people say 512 if enough for a server.

Adding your code to a filterscript or gamemode will consume the same amount of ram, but I think gamemode run codes faster then a filterscript, thats the only advantage I see.

01/08/2015, 09:14 PM
Gamemodes must be in gamemodes.

Hmmm... Yes!? I'm talking about scripts that add something to the Server, like a map + teleport.

gamemode run codes faster then a filterscript

You mean that gamemode may cause less lagg than adding stuff as a filterscript as it loads it faster?

01/08/2015, 09:18 PM
By my experience, yes.

If you're coding something and you want it to run fast, put in the gamemode.

If your adding a side-code, like a minigame and don't really care about speed, put it in a Filterscript

01/08/2015, 09:22 PM