Installing abhinayServerTools


  • AbhinaY Server Tools : Scripts used for server maintenance like banning account or announcing admin online message and many more...


Steps to Install abhinayServerTools :


1. Download the file and paste it to your server scripts folder : Download abhinayServerTools





2. Open bsLobby.py



search for

     def _getName(self, full=False):

and add these lines

      from abhinayServerTools import abhinayServerTools         abhinayServerTools().databaseWaiting(name,self._player)



now search for
     def _setReady(self, ready):

add these lines

      from abhinayServerTools import abhinayServerTools    abhinayServerTools().databaseReady(self._player.getName(True),self._player)



3. Open bsGame.py



search for

     def onPlayerRequest(self, player):

add these lines

      from abhinayServerTools import abhinayServerTools
      abhinayServerTools().banexecute(player)



now search for

    def onPlayerLeave(self, player):

add these lines

        from abhinayServerTools import abhinayServerTools                            abhinayServerTools().databaseLeave(player.getName(full=True),player)


4. Restart your server after doing the above steps, it will install and add astConfig.py and serverData.db to the main server folder.


5. Now config your edits in astConfig.py


6. Restart your server again


And Done...abhinayServerTools is now successfully installed...


Support me by clicking on some of the ads..Thanks...

Contact me for any help :

Discord

YouTube Channel

Facebook

Instagram

Comments

Popular posts