Advertisement
Guest User

CustomChatCommands Config

a guest
Jul 2nd, 2016
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. # Example of TextXML format
  2. advertise {
  3. args=0
  4. example=true
  5. format=xml
  6. # This would probably be on a timer of some sort.
  7. message="<c n=\"green\">You are playing on the LameNameCraft server, hope you're having fun!</c> <c n=\"blue\">Click <a href=\"http://google.com\"><b>here</b></a> to go to our server store!</c>"
  8. permission="minecraft.command.say"
  9. radius=-1
  10. }
  11. # Example of ampersand format
  12. broadcast {
  13. args=1
  14. example=true
  15. format=ampersand
  16. message="&c[&a&l<player>&c] &b<arg1>"
  17. permission="minecraft.command.say"
  18. radius=-1
  19. }
  20. # If this node is present, it will change the format of normal chat. If this node does not exist, chat is unaffected. Only 'format' and 'message' are supported. Take note: As of 1.2 this replaces the chat message rather than the formatter, so this will break any plugins that modify your format.
  21. default {
  22. example=true
  23. format=ampersand
  24. # There is only one argument, which is the chat message.
  25. message="&f<<player>> <arg1>"
  26. }
  27. # The name of this node is the command name.
  28. me {
  29. # Various aliases for this command. Optional.
  30. aliases=[
  31. action
  32. ]
  33. # Number of arguments in the command. The last argument is all the remaining ones joined together.
  34. args=1
  35. # These are examples, and as such have this 'example' tag denoting that they are not to be loaded. Remove this if you want to use these!
  36. example=true
  37. # What format the 'message' node is in. Can be 'json', 'ampersand', or 'xml'.
  38. format=json
  39. # The message to send. <player> will be replaced with the player's name, and <arg#x> will be replaced with the command's argument at position x. This can be in ampersand, json, or xml format.
  40. message="{\"text\":\"* <player> <arg1>\",\"color\":\"yellow\"}"
  41. # The permission to run this command. Optional.
  42. permission="minecraft.command.me"
  43. # The radius in which the message can be heard. Set to 0 for standard chat, -1 for server-wide, or a valid radius for, you know, the radius. Optional, defaults to 0.
  44. radius=0
  45. }
  46. version=4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement