Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BungeeCord #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions init/msm
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,7 @@ server_stop_now() {

echo -n "Stopping the server... "

server_eval "$1" "stop"
server_eval "$1" STOP
STOP_COUNTDOWN[$1]="false"
RESTART_COUNTDOWN[$1]="false"
server_wait_for_stop "$1"
Expand Down Expand Up @@ -1850,7 +1850,7 @@ manager_stop_all_servers() {
if server_is_running "$server"; then
stop_tick="$(( ${max_countdown} - ${SERVER_STOP_DELAY[$server]} ))"
if [[ "$stop_tick" == "$tick" ]]; then
server_eval "$server" "stop"
server_eval "$server" STOP
STOP_COUNTDOWN[$server]="false"
fi
fi
Expand Down Expand Up @@ -1893,7 +1893,7 @@ manager_stop_all_servers_now() {
was_running[$server]="true"
any_running="true"
echo "Server \"${SERVER_NAME[$server]}\" was running, now stopping."
server_eval "$server" "stop"
server_eval "$server" STOP
else
echo "Server \"${SERVER_NAME[$server]}\" was NOT running."
was_running[$server]="false"
Expand Down Expand Up @@ -1984,7 +1984,7 @@ command_start() {

# Stops all servers after a delay
command_stop() {
manager_stop_all_servers "stop"
manager_stop_all_servers STOP
}

# Stops all servers without delay
Expand Down
10 changes: 10 additions & 0 deletions versioning/bungeecord/1.0.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# MSM version file for BungeeCord 1.0 and above

console_command STOP "end" \
"Proxy Stopped."

console_command CONNECTED "glist" \
"([^\ ]*)?(, [^\ ]+)*$" \
"$"

console_command SAY "alert <message>"
4 changes: 3 additions & 1 deletion versioning/minecraft/1.2.0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

console_event START:30 "Done"

console_command STOP "stop"

console_command WHITELIST_ON "whitelist on"
console_command WHITELIST_OFF "whitelist off"
console_command WHITELIST_ADD "whitelist add <player>"
Expand Down Expand Up @@ -53,4 +55,4 @@ console_command SAVE_ON "save-on" \
console_command SAVE_OFF "save-off" \
"CONSOLE: Disabling level saving.."
console_command SAVE_ALL:10 "save-all" \
"CONSOLE: Save complete."
"CONSOLE: Save complete."
5 changes: 4 additions & 1 deletion versioning/versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ minecraft/1.3.0

# CraftBukkit versions
craftbukkit/1.2.0
craftbukkit/1.3.0
craftbukkit/1.3.0

# BungeeCord versions
bungeecord/1.0