Blog Archives

Server Mod CountryFilter

CountryFilter is a server mod which lets you choose which countries can connect to your server. You can block connections from certain countries and allow all others or allow connections from certain countries and block all others. It does not have to be downloaded by players, it should exist only on the server.

DOWNLOAD:

Rune 1.00-1.04
CountryFilter100.zip

Rune 1.07-1.08
CountryFilter107.zip

Code
CountryFilterSrc.zip

The settings can be changed in CountryFilter.ini, to block or allow a certain country just add the country’s two letter code to the correct line. Countries are separated by commas.

The country codes can be found here:

http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

Example 1:

[CountryFilter.CountryFilter]
BlockedCountries=it,no,fr
AllowedCountries=

Block connections from Italy,Norway and France and allow everything else.

Example 2:

[CountryFilter.CountryFilter]
BlockedCountries=
AllowedCountries=pl

Only allow connections from Poland, block everything else.

You need to have Nephthys server security mod installed for CountryFilter mod to work. It can be downloaded from here for versions 1.01 and 1.07:

http://zzora.altervista.org/Nephthys.html

If you need Nephthys for versions 1.00 or 1.04 leave a comment here and maybe I can help you.

Server Demo Recorder

Usually you record demos in Rune by typing the command “demorec” as a player, but it is also possible to record demos directly on a server.

The problem with a demo recorded by a player is that you will not see all players, and sounds will go away or be weird. This will not happen when you record the demo on the server, a server recorded demo will play back everything exactly as it happened.

I made this simple ServerActor which will automatically start recording a demo when there is someone playing on the server, and stop the demo when the server is empty. It does not need to be downloaded by players so don’t add it to ServerPackages, only to ServerActors!

DOWNLOAD:
ServerDemoRecorder.zip | ServerDemoRecorderSrc.zip

Put ServerDemoRecorder.u in System folder, then add to Rune.ini:

ServerActors=ServerDemoRecorder.ServerDemoRecorder

under all other ServerActors=.