Advertisement
Guest User

Untitled

a guest
Aug 15th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. package com.netserv.extensions;
  2.  
  3. import java.util.Arrays;
  4.  
  5. import com.netserv.NSExtension;
  6. import com.netserv.NSLogger;
  7. import com.netserv.NSSettings;
  8. import com.netserv.NSClientHandler.NSClientDetails;
  9.  
  10. public class NSLoginExtension extends NSExtension {
  11.  
  12. public NSLoginExtension(String handle, boolean args) {
  13. super(handle, args);
  14. }
  15.  
  16. @Override
  17. public void call(String[] args) {
  18. String username = args[1];
  19. String userpass = args[2];
  20. boolean charFile = Boolean.parseBoolean(args[3]);
  21. if (charFile) {
  22. NSClientDetails.loadPlayer(username);
  23. }
  24. }
  25. }
  26. --Old list, now much bigger--
  27.  
  28. NetServ features:
  29.  
  30. Security:
  31. Logging in system
  32. Encryptions
  33. Packets
  34. Client detection(Using the official)
  35. Hashing(For saved users)
  36. D/DOS protection*
  37. Connection throttling/Blocking
  38.  
  39. Extensions:
  40. 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).
  41. NetServRestarterExtension - An extension that literrally restarts your server!(See inginuity)
  42.  
  43. Inginuity:
  44. Connected clients can detect a crashed NetServ installion and ask to restart again you can <Set player rights here to restart>*
  45. Auto updating*
  46. Exception reporting
  47.  
  48.  
  49. ©Bot-HQ Laboratories - "Programming is our thing".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement