Skip to content

Add service uuid to LuckPerms context#1628

Merged
derklaro merged 2 commits intoCloudNetService:nightlyfrom
fsqrt-org:nightly
May 21, 2025
Merged

Add service uuid to LuckPerms context#1628
derklaro merged 2 commits intoCloudNetService:nightlyfrom
fsqrt-org:nightly

Conversation

@eazypaulCode
Copy link
Contributor

Motivation

Add the uuid from the service as a LuckPerms context

Modification

So you have an unique way to identify a service with LuckPerms (for example for private rounds)

Result

The service-uuid-property was added to the context

Other context

Fixes #

@derklaro derklaro added v: 4.X This pull should be included in the 4.0 release t: improvement The pull request improves existing code in: plugin An issue/pull request releated to one of the internal plugins labels May 21, 2025
@derklaro
Copy link
Member

Build failure is unrelated

@derklaro derklaro added this to the 4.0.0-RC12 milestone May 21, 2025
@derklaro derklaro merged commit f63eba2 into CloudNetService:nightly May 21, 2025
3 of 4 checks passed
@derklaro
Copy link
Member

@eazypaulCode thanks!

GiantTreeLP pushed a commit to GiantTreeLP/CloudNet that referenced this pull request Jun 7, 2025
### Motivation
The current service uuid is not available to LuckPerms when calculating
permissions. However, it can be useful, e.g. on to integrate with private
server systems.

### Modification
Add the uuid of the current service to the LuckPerms context.

### Result
The `service-uuid`-property is available to the LuckPerms context
when calculating permissions.

Co-authored-by: maxbossing <info@maxbossing.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: plugin An issue/pull request releated to one of the internal plugins t: improvement The pull request improves existing code v: 4.X This pull should be included in the 4.0 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants