Rules GUI

This plugin displays the rules on connect.

Total Downloads: 9,342 - First Release: Jul 19, 2015 - Last Update: Feb 3, 2017

5/5, 25 likes
  1. I didnt edit anything :p Just added the position.

    Try to delete the file oxide/data/RulesGUIdata.json.
     
  2. It did not help. Check out my plugin ) that I can once again - did something wrong ?
     

    Attached Files:

  3. I also get this
     
  4. th ... I realized he was now only the first entry to the server pops up , and before each time pops up, how to do before? )
     
  5. any posibility for making support for oxides permission system? i would like to be able to grant a usergroup the rights to do the /rulesto command :)
     
  6. Nice catch LOL
    I didnt see that. In some minutes i will post an update...
    Sorry
     
  7. For some reason the rules don't show up for me when I connect or type /rule. This is in my console every time I try to bring it up.
    Code:
    [CL_RPCMessage] addui - Exception has been thrown by the target of an invocation
    NullReferenceException: Object reference not set to an instance of an object
     
  8. The hell this rust update did xD
    Give me a sec i will check it out.
     
  9. i have no problems on my server. it works perfect :)
     
  10. PaiN updated Rules GUI with a new update entry:

    0.7.0

     
  11. I have no idea what's wrong with mine then haha. I wouldn't think it'd be conflicting with another plugin
     
  12. Id still need that tutorial on adding images and if you could explain the color system to me on the fonts, id appreciate it greatly. I have multiple lines in my welcome message. Id like to add color to them but when i do the same as the other text, it breaks all the colors so Im now confused. . .
     
  13. When I replace the text in both the .cs and .jason with my custom rules, it stil defaults back to the basic. What am I doing wrong?
     
  14. It would help to see what your doing in the json file.
    You probably dont need to change the CS unless your adding the image link of which i aint going to even try until i can see how its done. Following the tutorial of another plug makes no sense to me.
    [DOUBLEPOST=1439242849][/DOUBLEPOST]Here is my json file. id like to add color to the first 3 lines but when i do, it breaks the code and I see the code in the rules page.
    on my 4th line, I tried <color=blue> but when i do that, all the color codes start to appear on the rules page.
    rules.png

    Code:
    {
      "DisplayOnEveryConnect": "false",
      "RulesMessage":
    "This server has been provided by:
    The United Allies. A Premier Gaming Community.  This line should be blue.
    Please enjoy your time with us.
    <color=red>The following in-game activities are prohibited in this server:</color>
    \n <color=yellow>1.</color> Use of bots, use of third-party software, bugs.
    \n <color=yellow>2.</color> Pretending to be a member of Administration.
    \n <color=yellow>3.</color> Abusing glitches.
    \n <color=yellow>4.</color> Flooding, flaming, spam, printing in capital letters (CAPS LOCK).
    \n <color=yellow>5.</color> Advertisement of other servers."
    }
     
    Last edited by a moderator: Aug 10, 2015
  15. try:

    Code:
    {
      "DisplayOnEveryConnect": "false",
      "RulesMessage":
    "This server has been provided by:
    \n <color=blue>The United Allies. A Premier Gaming Community.</color>
    \n Please enjoy your time with us.
    \n <color=red>The following in-game activities are prohibited in this server:</color>
    \n <color=yellow>1.</color> Use of bots, use of third-party software, bugs.
    \n <color=yellow>2.</color> Pretending to be a member of Administration.
    \n <color=yellow>3.</color> Abusing glitches.
    \n <color=yellow>4.</color> Flooding, flaming, spam, printing in capital letters (CAPS LOCK).
    \n <color=yellow>5.</color> Advertisement of other servers."
    }
     
  16. Ill give that a go Pain. THX. I see where I tripped up.
     
  17. I'm busy as hell every day.. but tomorrow i promise i will do the tutorial..
     
  18. Thanks!
     
  19. VERY FAST TUTORIAL.

    1.OPEN THE PLUGIN(FRESH DOWNLOADED IF YOU EDITED IT EARLIER)
    2.REPLACE LINES FROM 42 TO 45 WITH:
    Code:
    {
                                        ""type"":""UnityEngine.UI.RawImage"",
                                        ""imagetype"": ""Tiled"",
                                        ""color"": ""1.0 1.0 1.0 1.0"",
                                        ""url"": ""{URL}"",
                                    },
    
    3. JUST REPLACE THE URL.
     
  20. lol, Seems easy. Ill give it a shot here in a bit