[NF] Create Senml Messages for Linksmart
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -15,17 +15,17 @@ do
|
||||
|
||||
if [[ -z $servers ]];
|
||||
then
|
||||
echo "Hut-Botr not Running!"
|
||||
echo "Zway-Bot not Running!"
|
||||
echo ""
|
||||
echo "1) Start Hut-Bot"
|
||||
echo "1) Start Zway-Bot"
|
||||
|
||||
else
|
||||
echo "Hut-Bot is Running :)"
|
||||
echo "Zway-Bot is Running :)"
|
||||
echo ""
|
||||
echo "2) Stop Hut-Bot"
|
||||
echo "3) Restart Hut-Bot"
|
||||
echo "2) Stop Zway-Bot"
|
||||
echo "3) Restart Zway-Bot"
|
||||
echo "4) Attach to Servers Screen-Session"
|
||||
echo "5) Put Command to Hut-Bot"
|
||||
echo "5) Put Command to Zway-Bot"
|
||||
fi
|
||||
|
||||
echo "q) Quit"
|
||||
@@ -39,19 +39,19 @@ do
|
||||
1) #Start Server
|
||||
if [[ -z $servers ]];
|
||||
then
|
||||
echo "Starting Hut-Bot..."
|
||||
echo "Starting Zway-Bot..."
|
||||
./start.sh
|
||||
else
|
||||
echo "Hut-Bot Allready started!"
|
||||
echo "Zway-Bot Allready started!"
|
||||
fi
|
||||
;;
|
||||
|
||||
2) #Stop Server
|
||||
if [[ -z $servers ]];
|
||||
then
|
||||
echo "Hut-Bot is not Running!"
|
||||
echo "Zway-Bot is not Running!"
|
||||
else
|
||||
echo "Stopping Hut-Bot..."
|
||||
echo "Stopping Zway-Bot..."
|
||||
./stop.sh
|
||||
fi
|
||||
;;
|
||||
@@ -59,9 +59,9 @@ do
|
||||
3) #Restart Server
|
||||
if [[ -z $servers ]];
|
||||
then
|
||||
echo "Hut-Bot is not Running!"
|
||||
echo "Zway-Bot is not Running!"
|
||||
else
|
||||
echo "Restarting Hut-Bot..."
|
||||
echo "Restarting Zway-Bot..."
|
||||
./restart.sh
|
||||
fi
|
||||
;;
|
||||
@@ -69,7 +69,7 @@ do
|
||||
4) #Attach to Screen
|
||||
if [[ -z $servers ]];
|
||||
then
|
||||
echo "Hut-Bot is not Running!"
|
||||
echo "Zway-Bot is not Running!"
|
||||
else
|
||||
./join.sh
|
||||
fi
|
||||
@@ -78,9 +78,9 @@ do
|
||||
5) #Put Command to Server
|
||||
if [[ -z $servers ]];
|
||||
then
|
||||
echo "Hut-Bot is not Running!"
|
||||
echo "Zway-Bot is not Running!"
|
||||
else
|
||||
read -p "Please enter Hut-Bot-Command: " mc_cmd
|
||||
read -p "Please enter Zway-Bot-Command: " mc_cmd
|
||||
./stuff.sh "$mc_cmd"
|
||||
fi
|
||||
;;
|
||||
|
||||
@@ -14,10 +14,10 @@ control_root="$mc_root/control"
|
||||
|
||||
|
||||
# MC-Server-Jar (will be executed in mc_root)
|
||||
mc_jar="$mc_root/Hue-Zway.exe"
|
||||
mc_jar="$mc_root/Zway-Bot.exe"
|
||||
|
||||
# MC-Server Start-Command
|
||||
mc_cmd="mono $mc_jar"
|
||||
|
||||
# Screen
|
||||
screen_name="Hue-Zway"
|
||||
screen_name="Zway-Bot"
|
||||
Binary file not shown.
+15
-15
@@ -15,17 +15,17 @@ do
|
||||
|
||||
if [[ -z $servers ]];
|
||||
then
|
||||
echo "Hut-Botr not Running!"
|
||||
echo "Zway-Bot not Running!"
|
||||
echo ""
|
||||
echo "1) Start Hut-Bot"
|
||||
echo "1) Start Zway-Bot"
|
||||
|
||||
else
|
||||
echo "Hut-Bot is Running :)"
|
||||
echo "Zway-Bot is Running :)"
|
||||
echo ""
|
||||
echo "2) Stop Hut-Bot"
|
||||
echo "3) Restart Hut-Bot"
|
||||
echo "2) Stop Zway-Bot"
|
||||
echo "3) Restart Zway-Bot"
|
||||
echo "4) Attach to Servers Screen-Session"
|
||||
echo "5) Put Command to Hut-Bot"
|
||||
echo "5) Put Command to Zway-Bot"
|
||||
fi
|
||||
|
||||
echo "q) Quit"
|
||||
@@ -39,19 +39,19 @@ do
|
||||
1) #Start Server
|
||||
if [[ -z $servers ]];
|
||||
then
|
||||
echo "Starting Hut-Bot..."
|
||||
echo "Starting Zway-Bot..."
|
||||
./start.sh
|
||||
else
|
||||
echo "Hut-Bot Allready started!"
|
||||
echo "Zway-Bot Allready started!"
|
||||
fi
|
||||
;;
|
||||
|
||||
2) #Stop Server
|
||||
if [[ -z $servers ]];
|
||||
then
|
||||
echo "Hut-Bot is not Running!"
|
||||
echo "Zway-Bot is not Running!"
|
||||
else
|
||||
echo "Stopping Hut-Bot..."
|
||||
echo "Stopping Zway-Bot..."
|
||||
./stop.sh
|
||||
fi
|
||||
;;
|
||||
@@ -59,9 +59,9 @@ do
|
||||
3) #Restart Server
|
||||
if [[ -z $servers ]];
|
||||
then
|
||||
echo "Hut-Bot is not Running!"
|
||||
echo "Zway-Bot is not Running!"
|
||||
else
|
||||
echo "Restarting Hut-Bot..."
|
||||
echo "Restarting Zway-Bot..."
|
||||
./restart.sh
|
||||
fi
|
||||
;;
|
||||
@@ -69,7 +69,7 @@ do
|
||||
4) #Attach to Screen
|
||||
if [[ -z $servers ]];
|
||||
then
|
||||
echo "Hut-Bot is not Running!"
|
||||
echo "Zway-Bot is not Running!"
|
||||
else
|
||||
./join.sh
|
||||
fi
|
||||
@@ -78,9 +78,9 @@ do
|
||||
5) #Put Command to Server
|
||||
if [[ -z $servers ]];
|
||||
then
|
||||
echo "Hut-Bot is not Running!"
|
||||
echo "Zway-Bot is not Running!"
|
||||
else
|
||||
read -p "Please enter Hut-Bot-Command: " mc_cmd
|
||||
read -p "Please enter Zway-Bot-Command: " mc_cmd
|
||||
./stuff.sh "$mc_cmd"
|
||||
fi
|
||||
;;
|
||||
|
||||
@@ -14,10 +14,10 @@ control_root="$mc_root/control"
|
||||
|
||||
|
||||
# MC-Server-Jar (will be executed in mc_root)
|
||||
mc_jar="$mc_root/Hue-Zway.exe"
|
||||
mc_jar="$mc_root/Zway-Bot.exe"
|
||||
|
||||
# MC-Server Start-Command
|
||||
mc_cmd="mono $mc_jar"
|
||||
|
||||
# Screen
|
||||
screen_name="Hue-Zway"
|
||||
screen_name="Zway-Bot"
|
||||
Reference in New Issue
Block a user