Southclaws / sampctl

The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer.
GNU General Public License v3.0
243 stars 34 forks source link

`package run --container` still expects a samp.json #195

Closed Southclaws closed 6 years ago

Southclaws commented 6 years ago

Container code should be updated for local and the new pcx format.

ADRFranklin commented 6 years ago

I hope this is fixed soon, would be nice have another reason to use docker to run sa-mp servers.

I am forced to do it manually, which breaks the chain of automated git deployment.

Southclaws commented 6 years ago

This feature is only for development, it's not considered stable so don't use it in production.

For production, copy the TradeWars deployment - simply build a docker image from the sampctl image that includes your server files: https://github.com/TradeWars/gamemode/blob/master/Dockerfile and if you want to deploy everything at once as well as automate image updates, check out the TradeWars CI setup: https://github.com/TradeWars/deployment

PixellUp commented 6 years ago

sampctl package install ... also expect pawn.json/pawn.yaml while sampctl server init generates samp.json. Using latest version 1.8.21

Southclaws commented 6 years ago

server doesn't read samp.json and it's deprecated. Use package and pawn.json.