Skip to content

feat: add support for allay platform#1

Open
smartcmd wants to merge 23 commits intolucko:mainfrom
AllayMC:feat/allay-platform
Open

feat: add support for allay platform#1
smartcmd wants to merge 23 commits intolucko:mainfrom
AllayMC:feat/allay-platform

Conversation

@smartcmd
Copy link

@smartcmd smartcmd commented Oct 20, 2024

Hi! This PR adds support for allay platform

Allay is a third-party server software for Minecraft: Bedrock Edition written in Java with the goal of maintaining high scalability while maintaining high performance through a well-designed architecture. Some of our users have been using our implementation for a while! However, we think having an official build would be better.

It would be nice to also update the spark docs, maybe I can open another PR to update docs. Thanks!

@smartcmd
Copy link
Author

Is there anything I need to do? Or can this pr be merged? c:

@IWareQ
Copy link

IWareQ commented Feb 20, 2025

When this PR is reviewed, I will roll back this change.

IWareQ and others added 16 commits April 4, 2025 15:41
- Update allay-api dependency from 0.17.0-SNAPSHOT to 0.17.0
- Refactor AllayCommandSender to use new API methods:
* Replace instanceof check with isPlayer() and asPlayer() methods
* Update UUID retrieval to use player controller
* Change permission checking to use string-based hasPermission() with asBoolean()
* Remove unused Permission import
- Update AllaySparkCommand to use string-based permission format:
* Replace Permission.createForCommand() with direct permission string "spark.command.spark"
* Remove unused Permission import
- Fix AllaySparkPlugin getCommandSenders() to properly handle player entities:
* Map players to controlled entities
* Filter out null entities
- Adapt to breaking changes in allay-api 0.17.0 release
- Remove deprecated Permission class usage, use permission strings directly

- Fix CommandSender type compatibility in getCommandSenders()

- Update permission checking to use Tristate.asBoolean()

- Simplify UUID retrieval using player.getUniqueId()

- Change permission from 'spark.command.spark' to 'spark.command'
feat(allay): adapt allay-api 0.17.0 release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants