package Ġme . p avel sg ark lav s . advanced server manager Ċ Ċ import Ġme . p avel sg ark lav s . advanced server manager . GUI . Main GUI Ċ import Ġme . p avel sg ark lav s . advanced server manager . commands .* Ċ import Ġme . p avel sg ark lav s . advanced server manager . commands . Home . Home Command Ċ import Ġme . p avel sg ark lav s . advanced server manager . commands . Home . Set Home Command Ċ import Ġme . p avel sg ark lav s . advanced server manager . listeners . Build Mode Listener Ċ import Ġme . p avel sg ark lav s . advanced server manager . listeners . Operator Listener Ċ import Ġme . p avel sg ark lav s . advanced server manager . listeners . Resp awn Listener Ċ import Ġme . p avel sg ark lav s . advanced server manager . listeners . Staff Chat Listener Ċ import Ġorg . bukkit . plugin . java . Java Plugin Ċ Ċ class ĠAdvanced Server Manager Ġ: ĠJava Plugin () Ġ{ ĊĠĠĠ Ġprivate Ġval Ġmain Gui : ĠMain GUI Ġ= ĠMain GUI ( this ) ĊĠĠĠ Ġprivate Ġval Ġgame mode Command : ĠGame mode Command Ġ= ĠGame mode Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġfly Command : ĠFly Command Ġ= ĠFly Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġgod Command : ĠGod Command Ġ= ĠGod Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġfeed Command : ĠFeed Command Ġ= ĠFeed Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġhe al Command : ĠHe al Command Ġ= ĠHe al Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġweather Command : ĠWeather Command Ġ= ĠWeather Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġtime Command : ĠTime Command Ġ= ĠTime Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġset Home Command : ĠSet Home Command Ġ= ĠSet Home Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġhome Command : ĠHome Command Ġ= ĠHome Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġtele port Command : ĠTele port Command Ġ= ĠTele port Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġbuild Mode Command : ĠBuild Mode Command Ġ= ĠBuild Mode Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġvan ish Command : ĠVan ish Command Ġ= ĠVan ish Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġset Spawn Command : ĠSet Spawn Command Ġ= ĠSet Spawn Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġspawn Command : ĠSpawn Command Ġ= ĠSpawn Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġrepair Command : ĠRe pair Command Ġ= ĠRe pair Command ( this ) ĊĠĠĠ Ġprivate Ġval Ġback Command : ĠBack Command Ġ= ĠBack Command ( this ) ĊĊĠĠĠ Ġoverride Ġfun Ġon Enable () Ġ{ ĊĠĠĠĠĠĠĠ Ġprintln ("\ u 0 0 1 b [ 3 1 m Advanced ĠServer ĠManager Ġhas Ġstarted ! Ġ\ u 0 0 1 b [ 3 2 ; 1 m Author : Ġ\ u 0 0 1 b [ 3 1 m Dev _ P avel s \ u 0 0 1 b [ 0 m ") ĊĊĠĠĠĠĠĠĠ Ġserver . plugin Manager . register Events ( Staff Chat Listener ( this ), Ġthis ) ĊĠĠĠĠĠĠĠ Ġserver . plugin Manager . register Events ( Build Mode Listener ( this ), Ġthis ) ĊĠĠĠĠĠĠĠ Ġserver . plugin Manager . register Events ( Operator Listener ( this ), Ġthis ) ĊĠĠĠĠĠĠĠ Ġserver . plugin Manager . register Events ( Resp awn Listener ( this ), Ġthis ) ĊĊĠĠĠĠĠĠĠ Ġget Command (" admin ") ?. set Executor ( main Gui ) ĊĠĠĠĠĠĠĠ Ġget Command (" gm ") ?. set Executor ( game mode Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" fly ") ?. set Executor ( fly Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" god ") ?. set Executor ( god Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" feed ") ?. set Executor ( feed Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" he al ") ?. set Executor ( he al Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" weather ") ?. set Executor ( weather Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" time ") ?. set Executor ( time Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" se th ome ") ?. set Executor ( set Home Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" home ") ?. set Executor ( home Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" tp ") ?. set Executor ( tele port Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" bm ") ?. set Executor ( build Mode Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" van ish ") ?. set Executor ( van ish Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" set spawn ") ?. set Executor ( set Spawn Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" spawn ") ?. set Executor ( spawn Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" repair ") ?. set Executor ( repair Command ) ĊĠĠĠĠĠĠĠ Ġget Command (" back ") ?. set Executor ( back Command ) ĊĊĠĠĠĠĠĠĠ Ġconfig . options (). copy Defaults () ĊĠĠĠĠĠĠĠ Ġsave Default Config () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Disable () Ġ{ ĊĠĠĠĠĠĠĠ Ġprintln ("\ u 0 0 1 b [ 3 1 m Advanced ĠServer ĠManager Ġhas Ġstopped !\ u 0 0 1 b [ 0 m ") ĊĠĠĠ Ġ} Ċ }