Skip to content
This repository was archived by the owner on Jun 7, 2022. It is now read-only.

Added Line 90 #324

Open
wants to merge 13 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
name: "\U0001F41E Bug report"
about: Create an issue which describes a bug in CloudNet
title: ''
labels: bug
assignees: ''

---

**Description of the bug:**

<!-- A clear and concise description of what the bug is. Summarize the bug with a few words or sentences. -->


**Steps to reproduce this bug:**

<!-- Here is an example for how this could look like. The important thing is that you are describing the steps as specific as possible! -->
<!--

Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error


Steps to reproduce the exception:
1. Declare object '....'
2. Call method '#foo(int)'
3. See exception

-->


**Expected behavior:**

<!-- A clear and concise description of what you expected to happen. -->


**Screenshots:**

<!-- If applicable, add screenshots to help explain your problem. -->


**Environment and used hardware:**

<!-- Example:
- System specifications: Technical information about your hardware [e.g. CPU = Intel i5 7th Gen etc.]
- OS: On which operating system did the bug occur? [e.g. Linux, OS X, Windows]
- Version: Which release and build version did you run/use? [e.g. CloudNet 3.3]

------ Copy-paste ------
System specifications:
OS:
Version:
-->


**Additional context (optional):**

<!-- Add any other important information about the problem here. -->
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: "\U0001F4A1 Feature request"
about: Create an issue describing a feature you want to see in CloudNet
title: ''
labels: enhancement
assignees: ''

---

**Description of the new feature:**

<!--
A clear and concise description why you would like to see that
feature in CloudNet. Is it related to a problem? If so please give
use some context what the problem is.
-->

**Reasons for inclusion into the CloudNet code base:**

<!--
Why does this feature need to be included into CloudNet?
Why can this feature not be implemented using a module or plugin?
-->

**Planned audience:**

<!-- Who will be the main user of this new feature? (e.g. developers, server administrators, players etc) -->

**Preview of code and documentation:**

<!--
Please add planning documents, UML diagrams, mock-up code or any other development documents to this feature request.
These documents are allowed to contradict themselves, if they explain different ideas for implementation.
-->

**Additional context:**

<!-- Add any other context or screenshots about this feature request here. -->
21 changes: 21 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!-- PLEASE ENSURE YOU HAVE READ CLOUDNET'S CODESTYLE GUIDELINES -->
<!-- IF YOU'RE NOT FOLLOWING CLOUDNET'S CODESTYLE GUIDELINES, THEN THIS PULL REQUEST IS LIKELY TO BE REJECTED -->
<!-- IF YOU'RE NOT PROVIDING ANY INFORMATION, THEN THIS PULL REQUEST IS LIKELY TO BE REJECTED -->

This pull request includes:

- [ ] breaking changes
- [ ] no breaking changes

### Changes made to the repository:

<!-- A brief description of the changes done in this pull request. -->

### Documentation of test results:

<!-- Add test results before and after applying your changes. -->


### Related issues/discussions:

<!-- Add any related issues here by mentioning them (e.g. Fixes #1). -->
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: maven
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 99
target-branch: development
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 99
target-branch: development
2 changes: 1 addition & 1 deletion cloudnet-api/cloudnet-api-bridge/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.12.1</version>
<version>2.13.2</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public void recalculatePermissions() {
return;
}

if(!CloudServer.getInstance().getCloudPlayers().containsKey(this.uniqueId)) return;
PermissionEntity permissionEntity = CloudServer.getInstance().getCloudPlayers().get(this.uniqueId).getPermissionEntity();
final Map<String, Boolean> playerPermissions = permissionEntity.getPermissions();
playerPermissions.forEach((key, value) -> {
Expand Down