Raised This Month: $52 Target: $400
 13% 

[ANY] BETA Advanced Rules Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author
eyal282
Veteran Member
Join Date: Aug 2011
Plugin ID:
6433
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This is an advanced rules menu that is highly intelligent and is superior to all other rules plugins.
    Old 02-12-2019 , 18:11   [ANY] BETA Advanced Rules Menu
    Reply With Quote #1

    This is a rules plugin that supercedes all other rule plugins, as this is a type of plugin that allows you to add rules in-game, delete them and even edit their positions. Modifying is not possible, you can just delete and move positions.

    This is beta because I didn't have time to check all bugs, you can help with that of course.

    Unlike some rule plugins, this is not the annoying type of rules that ambushes him on connect and tells to accept. It will display the rules every connect, and a player can exit the rules without receiving any penalty. They will know about the possible consequences of not accepting yet, and admins are able to force players to view the rules with !showrules. When a new rule is added, all players will need to check the rules again, and the new rule will be marked with a * so the player knows what to read.

    Cvars:

    advanced_rules_force_show - Forces the player to view the rules on connect. If set to 0, just informs the player that he needs to view the rules. The player will not be forced if there aren't any new rules relative to the last time the player accepted the rules.

    Commands:

    !rules - Displays the rules.
    !showrules - Allows a generic admin to force a player to open the rules menu.
    !managerules - Allows a ROOT admin to edit the contents of the rules menu, features are adding a new rule, deleting an existing rule and moving a rule to a certain position. If you require editing a rule's name / description, delete it and re-create it.
    !addrule_name <rule name> - When creating a new rule, this command is used to set the new rule's name.
    !addrule_desc <rule description> - When creating a new rule, this command is used to set the new rule's description. After both commands were used, pressing "Add a rule" will add the new rule to the end of the key value file.

    The point in this plugin is to ditch the annoying "server rules in a forum nobody is going to check" and instead, players will be able to view the rules in their spare time ( probably when dead ) and will be able to activate basic logic to avoid being banned. You can input your entire server rules in this. You have 256 characters per rule description, which should be more than enough. Adding rules is easy and I advise very much against editing the key value file, which you don't even have to generate by yourself.

    How to install:

    Press "AdvancedRules.smx" and put it inside the folder "addons/sourcemod/plugins" within your game folder ( csgo/cstrike/tf2 etc... )

    Restart the server or better, write this in the chat:

    !rcon sm plugins load AdvancedRules

    Alternatively, you can write this in the console for the exact same effect:

    sm_rcon sm plugins load AdvancedRules

    Please add here your server if it uses this plugin: https://docs.google.com/spreadsheets...it?usp=sharing

    DO NOT PRESS GET PLUGIN UNLESS YOU DON'T WANT UPDATER SUPPORT!!!
    Attached Files
    File Type: sp Get Plugin or Get Source (AdvancedRules.sp - 36 views - 20.9 KB)
    File Type: smx AdvancedRules.smx (16.0 KB, 11 views)
    __________________
    Accepting private work. Contact me if you're interested.
    If you like my work, feel free to donate in appreciation with PayPal or CSGO Skins.

    Total Donated: 10$

    Last edited by eyal282; 02-13-2019 at 14:10.
    eyal282 is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 02-13-2019 , 04:05   Re: [ANY] BETA Advanced Rules Menu
    Reply With Quote #2

    Reserved
    __________________
    Accepting private work. Contact me if you're interested.
    If you like my work, feel free to donate in appreciation with PayPal or CSGO Skins.

    Total Donated: 10$
    eyal282 is offline
    Reply


    Thread Tools
    Display Modes

    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 14:35.


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