- Timestamp:
- Feb 16, 2016, 8:41:19 PM (9 years ago)
- Location:
- scripts
- Files:
-
- 1 added
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/etc/7dtd.conf
r257 r258 1 1 #!/bin/sh 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Root of the 7dtd folders, containing e.g. the "engine", "instances" folders -
scripts/etc/init.d/7dtd.sh
r23 r258 12 12 # Description: Starts a 7 Days to Die server 13 13 ### END INIT INFO 14 15 # Copyright 2016 Christian 'Alloc' Illy 16 # 17 # Licensed under the Apache License, Version 2.0 (the "License"); 18 # you may not use this file except in compliance with the License. 19 # You may obtain a copy of the License at 20 # 21 # http://www.apache.org/licenses/LICENSE-2.0 22 # 23 # Unless required by applicable law or agreed to in writing, software 24 # distributed under the License is distributed on an "AS IS" BASIS, 25 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 26 # See the License for the specific language governing permissions and 27 # limitations under the License. 28 14 29 15 30 case "$1" in -
scripts/usr/local/bin/7dtd.sh
r23 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 . /usr/local/lib/7dtd/common.sh -
scripts/usr/local/lib/7dtd/commands/about.sh
r48 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 sdtdCommandAbout() { -
scripts/usr/local/lib/7dtd/commands/backup.sh
r67 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Backups game data files. -
scripts/usr/local/lib/7dtd/commands/instances.sh
r248 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 -
scripts/usr/local/lib/7dtd/commands/start.sh
r240 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Tries to start the 7dtd instance. -
scripts/usr/local/lib/7dtd/commands/status.sh
r248 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 17 2 18 3 19 # Print status of given instance. -
scripts/usr/local/lib/7dtd/commands/stop.sh
r248 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Tries to stop the 7dtd instance given as first parameter. -
scripts/usr/local/lib/7dtd/commands/updateengine.sh
r257 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Downloads SteamCMD, downloads/updates the 7dtd engine -
scripts/usr/local/lib/7dtd/commands/updatefixes.sh
r255 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Checks for newer server fixes version and downloads them -
scripts/usr/local/lib/7dtd/commands/updatescripts.sh
r248 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Checks for newer scripts version and downloads them -
scripts/usr/local/lib/7dtd/common.sh
r88 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Provides common functions for 7dtd-scripts. Not intended to be run directly. -
scripts/usr/local/lib/7dtd/help.sh
r23 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 genericHelp() { -
scripts/usr/local/lib/7dtd/monitor-log.sh
r240 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 . /usr/local/lib/7dtd/common.sh -
scripts/usr/local/lib/7dtd/playerlog.sh
r217 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 PLAYERSXML=$(getInstancePath $1)/players.xml -
scripts/usr/local/lib/7dtd/serverconfig.sh
r241 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Provides functions to query and validate values for serverconfig.xml
Note:
See TracChangeset
for help on using the changeset viewer.