Giter VIP home page Giter VIP logo

game-server's Introduction

Game-Server

##koolshare小宝 宝大开发的游戏系列服务器(SS),支持udp in udp和udp in tcp模式,完美支持游戏NAT2。

脚本是业余爱好,英文属于文盲,写的不好,不要笑话我,欢迎您批评指正。 安装平台:CentOS、Debian、Ubuntu。 Server

Install

wget --no-check-certificate https://github.com/clangcn/game-server/raw/master/install-game-server.sh -O ./install-game-server.sh
chmod 500 ./install-game-server.sh
./install-game-server.sh install

UnInstall

./install-game-server.sh uninstall

Update

./install-game-server.sh update

服务器管理

Usage: /etc/init.d/game-server {start|stop|restart|status}

多用户配置文件范例

按照下面格式修改默认的/usr/local/game-server/config.json文件:

{
    "server":"0.0.0.0",
    "local_port":1080,
    "timeout": 600,
    "method":"chacha20",
    "port_password":
    {
        "端口1": "密码1",
        "端口2": "密码2",
        "端口3": "密码3",
        "端口4": "密码4",
        "端口5": "密码5"
    },
    "_comment":
    {
        "端口1": "端口描述1",
        "端口2": "端口描述2",
        "端口3": "端口描述3",
        "端口4": "端口描述4",
        "端口5": "端口描述5"
    }
}

game-server's People

Contributors

clangcn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.