Class ExprUUID

All Implemented Interfaces:
Converter<Object,​String>, Debuggable, Expression<String>, SyntaxElement

@Name("UUID") @Description({"The UUID of a player, entity or world.","In the future there will be an option to use a player\'s UUID instead of the name in variable names (i.e. when %player% is used), but for now this can be used.","<em>Please note that this expression does not work for offline players if you are under 1.8!</em>"}) @Examples({"# prevents people from joining the server if they use the name of a player","# who has played on this server at least once since this script has been added","on login:","\tif {uuid::%name of player%} exists:","\t\t{uuid::%name of player%} is not uuid of player","\t\tkick player due to \"Someone with your name has played on this server before\"","\telse:","\t\tset {uuid::%name of player%} to uuid of player"}) @Since("2.1.2, 2.2 (offline players\' UUIDs), 2.2-dev24 (other entities\' UUIDs)") public class ExprUUID extends SimplePropertyExpression<Object,​String>