Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.sLogin.Config;
- import java.io.File;
- import net.cubespace.Yamler.Config.Comment;
- import net.cubespace.Yamler.Config.Comments;
- import net.cubespace.Yamler.Config.Config;
- import net.md_5.bungee.api.plugin.Plugin;
- @SuppressWarnings("deprecation")
- public class Database extends Config {
- public Database(Plugin plugin) {
- CONFIG_FILE = new File(plugin.getDataFolder(), "Config.yml");
- CONFIG_HEADER = new String[] { "Here you can set all the things that will make the plugin work" };
- }
- @Comment("Here you will set the user that you use to login in your mysql")
- public String User = "User";
- @Comment("Here you will set the password that you use to login in your mysql")
- public String Password = "Password";
- @Comment("Here you will set the database that you use in your mysql")
- public String Database = "Database";
- @Comment("Here you will set the ip that you use to login in your mysql")
- public String Host = "Host";
- @Comment("Here you will put your lobby server, it will be used as auth server")
- public String Lobby = "Lobby";
- @Comment("Here you will put the max ammount of accounts any player can have per ip")
- public int MaxAccountPerIp = 2;
- @Comments({ "Bellow you will see all messages, if you want to change just change it", "Here you will put the no permission for commands message" })
- public String NoPermissionMessage = "&cDesculpe, mas você não tem permissão para executar este comando. Entre em contato com os administradores do servidor se você acredita que isso é um erro.";
- @Comment("Here you will put the player is not registered message")
- public String PlayerNotRegistered = "&cEste jogador não está registrado no banco de dados do servidor.'";
- @Comment("Here you will put the change password success message")
- public String PasswordChangeSuccess = "&aVocê alterou a senha do jogador mencionado com sucesso!";
- @Comment("Here you will put the change password fail message")
- public String PasswordChangeFail = "&cHouve uma falha ao tentar alterar a senha deste jogador.";
- @Comment("Here you will put the message when a player has an invalid nickname")
- public String InvalidNickaname = "&cVocê possui um apelido invalido, por favor troque-o para liberar seu acesso.";
- @Comment("Here you will put the message when a player nickname is already online")
- public String PlayerAlreadyOnline = "&cJá existe outro jogador com este mesmo apelido online no momento.";
- @Comment("Here you will put the message when a player took a long time to login or register")
- public String TookALongTimeToLogOrRegister = "&cO tempo de autenticação expirou.";
- @Comment("Here you will put the message when a player tries to make commands but is not logged in")
- public String PlayerNotLoggedInInteract = "&cVocê não pode executar comandos sem estar autenticado.";
- @Comment("Here you will put the message when a player tries to login but is not registered")
- public String LoginButIsNotReg = "&fArgumentos invalidos, utilize: &a/register <senha>";
- @Comment("Here you will put the message when a player logs in successfully")
- public String LoginSuccess = "&aVocê foi autenticado com sucesso.";
- @Comment("Here you will put the message when a player login fail!")
- public String LoginFail = "&cA senha digitada está incorreta.";
- @Comment("Here you will put the message when a player tries to register but he is already registered!")
- public String AlreadyRegistered = "&cVocê tem um cadastro em nosso banco de dados.";
- @Comment("Here you will put the message when a player tries to register but he has already more then the accounts registered")
- public String RegisterNumberMaxAccountsReached = "&cJá existe muitas contas registradas em seu endereço IP.";
- @Comment("Here you will put the message when a player registers successfully")
- public String RegisterSuccess = "&aVocê foi autenticado com sucesso, caso não lembre sua senha, contate um administrador.";
- @Comment("Here you will put the message when a player is already logged in")
- public String AlreadyLoggedIn = "&aVocê já está autenticado.";
- @Comment("Here you will put the message when a player tries to register but is already registered and is not logged in")
- public String AlreadyRegisteredButNotLoggedIn = "&fArgumentos invalidos, utilize: &a/login <senha>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement