Sk-Perm

Addon Sk-Perm 2.3.0

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

ADDED:
  • Added a whitelist expression to add/remove players from whitelist, get whitelisted players, turn whitelist on/off
  • Added a condition to see if a player is whitelisted
  • Added a condition to see if the server is whitelisted
  • Added effect to reload the whitelist
See DOCS for syntaxes and examples.
FIXED:
  • Fixed the plugin not recognizing PEX on load
FIXED:
  • Fixed "group of player" condition not working
Support for UltraPermissions has arrived!

ADDED:
  • Added UltraPermissions to the API, will work with the regular "PermPlugins" syntaxes
  • Added a player prefix/suffix expression which has offline player support
CHANGED:
  • Tidied up the main class
It has finally arrived. LuckPerms support is here

ADDED:
  • Most syntaxes now support LuckPerms (With the exception of group rank, as that does not exist in LuckPerms)
  • Group Prefix/Suffix expression. You can now get/set the group prefix/suffix. (World support as well)
Big re-write to include a new Permission Plugin API
This won't affect Skripters much, It just allows me to add more permission plugins in the future, without mucking around with a crap ton of new syntaxes.
Most patterns have not changed.

If you are experiencing issues with a pattern that may not be recognized, please see the docs for updates
Docs on SkriptHub
Over the next little while, I would like to add support for different permission plugins. Since each plugin has different APIs and features, they will all be slightly different syntaxes.
Today we start with PEX. Why did I start with PEX you ask? Well, because I know the plugin very well. Even though it's outdated and no longer maintained, it works very well. I would like to support LuckPerms next.

ADDED:
PEX:
  • Groups [Effect] - You can now create and delete groups with an optional syntax for parents (Inherited groups)
  • Config Reload [Effect] - Often times when changing things in PEX the config needs to be reloaded for them to take effect, so I have added a reload effect.
  • Group Weight [Expression] - You can get/set the weight of a group
  • Group Rank [Expression] - You can get/set the rank of a group
  • Perm of Group [Expression] - You can get all the permissions of a group. You can also add/remove permissions to/from a group (Optional world support)
  • Perm of Player [Expression] - You can get all the permissions of a player, even if they are offline. You can also add/remove permissions to/from a player, supports offline as well. (Optional world support)
That is it for PEX right now but I do plan on trying to add more to PEX.
As usual docs can be found HERE
FIXED:
- When using %world%, the world was showing up wrong. My bad!