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 17 of 26 FirstFirst ... 71516171819 ... LastLast
Results 241 to 255 of 377
  1. #241
    Join Date
    January 2010
    Location
    need not to know
    Posts
    26
    can i add you to msn plz ^^ i know you got a msn id ^^

  2. #242
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    you only need to set

    TS3BotDaemon::$featureConfig['SERVERGROUP-PROTECTION']['content'][<UNIQUE_CLIENT_ID>]['restrictToServerGroups'] to the servergroups you want the client to be added.

    Note: this is a comma seperated list
    Last edited by florian_fr40; March 29th, 2012 at 09:27 AM.

  3. #243
    Join Date
    January 2010
    Location
    need not to know
    Posts
    26
    add me to msn and maybe explain again in german ^^
    Last edited by florian_fr40; March 29th, 2012 at 09:26 AM.

  4. #244
    Join Date
    January 2010
    Location
    Germany
    Posts
    4

    Another Problem on Debian64 with MySQL

    Hai @LL

    another problem! see:

    ./ts3phpbot_startscript.sh start
    EMERG: [GLOBAL] required section MAX-VIRTUALSERVER-SLOTS not found

    can everyone help me?

    i cant resolve this problem!

    cya CluBBi

  5. #245
    Join Date
    December 2009
    Location
    Germany
    Posts
    42
    It seems that your daemon ini missing some parameters.

    Pleas make sure your settings are correct and your daemon ini is in
    /opt/ts3phpbot/config/daemon.ini

    I will upload the default daemon ini
    Just in case

    Code:
    ;;;;;;;;;;;;;;;;;;;;
    ; About daemon.ini ;
    ;;;;;;;;;;;;;;;;;;;;
    ; This file controls all core aspects of TS3PHPBot.  
    ;
    ; The syntax of the file is extremely simple.  Whitespace and Lines
    ; beginning with a semicolon are silently ignored (as you probably guessed).
    ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ; they might mean something in the future.
    ;
    ; Directives are specified using the following syntax:
    ; directive = value
    ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ;
    ; The value can be a string, a number, a PHP constant (e.g. CET), 
    ; or a quoted string ("foo").
    ; String values are *case sensitive* - foo=bar is different from foo=BAR.
    ;
    ; Boolean flags can be turned on using the value 1.
    ; They can be turned off using the value 0.
    ;
    ; An empty string can be denoted by simply write a whitespace after the equal sign
    ;
    ; If you are using whitespaces in an directive value you must encapsulate the value with the " (double-qoutes) char
    ;;;;;;;;;;;;;;;;;
    ; Core settings ;
    ;;;;;;;;;;;;;;;;;
    [CONFIG]
    ;;;;;;;;;;;;;;;;;;
    ; Error handling ;
    ;;;;;;;;;;;;;;;;;;
    ; logVerbosity is a string-field. You can set it to one of the following strings to get desired 
    ; error reporting level
    ; debug			- All errors and warnings (include debug messages)
    ; info			- Run-time infos (these are informations which always result form a bot action)
    ; notice		- Run-time notices (e.g. legal disclaimer)
    ; warning		- Run-time warnings (non-fatal errors, e.g. feature config file errors)
    ; error			- Fatal run-time errors (e.g. PHP errors)
    ; emergency		- Fatal run-time errors that takes immediate user action (e.g. missing requirements)
    ;
    ; NOTE: Currently the bot is not capable of UTF-8, use ISO 8859-1 (Latin 1) or ISO 8859-15 (Latin 9) charset only!
    ; default: info
    logVerbosity=debug
    
    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;
    ; Maximum amount of memory TS3PHPBot may consume
    ; this setting can be overwritten by php.ini
    ; NOTE: Currently the bot is not capable of UTF-8, use ISO 8859-1 (Latin 1) or ISO 8859-15 (Latin 9) charset only!
    ; default: 32M
    memoryLimit=32M
    
    ;;;;;;;;;;;;;;;;;;;;;;;
    ; UNIX user and group ;
    ;;;;;;;;;;;;;;;;;;;;;;;
    user=daemon
    group=daemon
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Paths and Directories ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    pidfilePath=/opt/ts3phpbot/pids
    logfilePath=/opt/ts3phpbot/logs
    
    ;;;;;;;;;;;;;;;;;
    ; Interval time ;
    ;;;;;;;;;;;;;;;;;
    ; Defines the time in seconds TS3PHPBot will wait between two cycles
    ; default: 1
    ;
    ; Note: It's not mandatory to set this parameter to a value below 1
    ; Warning: Do not set this parameter to 0 or below, the bot will become inoperational!
    ; Warning: A value of 0 meens real-time!
    intervalTime=1
    
    ;;;;;;;;;;;;
    ; Timezone ;
    ;;;;;;;;;;;;
    ; Defines the default timezone used by TS3PHPBot
    ; default: UTC
    timezone=UTC
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; TeamSpeak3 connection ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    [CONNECTION]
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; TeamSpeak3 Server and query port ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Defines the TeamSpeak3 host ip TS3PHPBot will connect to
    ; default: 127.0.0.1
    hostIP=127.0.0.1
    
    ; Defines the TeamSpeak3 query port 
    ; default: 10011
    queryPort=10011
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; TeamSpeak3 user and password ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Defines the TeamSpeak3 user TS3PHPBot will connect with
    ; NOTE: The user must be member of server group Admin Server Query! 
    ; NOTE: Currently the bot is not capable of UTF-8, use ISO 8859-1 (Latin 1) or ISO 8859-15 (Latin 9) charset only!
    ; default: serveradmin
    user=serveradmin
    
    ; Defines the password for the TeamSpeak3 user
    ; NOTE: Currently the bot is not capable of UTF-8, use ISO 8859-1 (Latin 1) or ISO 8859-15 (Latin 9) charset only!
    password=serveradmin
    
    ;;;;;;;;;;;;;;;;;;;;;
    ; Security features ;
    ;;;;;;;;;;;;;;;;;;;;;
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Prevent S to increase the virtual server max slots over the limit ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    [MAX-VIRTUALSERVER-SLOTS]
    ; enable / disable the restriction of max_virtualserver_slots
    ; Default: 0
    enabled=1
    
    ; Defines the max. numbers of slots a virtual TeamSpeak3 server may have
    ; Default: 32
    maxSlots=32
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Restrict client to a minimal version ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    [MIN-CLIENT-VERSION]
    ; enable / disable the client version connect restriction  
    ; Default: 0
    enabled=1
    
    ; Defines the min. client built number reguired to connect
    ; Default: 11315
    minClientBuildNo=11315
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Prevent S to increase min client identity security level over the limit ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    [IDENTITY-SECURITY-LEVEL]
    ; enable / disable the restriction of the security level
    ; Default: 0
    enabled=1
    ; Defines the min. required client indentity security level required to connect
    ; Default: 8
    minClientIdentitySecurityLevel=8
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Restrict reserved slots ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;
    [RESERVED-SLOTS]
    ; enable / disable the reserved slot restriction
    ; Default: 0
    enabled=1
    ; Defines the min. reserverd slots
    ; Default: 2
    minReserverdSlots=5
    
    ;;;;;;;;;;;;;;;;;;;;;;
    ; Auto Version check ;
    ;;;;;;;;;;;;;;;;;;;;;;
    [AUTO-VERSION-CHECK]
    ; enable / disable the new TS3PHPBot version available notifer
    ; default: 0
    enabled=1
    ; specifies the external version control server, the bot'll uses to check the bot version
    server=ts3phpbot.urbach-webhosting.de
    Please make sure that the directory's are existing
    Last edited by florian_fr40; March 29th, 2012 at 09:26 AM.

  6. #246
    Join Date
    January 2010
    Location
    Germany
    Posts
    4
    no, dont work!

  7. #247
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    make sure that you are using the config files shiped with the latest bot version. Also make sure that you've double-qoutes (") around each ini value that contains whitespaces.
    e.g.
    nickname=server security

    becomes
    nickname="server security"
    Last edited by florian_fr40; March 29th, 2012 at 09:26 AM.

  8. #248
    Join Date
    January 2010
    Location
    Germany
    Posts
    4
    All parameters? with double-qoutes (") in the daemon.ini?

  9. #249
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    ; An empty string can be denoted by simply write a whitespace after the equal sign
    ;
    ; If you are using whitespaces in an directive value you must encapsulate the value with the " (double-qoutes) char
    Last edited by florian_fr40; March 29th, 2012 at 09:26 AM.

  10. #250
    Join Date
    January 2010
    Location
    Germany
    Posts
    4
    no, the read my parameters no more! I give up it! :-(

  11. #251
    Join Date
    January 2010
    Location
    need not to know
    Posts
    26

    Talking First Plugin for TS3PHPBot

    My First 'Plugin for TS3PHPBot


    Features :
    • Bans or Kicks a client based on his unique ID
    • One reason'msg per banned client


    TODO :
    • Add the necessary Commands to the BotChat Plugin like !autoban and !unautoban
    • More Feature will come


    What you need to do is :
    Add the following to the virtualservers bot configuration default 9987.ini

    Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;       Client Autoban      ;
    ;     Plugin by Neytiri86   ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    [CLIENT-AUTOBAN]
    ; enable / disable Channel Default Permissions
    ;
    ; Default: 0
    enabled=1
    
    ;Defines the Punish Method default : kick ; choose kick or ban
    punishment=ban
    
    ;Defines the bantime in seconds default 60
    banTime=60
    
    ; Defines a ini file containing the client with their default kick/ban message
    ; default: text/client_auto_ban.ini
    file=text/client_auto_ban.ini
    
    ;Reason messages are not set here set them in client_auto_ban.ini you got a example there
    upload the attached ini file to the text folder
    upload the attached ClientAutoBanList.php to the plugin folder

    Attachment 3915

  12. #252
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    Nice work, but your plugin requires TS3PHPBot version 1.0.0-beta13 Build: 18 or higher.

    Note: version 1.0.0-beta13 Build: 18 of the bot is an internal release.
    Last edited by florian_fr40; March 29th, 2012 at 09:27 AM.

  13. #253
    Join Date
    December 2009
    Location
    ger
    Posts
    12
    Hello,

    1. Great thx for this tool.

    So and now to my Problem. In the logfile from the Bot are 2 errors and the logfile will be flooded with there.


    [Aug 28 14:38:58] warning: [PHP Error] eregi(): REG_EMPTY [f:/plugins/ClientBadNicknames.php] [l:65]

    This error is on Virtual-Server 9987



    [Aug 28 14:12:05] warning: [PHP Error] eregi(): REG_EMPTY [f:/plugins/ClientBadNicknames.php] [l:65]

    This error is on Virtual-Server 9990

    I can't make it out -->[f:/plugins/ClientBadNicknames.php].

    The bot runs on vServer with Debian 5.0

    Thx for your help.

  14. #254
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    check your bad_nicknames.txt for invalid (empty) regular expressions.
    (see http://www.tin.org/bin/man.cgi?section=7&topic=regex for full syntax)
    Last edited by florian_fr40; March 29th, 2012 at 09:27 AM.

  15. #255
    Join Date
    December 2009
    Location
    ger
    Posts
    12
    here is my bad_nickname.txt its the default value

    [super|server]?admin
    root
    administrator
    \(R SA\)
    \(R\)
    \(SA\)

    and i have always to this Error

    [Aug 28 15:04:45] warning: [PHP Error] eregi(): REG_EMPTY [f:/plugins/ClientBadNicknames.php] [l:65]

    and in default server (9987) i have this error

    [Aug 28 15:03:04] warning: [CHANNEL-DEFAULT-PERMS] Unable to set channel perm, backend throws: invalid parameter [f:/plugins/abstract.php] [l:35]

    but i dont change the channel_default_perms.ini

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
  •