-
-
Notifications
You must be signed in to change notification settings - Fork 3
Example Commands
Shane Bee edited this page Aug 1, 2023
·
13 revisions
Here are some simple examples
brig command /leban:
arguments:
register player arg "player"
register int arg "time"
register string arg "span" using "minutes", "hours" and "days"
register text arg "reason"
trigger:
set {_timespan} to "%{_time}% %{_span}%" parsed as time span
set {_reason} to "&c%{_reason}%"
ban {_player} due to {_reason} for {_timespan}
kick {_player} due to {_reason}
send "&7[&bBan&7] &eYou banned &b%{_player}% &efor &b%{_timespan}% &edue to &f""%{_reason}%&f"""
/leban ShaneBee 10 days "you were super bad today"
brig command /letp <player> <location>:
trigger:
teleport {_player} to {_location}
/letp ShaneBee ~ ~20 ~
/letp ShaneBee 1 100 1
brig command /i <item> [<amount:int>]:
permission: customcommands.items.give
trigger:
set {_amount} to 1 if {_amount} is not set
give {_amount} of {_item} to player
/i minecraft:diamond_sword{Damage:500}
/i diamond 100
/i minecraft:oak_stairs 64