Forum

Results 1 to 5 of 5
  1. #1
    Join Date
    April 2019
    Posts
    3

    How can i find the ID of a permission

    Hello, I need those for this permission ID

    PHP Code:
    define('ICON_ID'142); // i_icon_id
    define('NEEDED_JOIN_POWER'137); // i_channel_needed_join_power
    define('NEEDED_SUBSCRIBE_POWER'139); // i_channel_needed_subscribe_power
    define('NEEDED_MODIFY_POWER'122); // i_channel_needed_modify_power 
    Thank you for help in advance.

  2. #2
    Join Date
    June 2008
    Posts
    17,718
    Run ServerQuery command permidgetbyname and you get the latest ID for that permission.

    Example:
    Code:
    permidgetbyname permsid=i_icon_id
    permsid=i_icon_id permid=141
    error id=0 msg=ok
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  3. #3
    Join Date
    April 2019
    Posts
    3

    ID was established

    Thank you very much for your help.

    Subject to be closed.

  4. #4
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,319
    DO NOT hardcode permission IDs. They change frequently and without notice. Work with SIDs whenever possible, only the results of permoverview and permfind will always yield IDs which must not be converted before successfully retrieving an up-to-date permissionlist from the server.

  5. #5
    Join Date
    April 2019
    Posts
    3
    I have a bota query which is called xBot and that's the only way I can update these permissions, the 4 lines that I have given are in "config" and are used to make the bot that creates the channel create them with an icon if it depended on me I would prefer not to change these permissions from time to time, but the creator of xBot constructed this way

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: September 5th, 2011, 02:03 PM
  2. Replies: 1
    Last Post: September 5th, 2011, 02:03 PM
  3. [Solved] Can't find permission to change sort order
    By ShadowBrooks in forum Permission System
    Replies: 1
    Last Post: March 19th, 2010, 05:21 PM
  4. I cannot find Channel Kick permission
    By Dark-Master in forum Permission System
    Replies: 2
    Last Post: February 21st, 2010, 12:04 PM
  5. Replies: 9
    Last Post: February 13th, 2010, 01:08 PM

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
  •