Akkarin Posted November 8, 2021 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1630 Joined: 03/26/12 Last Seen: April 15 Share Posted November 8, 2021 View File Patcher Output Please note that this will only work if your patch files are controlled via Github. If you don't know how to use Git, you should either learn or delete these files. Instructions: 1. Copy the file 'patcher_output.txt' to your npc/ directory and add the 'npc:' inclusion line to whichever .conf file you prefer (usually npc/scripts_custom.conf) 2. Go to your server's Github repository and create a new 'Action'. Copy the content from update.yml and commit. Remember to create the following Repository Secrets: SERVER_IP SERVER_USERNAME SERVER_PASSWORD LOCATION_PATCHER MYSQL_HOST MYSQL_USERNAME MYSQL_PASSWORD MYSQL_DATABASE 3. Add the following to your conf/channels.conf file: , { name: "#syslog" alias: "[SystemLog]" color: "Orange" type: "CHAN_TYPE_PUBLIC" delay: 1000 autojoin: true chat: false leave: false self_notif: false } 4. When you commit a new patch file to your patch server's repo and push the changes to Github, you will trigger the action and it will create a message in the syslog channel in-game once the action has completed. Access to your server's SQL DB is required, and this script uses SSH to run the update script. I suggest creating a special SSH user that can only access your patchers web directory. This package is provided as-is and no direct support will be available. Submitter Akkarin Submitted 11/08/2021 Category Other Web/CP Scripts Video Content Author Akkarin Link to comment Share on other sites More sharing options...
Recommended Posts