Skip to content

CounterStrikeSharp NOT WORKING if its location is changed in the addons folder #391

@aronmgv

Description

@aronmgv

Hey,
I am trying to host multiple servers and taking advantage of the same game binaries.. So my plan is to have different CounterStrikeSharp folder per game server:

  • CWTG: addons/css_cwtg/bin/linuxsteamrt64/counterstrikesharp
  • Public: addons/css_pub/bin/linuxsteamrt64/counterstrikesharp
  • DeadMatch: addons/css_dm/bin/linuxsteamrt64/counterstrikesharp

The way I am trying to achieve is via separate metamod.ini file per server which is configured as a server starting parameter mm_pluginsfile addons/metamod/cwtg.ini

addons folder:

image

metamod folder:

image

metamod file of cwtg.ini

;If your plugin came with a .vdf file, you do not need to use this file.
;
;List one plugin per line.  Each line should contain the path to the plugin's binary.
;Any line starting with a ';' character is a comment line, and is ignored.
;
;You do not need to include the _i486.so or .dll part of the file name.  Example:
; addons/sourcemod/bin/sourcemod_mm
;You may also put an alias in front of the file, for example:
; sm addons/sourcemod/bin/sourcemod_mm
;Will allow you to use "meta load sm" from the console.
;
;********* LIST PLUGINS BELOW ***********

cwtg addons/css_cwtg/bin/linuxsteamrt64/counterstrikesharp

meta list

meta list
Listing 1 plugin:
  [01] <FAILED>

Error message from logs:

[13:29:31.785] CSSharp: Could not read '/srv/cs2/serverfiles/game/csgo/addons/counterstrikesharp/configs/core'. Error: CoreConfig file not found.

Dont understand why it is looking into addons/counterstrikesharp folder if metamod specifically says addons/css_cwtg??

Thanks for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    untriagedNew issue has not been triaged

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions