PivityGmodStore

๐Ÿ“œ Adding Custom Rules

Intro

The EdgeF4 rules page can easily be configured to show the rules that apply to your server. You can either configure the addon to load a Pastebin document or render a specific webpage. If you decide to use Pastebin you are also offered simple-to-use formatting options to easily make your rules look great. Continue reading to learn more.


Rules using Pastebin

1. What is Pastebin?

Pastebin.com is a website that for free and without registration offers you to upload single text files. EdgeF4 makes use of Pastebin to make it as easy as possible to efficiently import your rules into the menu. Read more about Pastebin by clicking here.


2. Creating your rules document

Creating your rules document is easy! All you have to do is to create a text document where you give each rule its own row. EdgeF4 will later automatically create a list out of the rows and add their corresponding line number.


3. Formatting your rules document (Optional)

To make use of the formatting options included with EdgeF4, all you have to do is use the tags below. You can make use of one tag per row in your rules document which in turn will affect the row that it's located on. Place the tag at the start of the row that you want it to affect. All other rows in your rules document that doesn't make use of a tag will simply be interpreted as normal lists with their corresponding line number. See this example which would render a rules page looking like this.

Tags:

[TITLE This tag is used to create a title that will show up with bigger text.

[SUBLIST] This tag is used to create an indented sublist that is ordered using letters instead of numbers. Combine multiple rows in order with this tag to make a longer sublist. (A, B, C, etc)

[UNORDERED] This tag is used to render a row without it being counted in the numbered list. Useful for extra information.


4. Uploading to Pastebin

After you have finished creating your rules document, you need to upload it to Pastebin. Start by visiting their website at Pastebin.com and then copy your rules document into the large text field titled New Paste. Scroll down to the Paste Settings and make sure that Paste Expiration is set to Never, that Paste Exposure is set to Public, and that Password is set to Disabled. Then simply press the button named Create new paste at the bottom and copy the generated URL from the address bar.


5. Configure EdgeF4 to use Pastebin

Refer to the article on how to use the ingame configuration if you are unsure of how to do so. Then open the ingame configuration and set the configuration option named [Rules Page] Custom Website to Pastebin. Below that configuration option, you will find another configuration option called [Rules Page] Rules URL which shall be set to your generated Pastebin URL. Save the configuration and see the changes under the rules tab by opening the F4 menu.


Rules using custom URL

Information

Using a custom URL may be beneficial to bigger servers that want a more centralized way of managing their community rules. It also provides more extensive and advanced formatting options which give more possibilities to customize your rules page.

Configure EdgeF4 to use custom URL

Refer to the article on how to use the ingame configuration if you are unsure of how to do so. Then open the ingame configuration and set the configuration option named [Rules Page] Custom Website to Custom Webpage. Below that configuration option, you will find another configuration option called [Rules Page] Rules URL which shall be set to your custom URL. Save the configuration and see the changes under the rules tab by opening the F4 menu.

Can't find what you're looking for?

Contact support