diff --git a/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/IIdentityBase.java b/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/IIdentityBase.java index 3d1578e46..73219d5e1 100644 --- a/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/IIdentityBase.java +++ b/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/IIdentityBase.java @@ -34,6 +34,7 @@ public interface IIdentityBase { int STATE_ANONYMOUS = 4; int STATE_PROHIBITED_TO_BE_REGISTERED = 5; int STATE_TO_BE_VERIFIED = 6; + int STATE_PREMIUM = 7; int TYPE_INTERNAL = 0; //must not be instantiated by extension int TYPE_EXTERNAL = 1; //this identity was created externally @@ -69,6 +70,7 @@ public interface IIdentityBase { *
  • {@link IIdentity#STATE_ANONYMOUS} = 4 - "Anonymous"
  • *
  • {@link IIdentity#STATE_PROHIBITED_TO_BE_REGISTERED} = 5 - "Rejected Wants To Be Registered"
  • *
  • {@link IIdentity#STATE_TO_BE_VERIFIED} = 6 - "Awaiting Verification"
  • + *
  • {@link IIdentity#STATE_PREMIUM} = 7 - "Premium"
  • * * * @return int value representing current identity state. diff --git a/server_extensions_examples/src/main/java/com/generalbytes/batm/server/extensions/examples/chat/InfoCommand.java b/server_extensions_examples/src/main/java/com/generalbytes/batm/server/extensions/examples/chat/InfoCommand.java index fc22f8e84..781013b6f 100644 --- a/server_extensions_examples/src/main/java/com/generalbytes/batm/server/extensions/examples/chat/InfoCommand.java +++ b/server_extensions_examples/src/main/java/com/generalbytes/batm/server/extensions/examples/chat/InfoCommand.java @@ -746,6 +746,8 @@ private String formatIdentityStatus(int state) { return "REJECTED WANTS TO BE REGISTERED"; case IIdentity.STATE_TO_BE_VERIFIED: return "AWAITING VERIFICATION"; + case IIdentity.STATE_PREMIUM: + return "PREMIUM"; } return "UNKNOWN"; }