本帖最后由 ishland 于 2018-7-6 12:29 编辑
SelectorServer -- BC腐竹的福音
低内存消耗,NodeJS编写
零、关于开源
当前软件开源地址:https://github.com/gutty-club/SelectorServer
使用GPL-3.0(GNU General Public License v3.0)开源
一、关于软件
README原文:
Selector Server A very light-weight server selection server software working under BungeeCord.
AuthorThis is a continuation version, the original author is DragonMC. How Light-Weight?It: - have NO server ticks: NO more CPU eatting
- NO map caching: even blank chunks do cost RAM usage in Spigot/Bukkit servers
- LESS networking: won't process packets except for joining and inventory packets
- configure only ONCE: just edit BungeeCord settings and reload BungeeCord
Standby RAM usage around 60MB, almost no CPU usage. It can also fight against some join bots! InstallationTo use it, install NodeJS and run: - cd path/to/this/repo
- npm install minecraft-protocol type-detect silly-datetime
- node server.js
复制代码 |
Selector Server一个运行在BungeeCord下的轻量级服务器切换端。
如何做到轻量级?
它: - 没有游戏刻:不消耗太多CPU
- 没有地图:即使Bukkit/Spigot在空白区块也能消耗内存
- 内存占用少:不会处理除加入和物品栏的包
- 只需配置一次: 就只要更改BungeeCord设置,然后重启BungeeCord
内存占用在60左右, 几乎没有CPU占用. 它也可以和一些压测工具对抗!
安装&使用
想要使用它, 安装NodeJS然后运行: - cd path/to/this/repo
- npm install minecraft-protocol type-detect silly-datetime
- node server.js
复制代码
|