[English] PBSV.cfg

Discussion in 'Ranked Servers (BC2)' started by Ronald64, Mar 9, 2010.

  1. Ronald64

    Ronald64 New Member

    Joined:
    Sep 28, 2008
    Messages:
    158
    Likes Received:
    3
    To all server administrators,

    Here is a cool example of a pbsv.cfg that you can use for the game BFBC2.
    Take care that the "pb_sv_AutoSs" is on 0 whitch means that you PB is NOT making any screen shots.

    I use this cfg for a couple of time now and it seems to work fine.
    If some one knows a better one just give me some feedback.


    pbsv.cfg
    Code:
    // *******************************************
    // PBBans.com PBSV Config
    // Battlefield Bad Company 2
    // Last Updated Feb 15th 2010
    // *******************************************
    ; ------------------------------
    ; General Settings
    ; ------------------------------
    pb_sv_MsgPrefix "PunkBuster Server"
    pb_sv_MaxDlRate 4 //[KB/sec requested per file (default=4)]
    pb_sv_MaxConDls 6 //[Concurrent downloads (default=1)]
    pb_sv_MaxSendRate 8 // [speed at which PB Server sends pbcl and pbag updates in KBps (default=8)] 
    pb_sv_CQC 1 //[0=No, 1=Yes (default=1)]
    pb_sv_Sleep 60 //[# of Milliseconds (default=60)]
    pb_sv_PowerMin 10 //[Power Points]
    pb_sv_PowerDef 1 //[Power Points]
    pb_sv_PowerKickLen 5 //[Minutes (default=5)]
    pb_sv_DupNameGrace 0 //[Seconds]
    pb_sv_ExtChar 0 //[0=No, 1=Yes (default=0)]
    pb_sv_GuidRelax 0 //[1=UNKN, 2=WRONGIP, 4=DUP (add desired values)]
    pb_sv_RconReload 0 //[0=No, 1=Yes (default=0)]
    pb_sv_LogSync 0 //[0=No, 1=Yes (default=0)]
    pb_sv_AutoUpdBan 1 //[0=No, 1=Yes (default=0)]
     
    ; ------------------------------
    ; Other Settings
    ; ------------------------------
    pb_sv_Restrictions 2 //[Kick for Restrictions 0=No, 1=Yes (default=1) 2=key macro Restrictions]
    pb_sv_FileWhitelist "" //[Folder Filename Filename ... Filename]
    pb_sv_EmptyName 0 //[0=No, 1=Yes (default=0)]
    pb_sv_LogFloor 1 //[Low log filename serial #]
    pb_sv_MinName 0 //[Min Characters in Player name (default=0)]
    pb_sv_MaxName 0 //[Max Characters in Player name (default=0)]
    pb_sv_LanMask "" //[IP Address Mask for LAN Players (default=)]
    pb_sv_Lan 0 //[0=No, 1=Yes (default=0)]
    pb_sv_ChangePeriod 600 // For pb_sv_ChangeMax
    pb_sv_ChangeMax 5 // [Max name changes allowed in pb_sv_ChangePeriod] ex 5 changes in 600 seconds
     
    ; ------------------------------
    ; Kick Settings
    ; ------------------------------
    pb_sv_KickLen 5 //[Minutes (default=2)]
    pb_sv_ScoreKick 0 //[Min score (negative) ]
    pb_sv_UpdateGrace 2400 //[Seconds to wait before Update Failure kick]
    pb_sv_NoGuidGrace 10 //[Seconds to wait before No GUID kick]
     
    ; ------------------------------
    ; PBSS Settings
    ; ------------------------------
    pb_sv_AutoSs 0 //[0=No, 1=Yes (default=0)]
    pb_sv_SsFloor 1 //[Low screenshot filename serial #]
    pb_sv_SsCeiling 2000 //[High screenshot filename serial #]
    pb_sv_AutoSsFrom 300 //[Min # of seconds to wait before requesting next ss]
    pb_sv_AutoSsTo 1200 //[Max # of seconds to wait before requesting next ss]
    pb_sv_SsCmd "" //[Filename of system command to run after screenshots]
    pb_sv_SsWidth 400 //[Requested pixel width of remote screenshots]
    pb_sv_SsHeight 204 //[Requested pixel height of remote screenshots]
    pb_sv_SsXpct 50 //[Percentage across screen for remote screenshots]
    pb_sv_SsYpct 50 //[Percentage down screen for remote screenshots]
    pb_sv_SsSrate 1 //[Sample Rate for remote screenshots]
    pb_sv_SsDelay 0 //[Maximum delay client waits before capturing screenshot]
    pb_sv_SsPath "" //[Path where remote screenshots are saved]
    pb_sv_ssLogging 3 //[1=Reg. Log, 2=SS Log, 3=Both, 0=Neither]
    pb_sv_ssTimeout 300 //[Seconds]
     
    ; ------------------------------
    ; Web Tool Settings
    ; ------------------------------
    pb_sv_HttpPort 0 //[Port #]
    pb_sv_HttpAddr "" //[External IP Address]
    pb_sv_HttpKey "" //[Password]
    pb_sv_HttpRefresh 30 //[Seconds]
    pb_sv_HttpMaps "" //[Map list (separate by spaces)]
    pb_sv_HttpMapsPath "" //[Path where maps are loaded from in WebTool]
    pb_sv_HttpColText1 "FFFFFF" //[Text Color #1 in WebTool (default=FFFFFF)]
    pb_sv_HttpColText2 "0000FF" //[Text Color #2 in WebTool (default=0000FF)]
    pb_sv_HttpColBack1 "000000" //[Background Color #1 in WebTool (default=000000)]
    pb_sv_HttpColBack2 "808080" //[Background Color #2 in WebTool (default=808080)]
    pb_sv_HttpColLine1 "FF0000" //[Line Color #1 in WebTool (default=FF0000)]
    pb_sv_HttpColLine2 "0000FF" //[Line Color #2 in WebTool (default=0000FF)]
    pb_sv_HttpColMsg "FF0000" //[Message Color in WebTool (default=FF0000)]
    pb_sv_HttpShowGuid 1 //[0=No, 1=Yes (default=0)]
     
    ; ------------------------------
    ; Alias Settings (Only for supported games)
    ; ------------------------------
    pb_sv_AliasFn "pbalias.dat" //[Filename (default="pbalias.dat")]
    pb_sv_AliasAutoLoad 0 //[0=No, 1=Yes (default=0)]
    pb_sv_AliasMax 10 //[Max # of Aliases to track for each PB GUID]
    pb_sv_AliasMaxEnforce 0 //[0=No, 1=Yes (default=0)]
     
    ; ------------------------------
    ; PB Tasks (pb_sv_task [start delay (seconds)] [repeat (seconds)] [command])
    ; ------------------------------
    pb_sv_task 0 7200 pb_sv_ver // Keep-Alive for PBBans Hub
    pb_sv_task 0 86400 pb_sv_update // Check for PB updates daily
     
    ; ------------------------------
    ; Badname List (pb_sv_badname [grace_period_secs] [disallowed text])
    ; ------------------------------
    pb_sv_badnameempty
    ;pb_sv_badname 10 server // Sample
     
    ; ------------------------------
    ; IP Guard 
    ; ------------------------------
    ;pb_sv_ipguard 128.0.0.1 // Sample
     
    ; ------------------------------
    ; Cvar List
    ; ------------------------------
    pb_sv_cvarempty
     
    ; ------------------------------
    ; Protected Tags
    ; ------------------------------
    pb_sv_protecttag 1 PBSTAFF
    pb_sv_protecttag 1 PBBans
     
    ; ------------------------------
    ; Load Ban List
    ; ------------------------------
    pb_sv_banempty
    pb_sv_banload
     
    ; ------------------------------
    ; Load IP Bans
    ; ------------------------------
    ;pb_sv_banmask "128.0.0.1" // Sample
     
    ; ------------------------------
    ; PB UCON Settings / Lists
    ; ------------------------------
    pb_sv_uconignoreempty
    pb_sv_usessionlimit 16
    pb_sv_ucontimeout 90
    pb_sv_uconempty
    ;pb_sv_uconadd 1 208.122.49.138 "pbbhub1" 
    ;"pbbanshub"
     
    ; ------------------------------
    ; Exec Configs
    ; ------------------------------
    pb_sv_load pbsvuser.cfg
    pb_sv_load pbsvlog.cfg
     
    -------------------------------
    ;www.punkbusted.com
    -------------------------------
    ;pb_sv_logaddr rep.punksbusted.com 
    
    For more info about PB UCON PunkBuster Online Countermeasures
    If you server is streaming by PBBans | Always Quality over Quantity
    Activate the "pb_sv_uconadd" and "pbbanshub" command by deliteing the ;
    Do this only when your server is streaming by PBBans.com



    When you want to stream your server by PunksBusted.com Sponsored by Ventrilo
    past this in your pbsvlog and fill in the details of your punksbusted.com account.

    pbsvlog.cfg
    Code:
    pb_sv_LogPw "YOURPASS" //[remote_log_password]
    ;pb_sv_LogAddr "rep.punksbusted.com" //[remote_log_address
    pb_sv_logaddr 66.128.48.38 // Repository IP Address 
    pb_sv_logport 24435 // Repository Port 
    pb_sv_loguser XXXXXX // Enter your PsB ClanID in place of XXXXX (e.g. 0123)
    If you want to let your server stream.
    PunksBusted.com Sponsored by Ventrilo

    PBBans | Always Quality over Quantity

    Just pick one you can't have both.

    Regards Ron
    Raptor-squad
    Raptor is recruiting:yes:

    Mod edit: looks very nice, thanks for sharing this! Topic is now stickie :)
     
    Last edited by a moderator: Mar 10, 2010
  2. KoA://LimaMike

    KoA://LimaMike New Member

    Joined:
    Oct 2, 2008
    Messages:
    36
    Likes Received:
    0
    Ziet er goed uit, maar hoe krijg ik dit op mijn i3D server? Het veld PBSV.cfg vind ik niet terug in het customer controlpanel?
     
  3. MvdS

    MvdS Member

    Joined:
    Sep 10, 2007
    Messages:
    132
    Likes Received:
    1
    Why cant we have both? This has never been a problem with other games? :?
     
  4. KoA://LimaMike

    KoA://LimaMike New Member

    Joined:
    Oct 2, 2008
    Messages:
    36
    Likes Received:
    0
    Sry for my reply in Dutch.. But I found the settings in the punkbuster tab of the control panel..
    Our konijnenopaardgas server is now streaming, lets see if that works!
     
  5. Nightmare

    Nightmare New Member

    Joined:
    Oct 10, 2006
    Messages:
    17
    Likes Received:
    0
    We are currently using this config and have screenshots enabled.
    The screenshots show in the i3D punkbuster screenshot section, but thumbnails don't show and when we click download we end up at i3D main page.

    Is there another way to view these screens? Tought i read somewhere u can send them to remote host instead of gameserver shot. How is this done? (FTP prefered if possible)
     
  6. Rainer Wahnsinn

    Rainer Wahnsinn New Member

    Joined:
    Jan 20, 2010
    Messages:
    26
    Likes Received:
    0
    I also recognized this. It seems like the pb screenshot function is not working correctly atm. Otherwise the data transmission would take much longer than it actually does (according to the pb logs).


    @Ronald64:

    The line

    pb_sv_LogPw "YOURPASS" //[remote_log_password]

    is not required for the PsB streaming. You just have to register your server on the website and add the three remaining lines in you pbsvlog.cfg.
     
  7. Ronald64

    Ronald64 New Member

    Joined:
    Sep 28, 2008
    Messages:
    158
    Likes Received:
    3
    I know m8.....
    Just my habit to put this in :yes:
     
  8. Ronald64

    Ronald64 New Member

    Joined:
    Sep 28, 2008
    Messages:
    158
    Likes Received:
    3
    update:
    When your NOT streaming with PBBans
    Delite or disactivate the command:
    Code:
    pb_sv_task 0 7200 pb_sv_ver 
    This will empty the server some times.

    Regards Ron
    Raptor-squad
    Raptor is recruiting:shiny:
     
  9. Ronald64

    Ronald64 New Member

    Joined:
    Sep 28, 2008
    Messages:
    158
    Likes Received:
    3
    Update:
    Code:
    pb_sv_ScoreKick = 0 (-20 to 0)
    Change this command to something negative.
    Like: (sample)
    Code:
    pb_sv_ScoreKick = -5 (-20 to 0)
    Default this command is "0"
    On default "0" it wil kick all players some time.

    We keep you informed.

    Regards Ron
    Raptor-squad
    Raptor is recruiting:icon_gekkie:
     
  10. Nightmare

    Nightmare New Member

    Joined:
    Oct 10, 2006
    Messages:
    17
    Likes Received:
    0
    I tried adding pbbans streaming to our server but getting an error.

    I changed this to the pbsv.cfg

    Code:
    ; ------------------------------
    ; PB UCON Settings / Lists
    ; ------------------------------
    pb_sv_uconignoreempty
    pb_sv_usessionlimit 16
    pb_sv_ucontimeout 90
    pb_sv_uconempty
    pb_sv_uconadd 1 208.122.49.138 "pbbhub1" 
    "pbbanshub"
    
    Then this show up in my pb logfiles.
    Code:
    [03.24.2010 16:17:23] PB UCON Cannot be configured without presence of 'pbucon.use' file in 'pb' homepath
    
    How can i make that pbucon.use without having FTP access to the server (I3D hosted server)
     
  11. Flachzange

    Flachzange New Member

    Joined:
    Mar 11, 2010
    Messages:
    15
    Likes Received:
    0
  12. Nightmare

    Nightmare New Member

    Joined:
    Oct 10, 2006
    Messages:
    17
    Likes Received:
    0
    Thanks, i followed the instructions and now it seems to work.
     
  13. nec134

    nec134 New Member

    Joined:
    Mar 11, 2010
    Messages:
    10
    Likes Received:
    0
    can someone help me out with this setup? is it just to copy that one and paste it in my own pb setup? i tryed out the msg thing like this, but only the first and last msg shows up

    pb_sv_task 10 610 admin.yell "Welcome and Have Fun" 5000 "all"
    pb_sv_task 310 610 admin.yell "Speak English In Server" 5000 "all"
    pb_sv_task 310 610 admin.yell "www.701-squad.com" 5000 "all"
    pb_sv_task 310 610 admin.yell "Please Balance The Teams" 5000 "all"
     
  14. toors

    toors New Member

    Joined:
    Nov 22, 2009
    Messages:
    14
    Likes Received:
    0
    Those 310 are seconds. You ask the pb system to do after about 5 minutes: do this (admin.yell) You asked the pb system after 310 seconds to do 3x times the same command. The result is that the pb system just runs the last one of what was asked to do after 310 seconds.

    You where almost there :thumbsup:
     
    Last edited by a moderator: Apr 8, 2010

Share This Page

Loading...