Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Page 9 of 26 FirstFirst ... 789101119 ... LastLast
Results 121 to 135 of 377
  1. #121
    Join Date
    April 2010
    Location
    Koeln
    Posts
    1

    Multiple ID's in serveradmin_clients.ini

    Hi

    How can i add multiple ID's to a restricted group ?
    e.x.:
    [yw/FhR/W2Hhih8hJUiQ4l+A=]
    [yw/FhR/W2Hhih8hJUiQ4l+A=]
    restrictToServerGroups=2,6

    or

    [yw/FhR/W2Hhih8hJUiQ4l+A=
    yw/FhR/W2Hhih8hJUiQ4l+A=]
    restrictToServerGroups=2,6

    Thanks for your help

  2. #122
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    neither

    to add more than one client duplicate an existing section and change the client unique identifiy to the new client.

    ex.
    Code:
    [yw/FhR/W2Hhih8hJUiQ4l+A=]
    restrictToServerGroups=2,6
    
    [kf/HfR/2WHhih8hJUiLL-1s=]
    restrictToServerGroups=6
    in the example above the client with id yw/FhR/W2Hhih8hJUiQ4l+A= was assigned to server groups 2 and 6 and the client with the id kf/HfR/2WHhih8hJUiLL-1s= was assigned to server group 6

    (see http://en.wikipedia.org/wiki/INI_file for a common ini file syntax)
    Last edited by florian_fr40; March 29th, 2012 at 09:51 AM.

  3. #123
    Join Date
    January 2010
    Location
    Chile
    Posts
    10
    Code:
    PHP Notice:  Undefined index: gid in /opt/ts3phpbot/class/TS3Bot.php on line 80
    PHP Notice:  Undefined index: STICKY-CHANNEL in /opt/ts3phpbot/class/TS3Bot.php on line 559
            WELCOME-MESSAGE: Feature enabled, using file: welcome_message.txt
                   AUTO-AFK: Feature disabled
           BAD-CHANNELNAMES: Feature enabled, using file: bad_channelnames.txt
              BAD-NICKNAMES: Feature enabled, using file: bad_nicknames.txt, punishment set to kick
             ANTI-RECORDING: Feature disabled
     SERVERGROUP-PROTECTION: Feature enabled, using server groups: 2,6,7, punishment set to kick
    PHP Notice:  Undefined index: punishment in /opt/ts3phpbot/class/TS3Bot.php on line 641
    [May 03 12:22:31]    emerg: IDLE-PROTECTION: parameter punishment out of bounds
    Help Me Plz

    i Have Centoos 5.4
    Last edited by MarioH; May 3rd, 2010 at 06:59 PM.

  4. #124
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    It seems that you've borken your deamon config file.

    replace your 9987.ini with this (use a *NIX text editor only!):

    Code:
    [DAEMON-CONFIG]
    logfileName=ts3phpbot_9987.log
    pidfileName=ts3phpbot_9987.pid
    logVerbosity=debug
    memoryLimit=128M
    maxExecutionTime=0
    user=deamon
    group=deamon
    intervalTime=2
    logfilePath=/var/log/ts3phpbot/
    pidfilePath=/var/run/
    
    [CONNECTION]
    hostIP=127.0.0.1
    queryPort=10011
    virtualserverPort=9987
    username=serveradmin
    password=<YOUR SERVERADMIN PASSWORD HERE>
    
    [WELCOME-MESSAGE]
    enabled=1
    file=text/welcome_message.txt
    
    [AUTO-AFK]
    enabled=0
    channel=AFK
    
    [BAD-CHANNELNAMES]
    enabled=1
    file=text/bad_channelnames.txt
    
    [BAD-NICKNAMES]
    enabled=1
    file=text/bad_nicknames.txt
    punishment=kick
    banTime=120
    reason=invalid nickname
    
    [ANTI-RECORDING]
    enabled=0
    withExceptions=1
    file=text/recording_exceptions.txt
    punishment=kick
    banTime=120
    reason=no recording
    
    [SERVERGROUP-PROTECTION]
    enabled=1
    protectedServerGroups=2,6,7
    iniFile=text/servergroup_clients.ini
    punishment=kick
    banTime=3600
    reason=unauthorized use of server group
    
    [IDLE-PROTECTION]
    enabled=0
    warnTime=1800
    idleTime=3600
    warnIdlers=1
    warnMessage=This server punishs for idle, you've 30 minutes left
    reason=IDLE-PROTECTION
    punishment=kick
    banTime=120
    
    [ADVERTISING-MESSAGE]
    enabled=0
    intervalTime=1800
    file=text/advertising_message.txt
    mode=server
    
    [STICKY-CHANNEL]
    enabled=0
    channel=Knast
    
    [IDENTITY-SECURITY-LEVEL]
    enabled=1
    minClientIdentitySecurityLevel=8
    if this doesn't work please post your deamon config
    Last edited by florian_fr40; March 29th, 2012 at 09:50 AM.

  5. #125
    Join Date
    May 2010
    Location
    europe
    Posts
    3
    hi there ,

    nice work but how can i change the punishment from kick to move .. when i try this the daemon dont start -

    i want that idle people will be moved automaticly after 3600 sec to the channel 'AFK'

  6. #126
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    currently the bot only support the punishment options kick and ban.
    the reason why i havn't implement a move in the ilde-protection is that if i move the client he is no longer idle.
    Last edited by florian_fr40; March 29th, 2012 at 09:50 AM.

  7. #127
    Join Date
    May 2010
    Location
    europe
    Posts
    3
    i understand but these peolple are just "Idling" - there is no reason to kick or bann - thats not really kindly ...

    it is possible to implement the move funktion - without moving as alternative its a hard punishment for being just around the corner to get new cigarets ..

    and please what is the sticky fuction (with knast) ?

    kindly regards and thx for you patience and help

  8. #128
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    It is possible to implement a move, but if i do so i'm unable to switch the user back to his old channel if he is no longer idle

    The STICKY-CHANNEL feature (default config: knast ; english: jail) meens that anyone how is in this channel are unable to move out of it
    NOTE: The STICKY-CHANNEL feature works for anyone included server group server admin query and server admin, except the user serveradmin!

    no problem if you've any suggestion / error feel free to contact me

    If you have any suggestion for the beta-8 release please let me know

    current whish list (implemented in beta-8):

    Clone Detection
    Nickname Protection
    Bot auto join channel (reassembly from beta-4)
    restrict virtual server max slots
    Bot feature config reload (command line interface redesign)
    Split main ini file into deamon.ini and feature.ini
    fixed PHP timezone warning (thx LeXiKoN)
    Last edited by florian_fr40; March 29th, 2012 at 09:51 AM.

  9. #129
    Join Date
    January 2010
    Location
    need not to know
    Posts
    26

    Error

    I get the following outbut when trying to start your bot

    Code:
    ./ts3phpbot_startscript.sh start
            WELCOME-MESSAGE: Feature disabled
                   AUTO-AFK: Feature disabled
           BAD-CHANNELNAMES: Feature disabled
              BAD-NICKNAMES: Feature disabled
             ANTI-RECORDING: Feature disabled
     SERVERGROUP-PROTECTION: Feature enabled, using server groups: 2,6,7, punishment set to kick
            IDLE-PROTECTION: Feature enabled, punishment set to kick
        ADVERTISING-MESSAGE: Feature enabled
             STICKY-CHANNEL: Feature disabled
    IDENTITY-SECURITY-LEVEL: Feature disabled
    [May 08 11:52:47]   notice: starting ts3phpbot daemon, output in: /var/log/ts3phpbot/ts3phpbot_9987.log
    Fatal error: Class 'TeamSpeak3_Adapter_Exception' not found in /home/ts3/ts3bot/class/TeamSpeak3/TeamSpeak3.php on line 328
    My Server runs Debian
    with php 5.2.6 pear and perl installed

  10. #130
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    make sure that you've extracted the hole beta-7 archiv (including the hotfix).
    There must be the following directorys in the class directory:

    System
    TeamSpeak3

    The TeamSpeak3 directory must contain the following directorys:

    Adapter
    Helper
    Node
    Transport
    Viewer

    make also sure that you've the spl_autoload_register function available within your PHP installation

    Note: It's not possible to update from beta-6 or lower to beta-7. Insteed of updating you must reinstall the beta-7.
    Last edited by florian_fr40; March 29th, 2012 at 09:51 AM.

  11. #131
    Join Date
    April 2010
    Location
    Russian
    Posts
    12
    help me please
    root:/home/voice_server/ts3phpbot# ./ts3phpbot_multi_startscript.sh startstarting all instances of ts3phpbot:
    starting config/9987.ini...\t\033[31mfailed\033[39m
    not work! TS3 Server is beta21!
    ts3phpbot send me what my timezone is not correct! i am put in file to header
    date_default_timezone_set('Europe/Moscow');
    but not work
    not error! not log!

  12. #132
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    to set the timezone manualy you must add
    Code:
    date_default_timezone_set('Europe/Moscow');
    into the file class/TS3Bot.php.Put it between line 43 and 45.

    Will be fixed in beta-8.
    Last edited by florian_fr40; March 29th, 2012 at 09:52 AM.

  13. #133
    Join Date
    April 2010
    Location
    Russian
    Posts
    12
    oh thanks) it's help me! but i'm giv enext error
    [May 09 13:47:41] emerg: PEAR is not available in this PHP installation

  14. #134
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    make sure that you've installed pear (apt-get install php-pear)

    If you've allready installed pear and the error ocours add /usr/share/php to the config paramter include_path in your php.ini
    Last edited by florian_fr40; March 29th, 2012 at 09:52 AM.

  15. #135
    Join Date
    April 2010
    Location
    Russian
    Posts
    12
    i am not lucky
    PHP Warning: syntax error, unexpected TC_CONSTANT in config/9987.ini on line 45
    in /ts3phpbot/class/TS3Bot.php on line 710
    [May 09 16:57:41] emerg: config paramter logfileName is empty

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Release] TS3PHPBot-Plugin
    By Neytiri86 in forum Tools / Web Based
    Replies: 0
    Last Post: August 25th, 2010, 12:04 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •