Code:
#Requireadmin
msgbox(0,"Credits","Thanks for using my Tool.(Samulau)")
HotKeySet("{F1}","StartServer_")
HotKeySet("{F2}","ServerProperties_")
HotKeySet("{F3}","Operators_")
HotKeySet("{F4}","Permissions_")
HotKeySet("{F5}","BannedPlayers_")
HotKeySet("{F6}","BannedIps_")
HotKeySet("{F10}","Pfad_")
HotKeySet("{F11}","Exit_")
$Pfad = FileReadLine(@scriptdir & "\Pfad.txt",1)
While 1
sleep(20)
WEnd
Func StartServer_()
shellexecute($Pfad & "\Run.bat")
EndFunc
Func ServerProperties_()
shellexecute($Pfad & "\server.properties")
EndFunc
Func Operators_()
shellexecute($Pfad & "\ops.txt")
EndFunc
Func Permissions_()
shellexecute($Pfad & "\permissions.yml")
EndFunc
Func BannedPlayers_()
shellexecute($Pfad & "\banned-players.txt")
EndFunc
Func BannedIps_()
shellexecute($Pfad & "\banned-ips.txt")
EndFunc
Func Pfad_()
shellexecute($Pfad)
EndFunc
Func Exit_()
Exit
EndFunc