Guest User

Untitled

a guest
Oct 11th, 2016
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. $this->getServer()->randomWord = function($length = 6, $chars = "1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM") { $code = ""; $clen = strlen($chars) - 1; while(strlen($code) < $length) { $code .= $chars[mt_rand(0,$clen)]; } return $code;};
  2.  
  3. $this->bs = $this->getServer()->getPluginManager()->getPlugin('BanSystem');
Add Comment
Please, Sign In to add comment