Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Clear-History
- Clear-Host
- $consoleName="Console Master"
- $consoleVersion='1.0'
- $prefix="$consoleName $consoleVersion"
- $a = (Get-Host).UI.RawUI
- $a.WindowTitle = "$prefix"
- $test = [PSCustomObject]@{jar_path='Get-Location';jar_commands='';minecraft_version='';colorChoice = '';background_color='';foreground_color=''}
- $setpath = ''
- Write-Host Welcome to $test.jar_path!
- function setup {
- $a = (Get-Host).UI.RawUI
- $a.WindowTitle = "$prefix+: Setup (Jar: N/A, MC: N/A)"
- Write-Host Welcome to $prefix!`nLet me get to know about your server better`n
- $jarFile = Read-Host –Prompt "Enter your server's .jar file w/o the extension"
- $minecraftVersion = Read-Host -Prompt "Enter your server's Minecraft version"
- $readColorChoice = Read-Host "Would you like to use custom colors? (Y/N)"
- if(($readColorChoice).ToUpper().StartsWith("Y")){
- $colorAnswer = "true"
- Write-Host Yes
- }elseif(($readColorChoice).ToUpper().StartsWith("N")){
- $colorAnswer = "false"
- Write-Host No
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement