Skip to content

Commit

Permalink
Merge pull request #76 from vecnavium-pm-pl/stable
Browse files Browse the repository at this point in the history
Adds Support for API 4.0.0
  • Loading branch information
Vecnavium authored Dec 6, 2021
2 parents 52567fa + 6cdbde4 commit 73969f6
Show file tree
Hide file tree
Showing 54 changed files with 7,148 additions and 7,081 deletions.
6 changes: 4 additions & 2 deletions .poggit.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
--- # Poggit-CI Manifest. Open the CI at https://poggit.pmmp.io/ci/poggit-orphanage/PurePerms
--- # Poggit-CI Manifest. Open the CI at https://poggit.pmmp.io/ci/Vecnavium/PurePerms
build-by-default: true
branches:
- stable
- master
projects:
PurePerms:
path: ""
icon: icon128.png
...
...
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# General

PurePerms by 64FF00 is a permissions manager for PocketMine-MP.

It can be used in conjunction with PureChat to display players groups in chat.
<p align="center">
<a href="https://github.com/Vecnavium/PurePerms"><img src="https://github.com/Vecnavium/PurePerms/blob/stable/icon.png"></img></a><br>
<b>Manage your permissions like you did on Bukkit. The best permissions manager for PocketMine-MP.</b>
</p>

<p align="center">
<img alt="GitHubrelease" src="https://img.shields.io/github/v/release/Vecnavium/PurePerms?label=release&sort=semver">
<img alt="Stars" src= "https://img.shields.io/github/stars/Vecnavium/PurePerms?style=for-the-badge">
<a href="https://discord.gg/6M9tGyWPjr"><img src="https://img.shields.io/discord/837701868649709568?label=discord&color=7289DA&logo=discord" alt="Discord" /></a>
</p>

# Commands

Expand Down
133 changes: 76 additions & 57 deletions plugin.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,76 @@

# PurePerms by 64FF00 (xktiverz@gmail.com, @64ff00 for Twitter)

name: PurePerms
main: _64FF00\PurePerms\PurePerms
version: 1.4.2
api: [3.0.0]
load: POSTWORLD
author: "64FF00 & ProjectInfinity"
website: https://github.com/PurePlugins/PurePerms
permissions:
pperms:
description: "PurePerms by 64FF00! (Twitter: @64FF00)"
children:
pperms.command:
description: "Allows you to use all PurePerms commands."
children:
pperms.command.addgroup:
description: "Allows you to add a new group to the groups list."
pperms.command.addparent:
description: "Allows you to add a group to another group inheritance list."
pperms.command.defgroup:
description: "Allows you to set the default group manually."
pperms.command.fperms:
description: "Allows you to find permissions for a specific plugin."
pperms.command.groups:
description: "Allows you to see a list of all groups."
pperms.command.listgperms:
description: "Allows you to see a list of all permissions from a group."
pperms.command.listuperms:
description: "Allows you to see a list of all permissions from a user."
pperms.command.ppinfo:
default: true
description: "Allows you to get current PurePerms information."
pperms.command.ppreload:
description: "Allows you to reload all PurePerms configurations."
pperms.command.rmgroup:
description: "Allows you to remove a group from the groups list."
pperms.command.rmparent:
description: "Allows you to remove a group from another group inheritance list."
pperms.command.setgperm:
description: "Allows you to add a permission to the group."
pperms.command.setgroup:
description: "Allows you to set group for a user."
pperms.command.setuperm:
description: "Allows you to add a permission to a user."
pperms.command.unsetgperm:
description: "Allows you to remove a permission from the group."
pperms.command.unsetuperm:
description: "Allows you to remove a permission from the user."
pperms.command.usrinfo:
description: "Allows you to see info about a user."
pperms.noeul:
description: "Allows you to access all 'Noeul' related features."
children:
pperms.noeul.ppsudo:
description: "Allows you to use the Noeul 'ppsudo' command."

# PurePerms by 64FF00 (xktiverz@gmail.com, @64ff00 for Twitter)

name: PurePerms
main: _64FF00\PurePerms\PurePerms
version: 1.4.4
api: [4.0.0]
load: POSTWORLD
author: "Vecnavium , 64FF00 & ProjectInfinity"
permissions:
pperms:
default: op
description: "PurePerms by 64FF00! (Twitter: @64FF00)"
pperms.command:
default: op
description: "Allows you to use all PurePerms commands."
pperms.command.addgroup:
default: op
description: "Allows you to add a new group to the groups list."
pperms.command.addparent:
default: op
description: "Allows you to add a group to another group inheritance list."
pperms.command.defgroup:
default: op
description: "Allows you to set the default group manually."
pperms.command.fperms:
default: op
description: "Allows you to find permissions for a specific plugin."
pperms.command.groups:
default: op
description: "Allows you to see a list of all groups."
pperms.command.listgperms:
default: op
description: "Allows you to see a list of all permissions from a group."
pperms.command.listuperms:
default: op
description: "Allows you to see a list of all permissions from a user."
pperms.command.ppinfo:
default: true
description: "Allows you to get current PurePerms information."
pperms.command.grpinfo:
default: op
description: "Nothing"
pperms.command.ppreload:
default: op
description: "Allows you to reload all PurePerms configurations."
pperms.command.rmgroup:
default: op
description: "Allows you to remove a group from the groups list."
pperms.command.rmparent:
default: op
description: "Allows you to remove a group from another group inheritance list."
pperms.command.setgperm:
default: op
description: "Allows you to add a permission to the group."
pperms.command.setgroup:
default: op
description: "Allows you to set group for a user."
pperms.command.setuperm:
default: op
description: "Allows you to add a permission to a user."
pperms.command.unsetgperm:
default: op
description: "Allows you to remove a permission from the group."
pperms.command.unsetuperm:
default: op
description: "Allows you to remove a permission from the user."
pperms.command.usrinfo:
default: op
description: "Allows you to see info about a user."
pperms.noeul:
default: op
description: "Allows you to access all 'Noeul' related features."
pperms.noeul.ppsudo:
default: op
description: "Allows you to use the Noeul 'ppsudo' command."
112 changes: 56 additions & 56 deletions resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@

# PurePerms by 64FF00 (xktiverz@gmail.com, @64ff00 for Twitter)

# 제 블로그 이외에 허락없이 마음대로 플러그인 배포하실 시에는 바로 한국어 파일 삭제 조치하고 공유 중단합니다

---
# Set default data provider for PurePerms
# - mysql, yamlv1, yamlv2
data-provider: yamlv1

# Set the default language for PurePerms (<3)
# - en, ko, jp, ru, ua, it, sp, cz, sk, de, idn, tr
# English message resource by @64FF00 and @Samueljh1 (GitHub)
# Korean message resource by @64FF00 (GitHub)
# Japanese message resource by @onebone and @haniokasai (GitHub)
# Russian message resource by @vvzar and @Pub4Game (GitHub)
# Ukrainian message resource by @samalero (GitHub)
# Italian message resource by @AryToNeX (GitHub)
# Spanish message resource by @iksaku and @JoahDave (Github)
# Czech message resource by @Michael2010117 (GitHub)
# Slovak message resource by @Michael2010117 (GitHub)
# German message resource by @Exxarion (GitHub)
# Indonesian message resource by @DevillordMCPE (GitHub)
# Turkish messages resource by @PainTR (GitHub)
default-language: en

# Disable /op permission for all players
# - true / false
disable-op: true

# Setting this option will allow you to use per-world permissions
# - true / false
enable-multiworld-perms: false

# Enables 'Noeul', a 'pointless' security management system for PurePerms
# - true / false
enable-noeul-sixtyfour: false

# MySQL Settings (Only configure this if you are going to use MySQL data provider)
mysql-settings:
host: "PurePerms-FTW.loveyou.all"
port: 3306
user: "YourUsernameGoesHere"
password: "YourPasswordGoesHere"
db: "YourDBNameGoesHere"

# Sets a minimum length for a Noeul password when registering a new account
# - int
noeul-minimum-pw-length: 6

# Special thanks to @jazzwhistle for helping me with this cool feature! #JAZZWHISTLE-FTW
# Ranks that can only be set on console
# Also, users with a superadmin-rank can only have their rank changed on console
# - array
superadmin-ranks: ["OP"]
...

# PurePerms by 64FF00 (xktiverz@gmail.com, @64ff00 for Twitter)

# 제 블로그 이외에 허락없이 마음대로 플러그인 배포하실 시에는 바로 한국어 파일 삭제 조치하고 공유 중단합니다

---
# Set default data provider for PurePerms
# - mysql, yamlv1, yamlv2
data-provider: yamlv1

# Set the default language for PurePerms (<3)
# - en, ko, jp, ru, ua, it, sp, cz, sk, de, idn, tr
# English message resource by @64FF00 and @Samueljh1 (GitHub)
# Korean message resource by @64FF00 (GitHub)
# Japanese message resource by @onebone and @haniokasai (GitHub)
# Russian message resource by @vvzar and @Pub4Game (GitHub)
# Ukrainian message resource by @samalero (GitHub)
# Italian message resource by @AryToNeX (GitHub)
# Spanish message resource by @iksaku and @JoahDave (Github)
# Czech message resource by @Michael2010117 (GitHub)
# Slovak message resource by @Michael2010117 (GitHub)
# German message resource by @Exxarion (GitHub)
# Indonesian message resource by @DevillordMCPE (GitHub)
# Turkish messages resource by @PainTR (GitHub)
default-language: en

# Disable /op permission for all players
# - true / false
disable-op: true

# Setting this option will allow you to use per-world permissions
# - true / false
enable-multiworld-perms: false

# Enables 'Noeul', a 'pointless' security management system for PurePerms
# - true / false
enable-noeul-sixtyfour: false

# MySQL Settings (Only configure this if you are going to use MySQL data provider)
mysql-settings:
host: "PurePerms-FTW.loveyou.all"
port: 3306
user: "YourUsernameGoesHere"
password: "YourPasswordGoesHere"
db: "YourDBNameGoesHere"

# Sets a minimum length for a Noeul password when registering a new account
# - int
noeul-minimum-pw-length: 6

# Special thanks to @jazzwhistle for helping me with this cool feature! #JAZZWHISTLE-FTW
# Ranks that can only be set on console
# Also, users with a superadmin-rank can only have their rank changed on console
# - array
superadmin-ranks: ["OP"]
...
92 changes: 46 additions & 46 deletions resources/groups.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@

# PurePerms by 64FF00 (xktiverz@gmail.com, @64ff00 for Twitter)

---
Guest:
alias: 'gst'
isDefault: true
inheritance: []
permissions:
- -essentials.kit
- -essentials.kit.other
- -pocketmine.command.me
- pchat.colored.format
- pchat.colored.nametag
- pocketmine.command.list
- pperms.command.ppinfo
worlds: []
Admin:
alias: 'adm'
inheritance:
- Guest
permissions:
- essentials.gamemode
- pocketmine.broadcast
- pocketmine.command.gamemode
- pocketmine.command.give
- pocketmine.command.kick
- pocketmine.command.teleport
- pocketmine.command.time
worlds: []
Owner:
alias: 'owr'
inheritance:
- Admin
permissions:
- essentials
- pocketmine.command
- pperms.command
worlds: []
OP:
alias: 'op'
inheritance: []
permissions:
- '*'
worlds: []
...

# PurePerms by 64FF00 (xktiverz@gmail.com, @64ff00 for Twitter)

---
Guest:
alias: 'gst'
isDefault: true
inheritance: []
permissions:
- -essentials.kit
- -essentials.kit.other
- -pocketmine.command.me
- pchat.colored.format
- pchat.colored.nametag
- pocketmine.command.list
- pperms.command.ppinfo
worlds: []
Admin:
alias: 'adm'
inheritance:
- Guest
permissions:
- essentials.gamemode
- pocketmine.broadcast
- pocketmine.command.gamemode
- pocketmine.command.give
- pocketmine.command.kick
- pocketmine.command.teleport
- pocketmine.command.time
worlds: []
Owner:
alias: 'owr'
inheritance:
- Admin
permissions:
- essentials
- pocketmine.command
- pperms.command
worlds: []
OP:
alias: 'op'
inheritance: []
permissions:
- '*'
worlds: []
...
Loading

0 comments on commit 73969f6

Please sign in to comment.