Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.netserv.extensions;
- import java.util.Arrays;
- import com.netserv.NSExtension;
- import com.netserv.NSLogger;
- import com.netserv.NSSettings;
- import com.netserv.NSClientHandler.NSClientDetails;
- public class NSLoginExtension extends NSExtension {
- public NSLoginExtension(String handle, boolean args) {
- super(handle, args);
- }
- @Override
- public void call(String[] args) {
- String username = args[1];
- String userpass = args[2];
- boolean charFile = Boolean.parseBoolean(args[3]);
- if (charFile) {
- NSClientDetails.loadPlayer(username);
- }
- }
- }
- --Old list, now much bigger--
- NetServ features:
- Security:
- Logging in system
- Encryptions
- Packets
- Client detection(Using the official)
- Hashing(For saved users)
- D/DOS protection*
- Connection throttling/Blocking
- Extensions:
- NetServPlayerDetailsExtention - An extension that creates a new player instance in any of the supported server that is able to check if the player's rights are <Set your allowed rights> to connect and be allowed to use NetServ. Basically it allows NetServ - Player integration(More than controlling).
- NetServRestarterExtension - An extension that literrally restarts your server!(See inginuity)
- Inginuity:
- Connected clients can detect a crashed NetServ installion and ask to restart again you can <Set player rights here to restart>*
- Auto updating*
- Exception reporting
- ©Bot-HQ Laboratories - "Programming is our thing".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement