summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/modules/scriptutils/Scriptutils.cmd
blob: e4e7ac1aaae81c8892e036383b1a65d3530b0586 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
command script_restart {
    [string:timeout] [string:name] [string:reason] {
        help Prints bukkit restart message;
        type console;
        run script_restart timeout name reason;
    }
}
command script_stop {
    [string:timeout] [string:name] [string:reason] {
        help Prints bukkit shut down message;
        type console;
        run script_stop timeout name reason;
    }
}
command script_restart_abort {
    [empty] {
        help Prints the restart abort message;
        type console;
        run script_restart_abort;
    }
}
command script_stop_abort {
    [empty] {
        help Prints the shut down abort message;
        type console;
        run script_stop_abort;
    }
}
command script_backup_begin {
    [empty] {
        help Prints the backup started message, saves all worlds and turns off world saving;
        type console;
        run script_backup_begin;
    }
}
command script_backup_end {
    [empty] {
        help Prints the backup finished message and turns on world saving;
        type console;
        run script_backup_end;
    }
}
command script_backup_error {
    [empty] {
        help Prints the backup error message and turns on world saving;
        type console;
        run script_backup_error;
    }
}
command script_backup_database_begin {
    [empty] {
        help Prints the database backup started message and admin-chat warning;
        type console;
        run script_backup_database_begin;
    }
}
command script_backup_database_dumps {
    [empty] {
        help Prints the database dumps cmpression started message;
        type console;
        run script_backup_database_dumps;
    }
}
command script_backup_database_end {
    [string:size] {
        help Prints the database finished message and backup size in admin-chat;
        type console;
        run script_backup_database_end size;
    }
}
command script_backup_database_error {
    [empty] {
        help Prints the database backup error message;
        type console;
        run script_backup_database_error;
    }
}
command script_backup_database_abort {
    [empty] {
        help Prints the database backup abort message;
        type console;
        run script_backup_database_abort;
    }
}
command script_shutdown {
    [string:reason] {
        help Saves all worlds, kicks players and shuts down the server;
        type console;
        run script_shutdown reason;
    }
}