Vault

Vault

7M Downloads

Vault Hooking into PermissionsEX_Chat, why?

NeoScooch opened this issue ยท 4 comments

commented

I added a plugin to my server "GB.TimePlayed" today and started getting disconnected whenever I would type a chat message longer then normally allowed unless you have a plugin to allow you. I did file a ticket to that plugins developer with the error from the console, but, I found something confusing:

2012-02-12 14:21:33 [INFO] [Vault] Loading Vault v1.2.8-b87.
2012-02-12 14:21:33 [INFO] [Vault][Economy] Essentials Economy found: Waiting
2012-02-12 14:21:33 [INFO] [Vault][Permission] PermissionsEx found: Waiting
2012-02-12 14:21:33 [INFO] [Vault][Permission] SuperPermissions loaded as backup permission system.
2012-02-12 14:21:33 [INFO] [Vault][Chat] PermissionsEx found: Waiting
2012-02-12 14:21:33 [INFO] [Vault] Enabled Version 1.2.8-b87

Why is Vault waiting on PermissionsEx for Chat?

2012-02-12 14:21:36 [INFO] [Vault][Permission] PermissionsEx hooked.
2012-02-12 14:21:36 [INFO] [Vault][Permission] PermissionsEx_Chat hooked.
2012-02-12 14:21:36 [INFO] [Vault][Economy] Essentials Economy hooked.

Why did it hook into PermissionsEx_Chat and not EssentialsChat? For one, I don't even have a PermissionsEx_Chat.jar and for two, I have added softdepend: [Vault] to the plugin.yml in the EssentialsChat.jar.

This ticket has been filed with both Vault and PEX as I am not sure who has fixing to do. I think both since Vault is hooking into something I don't even have and PEX is telling Vault it has something it shouldn't.

Thanks,
Jason

commented

PEX Chat is higher priority than Essentials. Essentials is ALWAYS load last regardless of what else is on the server. This will not be changed. Essentials has the least amount of compatibility over all of the chat plugins and this is why if another system is detected with better support it is loaded. I suggest not using Essentials_Chat with PEX, if you want to use the Essentials plugins for chat support use GM instead of PEX. Don't split what you're using for chat providers as PEX already provides more options that Essentials.

commented

I would completely understand your answer if I had a PEXChat.jar which does exist but ended up in my Recycling Bin as I only took Permissions.jar and PermissionsEx.jar out of the .zip I downloaded. So I am still left confused how Vault is loading a plugin I don't have. To me it's the same as if I read:

2012-02-12 14:21:33 [INFO] [Vault][Economy] iConomy7 Economy found: Waiting
2012-02-12 14:21:36 [INFO] [Vault][Economy] iConomy7 Economy hooked.

When I don't have or use iConomy and I do have and use EssentialsEco. Then you would reply "iConomy is a more compatible economy plugin then EssentialsEco so Vault will always load the more compatible plugin first."?

commented

PermissionsEx includes Chat API, PEXChat is just a chat propogater... There's a huge difference. PEXChat provides prefix/option usage that's already present in the base PEX. So because PEX contains all of the API it registers in Vault as both permission and chat, and will continue to. If you need chat options, set them in PEX.

commented

Ah, I get it now. Sorry and thank you very much.