EndstoneMC / endstone

Endstone - High-level Plugin API for Modding Bedrock Dedicated Servers (BDS), in both Python and C++.
http://endstone.dev/
Apache License 2.0
122 stars 9 forks source link

Better plugins... [feature] #20

Open cheditx opened 3 weeks ago

cheditx commented 3 weeks ago

As a python developer, i don't really like the plugin creation on this software, whats the sense of making pyproject.toml files, useless subdirectory etc...

Maybe something like this would be great!

image

wu-vincent commented 3 weeks ago

As a Python developer, you should probably know that creating plugins using pyproject.toml and entrypoints is the recommended method. That's the standard way that many other projects like flask, pytest, flake8 adopted. You will see all projects using this method here: https://github.com/search?q=project.entry-points.&type=code

I understand that it may seem a bit verbose, but it's just a one-time setup. Once you have it set up, you're good to go.