概述
Spython 插件允许你在 Spigot 和 PaperMC 服务器上运行 Python 脚本。
开发说明:
请注意,Spython 正在积极开发中,以增强其功能并解决任何现有的不完善之处。虽然该插件已经可以正常运行,但可能并不完美。感谢你的理解,我们欢迎在不断完善 Spython 的过程中提供反馈。
使用方法
命令
- /executepython scriptpath:在服务器上执行 Python 脚本。
- 权限:spython.executepython
- Tab 补全器将列出所有不在 "libs" 文件夹中的 Python 脚本
安装
- 独立使用
- 从发布页面下载最新版本的 Spython.jar 文件。
- 将其放入 Spigot 服务器的 plugins 文件夹中。
- 启动或重启你的 Spigot 服务器。
- 将 Spython 用作依赖项
- 添加额外的库
- 使用数据桥接
在独立模式下运行 Python 脚本
- 将你的 Python 脚本放在 Spigot 插件所在的服务器目录中。
- 在游戏中,执行 /executepython 命令来运行 Python 脚本。
注意事项
该插件目前的性能表现不佳。我们会尽力修复这个问题。
许可证
本项目采用 MIT 许可证进行授权——详细信息请参阅 LICENSE 文件。MIT 许可证是一种宽松的开源许可证,允许灵活地使用和共享代码。
支持与问题反馈:
如需支持或报告问题,请访问 Spython GitHub 仓库 并创建一个新的 issue。
贡献
欢迎对本项目做出贡献!欢迎加入讨论、提出想法、贡献代码或建议改进。请遵循既定的 贡献指南 以确保顺利协作。
Overview
The Spython plugin allows you to run Python scripts on Spigot and PaperMC Servers
Development Note:
Please be aware that Spython is actively being developed to enhance its features and address any existing imperfections. While the plugin is functional, it may not be considered flawless. We appreciate your understanding and welcome feedback as we work to make Spython even better.
Usage
Commands
- /executepython scriptpath: Executes a Python script on the server.
- Permission: spython.executepython
- The Tab Completer will list all python scripts that are not in a "libs" folder
Installation
- Standalone Usage
- Download the latest version of the Spython.jar file from the releases page.
- Place it in the plugins folder of your Spigot server.
- Start or restart your Spigot server.
- Using Spython as a Dependency
- Adding additional libaries
- Using the Data Bridge
Running Python Scripts in standalone usage
- Place your Python scripts in the server's directory where the Spigot plugins are located.
- In-game, execute the /executepython command to run a Python script.
Notes
This plugin is currently not very performant. We'll do our best to fix this.
License
This project is licensed under the MIT License - see the LICENSE file for details. The MIT License is a permissive open-source license that allows for flexibility in how the code can be used and shared.
Support and Issues:
For support or reporting issues, please visit the Spython GitHub repository and open a new issue.
Contributing
Contributions to the project are welcome! Feel free to join the discussion, propose ideas, contribute code, or suggest improvements. Please follow the established contribution guidelines for a smooth collaboration process.
评论 0
登录后参与评分
还没有评论,来抢沙发吧