PEXPlugins / PermissionsEx

A powerful permissions plugin for Minecraft
https://permissionsex.stellardrift.ca
Apache License 2.0
480 stars 297 forks source link

Compatible Permission Plugin With EssentialsX #2851

Closed ZardosCraft closed 7 years ago

ZardosCraft commented 7 years ago

(Lol sorry This is my 3rd post of the day) Anyway I can find a permission plugin that works with EssentialsX because PermissionsEX will not work (which is the one everyone is saying to use) so is there any permission plugin that is compatible with EssentialsX. Thanks!

Stormbow commented 7 years ago

PermissionsEx 1.23.4 is fully functional up to Minecraft 1.12 and works with EssentialsX going back to Minecraft 1.8 (when EssentialsX was first created for Spigot servers after "Essentials" was discontinued because of the Craftbukkit DMCA fiasco).

If there is some feature of EssentialsX that you're having problems with, you can give me specific details about it and I can tell you how to get it working correctly.

ZardosCraft commented 7 years ago

@Stormbow Oh well I tried installing PermisionsEX with EssentialsX and it says "PERMISSIONS MANAGER IS NOT ACCESSIBLE. IS PERMISSIONSEX ENABLED"

Stormbow commented 7 years ago

That usually means there's an error in the formatting of the permissions.yml file. A lot of people use very outdated examples when they make their file and end up getting that error.

You can take a look at this example for the most up-to-date file, using all options except multiworld settings. A multiworld settings example can be found right here.

All of the info in these examples can be entered into the file either using Notepad (Notepad++ is better) or by using PEX commands.

ZardosCraft commented 7 years ago

@Stormbow Are you good at this kinda stuff? Could I send you my permissions.yml and could you tell me whats wrong?

Stormbow commented 7 years ago

I'd say I'm pretty good. :-)

Let me see what you have (Pastebin) and let me know exactly what you're trying to accomplish.

e.g., I want people in GroupNameHere to be able to DoThisActivity.

ZardosCraft commented 7 years ago

@Stormbow Ok Thanks! Heres The Link:https://hastebin.com/zevogiyelo.php

Stormbow commented 7 years ago

I corrected all of the errors in your permissions.yml file, for use on any Minecraft server from 1.7.9 to 1.12:

https://pastebin.com/Q0H7H6fm

Test that out on your server, and if you find out that a user/group can't do something specific that you want them to do, let me know which user/group and what they can't do. Then I'll help you get that fixed too.

ZardosCraft commented 7 years ago

@Stormbow Ok I just added it and it says Im in the "Owner" group but my Prefix doesnt show up in chat..

Stormbow commented 7 years ago

Ok I just added it and it says Im in the "Owner" group but my Prefix doesnt show up in chat..

This is actually handled by a "chat management" plugin.

If you're running a Spigot server, you could get EssentialsXChat and Vault to display those in-game for you.

As for the /wild command, is that from the WildernessTP plugin?

ZardosCraft commented 7 years ago

@Stormbow its from https://www.spigotmc.org/resources/wilderness-tp.18431/ and ok thanks I already have vault but ill get EssentialsXChat

Stormbow commented 7 years ago

Cool. I found the plugin with that command right as you replied. LOL

To give everyone access to /wild, add the node wild.wildtp to the group named "Default" and everyone else will inherit the permission.

You can see the other related permission nodes you may want to give to groups on the Wilderness-TP page.

Stormbow commented 7 years ago

Once you have EssentialsXChat installed, follow this guide that I wrote to get it setup correctly.

ZardosCraft commented 7 years ago

@Stormbow ok thanks and also i got two more questions xD 1.If I want to edit the prefixes can i use Like the underlining code and the bold code and stuff? 2.My name is Red also how do i make my name normal and just my rank red

ZardosCraft commented 7 years ago

@Stormbow Also could you add the /wild in bc i just tried and it all stopped working xD

Stormbow commented 7 years ago

1. If I want to edit the prefixes can i use like the underlining code and the bold code and stuff?

Yep. All of the formatting codes are usable. Just be sure you use the ampersand & instead of the section symbol §.

2. My name is Red also how do i make my name normal and just my rank red

You'll do that using the formatting codes I linked above. Change the colors using the color codes and use &r to reset the color back to default after whatever you wanted to be colored is done being colored. For example, in the permissions.yml file, if you set "Owner" to have prefix: '&4[Owner]', EssentialsXChat will display this in chat when you talk:

    [Owner]ZardosCraft: words you typed.

The color code &4 turns the [Owner] prefix red, but we didn't tell EssentialsXChat to reset to the default color, so it remains red for the username and the words they type in chat.

To fix this, we'd use something like this for the prefix: '&4[Owner]&r'.

Stormbow commented 7 years ago

Also could you add the /wild in bc i just tried and it all stopped working xD

Usually that means something was changed in the file and now the file contains errors. Show me the complete file again.

ZardosCraft commented 7 years ago

ok https://pastebin.com/wQXcBiSD

ZardosCraft commented 7 years ago

and Ik its not lined up but even when i tried lining it up in didn't work

Stormbow commented 7 years ago

Oh, you didn't add spaces at the beginning of wild.wildtp. Line 19 of your paste, add 4 spaces at the front of the line, and 1 space between the hyphen and the permission node wild.wildtp.

You can fix that, easy! :-)

Stormbow commented 7 years ago

What didn't work?

ZardosCraft commented 7 years ago

ohh 4

ZardosCraft commented 7 years ago

i added 5 xD

Stormbow commented 7 years ago

That'll do it. :-) (Make the error, that is.)

ZardosCraft commented 7 years ago

And btw does the [Owner] Rank have access to all commands?

Stormbow commented 7 years ago

And btw does the [Owner] Rank have access to all commands?

Yes, because of line 109: - '*'. That's called a "global permission node" and gives you absolutely everything, even things you don't want. When you find something you don't want, make the Owner group look like this:

    permissions:
    - -something.you.do.not.want
    - '*'
ZardosCraft commented 7 years ago

oh ok

ZardosCraft commented 7 years ago

and btw i added 4 spaces and it says "PERMISSIONS MANAGER IS NOT ACCESSIBLE. IS PERMISSIONSEX ENABLED"

Stormbow commented 7 years ago

Be sure to add that one space between the node and hyphen:

    - wild.wildtp
Stormbow commented 7 years ago
    -wild.wildtp

will cause errors.

ZardosCraft commented 7 years ago

lol i just did it lemme see if it works

ZardosCraft commented 7 years ago

yep it did

ZardosCraft commented 7 years ago

but its letting members use /gamemode

ZardosCraft commented 7 years ago

I didnt put that as there permissions?

ZardosCraft commented 7 years ago

oh cause im oped maybe?

Stormbow commented 7 years ago

Yep. Don't use OP at all. That's for Vanilla servers which don't use any plugins at all. :-)

Using OP when you use plugins can make you think things are OR are not programmed correctly on the server.

ZardosCraft commented 7 years ago

so should i deop my self?

Stormbow commented 7 years ago

Definitely.

ZardosCraft commented 7 years ago

ok and anyway how did you say to change my name color (not rank) cause i dont want it red xD

ZardosCraft commented 7 years ago

it was red before i installed permissions and essentials

ZardosCraft commented 7 years ago

wait i need to add &r

Stormbow commented 7 years ago

Here are all the parts of the prefix, as far as EssentialsXChat is concerned, that is:

[ + the group name + ] + the username + the words they type.

You can change all the formatting codes and color codes as much as you want in the prefix: option for the group.

ZardosCraft commented 7 years ago

wow Bro You have been the biggest help EVER your so good at plugins I have looked EVERYWHERE for some1 like you...If you wouldnt mind me asking would you like to by [Plugin-Manager] or even Co-Owner if not i totally understand just my server needs someone like you cause we all suck at plugins xD

ZardosCraft commented 7 years ago

If so ill give u IP

Stormbow commented 7 years ago

Thanks for the compliment. :-)

I've been working with @zml2008 (the programmer for PermissionsEx) for something like 5 years, so I'm extremely good with PermissionsEx. I've run a couple servers of my own over the years, too, so I've got some knowledge of the various plugins and how to get them working in PEX.

But... I don't actually play Minecraft very much at all anymore. LOL

I appreciate the offer though, and I'm happy to help out with anything permissions-related as needed. Just post here in the PEX tickets and I'm usually the one to handle them. (The programming questions and SQL database questions have to be answered by @zml2008.)

Stormbow commented 7 years ago

I'd love to come see the server though. Which version of Minecraft are you running?

ZardosCraft commented 7 years ago

1.11

ZardosCraft commented 7 years ago

thx

Stormbow commented 7 years ago

Beautiful. What's the address?

Stormbow commented 7 years ago

(1.11.2 is my favorite, at the moment.)

ZardosCraft commented 7 years ago

] Edit by Stormbow: Removed IP, for privacy reasons. [