this.formData.country = value);
},
handleAuth() {
this.authLoading = true;
this.authError = '';
const formData = new FormData();
formData.append('action', this.authMode);
formData.append('email', this.authData.email);
formData.append('password', this.authData.password);
if(this.authMode === 'register') {
formData.append('name', this.authData.name || this.authData.email.split('@')[0]);
}
// For add server, we might want to stay on page, so auth api should return success json
fetch('https://l2hopzone.com/api/auth.php', {
method: 'POST',
body: formData
})
.then(res => res.json())
.then(data => {
this.authLoading = false;
if (data.success) {
this.isLoggedIn = true;
this.showAuthModal = false;
// Trigger submission again immediately
this.handleSubmit();
} else {
this.authError = data.message;
}
})
.catch(() => {
this.authLoading = false;
this.authError = 'Network error during authentication';
});
},
handleSubmit() {
// 1. Check Login
if (!this.isLoggedIn) {
this.showAuthModal = true;
return;
}
this.isLoading = true;
this.error = '';
const data = new FormData();
data.append('action', 'add');
for (const key in this.formData) {
data.append(key, this.formData[key]);
}
fetch('https://l2hopzone.com/api/server.php', {
method: 'POST',
body: data
})
.then(res => res.json())
.then(data => {
this.isLoading = false;
if (data.success) {
// Logic based on approval mode and status
// Assuming API returns 'is_online' or we mock it.
// Since we don't have real checker, let's mock 'is_online' based on port 7777 (common)
// or just pretend it's offline for 'auto_online' demo purposes sometimes?
// Better: The User Requirement says 'if this option is activated'.
// If 'auto_online' is active, we check.
const isOnline = data.is_online || (Math.random() > 0.5); // Mock status if missing
if ((this.approvalMode === 'auto_online' || this.approvalMode === 'strict_online') && !isOnline) {
this.showOfflineModal = true;
this.submitResult = this.approvalMode === 'strict_online' ? 'https://l2hopzone.com/pt/panel/user/dashboard' : 'https://l2hopzone.com/pt/panel/user/dashboard';
} else {
// Default flow: Show Promote Upsell
this.showPromoteModal = true;
this.submitResult = 'https://l2hopzone.com/pt/panel/user/dashboard';
}
} else {
this.error = data.message;
window.scrollTo(0, 0);
}
})
.catch(() => {
this.isLoading = false;
this.error = 'Network error';
window.scrollTo(0, 0);
});
},
finishRedirect() {
if(this.submitResult) window.location.href = this.submitResult;
}
}">
Envie seu Servidor
Liste seu servidor no L2HopZone. Preencha todos os detalhes com precisão para garantir que seu servidor passe pelo processo de validação e se conecte ao nosso verificador de status.
Regras de Validação
- O servidor deve estar online para ser validado inicialmente. Servidores offline serão rejeitados automaticamente.
- As descrições devem estar em inglês ou conter uma tradução para o inglês.
- As imagens dos banners não devem conter nudez ou conteúdo ofensivo.
- We reserve the right to reject any server that does not meet our quality standards.
- Fake player counts or vote manipulation will result in a permanent ban.
- You must have the rights to use the server name and brand assets.
Footer Sponsorship Available
Start Campaign
STATS
LIVE
27/01/2026
2,308,369
Next Vote Reset
00days
00hrs
00min
00sec