English [EngiN33R] Pure mode icon

9 comments
12.05.16 02:11:29 pm
like 8 like it!
3 kb, 52 Downloads
EngiN33R
Moderator
Offline Off
This small script makes it possible for server owners to enable pure mode. With pure mode enabled, whenever a player connects to a server with certain files different from the server's, they are kicked. The exact list of files checked can be provided in sys/pure.cfg. The example file packaged with the mod includes instructions on how to use it, as well as a short list of basic filter rules. To enable pure mode, execute sv_pure 1 in the console.

The script's secondary goal is to introduce fellow modders to some of the new features of version 1.0.0.2.

flame Attention! Generating file checksums may be a resource-intensive task, and your server may take some time to fully start. This only happens whenever Lua scripts are reloaded (server start / map reload).

flame Attention! This mod is using the new mod distribution format!
• Unpack the archive in the CS2D root directory, merging folders if prompted.
• On Windows, you may use the launcher (Launcher.exe): open the Mods tab, tick the box next to "Pure Mode" and click "Run CS2D".
• You can also run the CS2D executable or the dedicated server with the flag -mods "puremode" (-mods "xxx,puremode" if you already have other mods enabled).

If you would like to use the legacy format instead, simply copy mods/puremode/lua/main.lua to sys/lua, rename it to puremode.lua and add
Code:
1
dofile("sys/lua/puremode.lua")

to server.lua. Make sure server.lua is listed as the value of mp_luaserver.
image
ok This file has been reviewed and approved by Fraizeraust (12.05.16 02:12:33 pm)

Comments

9 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
18.08.16 01:42:52 pm
like I like it!
Up
Gaios
Security Supporter
Offline Off
nice.
14.05.16 08:19:18 pm
like I like it!
Up
BcY
User
Offline Off
finally done.
12.05.16 06:18:15 pm
like I like it!
Up
apex2d
User
Offline Off
at last, you rock
12.05.16 05:57:48 pm
like I like it!
Up
Jite
User
Offline Off
It's useful.
12.05.16 04:52:48 pm
Up
EngiN33R
Moderator
Offline Off
@user Ortimh: The fact alone that this script exists proves that it doesn't need to be. Whether it will be is another question. It's not the highest priority at the moment.
12.05.16 04:17:18 pm
like I like it!
Up
rzvthePsycho
User
Offline Off
This is really usefull. Nice.
12.05.16 02:46:32 pm
like I like it!
Up
Ortimh
User
Offline Off
But should it be officially within current CS2D version?
12.05.16 02:21:15 pm
like I like it!
Up
Fraizeraust
Moderator
Offline Off
That's a considerable straight forward path and this script's quite useful, your work has a huge potential I'd say.
12.05.16 02:20:59 pm
like I like it!
Up
sqpp15
Super User
Offline Off
Awesome modification as always EngiN33R. Take my filthy like
To the start Previous 1 Next To the start