Jump to content

Servman 3 Non-Official


Recommended Posts

Servman 3 Non-Official 1.0 for DCS 1.2.7.23803

 

A multi-player server administrator with an ingame command-line settings and user interface as well as text-based basic settings capability's.

(Based on Servman 3.0.1 RC1 by Panzertard)

 

 

attachment.php?attachmentid=89980&d=1382614315

 

 

Features:

- Mission voting

- Message of the day

- Server rules section

- Automatic mission restart

- Automatic mission rotate

- Automatic server pause

- PING guard

- Automatic kick and ban system

- Sub administrator and squad login system

- Chat and trouble shoot logging to text file

 

 

Installation:

- Copy and paste the contents of the DCS World folder in this package into your DCS World gamefolder.

- Overwrite the main.lua file when prompted. The original main.lua file is renamed and included in this package.

- Change default settings in DCS World/Scripts/Addons/ServMan3/serverconfig.lua

 

Need to know:

- Either 'restart_miz_after' or 'rotate_miz_after' needs to be enabled. Both turned off results in internal Servman error. The code seems to have an exclusion rule for when both options are active, but not for when both are turned off. The error has no effect on the running server. Just Servman will not be functional.

- When the function 'squad_login_enable' is enabled and a registered 'local subadmins' is also a member of a registered squad, the sub-administrator must login as squad member first before as sub-administrator to obtain administrator rights as a squad member.

 

NOTE: Use a program called Notepad++ to successfully modify .lua files. (http://notepad-plus-plus.org)

 

Basic Commands:

/info - Server information

/help - Servman ingame help information

/conf save [filename] - Save Servman settings to a configuration file

/conf load [filename] - Load a previously saved configuration file

/reinit - Hot-restart of Servman after modified settings of other files for instance

/restart - Restart Server

 

Turn Servman off:

- Change to the original main.lua file by renaming in the DCS World/Scripts/net folder.

or

- Rename the 'Addons' folder.

 

 

More commands and manuals of Servman can be found on the official Servman 3.0.1 RC1 documentation pages.

(http://forums.eagle.ru/showthread.php?t=73625)

 

 

Enjoy! :thumbup:

 

 

Current uploaded releases:

(located on the Eagle Dynamics™ forums server)

Servman 3 - NO 1.0 - DCS 1.2.6.18651.rar

Servman 3 - NO 1.0 - DCS 1.2.6.18933.rar

Servman 3 - NO 1.0 - DCS 1.2.6.19532.rar

Servman 3 - NO 1.0 - DCS 1.2.6.20768.rar

Servman 3 - NO 1.0 - DCS 1.2.7.23097.rar

Servman 3 - NO 1.0 - DCS 1.2.7.23803.rar


Edited by BRooDJeRo
Link to comment
Share on other sites

  • 4 months later...
  • 1 month later...
  • 2 weeks later...

The program itself hasn't changed and it most likely never will by my personal uneducated in lua hand. Servman still seems to function on this much newer DCS software. The question is for how long. Most likely until the same functions will come as a standard in DCS multiplayer server where it could create function conflicts.

 

In these non-official versions only DCS World 1.2.6.17746 compatibility is created and quick and easy download that should/could function with the lastest official DCS World release.

 

When someone has made a small improvement for himself or god knows what else with this plugin and doesn't mind sharing any improvement with the fanbase public then by all means post it for implementation and everlasting fame.

 

Quick, easy and simple should be the motto with Servman!


Edited by BRooDJeRo
Link to comment
Share on other sites

Thanks!!!


Edited by Hamblue

Asus Sabertooth P67 Motherboard 2600k CPU, 16 gig DDR3, 1600. Samsung 830, 256 gig hard drive,

GTX780 Video Card, Warthog Hotas, Razer Mamba mouse. Saitek Combat Rudder Pedals. Trackir 5, Verizon FIOS 25Meg Up/Down

Link to comment
Share on other sites

Sorry, You caught the post before I edited the stats part.

I get the program mixed up with SLMOD which has stats that is used for autokick. That is now not working or fixed.

Good to see that there's an option again :thumbup:

Asus Sabertooth P67 Motherboard 2600k CPU, 16 gig DDR3, 1600. Samsung 830, 256 gig hard drive,

GTX780 Video Card, Warthog Hotas, Razer Mamba mouse. Saitek Combat Rudder Pedals. Trackir 5, Verizon FIOS 25Meg Up/Down

Link to comment
Share on other sites

  • 2 weeks later...

Eagle Dynamics released DCS World version 1.2.6.18651 today so that deserves a compatibility update for the Servman 3 NO 1.0 server administrator.

 

Servman package released here is tested in the latest DCS environment and functions as intended.

 

Enjoy.

Link to comment
Share on other sites

  • 2 weeks later...
i had set subadmins, and everything worked fine, then i enabled squad login, and they can log in fine, but now the subadmins no longer work? anyidea how to fix

 

I need more information than only this question to find a lead or a solution.

 

- The server config text regarding admin and squad registration, you can use other symbols for names and passwords.

- Are there any duplicate usernames and corresponding passwords for squad members that are also admins?

 

Note: "Full admin functions may still be disabled until he logs in as full admin"

 

Meaning: When you're logged in as a squad member than you need to log out as a squad member first to login as admin when being a remote client to obtain full admin rights. Perhaps even fully reconnect to the server.

 

This is all speculation for me as i do not know your order of testing things, settings used or what you have tried at this point to make it work. It's even possible that this feature has never fully functioned correctly, but then your should be discussion about it in the official Servman threads. Even the current version of DCS could be changed enough to start this problem.

 

When all settings are correct than try setting 'kickbanlevel = 1' and see what happens.


Edited by BRooDJeRo
Link to comment
Share on other sites

I need more information than only this question to find a lead or a solution.

 

- The server config text regarding admin and squad registration, you can use other symbols for names and passwords.

- Are there any duplicate usernames and corresponding passwords for squad members that are also admins?

 

Note: "Full admin functions may still be disabled until he logs in as full admin"

 

Meaning: When you're logged in as a squad member than you need to log out as a squad member first to login as admin when being a remote client to obtain full admin rights. Perhaps even fully reconnect to the server.

 

This is all speculation for me as i do not know your order of testing things, settings used or what you have tried at this point to make it work. It's even possible that this feature has never fully functioned correctly, but then your should be discussion about it in the official Servman threads. Even the current version of DCS could be changed enough to start this problem.

 

When all settings are correct than try setting 'kickbanlevel = 1' and see what happens.

 

 

if i "/log password" i get invalid squad login so i have to resort to my "/log squaduser squadpass" below is my config file

 

-------------------------------------------------------------------------

------------------------------------------------------------------

-- SERVMAN SERVER MANAGEMENT MOD

-- FILE: serverconfig.lua

-- VERSION: 2.5

-- AUTHORS: Acedy, Panzertard, =RvE=Yoda

------------------------------------------------------------------

 

------------------------------------------------------------------

-- Table with server configuration variables

------------------------------------------------------------------

 

local config =

{

-- NOTE --- SORRY TRANSLATION IS NOT COMPLETE --- WILL NOT WORK AS EXPECTED ---

-- NOTE --- SORRY TRANSLATION IS NOT COMPLETE --- WILL NOT WORK AS EXPECTED ---

--Determines the language of server messages. Default is English "en". A table with translated strings has to

--be added to file "translations.lua". Other languages available: German ("de").

-- NOTE --- SORRY TRANSLATION IS NOT COMPLETE --- WILL NOT WORK AS EXPECTED ---

-- NOTE --- SORRY TRANSLATION IS NOT COMPLETE --- WILL NOT WORK AS EXPECTED ---

language = "en",

 

--If true players are allowed to initiate a vote or poll to load missions. Set to false to disable.

missionvotes = true,

 

--Time in seconds after which an ongoing vote/poll will be closed and evaluated.

vote_timeout = 120,

 

--Minimum amount of votes (in percent of all players) needed for a valid vote/poll. If the percentage of votes

--is lower than this value, the result will be discarded. Value must be between 0 and 100.

min_votes_in_percent = 51,

 

--Time after starting a vote that a player cannot initiate another vote of the same kind

--(i.e. votekick or missionvote/-poll). In minutes. Must be >= 0. Default is 5 minutes.

time_between_votes = 2,

 

--Time in minutes after which the current mission restarts automatically.

--Mission rotation needs to be disabled. Set to 0 to disable.

restart_miz_after = 300,

 

--Time in minutes after which the next mission in the Missions/Multiplayer folder will be loaded (automatic

--mission rotation). Set to 0 to disable. If mission resarting is enabled as well, then rotating has priority.

rotate_miz_after = 0,

 

-- NEW: will allow a mission rotate/restart announcement to appear. 3 examples below:

-- NOTE: Order must be incremental, smallest numbers first.

-- miz_rotate_announcement = { 1,2,3,4,5,10,15,60,120,180 }, -- at 3 hours, 2 hours, 1 hour, 15 mins, 10 mins, and every min from 5 to 1 min

-- miz_rotate_announcement = { 1,5,10,15,60 }, -- at 1 hour, 15 mins, 10 mins, 5 min and final call at 1 min.

--miz_rotate_announcement = { 0 }, -- disabled

miz_rotate_announcement = { 1,5,10,15,60 },

 

--If true the current mission will be paused once all players left the server. Set to false to disable.

pause_if_server_empty = true,

 

--If true the current mission will be unpaused when a new player enters an empty server. A mission will also be

--resumed ~1min after loading if the server is not empty. Set to false to disable.

resume_if_server_not_empty = true,

 

--If true the server automatically restarts the current mission when all players left the server.

--Set to false to disable.

restart_if_server_empty = false,

 

--Number of human teamkills after which a player will be kicked automatically. Set to 0 to disable.

kick_after_teamkills = 3,

 

--Number of AI teamkills incidents after which a player will be kicked automatically. Set to 0 to disable.

kick_after_AI_teamkills = 3,

 

--Number of friendly fire (damaging human teammates) incidents after which a player will be kicked automatically. Set to 0 to disable.

kick_after_friendly_fire = 0,

 

--Minimum time in seconds after which a 2nd friendly fire event of one player against the same teammate will logged/reported.

--Set to 0 to log/report all friendly fire incidents (this may cause message spamming). Default is 3.

friendly_fire_interval = 3,

 

--Minimum time in seconds between collisions of two teammates that will be logged/reported. Set to 0 to disable collision logging/reporting.

collision_interval = 5,

 

--If true the stat counters (for human and AI teamkills, friendly fire events, team collisions and ping warnings) of all players will be reset

--to zero on each new mission start. If disabled these player stats will accumulate over all missions. Set to false to disable.

reset_TK_stats_on_miz = true,

 

--Score below which the player will be kicked automatically. Must be negative. Set to 0 to disable.

--Can be used together with "kick_after_teamkills" and/or "kick_after_AI_teamkills" and/or "kick_after_friendly_fire".

kick_below_score = 500,

 

--Number of high average ping warnings after which a player will be kicked.

--Set to 0 to disable ping logging and kicking for high ping.

kick_after_max_ping_events = 3,

 

--Maximum average ping. Average is calculated over the last 100 ping values, and only for non-spectating players (excluding subadmins).

--Must be positive, default is 500. Option is only relevant when kick_after_max_ping_events > 0.

max_average_ping = 500,

 

--Penalty time in minutes that a player cannot reconnect after being kicked. Set to 0 to disable.

wait_after_kick = 5,

 

--Number of kicks after which a player will be banned automatically.

--The player's IP will be added to local banlist. Set to 0 to disable.

autoban_after_kicks = 0,

 

--URL of masterbanlist. Set to "" to disable. URL format: "[http://][<user>[:<password>]@]<host>[:<port>][/<path>]"

--Ex.1: "http://BartS:AyCaramba@www.abc-xyz.net/def/banlist.txt" (if authorization via .htaccess is required)

--Ex.2: "http://www.abc-xyz.net/def/banlist.txt" (if no authorization is required)

masterbanlist_URL = "",

 

-- bankick_vote: If true players are allowed to initiate a vote to kick another player. Set to false to disable.

-- "bankick_by__": Allows for more flexible control over which filters that will be used for bankicks on player connect.

-- Note the UCID is the new UserID hash calculated from each Players Unique SF key.

-- The key is also unique per product, DCS:BS vs FC2.

-- bankick_enabled: Enables or disables all automated ban/kick functions *including* voting, on player-connect, automated (TK/AI) but

-- NEVER manual adminstrative kicks.

bankick_vote = true,

bankick_byname = true,

bankick_byip = true,

bankick_byucid = true,

bankick_enabled = true,

 

--Message of the Day. Use * to indicate line breaks. Set to "" to disable.

MOTD = "*223rd Combat Aviation Squadron*www.223rdCAS.co.nr*Auto-kick enabled for Teamkilling",

 

--Time interval in minutes between displaying the message of the day. MOTD will also be shown 2 mins after a new player

--connected. If MOTD is disabled, only the time remaining until mission rotation/restart is displayed (if enabled)

MOTD_interval = 30,

 

--Server rules as shown by /rules command. Use * to indicate line breaks.

server_rules = "1. No teamkilling*2. Do not damage teammates*3. No bad language*4. Treat each other with respect",

 

--Interval of frames after which ServMan checks if scheduled events should be triggered

--Lower values may (or may not) decrease server performance, higher values may delay scheduled events.

timer_interval = 100,

 

--If true all chat (except server messages) and player reports sent via "/report" will be logged in the Temp/ServMan-Chatlog-<timestamp>.log file.

--Set to false to disable. Cannot be changed at runtime.

log_chat = true,

 

-- Level of details appearing the Temp/ServMan-Serverlog-<timestamp>, mostly usefull when debugging.

-- Value must be number, 0 = off, 1 = normal, 2 = more, 3 = massive.

loglevel = 3,

 

--If true subadmins are allowed to reload the server configuration using the /init command.

--Set to false to disable. Server can always use this command.

reinit_by_admin = false,

 

-- Squadron Login.

-- Set the 'squad_login_enable=false' to disable the whole function.

-- Squad members will get some more functions over regular users, but the

-- full ADMIN functions may still be disabled until he logs in as a FULL ADMIN.

-- see "/help", "/help server", "/help admin" for more info.

-- *** NOTE SECURITY: If you set Suffix & Prefix to "" (blank) then ANYONE can login

-- with squad access.

-- *** RELATED: Anyone can IMPERSONATE a Squad member by observing your names.

 

-- Minimalistic security example:

-- - No prefix / suffix

-- - No Username

-- - Password only

-- Low to Medium security example

-- - Prefix = ""

-- - Suffix = ""

-- - Username = "champs"

-- - Password = "win!"

-- High security example

-- - Prefix = "666th"

-- - Suffix = "_sqd"

-- - username = "Champions"

-- - Password = "IneverCrash!"

 

squad_login_enable = true,

squad_prefix = "",

squad_suffix = "",

squad_username = "#####",

squad_password = "#####",

 

-- Decides which level to kick, anon users only or even squad member.

-- Even admins kan be kicked. But not the server itself - it is superadm.

-- Levels are:

-- anon = 0,

-- friend = 1,

-- squad = 2,

-- admin = 3,

-- superadm = 4

-- If you set kickbanlevel = 2, then everyone including squad-members can

-- be kicked/banned for offences. Admins cannot be kicked banned at

-- level 2, in that case you should set kickbanlevel = 3

kickbanlevel = 2,

 

}

 

 

------------------------------------------------------------------

-- Table of sub-administrator names and passwords

-- Names/passwords cannot contain the following characters: " \ %

------------------------------------------------------------------

--[[

 

Format/Example:

-- Please pay attention to the commas at the end of the line, it is required.

local subadmins=

{

["BartS"] = "Ay!Caramba12",

["Homer"] = "doh!!",

["name"] = "password"

}

]]

 

local subadmins =

{

["Lt Col. Jetkar =223rd CAS="] = "#####",

["=223rdCAS= Sn0w_Lynx"] = "#####"

 

}

 

 

------------------------------------------------------------------

-- Table of banned IP ranges

------------------------------------------------------------------

--[[

Format/Example:

local banned_IP_ranges =

{

{ from = "123.34.61.1", to = "123.34.61.255" },

{ from = "67.113.0.1", to = "67.113.255.255" }

}

]]

 

local banned_IP_ranges =

{

 

}

 

 

------------------------------------------------------------------

-- Table of banned names

------------------------------------------------------------------

--[[

Format/Example:

local banned_names =

{

["unknown"] = true,

["Ho Chi Minh"] = true

}

]]

 

local banned_names =

{

["unknown"] = true,

}

 

return { config, subadmins, banned_IP_ranges, banned_names }

------------------------------------------------------------------------

[sIGPIC][/sIGPIC]

 

Rig: :joystick: :pilotfly:

AMD FX8350 8 core @ Stock Clock

G. Skill X Series 32GB (4x 8GB) @ 2200Mhz OC

GTX 1070 8GB

Corsair H110 Liquid Cooler

 

Link to comment
Share on other sites

Why is there no /ban picture in this thread?

 

ServMan_Logo.jpg

 

 

There, that's better.

 

I did think about it, but didn't post it. Mainly because i'm not the writer of this plugin or want to nick it away for personal fame. Also out of respect for Panzertard's work etc.

 

Unless you all tell me to stop bitching about it and i'll ad it to make it one and the same.

Link to comment
Share on other sites

Thank you HiJack for some clarification on Sn0w_Lynx's issue. :thumbup:

 

 

- Servman 3 Non Official now has a download for DCS 1.2.6.19532.

 

- 'Need to know' contains the additional information: When the function 'squad_login_enable' is enabled and a registered 'local subadmins' is also a member of a registered squad, the sub-administrator must login as squad member first before as sub-administrator to obtain administrator rights as a squad member.

 

- The original Servman logo has been uploaded to the Eagle Dynamics™ server for display and eternal preservation. The original location seems to be on the Photobucket™ website and might be deleted overtime by local account inactivity policy's.

ServMan_Logo.jpg.afed327ef14b82857c5c2d9c85e2266f.jpg


Edited by BRooDJeRo
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...