Skip to content

ShaneBeee/SkBriggy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkBriggy

SkBriggy is a Skript addon that allows users to create commands using Minecraft's Brigadier command system. This enables you to use command suggestions in the style that Minecraft does.

While this is not intended to be a drop in replacement for Skript commands, it does allow for some more intuitive command building.

Visual Differences:

Skript (with SkBee for tab completions):

Code:

command /skriptban <player> <number> <text> <text>:
	trigger:
		# do stuff

on tab complete of "/skriptban":
	set tab completions for position 2 to "<time>"
	set tab completions for position 3 to "minutes", "hours" and "days"
	set tab completions for position 4 to "<reason>"

Visual:
Imgur

SkBriggy

Code:

brig command /brigban <player> <time:int> <span:string> <reason:greedystring>:
	arguments:
		set suggestions of "span" arg to "minutes", "hours" and "days"
	trigger:
		# do stuff

Visual: