Before starting please take a look at project tasks and the wiki.
- Ensure the bug is caused by or related to the Bending plugin
- Check whether someone has already reported it
- Create a report in issues
Please provide any information necessary to recreate the bug you are experiencing.
You can create suggestions in issues.
Please fork this repository and contribute back using pull requests.
- Follow java naming conventions
- Use a mixture of FP (recommended where possible as it makes code more concise and readable) and classic OOP as appropriate
- If in doubt, try to emulate the surrounding code's style
The project is split into the following modules:
api
- Developer api modulecommon
- Common code module shared between implementationsnms
- Common nms code modulefabric
- Fabric implementationpaper
- Paper implementation, also has adapter submodules to support different nms versionssponge
- Sponge implementation
Top level package: me.moros.bending.api
ability
- Contains ability related classes and interfacesadapter
- Contains packet and NMS code adaptersaddon
- Contains the interface for addonscollision
- Collision and geometry related classes and interfacesconfig
- Contains config related classes and interfacesevent
- Contains bending provided eventsgame
- Contains the main bending systemsgui
- Contains gui related interfaceslocale
- Contains locale related classes and interfacesplatform
- Contains the common platform apiprotection
- Contains classes and interfaces for region protectionregistry
- Contains classes and interfaces for registriesstorage
- Contains the database storage modeltemporal
- Contains temporal systemsuser
- Contains user related classes and interfacesutil
- Contains utility classes
Top level package: me.moros.bending.common
ability
- Contains ability implementationscommand
- Contains plugin commandsgame
- Contains base systems for the main logic of the gamehook
- Contains hooks that provide data to third-party pluginsplaceholder
- Contains placeholders provided by bendingstorage
- Contains sql queries and persistent storage implementations