Use another command
banhammer: # /ban - Tells the player if they don't supply a player name # /ban Ne0nx3r0 - Bans the player when the first parameter is specified. 0: reply You must specify a player name. 1: /ban !1
# The number is how many things (arguments) were put after an alias. # # !1, !2, !3, etc. will reference the arguments of the alias. pay: 0: /money pay 1: /money pay !1 2: /money pay !1 !2
# Putting a P after the parameter specifies this is a player, and BA should try to guess which player. # This useful for things like "/to e0n" instead of "/to Ne0nx3r0" # This will ONLY look for players that are online to: 1: /tp !name !1p 2: /tp !1p !2p
# Quotes are required with some special characters, like the colon (:) tpthenkick: 0: "reply Usage: /tpthenkick <playername>" 1: - /tp !1p !name - /kick !1p
Send all arguments
# sends everything a player says after the alias emote: "*": /me thinks !*
Item in the player's hand
# replaced with the item name in the player's hand hand: 0: I have a !handItemName in my hand right now! # replace with the item ID in the player's hand handid: 0: /give !name !handItemID
# Available colors: # BLACK, DARK_BLUE, DARK_GREEN, DARK_AQUA, DARK_RED, DARK_PURPLE, GOLD, GRAY, # DARK_GRAY, BLUE, GREEN, AQUA, RED, LIGHT_PURPLE, YELLOW, WHITE, MAGIC, BOLD, # STRIKETHROUGH, UNDERLINE, ITALIC, RESET # # (Also shows how to use the reply modifier to only reply to the player) redText: 0: reply Look at my &REDcolored &DARK_GREENtext!
# User must have betteralias.staff permission or be the console. staff: permission: staff 0: - /seen Ne0nx3r0 - /seen someOtherStaffMember - /seen someThirdStaffMember
Run as console
# Console example # If this seems dangerous, that's because it is! # # Required permission will be betteralias.your.node makeop: permission: your.node 0: "reply Usage: /makeop <username>" 1: - console /say !1 has been opped! - console /op !1 - /me has been opped !1
(Time is in ticks)
wait: permission: your.node 0: - wait 100 console /say thinks this message will come last! - wait 80 /me thinks this message will come third - wait 40 reply this came second! - console /say this message came first!
(makeOp vs makeop, MakeoP, etc.)
makeOp: permission: your.node caseSensitive: true 1: - console /say Opping !1 - wait 60 /say JK, JK.