Jump to content
  • 0

How do I make a /rules command


TheGrodo

Question

I have had a few people wonder what the rules are in my server I tried making a command for /rules With the plugin additions The plugin showed up red and wouldn't work I also tried doing it with a command block but did not understand how to, Any command block users or staff that could give a tip?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

This could be easily done with skript. I recommend just finding someone in the lobby/marketplace in the Discord to do it as it's quite simple.

  • Like 1

Joined on January 17th 2016

VIP since April 5 2017 - August 1st 2019

JrMod since August 1st

Mod since October 1st

SrMod since November 2nd - 2/7/21

Patron since February 8 - 3/7/21

Mod since March 8 2021

Retired since idk when

 

    [IMG]    button.png?t=Appeal&f=Calibri-Bold&ts=26&tc=fff&tshs=1&tshc=000&hp=20&vp=8&c=10&bgt=gradient&bgc=1d0dea&ebgc=1a0855&be=1 button.png?t=Rules&f=Calibri-Bold&ts=26&tc=fff&tshs=1&tshc=000&hp=20&vp=8&c=10&bgt=gradient&bgc=1d0dea&ebgc=1a0855&be=1  

If I helped or entertained you at all today, please react with a heart.

Link to comment
Share on other sites

  • 0

You can easily do that with skript, no addons is required.

Using this code:

command /rules:
	usage: &cUsage: /rules
    trigger:
    	send "&6----------------------------"
        send "&7Rules:"
        send "1. No cheating"
        send "2. No swearing"
        send "3. Insert your text here"
        send "4. Go as many lines as you want"
        send "5. Skript is ez!"
        send "&6----------------------------"

Or you can alternatively use skript's newline function (may require SkQuery(Skript addon))

command /rules:
    usage: &cUsage: /rules
    trigger:
        send "&6----------------------------%nl%&7Rules:%nl%1. No cheating%nl%2. No swearing%nl%3. Insert your text here%nl%4. Go as many lines as you want%nl%5. Skript is ez!%nl%&6----------------------------"

Hope this helps.

Edited by THA1LAND
Removed highlighting on codes

Untitled-2.jpg.9db55bd1d0eb36b537a815a8df762784.jpg

[VIP] THA1LAND

Link to comment
Share on other sites

  • 0

 

On 6/26/2020 at 1:31 AM, TheGrodo said:

I have had a few people wonder what the rules are in my server I tried making a command for /rules With the plugin additions The plugin showed up red and wouldn't work I also tried doing it with a command block but did not understand how to, Any command block users or staff that could give a tip?

i recomend using essentials for the /rules then going into the essentials file in file manager then find the rules file and type in the rules you need that's how i made my server's rule's

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...