diff --git a/frontend/src/pages/Server.tsx b/frontend/src/pages/Server.tsx index d33e1a0..54c3c26 100644 --- a/frontend/src/pages/Server.tsx +++ b/frontend/src/pages/Server.tsx @@ -187,12 +187,12 @@ export const Server = ({id, className}: Props) => { Console General Settings - {/*Server Settings*/} + Server Settings Administration - {/**/} + CheckServerInstalled(serv.id).then((val) => setIsInstalled(val)).catch((reason) => console.error(reason))}/> ) : ( setIsInstalled(true)}/>)} diff --git a/frontend/src/pages/server/Administration.tsx b/frontend/src/pages/server/Administration.tsx index 1ea1c3e..d6f7223 100644 --- a/frontend/src/pages/server/Administration.tsx +++ b/frontend/src/pages/server/Administration.tsx @@ -47,7 +47,7 @@ export function Administration({setServ, serv, onServerFilesDeleted}: Props) { return ( - + Server Administration diff --git a/frontend/src/pages/server/Settings.tsx b/frontend/src/pages/server/Settings.tsx index f7492f4..f4e8a45 100644 --- a/frontend/src/pages/server/Settings.tsx +++ b/frontend/src/pages/server/Settings.tsx @@ -33,6 +33,11 @@ export function Settings({setServ, serv}: Props) {
Mods (e.g.: modid1,modid2,modid3) setServ((p) => ({ ...p, mods: e.target.value }))}> + Player limit + { + if (parseInt(e.target.value) > 0) { + setServ((p) => ({...p, maxPlayers: parseInt(e.target.value)})) + }}}>