Raised This Month: $51 Target: $400
 12% 

[L4D2/(Any?)] Customizable Server Information Panel (1.2) [2020/Apr/7th]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
spike1234
Junior Member
Join Date: Jun 2019
Location: Japan
Plugin ID:
6920
Plugin Version:
1.2
Plugin Category:
Server Management
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Provides a translatable menu panel for display server information to players.
    Old 01-26-2020 , 13:34   [L4D2/(Any?)] Customizable Server Information Panel (1.2) [2020/Apr/7th]
    Reply With Quote #1


    I tested this on only L4D2. But may it works on other games.

    Info:
    This plugin provides a menu panel for display server information to players.
    It may useful for custom servers with lots of modifications.

    When joined to custom server, it seems that there are some people get confuse for lots of changes.
    Then sadly, a few people leave the game because of that.
    And also I'm one of them.
    On part of servers, they wrote what they customized,
    but even I felt hassle to read them all.
    Then I thought that it's okay if information are easy to read and
    players could get information they wanted.
    So I made this to solve these problems.
    Features:
    A menu that able to customize, translate, and categorize information to 7.
    Text color supported.
    Helps players understand changes smoothly.

    Usage:
    All examples and tutorials are written on menu.
    Install the plugin, start game, and try say "!helpmenu" in chat.

    If you want to reload translation file quickly, use "sm_reload_translations"
    Commands:
    PHP Code:
    //Show sip help menu.
    sm_helpmenu

    //Reset note count for all players.
    //Require "c" or higher flag.
    sm_sip_note_resetCount 
    Cvars:
    PHP Code:
    // [1:Enable], [0:Disable]
    // Default: "1"
    sm_sip_enable "1"

    // Whether to force player to open menu when player joined. [0:Don't Open] [1:Open]
    // Default: "1"
    sm_sip_forceOpen "1"

    // How many times show note message.
    // Default: "3"
    sm_sip_noteMax "3"

    // When show note message to player.
    //[(Empty):Disable], [1:on joined], [2:on opened menu], [3:on closed menu], [4:on map start]
    // Default: "1234"
    sm_sip_noteTiming "1234"

    // Way of showing note message.Input numbers you want to use.
    //[(Empty):Disable], [1:Chat], [2:Hint Message], [3:Instructer Hint]
    // Default: "123"
    sm_sip_noteType "123"

    // Whether to reset note count on map chenged [0:Don't Reset] [1:Reset]
    // Default: "1"
    sm_sip_note_resetPerRound "1"

    // Color of instructer hint that shown by note message.
    //[R G B](0-255)
    // Default: "255 255 0"
    sm_sip_note_instructorColor "255 255 0"

    // Whether to draw partition line of message. [(Empty:Disable)] [1:Draw Before] [2:Draw After]
    // Default: "12"
    sm_sip_partition "12"

    // Whether to show top message(Tag + Item Name). [0:Disable] [1:Enable]
    // Default: "1"
    sm_sip_top "1" 
    Changes:
    Code:
    1.0 (2020/Jan/27th)
    - Initial release
    
    1.1 (2020/Jan/28th)
    - Editablize following features that forced by plugin.
    ・Whether to show tag + item name.
    ・Color of item name.
    ・Whether to show partition and where to use.
    
    1.2 (2020/Apr/7th)
    - Added Cvar to change color of instructor hint.
    - Extended category to 7.
    - Fixed a bug that shows note message even sm_sip_enable is 0.
    - Fixed some errors.
    Thanks:
    • Silvers - Referenced usage of env_instructer_hint.

    Installation:
    Put server_info_panel.smx to:
    "addons/sourcemod/plugins"

    Unzip translations and put it to:
    "addons/sourcemod/translations"
    For older version user:
    I recommend to delete, regenerate config and check new translations file to apply update.
    Attached Files
    File Type: zip translations.zip (4.5 KB, 437 views)
    File Type: smx server_info_panel.smx (11.3 KB, 344 views)
    File Type: sp Get Plugin or Get Source (server_info_panel.sp - 322 views - 11.0 KB)
    __________________

    My first language is not English.
    So I would be grateful if you correct my sentences if I wrote something wrong.
    I'm not active recently, sorry.

    Last edited by spike1234; 04-07-2020 at 00:08.
    spike1234 is offline
    SkiPlix
    Member
    Join Date: Dec 2016
    Location: Argentina
    Old 01-27-2020 , 05:48   Re: [L4D2/(Any?)] Customizable Server Information Panel (1.0) [2020/Jan/27th]
    Reply With Quote #2

    I was gonna send you a message, to help you correct some words in your espertank plugin, but the page bugged out.

    Also the web compiler can't compile your plugin, attach an smx file.

    Last edited by SkiPlix; 01-27-2020 at 05:57.
    SkiPlix is offline
    spike1234
    Junior Member
    Join Date: Jun 2019
    Location: Japan
    Old 01-27-2020 , 07:59   Re: [L4D2/(Any?)] Customizable Server Information Panel (1.0) [2020/Jan/27th]
    Reply With Quote #3

    Quote:
    Originally Posted by SkiPlix View Post
    I was gonna send you a message, to help you correct some words in your espertank plugin, but the page bugged out.

    Also the web compiler can't compile your plugin, attach an smx file.
    re-uploaded. thank you for reporting.
    __________________

    My first language is not English.
    So I would be grateful if you correct my sentences if I wrote something wrong.
    I'm not active recently, sorry.
    spike1234 is offline
    SkiPlix
    Member
    Join Date: Dec 2016
    Location: Argentina
    Old 01-27-2020 , 08:24   Re: [L4D2/(Any?)] Customizable Server Information Panel (1.0) [2020/Jan/27th]
    Reply With Quote #4

    ThrowError("could not find file \"translations/ayuda_panel.phrases.txt\"");

    That \ was intentional, or should it go in quotes?

    I think it's supposed to go like this:

    Quote:
    ThrowError("could not find file translations/ayuda_panel.phrases.txt");

    Last edited by SkiPlix; 01-27-2020 at 08:26.
    SkiPlix is offline
    Marttt
    Veteran Member
    Join Date: Jan 2019
    Location: Brazil
    Old 01-27-2020 , 08:43   Re: [L4D2/(Any?)] Customizable Server Information Panel (1.0) [2020/Jan/27th]
    Reply With Quote #5

    the \ was intentional, is not wrong
    the backslash is necessary when you want to use some "reserved" letters that have a different meaning
    e.g. " means the start/end of a string, and not a quote by default.

    You can get more info here, it's a common concept in programming.
    __________________

    Last edited by Marttt; 01-27-2020 at 08:44.
    Marttt is offline
    spike1234
    Junior Member
    Join Date: Jun 2019
    Location: Japan
    Old 01-27-2020 , 08:52   Re: [L4D2/(Any?)] Customizable Server Information Panel (1.0) [2020/Jan/27th]
    Reply With Quote #6

    Quote:
    Originally Posted by SkiPlix View Post
    ThrowError("could not find file \"translations/ayuda_panel.phrases.txt\"");

    That \ was intentional, or should it go in quotes?

    I think it's supposed to go like this:
    Changed to following:
    PHP Code:
    ThrowError("could not find file: translations/server_info_panel.phrases.txt"); 
    __________________

    My first language is not English.
    So I would be grateful if you correct my sentences if I wrote something wrong.
    I'm not active recently, sorry.
    spike1234 is offline
    SkiPlix
    Member
    Join Date: Dec 2016
    Location: Argentina
    Old 01-27-2020 , 09:39   Re: [L4D2/(Any?)] Customizable Server Information Panel (1.0) [2020/Jan/27th]
    Reply With Quote #7

    Could you add a cvar for the time it takes for each message to be displayed?

    Last edited by SkiPlix; 01-27-2020 at 09:54.
    SkiPlix is offline
    spike1234
    Junior Member
    Join Date: Jun 2019
    Location: Japan
    Old 01-27-2020 , 10:11   Re: [L4D2/(Any?)] Customizable Server Information Panel (1.0) [2020/Jan/27th]
    Reply With Quote #8

    Quote:
    Originally Posted by SkiPlix View Post
    Could you add a cvar for the time it takes for each message to be displayed?
    I made this plugin to show information by player side inputting.
    If you want to show some messages per any interval,
    this one is better for you: Advertisements 2.0
    __________________

    My first language is not English.
    So I would be grateful if you correct my sentences if I wrote something wrong.
    I'm not active recently, sorry.

    Last edited by spike1234; 01-27-2020 at 10:13.
    spike1234 is offline
    SkiPlix
    Member
    Join Date: Dec 2016
    Location: Argentina
    Old 01-27-2020 , 12:10   Re: [L4D2/(Any?)] Customizable Server Information Panel (1.0) [2020/Jan/27th]
    Reply With Quote #9

    Could you remove the Orange Color from the "NOTE" message?
    As changing it in phrases with {colorhere} doesn't work.

    Last edited by SkiPlix; 01-27-2020 at 12:11.
    SkiPlix is offline
    spike1234
    Junior Member
    Join Date: Jun 2019
    Location: Japan
    Old 01-28-2020 , 09:57   Re: [L4D2/(Any?)] Customizable Server Information Panel (1.0) [2020/Jan/27th]
    Reply With Quote #10

    Quote:
    Originally Posted by SkiPlix View Post
    Could you remove the Orange Color from the "NOTE" message?
    As changing it in phrases with {colorhere} doesn't work.
    Updated.
    __________________

    My first language is not English.
    So I would be grateful if you correct my sentences if I wrote something wrong.
    I'm not active recently, sorry.
    spike1234 is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 15:13.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode