I see a lot of posts on here where people have PEX problems because their files aren't correctly formatted. I was thinking, one easy way to avoid those headaches would be to use the /pex command to build the file ingame; that lets the plugin deal with the formatting. Then realizing that if a person can't figure out how to properly space a file they probably won't know the command structure ingame I figured I'd try my hand at a generator.
I'm still working on it, so it's still kinda crude. No multiworld support yet. Just for the basic user who wants something simple like "default, member, donator, mod, admin" type structure. Also has a prefix/suffix preview tool to be sure they come out looking the way you want.
It's fairly self explanatory. Just remember for group names and permission nodes, only one per line in the textboxes. When you had configured the last group, it will ask if you want a numeric or visual rank sorting. If you pick numeric, you tell it the rank #s for each group. If you choose visual, it will show the ranks in boxes that you can drag into the proper order. Since you don't specify #s, it simply starts at the highest rank = 100 then adds 100 per level.
When you get to the output screen you can select all and copy to the clipboard then go to the MC server console, right click the title bar choose Edit, Paste and it will type all the commands in for you into the console.
If you need to step away whilst working, in the upper right hand corner will be a "Save" button to allow you to save your progress. When you return, you can use "Load" to reload if it's been long enough that your session has expired.
Use at your own risk. I tested it and it works fine for me, but I can't guarantee it'll work for you. Best way to test it is to just rename your PermissionsEX folder to something else (PermissionsEX.good or something) then start the server so if something gets messed up, it won't hurt anything.
Also, this is designed to start from scratch, not to modify existing stuff. Best way to use this is to do as I said above, rename your old pex folder and let it generate a new one so you can start totally clean.
I added support for node selection now. When you get to the screen where it has the textarea for entering nodes, there is a "Nodes" button next to it. It will give you a selection of nodes from the plugins I've added to it. I need to add intelligence to it so when it sees a node like "essentials.itemspawn.item-[itemid]" it knows to prompt the user for the item #. Right now you'll have to edit it in the textarea instead.
Also if anyone has suggestions for other popular plugins that I haven't added, let me know. So far I have:
PS: I should warn everyone; I'm a lazy programmer.. I don't test on multiple platforms and resolutions lol. I made this using Firefox @ 1080p so if it looks funky to you or acts weird, let me know your platform and I'll fix it.
My fingers hurt now, lol. I'm also storing the links to the permissions info for each plugin, so once you click "Nodes" and choose a plugin you can click the plugin name in the banner to open a new page to that plugin's perm information. I put that in there because it's highly unlikely I'll be very on top of monitoring the plugins for changes every time new versions come out.
Thanks. Yea, I was browsing the server forum yesterday and was seeing a lot of threads of people having issues with the formatting of the permissions.yml which is what made me crank this out
Amazing Job! I have used this a few times and love it! I know how to use PEX but this is much easier so I use this! Also technical wise how did you do this? I am trying to create something similar for a plugin called crackshot. Any advice?
http://pex.sylvcraft.com
I'm still working on it, so it's still kinda crude. No multiworld support yet. Just for the basic user who wants something simple like "default, member, donator, mod, admin" type structure. Also has a prefix/suffix preview tool to be sure they come out looking the way you want.
It's fairly self explanatory. Just remember for group names and permission nodes, only one per line in the textboxes. When you had configured the last group, it will ask if you want a numeric or visual rank sorting. If you pick numeric, you tell it the rank #s for each group. If you choose visual, it will show the ranks in boxes that you can drag into the proper order. Since you don't specify #s, it simply starts at the highest rank = 100 then adds 100 per level.
When you get to the output screen you can select all and copy to the clipboard then go to the MC server console, right click the title bar choose Edit, Paste and it will type all the commands in for you into the console.
If you need to step away whilst working, in the upper right hand corner will be a "Save" button to allow you to save your progress. When you return, you can use "Load" to reload if it's been long enough that your session has expired.
Use at your own risk. I tested it and it works fine for me, but I can't guarantee it'll work for you. Best way to test it is to just rename your PermissionsEX folder to something else (PermissionsEX.good or something) then start the server so if something gets messed up, it won't hurt anything.
Also, this is designed to start from scratch, not to modify existing stuff. Best way to use this is to do as I said above, rename your old pex folder and let it generate a new one so you can start totally clean.
BTW Im sharing this with my friends due to the fact they bug me with PEX xD
Also if anyone has suggestions for other popular plugins that I haven't added, let me know. So far I have:
AutoSneak 1.6.1
Backup 1.8.9
DisguiseCraft 2.2
DwarfForge 2.11
Dynmap 0.38
Essentials 2.9.1
iConomy 7.0
Jail 2.1.4
Lockette 1.6
LogBlock 1.50
mcMMO 1.3.06
MoArrows v2.3.3
MultiInv 3.0.6
Multiverse Core 2.3-AB
Multiverse Netherportals 2.3-AB
Multiverse Portals 2.3-AB
Multiverse SignPortals 2.3-AB
OpenInv 1.8.4
OpTalk 0.6.1
PermissionsEX 1.19.1
TimeLock 0.3
VanishNoPacket 3.9.1
WorldEdit 5.3
WorldGuard 5.5.2
XRay Informer 2.1.6
PS: I should warn everyone; I'm a lazy programmer.. I don't test on multiple platforms and resolutions lol. I made this using Firefox @ 1080p so if it looks funky to you or acts weird, let me know your platform and I'll fix it.
CommandBook 2.1
Factions 1.6.7
AdminCmd 5.12.1
Weapons of Legend 1.0.0
WelcomeRulezz 0.6
BukkitLink 1.8
Spectate 1.8
FoundDiamonds 3.31
iSafe v2.68_1
Player-Tracker v1.3
Multiverse Inventories
Multiverse Adventure
AntiCheat v1.0
JailLikeHell v5.3.2
AntiBot v2.7
JezusMode 1.4
STAB 2.0.8r
PotionCraft v1.2
MultiCommand v1.4.1
SmartServerTool v8.3
jCommands 1.0.6
ShortGameMode v1.0.1
GroupBasedPVP v1.9.1
RangeBans v1.03
DynamicBan 1.2.4b
HellsEdit v0.5
GuestGuard v0.5.1
NoSwear 3.1
AZRank 1.1.2
PermitThis
SpawnMob 3.0
MaxTPS 1.2.4
EnderpearlDisable
SimpleJail 2.0
ModReq 0.3
PrivateChat 1.2
SetRankPEX 1.5.2
Road Protector v.0.0.6/2
NoLagg 1.84
iBlock 2.3
ReferGift 1.0.2
NoCheatPlus 3.6.1
Orebfuscator 1.4.5
My fingers hurt now, lol. I'm also storing the links to the permissions info for each plugin, so once you click "Nodes" and choose a plugin you can click the plugin name in the banner to open a new page to that plugin's perm information. I put that in there because it's highly unlikely I'll be very on top of monitoring the plugins for changes every time new versions come out.
Thanks. Yea, I was browsing the server forum yesterday and was seeing a lot of threads of people having issues with the formatting of the permissions.yml which is what made me crank this out
ChestShop 3.42
OnlineSigns 0.2.1
LWC v4.1.1
MobArena
xWarp
WeatherMan v0.3.2
ItemStay v1.0
EndlessEnchant 1.0
FirstLastSeen v0.10
TreeAssist
SignLift v1.22
PlgSetspawn v5.0
DimensionDoor v2.0.2
MobCatcher 2.13.2
LagMeter 1.8