Open MVarland opened 2 years ago
Hmm, Q2Admin isn't really in my wheelhouse. I just use the regular rcon
to administer my server.
Looking at the lrcon script, it seems claim and release use a local script variable to track the claimer. I don't think TNG could just replace those commands because the script isn't looking for claimer in a cvar, except sometimes "lua_q2a_lrcon_storage" but that only seems to be checked when loading, unloading, or a player joins.
It might be easier to just implement all of lrcon within TNG, if that's something people would like. It seems its purpose is to allow whoever claims first to run a limited set of admin commands without full rcon access. @m4son does that sound right?
Alternately, you could just configure lenient thresholds for votemap, voteconfig, and votekick.
I think making it work within TNG makes sense, and we can define which cvars we want lrcon to apply to in the config?
Implement lrcon claim and lrcon release feature. Sometimes Q2Admin breaks and the lua script stops working. Having it implemented in tng would be better :)
I think the latest lua lrcon script is at https://github.com/m4son/q2admin/blob/master/plugins/lrcon.lua