leelawd93 / MMCRules

Force players to read and accept the rules.
5
Download
messages {
    accepted="&cYou have successfully accepted the &6rules&c! Have fun!"
    acceptedAlready="&cYou have already accepted the &6Rules&c!"
    cantBuild="&cYou have to accept the &6Rules &cto build! Use &b/rules &cand then &b/acceptrules&c!"
    inform="&cYou have to accept the &6Rules&c! Use &b/rules &cand then &b/acceptrules&c!"
    mustReadRules="&cYou must read the &6Rules &cin order to accept them! Use &b/rules!"
}
restrictions {
    # Should players be blocked from placing and breaking blocks before reading the rules?
    blockBuildBeforeAccept=false
    # Should players be blocked from sending commands before reading the rules?
    blockCommandsBeforeAccept=false
    # Should players be blocked from moving before reading the rules?
    blockMovementBeforeAccept=false
}
rules {
    # Do you want the player to be sent the above 'Inform' message after logging in?
    informOnLogin=true
    # Commands to be run after the player accepts the rules, These commands are sent by the console ({player} will be replaced by the player's name
    list=[
        "Be respectful.", 
	"Be ethical.", 
	"Use common sense."
    ]
    onAccept {
        # Commands to be run after the player accepts the rules, These commands are sent by the console ({player} will be replaced by the player's name
        consoleCommands=[]
        # Commands to be run after the player accepts the rules, These commands are sent by the player
        playerCommands=[]
    }
    # The tile for the /rules
    title=Rules
}
teleport {
    # Do you want the player to be teleported to a set location after they /acceptrules (set this with /mmcrules settp)
    afterAccept=false
    coordinates {
        pitch=0
        posx=0
        posy=0
        posz=0
        world=World
        yaw=0
    }
}

Category: Admin Tools

Published on Feb 16, 2017

3447 views

5 stars

589 total downloads

Members