#[MOD] JetFox's RCON/Ban Management for Dedicated Servers!
1529 messages Β· Page 2 of 2 (latest)
@gilded elk does this work with the dedicated server mod?
no π’ but I'm trying
i looked at the voip mod's source for inspiration and I think i know what i have to do to get mine to work with bepinex 
although, that's bepinex 6 so not sure if its representative example
Heya Jet. Do you have a GitHub repository up for this? I'd be very interested in helping out / expanding this with plugin support π
Can recommend Hetzner. I use it myself for a number of servers.
.
What version of BepInEx are you running this on? LTS 5?
yup.
Neat, going to play around with things a bit
Have fun.
@torpid radish Im not sure if this is the place to ask things about the dedi servers you host, but I play on the EU server a lot... The nuke timer is really, really fast on it, is that intentional?
It's default speed hah
ah, ok. Feels like there is no time at all between tac nukes and strategic.
Yeah, afaik it is
@torpid radish I can't get missions to load on my server, any pointers?
has the structure of config.txt changed with 1.3.5 ?
whatever I set as missionnames it just throws an error and loads an empty map
Is your mission in the appdata folder?
mmhm
all good now 
(The sauce is available if you want to change the one line lol)
Does steamworks not support direct local sockets? Also pretty sure you can send signed steamids.
btw my mod works with the server mod now ^^
Did you ever figure out a lead on allowing the host account to play on a dedicated server, @torpid radish? I've been working on my own server solution for some friends, and it's the one thing that's blocking me from releasing right now 
Seems like the only workaround would be the devs actually implementing a dedicated server option using the SteamGameServer system?
I do have a way, next patch i think allows it
For a different method
Huh, how'd you resolve it?
Udp method isn't validating client id's lol
Ah, so it'd be UDP versus Steam?
Do UDP servers still show up in the server list, though? 
Just buy another copy tho?
I'd prefer not to, if I can help it π
Hence why I've been playing around with trying to circumvent it.
Udp method also reduces my servers ping by almost 40 for me
But do UDP servers show up in the server list?
Yeah i have a working test of it
Huh, I'll have to try that route
So you're using the UDP socket type, but still creating a steam lobby? And through that, you can connect to your own server (even if hosting on the same account)?
I haven't tried connecting with same acc yet for udp
But it works for hosting multiple on one acc
Hm, just did some testing and couldn't connect with the same account.
The server could technially allow the same ID as a client, but it might have to do some odd stuff to route data correctly.
sweet ill have to give it a try!
Hello everyone. Can you please write in detail or send a message with instructions on how to start the server?
@torpid radish we noticed that after running the mod, something gets screwed up with render distances. massive pop-in for city building when removing the mod and playing normally. didn't exist before.
If you're removing the mod and playing normally you have to reset your games graphics settings (delete the file)
It makes changes that aren't by default in.
If one was to ask for said location? where might it be? @torpid radish
@torpid radish Is there any detailed guide on how to create a server?
The first post.
Here I can use Belinex 5.4.23.2 and Harmony?
B5 yes
Harmony the correct one is included anyway
Its a core part of BE
Where can I download them?
Have you googled?
https://github.com/KopterBuzz/NOBlackBox/blob/main/INSTALL.md#installation-with-bepinex
bepinex is deceptively easy to install
(steps 1 and 3 of that section of our manual)
except in this case you will be putting the NO-ServerHost.dll in the folder
Thank you very much for your reply, but in the end I couldn't start the server - I don't quite understand the developer's manual. Can you please tell me step by step which files to put where?
You can drop off a ready-made folder with a mod or a game, otherwise I can't do it myself?
you just gotta do this
to intall bepinex
and then put the mod content in the bepinex plugins folder
I understand how to install bepinex. I don't understand where to get the mod itself, because there are incomprehensible files on the developer's github.
yeah I don't think the github repo has releases
that's the latest binaries I can find
Thank you very much, it helped me a lot!
which file
i uninstalled the game
nuked the old game folder
installed it on a different ssd inside a different steam library
buildings still pop
ah
its in the registry
that key
can someone here give me an overview of dedicated servers, how they work, and how to set them up? looking into creating one
how does this compare to https://discord.com/channels/909034158205059082/1339291458154528818 ?
Nuclei is pretty much a rewrite of mine with better coding and chat commands, but doesn't include a ban list/join log.
Mine was just a "Can i do it?" project, well it worked so i'm back to playin war thunder lol
how does it compare in peformance? are you still going to work on this or are we going to see a shift towards nuclei?
I don't believe theres anymore performance tweaks, but i should probably remove the attempt at graphics modifications as they dont do anything.
and how should i go about installation? any guides you have i should follow?
don't know nothing about servers lol
Get another computer, buy nuclear option, install the bepinex and drag the install to the plugins folder inside bepinex π
The only other option that influences fps at this time which is a huge investment into investigating:
1. SimulationMode.FixedUpdate:
β’ Description: Physics updates are tied to the FixedUpdate loop.
β’ Use Case: This mode is typically used for consistent physics calculations, as FixedUpdate is called at a fixed time interval, independent of the frame rate.
β’ Performance: Ensures stable and predictable physics behavior, but can be less efficient if the fixed time step is too small.
2. SimulationMode.Script:
β’ Description: Physics updates are controlled manually via scripting.
β’ Use Case: This mode is useful when you need precise control over when physics updates occur, such as in custom simulation scenarios or when optimizing performance.
β’ Performance: Offers the most control, but requires careful management to ensure physics updates are called appropriately.
3. SimulationMode.Update:
β’ Description: Physics updates are tied to the Update loop.
β’ Use Case: This mode is used when physics calculations need to be in sync with the frame rate, which can be useful for certain types of simulations or visual effects.
β’ Performance: Can lead to inconsistent physics behavior if the frame rate fluctuates, but can be more efficient if the frame rate is stable.
Pretty much what Jet says. I do have plans to get up to parity on the ban system pretty soon, and I plan on long-term development/maintenance since it's been a fun project so far. If you want to know how it runs in practice, you can ask @gilded elk & @valid hound. They've been using Nuclei since this week.
π using JefFox or Nuclei really comes down to personal preference while JetFox has been here longer with more mods available for it compared to Nuclei which is like comparing two different computers on one hand you have the old mighty beast but itβs kinda bulky not as modular but still is very powerful and mighty where nuclei is more βnewerβ and a little bit more user friendly now when it comes to hosting with both of them itβs also the exact same way you just got to make sure you have a dedicated account to do so cause sadly no matter which one you use you not able to use the same stream account to both host and play on the server currently (atleast to my knowledge) now for install you need nuclear option of course.. bepenix installed and then either jetfox or nuclei placed in the plugins, and launch the game using the .bat file give it a few seconds to run then close it out, go to bepenix folder in your NO folder and go to config to edit the config for nuclei or just go to the normal plugins and edit the config for jetfoxβ¦ I hope that explains a little better!
I use Nuclei rn and just run a home server on my second computer with a second steam account.
I would like to test something if we could get alot of players available....
this ?
later lol im finishing up a graph
don't have a second game for hosting π
Core rate of 16 drops the fps massively, core rate of 2 doubles performance...
I should probably log default value first lol
default value is coreCount of server, so weird telling the engine that if it has less cores available it works great
@spiral spade @frosty path @gilded elk chance i could borrow some of you for a fps test later?
ya I think I can hop on
might go play aoe4 with a mate but dunno when hes getting back hes afk
its up if you can join
sure
which server
jetfoxs test server
lol
im gonna plot fps for about 5 minutes real quikc to get a baseline
then apply the patch
about a 1/3 fps difference increase.
Is this tested on the same mission each time?
Same match, more players on patched as they kept joining
patched was about 30 seconds after unpatched
that was a good round
according to tacview, the Dynamo just checked itself out of existence
ppl were wondering how it died
aint that exciting
for sure
weird
What did you end up doing? Limit CPU count?
Unity.Jobs.LowLevel.Unsafe.JobsUtility.JobWorkerCount = 2
Appears 2 is the sweet spot.
Huh, peculiar
Will do
works as a ingame fps boost too if you play...
Huh, what CPU do you use?
13900k
Might be switching between P & E cores?
nah, the other server test was done on a epyc cpu
Interesting
Epyc 4564p which is basically a 7950x
ill get a pic of its fps test ingame
one moment
(this has the graphics patch applied lol so ignore super high fps...)
but yeah same perf boost
dayum
server side?
yeah, lol
its basically disabled every source of rendering
i use it as a debug for when i actually need the unity log
wonder if I should try this on a raspberry pi
I mean it struggles with minecraft server so maybe not π
gotta get steam client running though for steam auth lol
well it's a 3b and I'll have to run it through proton
wait no it's arm64 so no steam π
lol
box86 maybe
right..
so I have to get box86 to run steam and the game
doesn't help that my raspberry pi is 2-3 generations behind π
yeah but neither does mc
mc has to generate chunks though...
I actually didn't notice a difference for the batchmode server with or without graphics patching.
Did some benchmarking myself, no resource usage difference, 0% GPU
yeah i dont need graphics patching for batchmode.... i realize that now lmao but i was just trying everything to squeeze extra performance.
i was seeing if itd reduce ram usage at all
ooh true
ok you have fed my delusions enough, I will try it today
Pretty sure Nuclear Option is a lot lighter weight than MC
mines an old ass 3b
mines a 4 i think? 8gb of ram
You'd just run into the whole needing Windows or an emulation layer thing
im hoping box86 will do the trick
I think I unplugged my pi cause I needed the ethernet cord for something else π
mine uses weefee
and also it has flightradar24 tracking stuff on it so I'll have to reflash
yeah I could've but the headless sd card stuff didn't work with the flightradar24 os thing so didn't wanna mess with it
I think if I had a bit more ram on it it would have a good chance of working
wym
not rn sorry

I can hop on later if it's still up
I meant you test yourself when playing lol
oh dayum
haven't messed around with bepinex but I will try that
give me like an hour from now and I'll be available
epic
this requires your dedicated server also?
#1340695286405791764 if you need an install guide lol
ah perfect thanks
join a server beforehand to get a baseline a little bit though
or i guess you've played long enough to know your average fps?
its usually 30-40 on packed servers and like 70+ when its not
singleplayer is always usually like 80-90+
but i will test beforehand (and post them in the right thread lmao)
π
alright im gonna go flash debian server to my 3b and see what i can do
where is the fps boost plugin for this mod btw
ill probably push it one day
no i found that i mean the fps boost plugin
oh i havent pushed that to anything yet
i need anything i can get to squeeze the performance on my 3b π
oh ok
uh will i be able to join on my steam account if im hosting on the same account or nah
nope
alr well ill need someone to join for me lmao
probably will be ready in 40-60 minutes depending on how it goes
ok actually a bit longer, i have to flash ubuntu on an old intel mac because its the only thing i can find that can flash sd cards π
come to think of it, i could much more easily run the server on this mac...
its amd64 and has linux so why not right?
π
i'll try it first, if it runs shit then im not even gonna bother with the pi
this is the latest one?
I mean theres another one that hasn't been pushed but i'm saving it til next game patch
well is this the latest available one for me to use
i think so
and does it automatically open the console or should I use that cfg you sent
and since I'm using proton should I download the windows bepinex or linux π
sorry about the questions lmao
oke thanks
ok I'm getting 9 fps in free flight lmao
I'll install the server now
it says to move 2 dlls even though there are 3 in the zip file?
Serverhost.dll, Newtonsoft.json.dll, and IPAddressRange.dll
should i move the config.txt (not cfg) to the plugins folder also
everything in the zip π
alr thanks
so I think it worked
I hear the menu music but nothing popped up
I need to add the config thing to make console pop up tho
yeah so youll have to force close it then lol
oh uh the bepinex folder is not populating with folders when I run it
I'll try Linux bepinex then
if it dont work i have nuthin
has anyone tried it with proton yet?
hmmm
Just cuz I was hella confused about these instructions. I managed to figure it out with my Lutris v0.5.11, I think.
Right-click game profile > Configure
Runner options > DLL overrides
Add: winhttp | n,b
Maybe "System options > Prefer system libraries" ON, too? Was, for me.
Save. Duh.
hm
I think I'll stick with official bepinex docs tho lmao
also no clue what lutris is and I have no interest in finding out π
for steam:
Properties --> Set Launch Options: WINEDLLOVERRIDES="dinput8.dll=n,b" %command%
for proton:
WINEDLLOVERRIDES="dinput8.dll=n,b" /path/to/proton/bin/wine executable
(change dinput8 to winhttp)
oh ok
oh I thought you tried it
I'll stick with bepinex docs lol
it's describing my issues most closely so
xD
hope someone's gonna be able to test my server when im done so this trouble isn't for nothing π
i can lol
don't think it's working
it's still playing background music and no change in folders
nah it just doesn't wanna use bepinex
I did this and still nothin

truly a sad day for the 0 people who actually want a standalone nuclear option server on a 10 year old mac running Linux mint π
haha
Sorry man im not in town
I see the fps boost though ill have to check that out!
[MOD] JetFox's Dedicated Server!
hey jetfox sorry for dumb question but after the two .dll files go into plugins where do i put the config?
Just drop it in the same folder as the plugins
lol heard i was being cautious but seems to work thank you
I attempted, I had better luck just running the dockur/windows container and hosting it there. Seemed performant enough
so this opens, game launches can only see it in task manager. but nothing else what am i doing wrong
I've only got one copy of the game, so didn't leave it up long enough to test in detail
yeah well in my case i was running on a 2015 macbook air so that wont work π
ive given up since then so its alright
Well
The step of modifying the bepinex to show a console popup, otherwise it doesnt matter either way
Yea 
i thought i did
I've got an unRAID machine in my laundry room.
If it's an old mac and you're not super attached to it as a dedicated device you can always dual boot into Windows
oh i dont care about it at all lmao, i could try that tho
When I owned a Macbook it dual booted well. Never tried any games with it, but only needs a CPU
idk how well it will run windows 10 but maybe if im bored enough ill try π
Learn how to install Windows 10 on your Mac with Boot Camp.
Apple has a guide for it
Super easy
oh i know how to do it im just wondering how well it would run
and also the fact that ive uninstalled macos so that wont work π
ill probably just have to make a bootable usb though its prob not too bad
Fair. It's an Air after all. I don't think the CPU usage was too terrible but @torpid radish would have to attest to that. Not sure if it's still eating RAM on ocassion. Haven't kept up in this thread in the last few weeks
I mean i did testing last month on the fps limitting of the server, i didnt feel any ingame performance drops til around 10 fps when the ingame ping was almost double of what it starts at
I think the ram leak is the game itself lol
Could probably write up a script to reboot the game after X amount of games completed 
Or if usage is > xyz
You ever max the memory? Wonder what the performance looks like then
Can't help on that assessment either 
Lololol, it's an R620
Came out in 2012/13 I think?
I had spec'd out an upgrade to the entire system earlier this year for purchase eventuallyβ’οΈ but it was only gonna be up to ddr4, 5 prices are still a bit meh.
also only upgrading to an i5
intel 265ks are $299 atm... for me atleast
but i have a 13900k and im like.. its the same performance...
i also have an epyc server next to me lol
Yea, 14600K's about $220
i wouldnt even go 13th or 14th gen with the degradation issues
im just waitin for mine to die so i can get a refund and buy a 265k lol
Hoping they stay that low, or I can snag it for a bit cheaper. But not sure that'll be happening this year with a certain t word that rhymes with parish. I live in the US πΈ
Last I heard last fall it seemed to be resolved, or atleast mostly.
146K hits all my perf benchmarks for what I've had issues with, and supposedly the intel cpu's transcode wonderfully.
My R620 has dual Xeon E5-2670 v2s, so I have a P400 for transcoding. Might be able to rid it if it's as fantastic as everyone says π€·ββοΈ
if you click on the inside of a command line window
it pauses execution
i can see u did that because the window title starts with Select
click on the black background inside the window and then press F5
Try rightclicking
Reboot the command line
but if you have paused the command line accidentally for a long time maybe u just want to exit and start a new one
will try again'
same thing close it and re open making sure not to pause it or anything its just same screen damn im feeling lost in the sauce
i think you are running an old release.
try this:
#1329805993005289514 message
nvm i see it
idk why it takes to 2 messages below it lol
lolol
i checked the link twice it was for the right message 
do i need the fps rcon.exe
not neccessarily
THANK YOU! SO MUCH! LEGIT WASTED HOURS ON THE WRONG VERSION! YOU SAVED ME
i mean atp you might as well go for the superior option cough ryzen cough since youre changing boards anyway
My ryzen experiences are worse than intel for gaming by a huuuge margin
When was your last experience with them
5900x, driver timeouts out the wazoo even with full resets.
havent experienced tat personally yet
I'll just stick with intel for now, it hasn't degraded yet weirdly for how old mine is
but right now if you want top gaming performance you go for AMD
workstation is more contested
nope same 125w TDP
its about the same if not slightly worse than the 13900k
Pl2 tdp rail is 177 vs 253
fair thats max turbo
you get less threads and cores with more or less the same performance and base TDP and a new socket required
I'd switch to it if my 13900k does degrade to where they offer a refund for it.
i used to get loads of hitches with 5900x too, wasn't it something with tpm
dunno gave up on it and bought a 13900k
Been on Ryzen for the last 5+ years and agree. Never had driver issues, but definitely get some weird hitching every once in a while. But my desktop is pretty unoptimized as far as gaming devices go. Runs hot. Abused regularly
ya with that gen there was a known issue where a tpm instruction can halt the whole system for like half a second
Current bug: Cant load new map, too tired to debug this late.
nfo : Unity Log] 21.012: [MapLoader] Using Default scene (GameWorldPrefab,Terrain1)
[Info : Unity Log] 21.012: [MapLoader] Found GameWorldPrefab Terrain1
[Info : Unity Log] 21.012: [MapLoader] Loading GameWorld=Assets/Scenes/GameWorld/GameWorld.unity
[Info : Unity Log] 21.012: [MapLoader] Trying to load MapLoader (NuclearOption.SceneLoading.MapLoader)
[Info : Unity Log] 21.012: [MapLoader] Start Load Assets/Scenes/GameWorld/GameWorld.unity
Need to tell MapLoader to load Terrain_naval. if anyone wants to figure that out while i sleep...
how did you fix this? i cant seem to get it to load
Fixs for new map and configurable MissionGroup loading.
Thank you
I'm trying to get this to work on a dedicated linux box, and so far it does start but I don't see it in the server list. I have set UdpSteam to "udp", the host address to my externally visible IP, and the port to 10230, which I have forwarded on my firewall. Any ideas?
Steam has to be running
No exception to that
Logged into a valid steam acc
Steam is / has been running all the time, and logged in.
I also tried leaving udpSteam at the default "steam" but that didn't make my server appear either
It's not able to validate your steam auth
Oh. Oooooooh. That could be a problem. I've been running it via wine, of course that won't work x.x
So that means I can't run the game on my main PC while also hosting a dedicated server?
Ouch! Thanks for clearing that up though.
You'd still see it in server list, it just would error out if you joined with same acc
Hi. Tell me what is better, to use hosting on my pc (12400, 6 (12) x 4.0, DDR 5) or to use a dedicated server (4700mq, 4 (8) x 3.3), DDR 3). In the case of SPT Tarkov, for example, this gives a huge increase fps. And what about here?
Single threaded performance is still king
Ok need testing
Updated my source on github with latest I've been using - mainly just adds launch parameter detection so I can run servers easier
do you have a link to your github?:)
Not tottaly sure how to find my UDP port but i just have my UDP host set to my public IP, is that correct
actually it just loads infinitely on mission load atm
i guess it is looking for a mission that doesnt exist
dont know how to fix that
Sorry if that was asked before but is it still so that the account hosting the server cant join?
yes
*for now
Ok thanks
Removal of any mission selection/rotation (since dedicated its built in...), fixes steamauth logging.
Among us :O
sus
GOAT
T1 is only hosting Absolute Escalation for our PVE server for now as the new hosting method combined with optimization issues is causing heavy lag spikes
do you know if you are able to join local servers? i seem to have trouble getting a test server set up
Yes. i joined my own.
Above us
V1.1 -- WIP MOTD/RCon Messages, still working on assembling a full fake network identity for server to use.
RCON Fixes for banning/chat messages, to work with #1419447115293134868
works with linux dedicated btw 
maybe I'm stupid but what does this mod do
cause the initial post does not match up with the title
@torpid radish is it ok if I include this in the default mod package for my linux server install script ?
Yes
Originally just server management for missions now its a way to interact with dedicated servers for messages/bans
ahh alright
any documentation on how to use it? i cant find anything
like how to format a request to the port it creates, what commands it can do, etc
hmm ok so you just send commands in plain text?
#1329805993005289514 message there is an rcon console in that post
ahh nice
the rcon mod's config.txt governs rcon port and password
thats your own rcon plugin?
no just a client to interact with jetfox's
https://github.com/muji2498/Nuclei/blob/feature/rcon_attempt/Nuclei/Features/RconService.cs
i did try make a rcon server a while back in a fork of nuclei, dont think it works with dedicated servers tho
ah
i was able to make a simple little flask server using the rcon mod to create a player count graph
it just counts how many players are on this list and logs it to a .csv file every minute
π
You can query steam for player online amount via there own api
If you want player names... that would be nice to have via rcon for logging playertime
im sure you can but im dumb and this seemed easier lol
XD
Is the broadcast function working with the newest version of nuclear option for anyone else? MOTD doesnβt appear to be working either
I haven't updated the function for broadcast to the new way yet
#dedicated-server-info message
For broadcast functions lol
https://github.com/Shockfront-Studios/Nuclear-Option-Server-Tools/blob/main/ServerCommands/Readme.md ya uhh i think the mod is now obselete, it can handle requests over json to do certain commands
if i recall the built in has zero authentication for rcon commands and only runs locally
Iβm in over my head so far 
wait a minute
USERNAME and PASSWORD: This is for the web panel's Basic Authentication. It is critical that you change the default password to secure your server.
Linux only as far as I can tell
so if you only forward the website ip over internet and not the rcon ports it should be safe
I dont know what features the web panel has.
and the default rcon is only localhost
it physcically will not bind to an external ip
i assume all the same as described in the other readme i sent, it just uses it as an api, but im gonna try it later today
My RCON is only set up as local and a discord bot runs commands/gives returns
oh then i feel like password authenticated requests is redundant ngl
(This is from talks of like 2 months ago i havent looked if its changed)
oh, this is brand new
the thing 7ep sent and the github i sent was made public i think yesterday
9/29 was the talks of rcon stuff
its just running on tcp localhost, without any auth or anything, so best to make a separate app to handle stuff from outside to pass to the server
theres nothing about password authentication in the remote server command readme so i think thats still the same but the web panel is password protected
#FreeFoxHosting
free email on the top left
ya the web panel has basic auth with username and password
the server's actual rcon listener only listens on localhost and has no auth
the web panel just sends rcon commands to the specified port on the localhost
its nice for setups where you have everything on one host, but in my case for example because I use containers, I need one web panel per container π«
the rcon panel is just a pyhton flask app you can run it on any os...
Okay, thanks. I saw .sh and noped out immediately
its a few line of bash script get it vibecoded to windows or something
(I don't know what I'm doing btw)
To clarify some things and my intent for the builtin commands:
It only listens on localhost so that the game server process does not need to handle SSL and authentication (mostly because it is a pain to handle those things inside unity)
Instead there should be a separate process (running on the same machine) that forwards commands to the server. ServerControlPanel is an example of this (using Python and Flask to handle SSL certs and Basic Auth), but you can also make your own.
If you want to add extra commands via modding, use the ServerRemoteCommands class and the AddCommands method. Then they will work with the same TcpListen/port as the builtin commands
I have old code lying around for steam SSO if you're interested
cant be bothered to actually setup the server but, this is what the html from the github looks like zoomed out
potentially gonna update my panel π
a cool addition would be receiving messages, like seeing peoples chats from the web panel
What Iβm currently doing is hodgepodging the moderation mod into a discord webhook and then using the dedicated server command tools and a bot to send messages back
That would certainly be a nice addition
