A C# port of Striper:Source & StripperCS2 powered by ModSharp.
- Please use valid
RFC 7159/ECMA-262JSON format, duplicate keys will not work. - For user friendly and preventing misoperation,
replaceis disabled by default, cvarms_stripper_replace_enabled. - Support both
removeandfilter. - Remove TargetType and make it default to
EntityNameOrClassName. global.jsoncfor every entity lump,global_default.jsonconly for default_ents lump.- Unlike StriperCS2, single object style is not support currently, PR is welcome.
- If any configuration file fails to parse, the whole configuration is discarded and every error is logged.
Two files resolving to the same
world::lumpkey (e.g.maps/X/foo.jsoncandmaps/X/X/foo.jsonc) count as such an error. - In
match, every entry ofconnectionsis an independent requirement: the entity must own at least one connection matching it. Listing two entries means "has a connection matching A and a connection matching B", not "one connection matching both". - In
delete, every entry ofconnectionsis applied on its own and removes every connection it matches. - Wildcard (trailing
*) matching is case-insensitive. It is only honoured fortargetname/classnameinmatch, foroutput/paramin a connection entry, and for any key indelete. replaceonly handles key/value pairs. Aconnections(orio) key insidereplaceis a configuration error; express IO rewrites withdelete+insertinstead.replaceonly rewrites keys the entity already has. A key that is not present is skipped with a warning and is never created; useinsertfor that (insertis add-or-set).- An
add/insertconnection missingoutput,inputortargetis skipped with a warning when the map loads; an entry with all three missing is rejected when the configuration is read.
ms_stripper_replace_enabled: Enabledreplaceblock inmodifysection, default:false.ms_stripper_verbose_enabled: Enabled verbose logging, default:false.
- Download file from latest Release
- Extract files to
game/sharpand merge intogamedataandmodulefolder.