Solved TekkitCustomizer + PermissionsEx - Can't unban items

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

d4m1ty

New Member
Jul 29, 2019
24
0
0
Title says it. Permissions are done right, no errors I can see when reloaded.
Debugging permissionsEx in the console shows no check for tekkitcustomizer.

Oping a player does work. Adding permissions do not.

Running MCPC-Plus-jenkins-mcpc-plus-legacy-15 version 1.4.7-R1.1-SNAPSHOT

Code:
  citizen:
    prefix: '$e[$9Citizen$e]$f '
    options:
      rank: '700'
      rank-ladder: Donor
    inheritance:
    - civilian
    permissions:
    - tekkitcustomizer.*
    - mytown.mayor.blocks.8
    - mytown.resident.blocksmulti.4
    - mytown.cmd(|.*)
    - mytown.ecmd.*
    - mytown.chat.*
    - modifyworld.*
 

Greedseed

New Member
Jul 29, 2019
1,107
0
0
If you have permission problems with PEX itself, i suggest using the /pex user <user> toggle debug command.
It will show you what exact perm node the user is missing in console.

Also PEX wont give a error on a wrong permission node. it wont check if the actual nodes are correct or not it just apply's them, reason for this is that it cannot compare all the nodes from all those plugins that have nodes to make sure you have the correct node.
 

d4m1ty

New Member
Jul 29, 2019
24
0
0
/pex user d4m1ty toggle debug command

gave me a command error. wiki for Pex doesnt show this as a valid command either.

/pex user d4m1ty toggle debug

Had no effect since I already had debugging on for all users while I set up all the perm nodes. I'm seeing everything from modifyworld appear from damage from mobs to my attacking mobs, like it should but I never see a tekkitcustomizer check.

/pex user d4m1ty shows me that d4m1ty has the tekkitcustomizer.* permission from the current group.

Could this be a permissionsex.cfg issue? Am I missing a setting in the file that forces all mods to use Pex?


Code:
# Configuration file
 
####################
# permissions
####################
 
permissions {
    B:allowOps=false
    S:backend=file
    S:backends_file_file=permissions.yml
    S:basedir=config
    B:createUserRecords=false
    B:debug=true
    B:log-players=false
}

EDIT
I just was reading some stuff regarding MyTown and the need to place MyTown nodes in the permissions.yml file located in the root folder, not the PermissionsEx config location folder. Could this be why I am not seeing TekkitCustomizers nodes appear in the debug, they are not part of this yml file?
 

Greedseed

New Member
Jul 29, 2019
1,107
0
0
Mytown is a mod and not a plugin so i dont know how it behaves. Since its not a plugin it might be that permissionEX wont know its there. PEX is not created to work with mods but with plugins :p
 

d4m1ty

New Member
Jul 29, 2019
24
0
0
Then why isn't TekkitCustomizer not showing node checks on permissionsex? it is a plugin, is it not?
TekkitCustomerizer worked with bPermissions just fine, but I don't want to have to maintain 2 permissions files.

I'm just trying to find what is missing.

Who ever else is using TekkitCustomizer, what permissions plugin are you using?
Anyone else using Pex, if so, would you minding posting your permissions.yml for bukkit and pex as well as the pex.cfg file.
 

Greedseed

New Member
Jul 29, 2019
1,107
0
0
i use pex and tekkitcustomizer, and no i dont use permissions.yml.

The reason i was talking about mods is that mytown is a mod if i am not mistaking. So there might be the problem with communication to the plugins, i am not sure about this i dont use mytown!

Pex and Tekkitcustomizer do work properly here.
 

d4m1ty

New Member
Jul 29, 2019
24
0
0
Cool, then it does work for a fact. Would you mind posting a chunk of your permissions.yml for pex as well as the pex config so I can compare? Also, what additional 3rd party mods outside of FTB are you running?

Want to find a solution for this and have it here incase others run into the same thing. Going to start with removing any 3rd party mod and go from FTB + Pex + TC and see if its a conflict with another mod. Will report back as I go along.
 

Greedseed

New Member
Jul 29, 2019
1,107
0
0
i cant give you my perm since i use a database setup.

But i have bin resting a but yesterday, if you are on your server and adding tekkit customizer mermissions, you need to enable the /pex enable debug or /pex debug enable
dont remember with one of the two :p But its on the pex wiki, Then it did show me what permissions of tekkit customizer i was missing ! so the debug is a awsome tool to help you with perm problems.
 

d4m1ty

New Member
Jul 29, 2019
24
0
0
Got it figured out.

TO EVERYONE to has a FTB server and wants to port to MCPC, you got to start from the beginning. using PermissionsEx with raw ftb you put it in the mods folder and it sets up like it was a ftb mod, dropping its configs into the config folder. Works fine for FTB.

When you want to use Pex with MCPC, it must be in the plugins folder so if you started with FTB and Pex without, make a new game folder, download the server, MCPC it, add in the plugins to the plubins folder now, port your world, restart and you are good to go.

If you want to use MyTown, you need to have Pex as a mod in the mod folder, but to use with TekkitCustomizer, it Pex needs to act like a plugin it seems.