Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Example of TextXML format
- advertise {
- args=0
- example=true
- format=xml
- # This would probably be on a timer of some sort.
- 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>"
- permission="minecraft.command.say"
- radius=-1
- }
- # Example of ampersand format
- broadcast {
- args=1
- example=true
- format=ampersand
- message="&c[&a&l<player>&c] &b<arg1>"
- permission="minecraft.command.say"
- radius=-1
- }
- # 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.
- default {
- example=true
- format=ampersand
- # There is only one argument, which is the chat message.
- message="&f<<player>> <arg1>"
- }
- # The name of this node is the command name.
- me {
- # Various aliases for this command. Optional.
- aliases=[
- action
- ]
- # Number of arguments in the command. The last argument is all the remaining ones joined together.
- args=1
- # 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!
- example=true
- # What format the 'message' node is in. Can be 'json', 'ampersand', or 'xml'.
- format=json
- # 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.
- message="{\"text\":\"* <player> <arg1>\",\"color\":\"yellow\"}"
- # The permission to run this command. Optional.
- permission="minecraft.command.me"
- # 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.
- radius=0
- }
- version=4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement