SHARE
TWEET

aliases.yml

a guest Sep 22nd, 2016 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #'dumb' parameter, will just use what you put in
  2. banhammer:
  3.     1: /ban !1
  4. #name parameter is replaced with the command users name
  5. gmon:
  6.     0: /gamemode creative !name
  7.     1: /gamemode creative !1
  8. gmoff:
  9.     0: /gamemode survival !name
  10.     1: /gamemode survival !1
  11. # putting a P after the parameter specifies this is a player, and BA should try to guess which player
  12. # useful for things like "/to e0n" instead of "/to Ne0nx3r0"
  13. # This will ONLY look for players that are online
  14. to:
  15.     1: /tp !name !1p
  16.     2: /tp !1p !2p
  17. bring:
  18.     1: /tp !1p !name
  19. # multiple command example
  20. # note spaces in an alias go within quotes
  21. "tp then kick":
  22.     1:
  23.       - /tp !1p !name
  24.       - /kick !1p
  25.  
  26. # replaced with the item name in the player's hand
  27. hand:
  28.   0: I have a !handItemName in my hand right now!
  29.  
  30. # replace with the item ID in the player's hand
  31. handid:
  32.   0: /give !name !handItemID
  33.  
  34. # Toggle the current player's game mode from survival to creative
  35. gm:
  36.   0: /gamemode !oppositeGameMode !name
  37.  
  38. # Send everything with a command
  39. sendAll:
  40.   "*": /say !*
  41.  
  42. # Send everything with a command, but only on certain parameter lengths
  43. sendAll:
  44.   3: /say !*
  45.  
  46. # Color example
  47. # ----------------
  48. # Available colors:
  49. # BLACK, DARK_BLUE, DARK_GREEN, DARK_AQUA, DARK_RED, DARK_PURPLE, GOLD, GRAY,
  50. # DARK_GRAY, BLUE, GREEN, AQUA, RED, LIGHT_PURPLE, YELLOW, WHITE, MAGIC, BOLD,
  51. # STRIKETHROUGH, UNDERLINE, ITALIC, RESET
  52. #
  53. # (Also shows how to use the reply modifier to only reply to the player)
  54. redText:
  55.   0: reply Look at my &REDcolored &DARK_GREENtext!
  56.  
  57. # User must have betteralias.staff permission or be the console.
  58. staff:
  59.   permission: staff
  60.   0:
  61.     - /seen Ne0nx3r0
  62.     - /seen someOtherStaffMember
  63.     - /seen someThirdStaffMember
  64.  
  65. #Warps
  66. pvp:
  67.   0:
  68.     - /warp pvp
  69. mine:
  70.   1:
  71.     - /warp mine
  72.  
  73. # Console example
  74. # If this seems dangerous, that's because it is!
  75. #
  76. makeOp:
  77. # Required permission will be betteralias.your.node
  78.   permission: your.node
  79. # Must be makeOp, not Makeup, makeop, etc.
  80.   caseSensitive: true
  81. # Quotes are required because 0 uses a colon (:)
  82.   0: "reply Usage: /makeOp <username>"
  83.   1:
  84.     - console /say !1 has been opped!
  85.     - console /op !1
  86.     - /me has opped !1
  87.  
  88. # Wait example
  89. wait:
  90. # Quotes are required because 0 uses a colon (:)
  91.   0:
  92.     - wait 100 console /me thinks this message will come last!
  93.     - wait 80 /me thinks this message will come third
  94.     - wait 40 reply this came second!
  95.     - console /say this message came first!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top