Files

> > CS2D > Lua Scripts > [EngiN33R] Pure mode
Files overviewCS2D overviewLua Scripts overview

English [EngiN33R] Pure mode >

9 comments3 kb, 431 Downloads

old [EngiN33R] Pure mode

EngiN33R
Moderator Off Offline

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
1
dofile("sys/lua/puremode.lua")
to server.lua. Make sure server.lua is listed as the value of mp_luaserver.
Approved by GeoB99

Download Download

3 kb, 431 Downloads

Comments

9 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Gaios
Reviewer Off Offline

nice.
I like it!

old

BcY
Reviewer Off Offline

finally done.
I like it!

old

apex2d
User Off Offline

at last, you rock
I like it!

old

Jite
User Off Offline

It's useful.
I like it!

old

EngiN33R
Moderator Off Offline

@user Dousea: 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.

old

rzvthePsycho
User Off Offline

This is really usefull. Nice.
I like it!

old

Dousea
User Off Offline

But should it be officially within current CS2D version?
I like it!

old

GeoB99
Moderator Off Offline

That's a considerable straight forward path and this script's quite useful, your work has a huge potential I'd say.
I like it!

old Pro

Marcell
Super User Off Offline

Awesome modification as always EngiN33R. Take my filthy like
I like it!
To the start Previous 1 Next To the start