Пример #1
0
 public BOSEAdapter(BOSEconomy p) {
   plugin = p;
   String serverland = Residence.getServerLandname();
   if (!plugin.playerRegistered(serverland, false)) {
     plugin.registerPlayer(serverland);
   }
 }
Пример #2
0
 @Override
 public boolean createPlayerAccount(String playerName) {
   if (economy.playerRegistered(playerName, false)) {
     return false;
   }
   return economy.registerPlayer(playerName);
 }