Origami
Origami 允许你在服务器或代理中运行其他 jar 文件,从而让你能够在代理服务器上运行大厅服务器,而无需购买单独的托管服务。
请注意,使用 Origami 添加的任何运行中的服务器都将与主服务器共享资源——但对于 Velocity 这类应用而言,你未必需要占用所有资源,因此你可以将闲置资源用于低负载的服务器(例如小型大厅)。
如需支持,请加入 Starshooter Discord 服务器。
安装:
下载 Origami jar 文件并将其添加到服务器的 plugins 文件夹中。当你启动服务器时,插件文件夹内会自动生成 Origami 文件夹。
故障排除:
如果 Origami 无法加载或无法运行 jar 文件,你的服务器主机可能禁止插件执行终端命令。目前除了更换主机外没有其他解决方法,但未来可能会有修复方案。
如果你遇到其他问题,请加入 Starshooter Discord 服务器,并在 bug reports 频道寻求帮助。
设置:
要在服务器内创建并运行一个程序,请在 plugins/Origami/programs/ 文件夹内新建一个文件夹(例如 Lobby),并将你要运行的 jar 文件放入其中。
目前请将 jar 文件命名为 executable.jar,后续可以更改。请先启动服务器,让相关文件自动生成。
配置:
在启动服务器后,会在 plugins/Origami/programs/[你的程序名称] 文件夹中生成 origami.yml 文件。你可以使用该文件更改程序的 various 功能。
在该文件中,你可以切换以下选项:
- 拥有
origami.command 权限的玩家是否能够运行 /origami [程序名称] command [命令] 来对程序执行命令
- 是否应在服务器控制台中显示程序的输出内容(与主控制台输出并列)
- jar 文件的启动参数(如果你正在运行 Minecraft 服务器,可以在这里添加 Aikar 的标志等)
- 要使用的 jar 文件名
- 服务器的停止命令 —— “NONE” 表示直接终止进程(对于 Minecraft 服务器,建议将其设置为 'stop')
如果遇到任何问题,请在 GitHub 页面 创建 Issue,或在我的 Discord 上联系我,用户名为 cometcake575。
捐赠
Origami
Origami lets you run other jar files inside of your server or proxy, letting you do things like running a lobby inside your proxy server, instead of buying separate hosts.
Note that any running servers you add using Origami will share resources with the parent server - But you may not always need all resources for something like Velocity, allowing you to use spare resources for low-intensity servers like a small lobby.
For support join the Starshooter discord server.
Installation:
Download and add the Origami jar file to the plugins folder on your server, and the Origami folder will be generated inside the plugins folder when you load the server.
Troubleshooting:
If Origami fails to load or to run jar files, your server host may block plugins from running terminal commands. There isn't currently any sort of workaround for this other than switching host, though there may be a fix in the future.
If you have any other issues please join the Starshooter discord server and ask for help in the bug reports channel.
Setup:
To create a program to run within a server, create a new folder e.g. Lobby inside of the plugins/Origami/programs/ folder, and place the jar file you want to run in there.
You should name the jar file executable.jar for now, but this can be changed later. For now, boot up the server and let the files generate.
Configuration:
The origami.yml file, generated inside of the plugins/Origami/programs/[name of your program] folder upon running the server, can be used to change various features of the program.
In this file, you can toggle:
- If players with the permission
origami.command should be able to run the command /origami [name of program] command [command] to run commands on the program
- If the program's output should be displayed in the server console alongside the main console output
- Startup arguments for the jar (here you can do things like add Aikar's flags if you are running a Minecraft server)
- The name of the jar file to use
- The stop command for the server - "NONE" simply kills the server (for Minecraft servers it is recommended you set this to 'stop')
If you experience any issues create an issue on the github page, or message me on my discord, cometcake575
Donate
评论 0
登录后参与评分
还没有评论,来抢沙发吧