Home›Java›Mods›[Skript] Pexlify [DEPRECATED]
This Skript was made by request and I decided to upload it here for the fun of it. It will only be updated if needed/requested, because Skript isn't one of my focuses. Thanks.


If you're using PermissionsEx still, please consider using LuckPerms instead.

This Skript is not viable outside the use of PermissionsEx.


PEXlify
The BEST PermissionsEx command alternative!



-- Version 1.2.0 now released! --


Pexlify is a Skript that allows you to simplify your use of PermissionsEx commands. You can run simpler commands to execute permission commands that can be annoying to remember and type. It has been built up significantly and now holds many features that can help make PermissionsEx easier for you.

This Skript is made with the intention of making customisation as very easy as possible (such as configurable messages and permissions). It is also much easier to update then some other Skripts that have a similar purpose.​


Features:
Highly Configurable
- You can configure all messages & permissions
- Easy to configure
​
Easier To Update
- Updating only requires you replace the script without touching your changes in the configuration section.​
Console Support
- You can use all Pexlify commands in console.​
Offline Player Support
- Not all similar Skripts have this feature.​
Group Lifetime and Per World Options
- You can specify worlds and group lifetimes.​
Code Snippets
- Extra bits of code you can add for extended features! (Requires Skript add-ons.)​


Setup:
1. Drag and Drop into "scripts" folder.
2. Add permissions (specified below)
- Normal PEX permissions are still required.​
3. Enjoy your simplified PEX commands!

Required Dependencies :
- Skript
- LuckPerms (Latest stable)


​
How to Update: (read carefully)
Spoiler: How To Update
Most changes will be made after the configuration section (before the "COPY START" marker). So if you haven't changed the Skript code itself, you just need to replace everything between the copy markers. When the top configuration section changes in an update, the update notes will say so.

You can use a tool to check the differences.
Just copy yours into the left text box and the updated one on the right text box, then hit "Find Difference!": https://www.diffchecker.com/


If you have not touched the Skript at all, you can simply completely replace it!

In steps:
1. Replace the code between the markers in your old Skript with the code between the markers in the updated Skript:
#-----------! COPY START !-----------#
Replace all code between here!
#-----------! COPY END !-----------#
​
2. Check update notes for configuration changes to add/change/configure manually.
3. Enjoy!

Contact me if you are having troubles.​



Commands:
Spoiler: Commands
Format:
Command
- Description
Original PermissionsEx command


Parameters:
< > = Required
[ ] = Optional


Main Command

/pexlify
- Shows details and help commands for Pexlify


Spoiler: User Commands
User Commands
/userinfo
<user>
- Show specified user's permission information
/pex user <user>

/rankadd <user> <group> [world]
- Add a group to a user

/pex user <user> group add <group>

/rankaddtimed <user> <group> <lifetime>
- Give specified user a rank for a certain amount of time (seconds)

/pex user <user> group add <group> [lifetime]

/rankset
<user> <group> [world]
- Set the group of a user
/pex user <user> group set <group>

/rankremove <user> <group> [world]
- Removes group from user
/pex user <user> remove <group>

/useraddp <user> <permission>
- Adds permission to user
/pex user <user> add <permission>

/usernegatep <user> <permission>
- Negate permission from user
/pex user <user> add -<permission>

/userremovep <user> <permission>
- Removes permission from user
/pex user <user> remove <permission>

/userprefix <user> "<prefix>" - You need to add in quotation marks!
- Set the prefix of a user
/pex user <user> prefix "<prefix>"

/usersuffix <user> "<suffix>" - You need to add in quotation marks!
- Set the prefix of a user
/pex user <user> suffix "<suffix>"

/deluser <user>
- Deletes user permission data
/pex user <user> delete

Spoiler: Group Commands
Group Commands
/groups
- Lists all groups

/pex groups

/groupinfo <group>
- Show the specified group's information

/pex group <group>

/makegroup <group>
- Creates a new group

/pex group <group> create

/delgroup <group>
- Deletes a group

/pex group <group> delete

/groupaddp <permission> [world]
- Add permission to a group

/pex group <group> add <permission>

/groupnegatep <group> <permission>
- Negate permission from group

/pex group <group> add -<permission>

/groupremovep <permission> [world]
- Remove permission to a group

/pex group <group> remove <permission>

/groupprefix <group> "<prefix>" - You need to add in quotation marks!
- Set the prefix of a group
/pex group <group> prefix "<prefix>"

/groupsuffix <group> "<suffix>" - You need to add in quotation marks!
- Set the suffix of a group
/pex group <group> suffix "<suffix>"

Permissions:
All permissions are easily configurable!
Spoiler: Default Permissions
Spoiler: Extra Permissions
pexlify.full
- Access to all commands

pexlify.misc

- View miscellaneous Skript information (/pexlify)

pexlify.help

- View Pexlify's help menu (/pexlify help).

pexlify.version

- View Pexlify's current version (/pexlify version).
Spoiler: User Permissions
pexlify.user.all
- Allows access to all user commands.

pexlify.user.info
- Allows access to /userinfo.

pexlify.user.del
- Allows access to /deluser.

pexlify.user.rankadd
- Allows access to /rankadd.

pexlify.user.ranktimed
- Allows access to /rankaddtimed

pexlify.user.rankset
- Allows access to /rankset

pexlify.user.rankremove
- Allows access to /rankremove

pexlify.user.prefix
- Allows access to /prefix

pexlify.user.suffix
- Allows access to /suffix

pexlify.user.useraddp
- Allows access to /useraddp

pexlify.user.usernegatep
- Allows access to /usernegatep


pexlify.user.userremovep
- Allows access to /userremovep

pexlify.user.promote
- Allows access to /promote

pexlify.user.demote
- Allows access to /demote
Spoiler: Group Permissions
pexlify.group.all
- Allows access to all group commands.

pexlify.group.groups
- Allows access to /groups


pexlify.group.info

- Allows access to /groupinfo


pexlify.group.addperm

- Allows access to /groupaddp

pexlify.group.groupnegatep
- Allows access to /groupnegatep

pexlify.group.removep
- Allows access to /groupremovep


pexlify.group.prefix

- Allows access to /groupprefix


pexlify.group.suffix

- Allows access to /groupsuffix


pexlify.group.weight

- Allows access to /groupweight


pexlify.group.del

- Allows access to /delgroup


pexlify.group.create

- Allows access to /makegroup


To-Do:
Spoiler: To-Do
+ - In progress
L - Low Priority (Not actively being worked on)
✓ - Complete
✘ - Denied

Please suggest some aliases you would like for commands. Thanks

- ✓ Per world options
- ✓ Add optional group lifetime argument
-
✓ Command specific permission nodes
- ✓ Command to negate permissions
-
L Command Aliases
- ✓ Add usage messages
- ✓ Add code snippets with extra features
(idea originated from @Notex )
Extended features for those with Skript add-ons​
- ✘ Add Help command
Unnecessarily increases file size and length (All information is found here)​
- ✘ Command description (within Skript)
Unnecessarily increases file size and length (Descriptions are found here).​
- ✘ Select executer (Console or Player) setting
Not necessary. Only makes the server more vulnerable.​

FAQ:
Spoiler: Frequently Asked Questions
Q. Can you make the PermissionsEx command be executed by console?
A. This will not happen. You will have to have PEX and Pexlify's permission nodes to use it. The reason for this is because it can be very unsafe to have commands run by console when going through Skript as it would not need further PEX permissions, and users will be able to do whatever they want because console is executing them, not them.

Q. Can you add the optional lifetime argument to single player permissions?
A. No point. LuckPerms' timed permissions are stored "in-memory" only, and do not persist when the plugin is reloaded (or server restart) or if the user leaves and rejoins the server. Only timed groups are written to file, so you can always create a group with the permissions you only want to be temporary as a workaround.

Q. What are the code snippets for?
A. Code snippets will be little parts of code you can add onto the Skript that will allow for extra features! Code snippets will only be for features that are found in other Skript add-ons, such as SkQuery.

Q. When I use a Pexlify commands in console, it show an "Unknown command" message even though it works. Why?
A. This message can be safely ignored. It shows an "Unknown command" message because the Skript plugin itself does not suppress the message, even though it means nothing.


More questions will be added as they come in. ;)


If you want something changed to suit your server (whether it be certain commands, aliases, or permission nodes), please message me and I will help you out.



DO NOT (RE)DISTRIBUTE!
You may edit this for personal use, but you may not claim it as your own. Message me for any questions. Thanks
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

[Skript] Pexlify [DEPRECATED] is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 2,059 times (via Spigot). Download it and open it directly in the game.

Explore more