Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var tag = "%dogtags_current_tag%";
- function getTag(tag) {
- if (tag.equals("")) {
- if (BukkitPlayer.isOp()) {
- return "";
- }
- if (BukkitPlayer.hasPermission("chatformat.patron")) {
- return "&8[&cPatron&8]&c";
- }
- if (BukkitPlayer.hasPermission("chatformat.benefactor")) {
- return "&8[&aBenefactor&8]&a";
- }
- if (BukkitPlayer.hasPermission("chatformat.supreme")) {
- return "&8[&eSupreme&8]&e";
- }
- if (BukkitPlayer.hasPermission("chatformat.donor")) {
- return "&8[&dDonor&8]&d";
- }
- if (BukkitPlayer.hasPermission("chatformat.default")) {
- return "&8[&7Member&8]&f";
- }
- return "";
- }
- return tag;
- }
- getTag(tag);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement