• CoD4xAdmin
  • Recent
  • Popular
  • Groups
  • Users
  • Register
  • Login
Cirkus Serveri Forum
  • CoD4xAdmin
  • Recent
  • Popular
  • Groups
  • Users
  • Register
  • Login

Bug with "Can not ban is Server Admin"

Scheduled Pinned Locked Moved
Game Servers
4
22
3.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    JFF-Vince
    last edited by 9 Apr 2020, 13:43

    I find this in app/controllers/rconcmd/index.js

    and we are looking to match on the steam_id, but seems maybe check that steam_id > 0 first ?

    I too removed the admin permissions from some who did not properly have set.

    Thanks

    User.findOne({'steam.id':checkplayerdata.player_steam_id, 'local.user_role': {$gt: 100}}, function( err, checkifimune ) {
    if (checkifimune){
    req.flash('error_messages', req.t('rcon_commands:general.is_imune', { get_AdminName: checkifimune.local.user_name }));
    res.redirect('back');

    1 Reply Last reply Reply Quote 0
    • N
      NeHo Administrators
      last edited by SuRv1VoR 4 Sept 2020, 20:48 9 Apr 2020, 13:57

      That's a good idea I will look at, just fixed another bug where I use cod4x plugin http to update players ingame visual settings, it was broken.

      After I finish it I will look at this part, maybe i will also check there if there is an admin with no steam linked and remove him and send him a notification that he is removed because he had no steam account linked.

      I keep hitting the 'Escape' key - but I'm still here. ...

      1 Reply Last reply Reply Quote 0
      • R
        ravindu2500
        last edited by 3 May 2020, 14:40

        Admins should link the steam account to the web admin tool? to work ban?

        1 Reply Last reply Reply Quote 0
        • N
          NeHo Administrators
          last edited by 3 May 2020, 14:52

          Yes, not only for ban, steam is the admin authentication, no steam = no rights

          I keep hitting the 'Escape' key - but I'm still here. ...

          1 Reply Last reply Reply Quote 0
          • R
            ravindu2500
            last edited by 3 May 2020, 15:29

            how to set up steam with panel? any post about it?

            N 1 Reply Last reply 3 May 2020, 15:30 Reply Quote 0
            • N
              NeHo Administrators @ravindu2500
              last edited by 3 May 2020, 15:30

              @ravindu2500 Go to plugin SSO Steam Settings via admin panel, when you visit that page there is a tutorial, when you finish everything activate the plugin

              I keep hitting the 'Escape' key - but I'm still here. ...

              1 Reply Last reply Reply Quote 0
              • R
                ravindu2500
                last edited by 3 May 2020, 15:42

                @NeHo
                Set your "returnURL" as the domain you access your app with /user/auth/steam/return, appended to it (e.g. https://www.mygreatwebsite.com/user/auth/steam/return)

                i don't understand this sorry 😞

                1 Reply Last reply Reply Quote 0
                • N
                  NeHo Administrators
                  last edited by 3 May 2020, 15:55

                  @ravindu2500 said in Bug with "Can not ban is Server Admin":

                  https://www.mygreatwebsite.com

                  replace this part "https://www.mygreatwebsite.com" with your website or IP, make sure to use http if you dont have ssl (I added an example with https, if needed put there http)

                  I keep hitting the 'Escape' key - but I'm still here. ...

                  1 Reply Last reply Reply Quote 0
                  • R
                    ravindu2500
                    last edited by ravindu2500 5 Mar 2020, 18:16 3 May 2020, 16:14

                    @NeHo I did but still not working 😞
                    },
                    "steamAuth" : {
                    "returnURL" : "http://snd.deathkinggaming.com/user/auth/steam/return",
                    "realm" : "http://snd.deathkinggaming.com",
                    "apiKey" : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
                    },

                    should i change the path for specific my own path?

                    1 Reply Last reply Reply Quote 0
                    • N
                      NeHo Administrators
                      last edited by NeHo 5 Mar 2020, 18:17 3 May 2020, 16:17

                      http://snd.deathkinggaming.com:3000

                      "steamAuth" : {
                      "returnURL" : "http://snd.deathkinggaming.com:3000/user/auth/steam/return",
                      "realm" : "http://snd.deathkinggaming.com:3000",
                      "apiKey" : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

                      You forgott the port

                      I keep hitting the 'Escape' key - but I'm still here. ...

                      1 Reply Last reply Reply Quote 0
                      • R
                        ravindu2500
                        last edited by ravindu2500 5 Mar 2020, 18:25 3 May 2020, 16:24

                        @NeHo still getting that error 😞

                        "steamAuth" : {
                        	"returnURL"         : "http://snd.deathkinggaming.com:3000/user/auth/steam/return",
                        	"realm"     : "http://snd.deathkinggaming.com:3000",
                        	"apiKey"      : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
                        },
                        
                        1 Reply Last reply Reply Quote 0
                        • N
                          NeHo Administrators
                          last edited by 3 May 2020, 16:26

                          wait 5-10 minutes on steam, they need some time

                          I keep hitting the 'Escape' key - but I'm still here. ...

                          R 2 Replies Last reply 3 May 2020, 16:39 Reply Quote 0
                          • R
                            ravindu2500 @NeHo
                            last edited by 3 May 2020, 16:39

                            @NeHo should I add the port when I add the domain name in the steam website?

                            1 Reply Last reply Reply Quote 0
                            • R
                              ravindu2500 @NeHo
                              last edited by 3 May 2020, 17:06

                              @NeHo
                              No error changes to "admin"

                              224127b8-c7bf-46b8-ac85-95b7eed26d3f-image.png

                              N 1 Reply Last reply 3 May 2020, 17:12 Reply Quote 0
                              • N
                                NeHo Administrators @ravindu2500
                                last edited by 3 May 2020, 17:12

                                @ravindu2500 Read post begining

                                I keep hitting the 'Escape' key - but I'm still here. ...

                                1 Reply Last reply Reply Quote 0
                                • R
                                  ravindu2500
                                  last edited by 3 May 2020, 17:14

                                  it works thanks alot ❤

                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    NeHo Administrators
                                    last edited by 3 May 2020, 21:53

                                    This issue will be solved in the next v4.0.0 update

                                    I keep hitting the 'Escape' key - but I'm still here. ...

                                    SMiLeYS 1 Reply Last reply 5 Feb 2021, 19:29 Reply Quote 1
                                    • SMiLeYS
                                      SMiLeY @NeHo
                                      last edited by 5 Feb 2021, 19:29

                                      @neho said in Bug with "Can not ban is Server Admin":

                                      This issue will be solved in the next v4.0.0 update

                                      Still happening 😞

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        NeHo Administrators
                                        last edited by 5 Feb 2021, 22:40

                                        All admins should have steam linked, 1 or more admins have no steam thats your issue

                                        I keep hitting the 'Escape' key - but I'm still here. ...

                                        1 Reply Last reply Reply Quote 1
                                        • First post
                                          Last post

                                        0

                                        Online

                                        191

                                        Users

                                        268

                                        Topics

                                        1.2k

                                        Posts
                                        Powered & Designed by NeHo