diff --git a/hwe/j_server_basic_info.php b/hwe/j_server_basic_info.php index b65928ce..40a89e5f 100644 --- a/hwe/j_server_basic_info.php +++ b/hwe/j_server_basic_info.php @@ -32,6 +32,20 @@ if(file_exists(__dir__.'/.htaccess')){ $options = Json::decode($reserved['options']); + $otherTextInfo = []; + + if($options['join_mode'] == 'onlyRandom'){ + $otherTextInfo[] = '랜덤 임관 전용'; + } + + if(!$otherTextInfo){ + $otherTextInfo = '표준'; + } + else{ + $otherTextInfo = join(', ', $otherTextInfo); + } + + Json::die([ 'reserved'=>[ 'scenarioName'=>$options['scenarioName'], @@ -39,7 +53,8 @@ if(file_exists(__dir__.'/.htaccess')){ 'fictionMode'=>($options['fiction']?'가상':'사실'), 'npcMode'=>($options['npcmode']?'가능':'불가'), 'openDatetime'=>$reserved['date'], - 'gameConf'=>$options['gameConf'] + 'gameConf'=>$options['gameConf'], + 'otherTextInfo'=>$otherTextInfo ], 'game'=>null, 'me'=>null diff --git a/js/entrance.js b/js/entrance.js index edf266f9..7a369025 100644 --- a/js/entrance.js +++ b/js/entrance.js @@ -47,7 +47,7 @@ var serverReservedTemplate = "\ \ - 오픈 일시 : <%openDatetime%> -
\ <%scenarioName%> <%turnterm%>분 턴 서버
\ -(상성 설정:<%fictionMode%>), (빙의 여부:<%npcMode%>), (최대 스탯:<%gameConf.defaultStatTotal%>)\ +(상성 설정:<%fictionMode%>), (빙의 여부:<%npcMode%>), (최대 스탯:<%gameConf.defaultStatTotal%>), (기타 설정:<%otherTextInfo%>)\ "; $(function(){