[SCRIPT]Metin2 Server Config & FreeBSD Shell

Avatar utilizator
Juppsy
Nivel 1

Nivel 1
Mesaje: 118
Membru din: 01 Aug 2014, 16:54
Server: In lucru
Regat: Jinno
Aprecieri: 0
Mulţumiri: 1  
 Contact:
Medalii

Salutare just4metin, cautam ceva si am gasit un script destul de folositor zic eu.

Cod: Selectaţi tot

#!/bin/bash
clear
echo -e "\033[31m#-------------- Welcome to Galactica Gaming FreeBSD Shell Script  --------------------#"
echo -e "\033[31m#-------------- Made By : Mehti  --------------------#"
echo "#-----------------------------------------------------------------#"
echo -e "\033[33m#----------------SECURiTY BiTCHEZ----------------#" 
echo "# (1) Check Server Ram                                           #" 
echo "# (2) DDoS Attack Counts + Attacks IP               #"
echo "# (3) Who Login my Server??!?!                           #"
echo "# (4) YouHaveANoobAttacker? Try IP Ban :H                                                 #"
echo "# (5) Last Connection                               #"
echo "# (6) Check Online User Count                                     #"
echo "#-----------------------------------------------------------------#"
echo -e "\033[34m#-------------- QUEST PANEL ---------------#"
echo "# (7) Update Quest Cache                                             #" 
echo "#-----------------------------------------------------------------#"
echo "# (8) MAX_LEVEL CONFIG                                   #"
echo "# (9) Max_LEVEL_STATUS CONFIG                      #"
echo "# (10) MAX_STATUS CONFIG                              #"
echo "# (11) SKILL_BOOK_READ_TIME CONFIG                  #"
echo "# (12) SKILL_BOOK_READ_EXP CONFIG                  #"
echo "# (13) MAX_GUILD_LEVEL CONFIG                #"
echo "# (14) ITEM_OWNER_TIME CONFIG                       #"
echo "# (15) SKILL_BOOK_ALWAYS#"
echo "# (16) ALWAYS BONUS ADD CONFIG  : 1 YES 0 NO             #"
echo "# (17) BONUS CHANGE LIMIT TIME CONFIG                #"
echo "# (18) GOLD DROP TIME CONFIG                         #"
echo -e "\033[31m#\033[33m-----------------------------------------------------------------\033[31m#"
echo -e "\033[31m#\033[34m########################\033[32m SERVER PORTS STATUS \033[34m ######################\033[31m#\033[0m"
netstat -ln | grep ".13000 " | wc -l | awk '{if ($1 == 0) system("echo -e \033[31m#\033[36m#########################  1.\033[0m Kanal \033[31mOfline \033[36m########################\033[0m") }'
netstat -ln | grep ".13000 " | wc -l | awk '{if ($1 > 0) system("echo -e \033[31m#\033[36m#########################   1.\033[0m Kanal \033[32mOnline  \033[36m########################\033[0m") }'
netstat -ln | grep ".13010" | wc -l | awk '{if ($1 == 0) system("echo -e \033[31m#\033[36m#########################  2.\033[0m Kanal \033[31mOfline \033[36m########################\033[0m") }'
netstat -ln | grep ".13010 " | wc -l | awk '{if ($1 > 0) system("echo -e \033[31m#\033[36m#########################   2.\033[0m Kanal \033[32mOnline   \033[36m########################\033[0m") }'
netstat -ln | grep ".13020 " | wc -l | awk '{if ($1 == 0) system("echo -e \033[31m#\033[36m#########################  3.\033[0m Kanal \033[31mOfline \033[36m########################\033[0m") }'
netstat -ln | grep ".13020 " | wc -l | awk '{if ($1 > 0) system("echo -e \033[31m#\033[36m#########################   3.\033[0m Kanal \033[32mOnline   \033[36m########################\033[0m") }'
netstat -ln | grep ".13030 " | wc -l | awk '{if ($1 == 0) system("echo -e \033[31m#\033[36m#########################  4.\033[0m Kanal \033[31mOfline \033[36m########################\033[0m") }'
netstat -ln | grep ".13030 " | wc -l | awk '{if ($1 > 0) system("echo -e \033[31m#\033[36m#########################   4.\033[0m Kanal \033[32mOnline   \033[36m########################\033[0m") }'
echo -e "\033[31m#\033[33m-----------------------------------------------------------------\033[31m#"
 
 
echo Select Number :
read  secenek 
 
 
case $secenek in
 
 
1)
clear
echo "Checking Ram.."
sleep 3
dmesg | grep memory
echo "Real Memory is Your Ram."
;;
2)
clear
echo "Checking DDOS Attacks.."
sleep 3
netstat -np | grep SYN_RECV | awk '{print $5}' | cut -d. -f1-4 | cut -d: -f1 | sort -n | uniq -c | sort -n
echo "Attacks and IP"
;;
3)
who
;;
4)
clear
echo "Opening IP Ban Screen~"
sleep 3
echo Use " Ctrl+C " to Exit.
echo -n "IP: "
read ip
echo ""
echo '$IP'F 1 deny all from $ip to me >> /etc/ipfw.rules
/etc/rc.d/ipfw restart
echo "Successfuly Banned: "$ip" ~ "
sleep 4
clear
/etc/rc.d/ipfw restart
sh /etc/ipfw.rules
cd /bin
sleep 2
neta
;;
5)
clear
echo "Opening Last Connection on Server.."
sleep 3
last
;;
6)
clear
echo "Calculating Number of Online Players."
sleep 3
echo "First_Channel;"
netstat -nat | grep 13000 | grep ESTABLISHED | wc -l
netstat -nat | grep 13002 | grep ESTABLISHED | wc -l
echo "MapServer_Cores;"
netstat -nat | grep 13099 | grep ESTABLISHED | wc -l
netstat -nat | grep 13100 | grep ESTABLISHED | wc -l
netstat -nat | grep 13001 | grep ESTABLISHED | wc -l
;;
7)
clear
echo "Cleaning and RE-Build Quest Cache"
sleep 3
[b][color=#000080]cd /usr/home/game/share/locale/germany/quest && ./make.sh[/color][/b]
echo "Succesfully ReBuild Cache"
;;
8)
echo -n " MAX_LEVEL CONFIG "
read ip
echo "All Server Closig Now.."
[b][color=#000080]cd /usr/home/game/ && ./close.sh[/color][/b]
echo \MAX_LEVEL: $ip\ >> [b][color=#000080]/usr/home/game/auth_server/CONFIG[/color][/b] #auth
echo \MAX_LEVEL: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re1/CONFIG[/color][/b] # channel1 core1
echo \MAX_LEVEL: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re2/CONFIG[/color][/b] # channel1 core2
echo \MAX_LEVEL: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core1/CONFIG[/color][/b]    # MapServer Core1
echo \MAX_LEVEL: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core2/CONFIG[/color][/b] # MapServer Core2
echo \MAX_LEVEL: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core3/CONFIG[/color][/b] # MapServer Core3
# echo \MAX_LEVEL: $ip\ >> [b][color=#000080]/usr/home/game/channel2/CONFIG[/color][/b] #Channel2
# echo \MAX_LEVEL: $ip\ >> [b][color=#000080]/usr/home/game/channel3/CONFIG[/color][/b] #Channel3
# echo \MAX_LEVEL: $ip\ >> [b][color=#000080]/usr/home/game/channel4/CONFIG[/color][/b] #Channel4
echo "IT'S OK. Now Closing Server and Cleaning Logs."
[b][color=#000080]cd /usr/home/game/ && ./clear.sh[/color][/b]
;;
9)
echo -n " MAX_LEVEL_STATUS CONFIG "
read ip
echo "All Server Closig Now.."
[b][color=#000080]cd /usr/home/game/ && ./close.sh[/color][/b]
echo \MAX_LEVEL_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/auth_server/CONFIG[/color][/b] #auth
echo \MAX_LEVEL_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re1/CONFIG[/color][/b] # channel1 core1
echo \MAX_LEVEL_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re2/CONFIG[/color][/b] # channel1 core2
echo \MAX_LEVEL_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core1/CONFIG[/color][/b]    # MapServer Core1
echo \MAX_LEVEL_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core2/CONFIG[/color][/b] # MapServer Core2
echo \MAX_LEVEL_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core3/CONFIG[/color][/b] # MapServer Core3
# echo \MAX_LEVEL_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/channel2/CONFIG[/color][/b] #Channel2
# echo \MAX_LEVEL_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/channel3/CONFIG[/color][/b] #Channel3
# echo \MAX_LEVEL_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/channel4/CONFIG[/color][/b] #Channel4
echo "IT'S OK. Now Closing Server and Cleaning Logs."
[b][color=#000080]cd /usr/home/game/ && ./clear.sh[/color][/b]
;;
10)
echo -n " MAX_STATUS CONFIG "
read ip
echo "All Server Closig Now.."
[b][color=#000080]cd /usr/home/game/ && ./close.sh[/color][/b]
echo \MAX_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/auth_server/CONFIG[/color][/b] #auth
echo \MAX_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re1/CONFIG[/color][/b] # channel1 core1
echo \MAX_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re2/CONFIG[/color][/b] # channel1 core2
echo \MAX_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core1/CONFIG[/color][/b]    # MapServer Core1
echo \MAX_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core2/CONFIG[/color][/b] # MapServer Core2
echo \MAX_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core3/CONFIG[/color][/b] # MapServer Core3
# echo \MAX_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/channel2/CONFIG[/color][/b] #Channel2
# echo \MAX_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/channel3/CONFIG[/color][/b] #Channel3
# echo \MAX_STATUS: $ip\ >> [b][color=#000080]/usr/home/game/channel4/CONFIG[/color][/b] #Channel4
echo "IT'S OK. Now Closing Server and Cleaning Logs."
[b][color=#000080]cd /usr/home/game/ && ./clear.sh[/color][/b]
;;
11)
echo -n " SKILLBOOK_DELAY CONFIG "
read ip
echo "All Server Closig Now.."
[b][color=#000080]cd /usr/home/game/ && ./close.sh[/color][/b]
echo \SKILLBOOK_DELAY: $ip\ >> [b][color=#000080]/usr/home/game/auth_server/CONFIG[/color][/b] #auth
echo \SKILLBOOK_DELAY: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re1/CONFIG[/color][/b] # channel1 core1
echo \SKILLBOOK_DELAY: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re2/CONFIG[/color][/b] # channel1 core2
echo \SKILLBOOK_DELAY: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core1/CONFIG[/color][/b]    # MapServer Core1
echo \SKILLBOOK_DELAY: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core2/CONFIG[/color][/b] # MapServer Core2
echo \SKILLBOOK_DELAY: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core3/CONFIG[/color][/b] # MapServer Core3
# echo \SKILLBOOK_DELAY: $ip\ >> [b][color=#000080]/usr/home/game/channel2/CONFIG[/color][/b] #Channel2
# echo \SKILLBOOK_DELAY: $ip\ >> [b][color=#000080]/usr/home/game/channel3/CONFIG[/color][/b] #Channel3
# echo \SKILLBOOK_DELAY: $ip\ >> [b][color=#000080]/usr/home/game/channel4/CONFIG[/color][/b] #Channel4
echo "IT'S OK. Now Closing Server and Cleaning Logs."
[b][color=#000080]cd /usr/home/game/ && ./clear.sh[/color][/b]
;;
12)
echo -n " SKILLBOOK_NEED_EXP CONFIG "
read ip
echo "All Server Closig Now.."
[b][color=#000080]cd /usr/home/game/ && ./close.sh[/color][/b]
echo \SKILLBOOK_NEED_EXP: $ip\ >> [b][color=#000080]/usr/home/game/auth_server/CONFIG[/color][/b] #auth
echo \SKILLBOOK_NEED_EXP: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re1/CONFIG[/color][/b] # channel1 core1
echo \SKILLBOOK_NEED_EXP: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re2/CONFIG[/color][/b] # channel1 core2
echo \SKILLBOOK_NEED_EXP: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core1/CONFIG[/color][/b]    # MapServer Core1
echo \SKILLBOOK_NEED_EXP: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core2/CONFIG[/color][/b] # MapServer Core2
echo \SKILLBOOK_NEED_EXP: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core3/CONFIG[/color][/b] # MapServer Core3
# echo \SKILLBOOK_NEED_EXP: $ip\ >> [b][color=#000080]/usr/home/game/channel2/CONFIG[/color][/b] #Channel2
# echo \SKILLBOOK_NEED_EXP: $ip\ >> [b][color=#000080]/usr/home/game/channel3/CONFIG[/color][/b] #Channel3
# echo \SKILLBOOK_NEED_EXP: $ip\ >> [b][color=#000080]/usr/home/game/channel4/CONFIG[/color][/b] #Channel4
echo "IT'S OK. Now Closing Server and Cleaning Logs."
[b][color=#000080]cd /usr/home/game/ && ./clear.sh[/color][/b]
;;
13)
echo -n " guild_max_level CONFIG "
echo -n " Maximum Guild Level Max is : 50 Min : 1 "
read ip
echo "All Server Closig Now.."
[b][color=#000080]cd /usr/home/game/ && ./close.sh[/color][/b]
echo \guild_max_level: $ip\ >> [b][color=#000080]/usr/home/game/auth_server/CONFIG[/color][/b] #auth
echo \guild_max_level: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re1/CONFIG[/color][/b] # channel1 core1
echo \guild_max_level: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re2/CONFIG[/color][/b] # channel1 core2
echo \guild_max_level: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core1/CONFIG [/color][/b]   # MapServer Core1
echo \guild_max_level: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core2/CONFIG[/color][/b] # MapServer Core2
echo \guild_max_level: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core3/CONFIG[/color][/b] # MapServer Core3
# echo \guild_max_level: $ip\ >> [b][color=#000080]/usr/home/game/channel2/CONFIG[/color][/b] #Channel2
# echo \guild_max_level: $ip\ >> [b][color=#000080]/usr/home/game/channel3/CONFIG[/color][/b] #Channel3
# echo \guild_max_level: $ip\ >> [b][color=#000080]/usr/home/game/channel4/CONFIG[/color][/b] #Channel4
echo "IT'S OK. Now Closing Server and Cleaning Logs."
[b][color=#000080]cd /usr/home/game/ && ./clear.sh[/color][/b]
;;
14)
echo -n " item_owner_time CONFIG "
read ip
echo "All Server Closig Now.."
[b][color=#000080]cd /usr/home/game/ && ./close.sh[/color][/b]
echo \item_owner_time: $ip\ >> [b][color=#000080]/usr/home/game/auth_server/CONFIG[/color][/b] #auth
echo \item_owner_time: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re1/CONFIG[/color][/b] # channel1 core1
echo \item_owner_time: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re2/CONFIG[/color][/b] # channel1 core2
echo \item_owner_time: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core1/CONFIG[/color][/b]    # MapServer Core1
echo \item_owner_time: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core2/CONFIG[/color][/b] # MapServer Core2
echo \item_owner_time: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core3/CONFIG[/color][/b] # MapServer Core3
# echo \item_owner_time: $ip\ >> [b][color=#000080]/usr/home/game/channel2/CONFIG[/color][/b] #Channel2
# echo \item_owner_time: $ip\ >> [b][color=#000080]/usr/home/game/channel3/CONFIG[/color][/b] #Channel3
# echo \item_owner_time: $ip\ >> [b][color=#000080]/usr/home/game/channel4/CONFIG[/color][/b] #Channel4
echo "IT'S OK. Now Closing Server and Cleaning Logs."
[b][color=#000080]cd /usr/home/game/ && ./clear.sh[/color][/b]
;;
15)
echo -n " SKILLBOOK_ALWAYS_BOOK  CONFIG "
read ip
echo "All Server Closig Now.."
[b][color=#000080]cd /usr/home/game/ && ./close.sh[/color][/b]
echo \SKILLBOOK_ALWAYS_BOOK: $ip\ >> [b][color=#000080]/usr/home/game/auth_server/CONFIG[/color][/b] #auth
echo \SKILLBOOK_ALWAYS_BOOK: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re1/CONFIG[/color][/b] # channel1 core1
echo \SKILLBOOK_ALWAYS_BOOK: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re2/CONFIG[/color][/b] # channel1 core2
echo \SKILLBOOK_ALWAYS_BOOK: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core1/CONFIG[/color][/b]    # MapServer Core1
echo \SKILLBOOK_ALWAYS_BOOK: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core2/CONFIG[/color][/b] # MapServer Core2
echo \SKILLBOOK_ALWAYS_BOOK: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core3/CONFIG[/color][/b] # MapServer Core3
# echo \SKILLBOOK_ALWAYS_BOOK: $ip\ >> [b][color=#000080]/usr/home/game/channel2/CONFIG[/color][/b] #Channel2
# echo \SKILLBOOK_ALWAYS_BOOK: $ip\ >> [b][color=#000080]/usr/home/game/channel3/CONFIG[/color][/b] #Channel3
# echo \SKILLBOOK_ALWAYS_BOOK: $ip\ >> [b][color=#000080]/usr/home/game/channel4/CONFIG[/color][/b] #Channel4
echo "IT'S OK. Now Closing Server and Cleaning Logs."
[b][color=#000080]cd /usr/home/game/ && ./clear.sh[/color][/b]
;;
16)
echo -n " attr_always_add CONFIG "
read ip
echo "All Server Closig Now.."
[b][color=#000080]cd /usr/home/game/ && ./close.sh[/color][/b]
echo \attr_always_add: $ip\ >> [b][color=#000080]/usr/home/game/auth_server/CONFIG[/color][/b] #auth
echo \attr_always_add: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re1/CONFIG[/color][/b] # channel1 core1
echo \attr_always_add: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re2/CONFIG[/color][/b] # channel1 core2
echo \attr_always_add: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core1/CONFIG[/color][/b]    # MapServer Core1
echo \attr_always_add: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core2/CONFIG[/color][/b] # MapServer Core2
echo \attr_always_add: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core3/CONFIG[/color][/b] # MapServer Core3
# \echo attr_always_add: $ip\ >> [b][color=#000080]/usr/home/game/channel2/CONFIG[/color][/b] #Channel2
# \echo attr_always_add: $ip\ >> [b][color=#000080]/usr/home/game/channel3/CONFIG[/color][/b] #Channel3
# \echo attr_always_add: $ip\ >> [b][color=#000080]/usr/home/game/channel4/CONFIG[/color][/b] #Channel4
echo "IT'S OK. Now Closing Server and Cleaning Logs."
[b][color=#000080]cd /usr/home/game/ && ./clear.sh[/color][/b]
;;
17)
echo -n " attr_change_limit CONFIG "
read ip
echo "All Server Closig Now.."
[b][color=#000080]cd /usr/home/game/ && ./close.sh[/color][/b]
echo \attr_change_limit: $ip\ >> [b][color=#000080]/usr/home/game/auth_server/CONFIG[/color][/b] #auth
echo \attr_change_limit: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re1/CONFIG[/color][/b] # channel1 core1
echo \attr_change_limit: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re2/CONFIG[/color][/b] # channel1 core2
echo \attr_change_limit: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core1/CONFIG[/color][/b]    # MapServer Core1
echo \attr_change_limit: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core2/CONFIG[/color][/b] # MapServer Core2
echo \attr_change_limit: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core3/CONFIG[/color][/b] # MapServer Core3
# echo \attr_change_limit: $ip\ >> [b][color=#000080]/usr/home/game/channel2/CONFIG[/color][/b] #Channel2
# echo \attr_change_limit: $ip\ >> [b][color=#000080]/usr/home/game/channel3/CONFIG[/color][/b] #Channel3
# echo \attr_change_limit: $ip\ >> [b][color=#000080]/usr/home/game/channel4/CONFIG[/color][/b] #Channel4
echo "IT'S OK. Now Closing Server and Cleaning Logs."
[b][color=#000080]cd /usr/home/game/ && ./clear.sh[/color][/b]
;;
18)
echo -n " gold_drop_time_interval CONFIG "
read ip
echo "All Server Closig Now.."
[b][color=#000080]cd /usr/home/game/ && ./close.sh[/color][/b]
echo \gold_drop_time_interval: $ip\ >> [b][color=#000080]/usr/home/game/auth_server/CONFIG[/color][/b] #auth
echo \gold_drop_time_interval: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re1/CONFIG[/color][/b] # channel1 core1
echo \gold_drop_time_interval: $ip\ >> [b][color=#000080]/usr/home/game/first_channel/mehti_channelz_c0re2/CONFIG[/color][/b] # channel1 core2
echo \gold_drop_time_interval: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core1/CONFIG[/color][/b]    # MapServer Core1
echo \gold_drop_time_interval: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core2/CONFIG[/color][/b] # MapServer Core2
echo \gold_drop_time_interval: $ip\ >> [b][color=#000080]/usr/home/game/game_map_server/Mehti_Map_Core3/CONFIG[/color][/b] # MapServer Core3
# echo \gold_drop_time_interval: $ip\ >> [b][color=#000080]/usr/home/game/channel2/CONFIG[/color][/b] #Channel2
# echo \gold_drop_time_interval: $ip\ >> [b][color=#000080]/usr/home/game/channel3/CONFIG[/color][/b] #Channel3
# echo \gold_drop_time_interval: $ip\ >> [b][color=#000080]/usr/home/game/channel4/CONFIG[/color][/b] #Channel4
echo "IT'S OK. Now Closing Server and Cleaning Logs."
[b][color=#000080]cd /usr/home/game/ && ./clear.sh[/color][/b]
;;
*)
echo "You have selected and incorrent option"
esac
Tot ce este ingrosat si colorat trebuie modificat cu locatiile pe care le aveti.


Script-ul nu e facut de mine, deci nu raspund de eventualele stricaciuni.
Acest script este recomandat pentru Vanilla Core.
Ultima oară modificat 08 Mar 2021, 13:31 de către Ionutud, modificat 1 dată în total.
Motiv: Aranjare topic
Avatar utilizator
AlexTzutzu
Nivel 10

Nivel 10
Mesaje: 2345
Membru din: 12 Feb 2014, 13:59
Server: Am RENUNTAT
Regat: Jinno
Aprecieri: 18  
Mulţumiri: 91  
 Contact:
Medalii

Mutat in Altele.
Imagine


The quieter you become,the more you are able to hear.
Afișează semnătura
Răspunde
Răspunsuri
11
Vizualizări
2358
Răspunsuri
0
Vizualizări
578
Răspunsuri
9
Vizualizări
1566

Înapoi la “Altele”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 1 vizitator