Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Releases [Tool] MV_Autodeploy - Use git to your advantage to auto-update your sa-mp server

 
  • 0 Vote(s) - 0 Average
Tool MV_Autodeploy - Use git to your advantage to auto-update your sa-mp server
[email protected]
Offline

Burgershot Member
Posts: 17
Threads: 2
Joined: Apr 2019
Reputation: 2
#1
2019-04-16, 02:26 PM
Information

So this is a mix of files/release that will make your developing easier (well, in my opinion). By doing one git command your server will update automaticly on your vps/dedicated server. 
Just the fact that you don't need to upload new .amx every time and need to edit your /updates command ... or like people saying "what's new?" 

This is all not needed anymore!

It works like this; you push your update to your remote, bitbucket will send info to your vps saying the script is updated, your vps will update the gamemode files, your database will get updated and later your server will check if there's a new commit hash than before. If yes, the samp server will automaticly update/restart

Functions

Code:
OnServerUpdateDetected(id, hash[], shorthash[], message[])
OnUpcomingUpdateDetected(updateid, hash[], shorthash[], message[])
OnServerIssueCreated(issueid, title[], priority[], kind[])
OnServerIssueStatusChange(issueid, title[], oldstatus[], newstatus[])
OnServerTagCreated(updateid, linkedtohash[], tagname[])

MV_AutoDeployInit(MySQL:sqlCon)
MV_AutoDeployExit()
MV_GetServerVersion()

Installation

Code on github

[Image: 68747470733a2f2f7075752e73682f774b3873752e6a7067]

Copied from original samp forums
[Image: GitHub-michaelbelgium-000000.svg?style=for-the-badge]
Screw
Offline

Burgershot Member
Posts: 17
Threads: 2
Joined: Apr 2019
Reputation: 0
Location: Venezuela
#2
2019-04-19, 08:46 PM
Nice! i'll try it
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode