-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump Spigot dependency to 1.17 * Updated IridiumCore * Bumped NBTAPI * Avoid returning null on errors * Fixed Async entity errors * Fix shop issues * Fix async entity errors * Avoid returning null on errors * Update nbt-api to 2.8.0 * Update XSeries to 8.0.0 * Bumped IridiumCore * Added ShopManager.reloadCategories back * Disabled ability to trample crops on others islands * Added Enums to get Default Permission keys Co-authored-by: dlsf <munita.gavai@gmail.com>
- Loading branch information
1 parent
b6d501f
commit 8da6294
Showing
24 changed files
with
143 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
src/main/java/com/iridium/iridiumskyblock/PermissionType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package com.iridium.iridiumskyblock; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@AllArgsConstructor | ||
@Getter | ||
public enum PermissionType { | ||
REDSTONE("redstone"), | ||
BLOCK_PLACE("blockPlace"), | ||
BLOCK_BREAK("blockBreak"), | ||
BUCKET("bucket"), | ||
DOORS("doors"), | ||
KILL_MOBS("killMobs"), | ||
OPEN_CONTAINERS("openContainers"), | ||
SPAWNERS("spawners"), | ||
CHANGE_PERMISSIONS("changePermissions"), | ||
KICK("kick"), | ||
INVITE("invite"), | ||
REGEN("regen"), | ||
PROMOTE("promote"), | ||
DEMOTE("demote"), | ||
PICKUP_ITEMS("pickupItems"), | ||
DROP_ITEMS("dropItems"), | ||
INTERACT_ENTITIES("interactEntities"), | ||
MANAGE_WARPS("manageWarps"), | ||
WITHDRAW_BANK("withdrawBank"), | ||
TRUST("trust"), | ||
BORDER("border"); | ||
|
||
private final String permissionKey; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.