Plugin Help Essentials Homes/Kits Won't Work and PEX Won't Work

Discussion in 'Plugin Help/Development/Requests' started by Sage of Souls, Oct 1, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Sage of Souls

    Hi, I've been trying to get my server to work correctly with Essentials and PermissionsEX, but neither of the two want to work properly. They work somewhat correctly, but some things either don't respond or respond with the wrong thing.

    My first problem is that I can't get my server to work with multiple homes. I've given the correct nodes in my permissions.yml file, but it still won't let them set more than one home, even if I specific the use of the VIP or Staff node and not just leave it to default.

    My second problem is that I can't create, delete, or edit kits. I can see the list of kits and I can acquire the kits, but I can't do much else beyond that.

    My third and final problem is that any command I send with PermissionsEX just registers as if I'd typed in "/pex" or "/pex help". I can't edit groups or users or permissions or whatever via in-game commands or the console. I have to edit it via the yml file directly.

    Can anyone help me figure out what's wrong here?


    Essentials Config (open)

    #
    # +------------------------------------------------------+ #
    # | Notes | #
    # +------------------------------------------------------+ #
    ops-name-color: '4'
    nickname-prefix: ''
    change-displayname: true

    teleport-cooldown: 0
    teleport-delay: 3
    teleport-invulnerability: 4

    heal-cooldown: 60

    permission-based-item-spawn: false

    spawnmob-limit: 10

    warn-on-smite: true

    socialspy-commands:
    - msg
    - w
    - r
    - mail
    - m
    - t
    - whisper
    - emsg
    - tell
    - er
    - reply
    - ereply
    - email
    - action
    - describe
    - eme
    - eaction
    - edescribe
    - etell
    - ewhisper
    - pm

    player-commands:
    - afk
    - afk.auto
    - back
    - back.ondeath
    - balance
    - balance.others
    - balancetop
    - build
    - chat.color
    - chat.format
    - chat.shout
    - chat.question
    - clearinventory
    - compass
    - depth
    - delhome
    - getpos
    - geoip.show
    - help
    - helpop
    - home
    - home.others
    - ignore
    - info
    - itemdb
    - kit
    - kits.tools
    - list
    - mail
    - mail.send
    - me
    - motd
    - msg
    - msg.color
    - nick
    - near
    - pay
    - ping
    - protect
    - r
    - rules
    - realname
    - seen
    - sell
    - sethome
    - setxmpp
    - signs.create.protection
    - signs.create.trade
    - signs.break.protection
    - signs.break.trade
    - signs.use.balance
    - signs.use.buy
    - signs.use.disposal
    - signs.use.enchant
    - signs.use.free
    - signs.use.gamemode
    - signs.use.heal
    - signs.use.info
    - signs.use.kit
    - signs.use.mail
    - signs.use.protection
    - signs.use.repair
    - signs.use.sell
    - signs.use.time
    - signs.use.trade
    - signs.use.warp
    - signs.use.weather
    - spawn
    - suicide
    - time
    - tpa
    - tpaccept
    - tpahere
    - tpdeny
    - warp
    - warp.list
    - world
    - worth
    - xmpp

    kits:
    tools:
    delay: 86000
    items:
    - 306:0 1 durability:1 protection_environmental:1
    - 307:0 1 durability:1 protection_environmental:1
    - 308:0 1 durability:1 protection_environmental:1
    - 309:0 1 durability:1 protection_environmental:1
    - 257:0 1 durability:1 dig_speed:1
    - 256:0 1 durability:1 dig_speed:1
    - 258:0 1 durability:1 dig_speed:1
    - 267:0 1 durability:1 damage_all:2
    - 364:0 32
    - 30186:0 16
    Loyalty:
    delay: 604800
    items:
    - 1100:0 1

    enabledSigns:
    - color
    - balance
    - buy
    - sell
    - trade
    - free
    - disposal
    - warp
    - kit
    - mail
    - enchant
    - gamemode
    - heal
    - info
    - spawnmob
    - repair
    - time
    - weather

    sign-use-per-second: 4
    backup:
    interval: 30

    per-warp-permission: false

    list:
    Admins: owner admin
    debug: false

    remove-god-on-disconnect: false

    auto-afk: 300
    auto-afk-kick: -1
    freeze-afk-players: false
    disable-item-pickup-while-afk: false
    cancel-afk-on-interact: true
    cancel-afk-on-move: true

    death-messages: true

    world-teleport-permissions: false

    default-stack-size: -1
    oversized-stacksize: 64

    repair-enchanted: true
    unsafe-enchantments: false

    register-back-in-listener: false

    login-attack-delay: 5

    max-fly-speed: 0.8
    max-walk-speed: 0.8
    mails-per-minute: 1000
    max-tempban-time: -1

    update-bed-at-daytime: true

    world-home-permissions: false

    sethome-multiple:
    default: 3
    vip: 5
    staff: 10

    tpa-accept-cancellation: 120

    starting-balance: 0
    currency-symbol: $
    max-money: 10000000000000
    min-money: -10000
    economy-log-enabled: false

    non-ess-in-help: true
    hide-permissionless-help: true

    chat:
    radius: 0
    format: <{DISPLAYNAME}> {MESSAGE}

    protect:
    prevent:
    lava-flow: false
    water-flow: false
    water-bucket-flow: false
    fire-spread: false
    lava-fire-spread: true
    flint-fire: false
    lightning-fire-spread: false
    portal-creation: false
    tnt-explosion: false
    tnt-playerdamage: false
    tnt-minecart-explosion: false
    tnt-minecart-playerdamage: false
    fireball-explosion: false
    fireball-fire: false
    fireball-playerdamage: false
    witherskull-explosion: false
    witherskull-playerdamage: false
    wither-spawnexplosion: false
    wither-blockreplace: false
    creeper-explosion: false
    creeper-playerdamage: false
    creeper-blockdamage: false
    enderdragon-blockdamage: true
    enderman-pickup: false
    villager-death: false
    entitytarget: false

    spawn:
    creeper: false
    skeleton: false
    spider: false
    giant: false
    zombie: false
    slime: false
    ghast: false
    pig_zombie: false
    enderman: false
    cave_spider: false
    silverfish: false
    blaze: false
    magma_cube: false
    ender_dragon: false
    pig: false
    sheep: false
    cow: false
    chicken: false
    squid: false
    wolf: false
    mushroom_cow: false
    snowman: false
    ocelot: false
    iron_golem: false
    villager: false
    wither: false
    bat: false
    witch: false

    creeper:
    max-height: -1

    disable:
    fall: false
    pvp: false
    drown: false
    suffocate: false
    lavadmg: false
    projectiles: false
    contactdmg: false
    firedmg: false
    lightning: false
    wither: false
    weather:
    storm: false
    thunder: false
    lightning: false

    build: true
    use: true
    warn-on-build-disallow: true

    alert: {}
    blacklist: {}

    newbies:
    announce-format: '&dWelcome {DISPLAYNAME}&d to the server!'
    spawnpoint: newbies
    kit: tools

    respawn-listener-priority: high
    respawn-at-home: false

    (Comments have been removed.)


    Permissions.yml (open)

    groups:

    default:

    default: true

    permissions:

    - modifyworld.*

    - essentials.afk

    - essentials.back

    - essentials.bal

    - essentials.balance

    - essentials.balancetop

    - essentials.build

    - essentials.build.place.1503
    - essentials.delhome

    - essentials.help

    - essentials.helpop

    - essentials.home

    - essentials.ignore

    - essentials.kit

    - essentials.kit.Tools

    - essentials.kit.tools

    - essentials.kits


    - essentials.kits.Tools

    - essentials.list

    - essentials.mail

    - essentials.mail.clear

    - essentials.mail.read

    - essentials.mail.send

    - essentials.message

    - essentials.msg

    - essentials.pay

    - essentials.ping

    - essentials.reply

    - essentials.sethome

    - essentials.sethome.multiple
    - essentials.sethome.multiple.vip

    - essentials.spawn

    - essentials.tpa

    - essentials.tpaccept

    - essentials.tpahere

    - essentials.tpdeny

    - essentials.warp

    - essentials.warp.list

    - essentials.warp.shop

    - essentials.warps

    - essentials.warps.list

    - factions.kit.fullplayer


    - shop.create


    prefix: '&l[&eMember&r&l]&r'
    users:
    SageofSouls:
    permissions:
    - '*'

    (I also can't get prefixes working, but that's not a priority.)
     
    Boomer likes this.
  2. Offline

    oceantheskatr

    Could you please get your latest.log and post it on http://pastebin.com/ and link the URL here? Take a look at the orange text in my signature for more info on how to find it.
     
    Boomer likes this.
  3. Offline

    Sage of Souls

    Sorry, I should've given this information from the start:

    I'm home-hosting my server and it's saved in a folder in my C drive. I'm hosting an FTB Unleashed server. I have no logs folder to go to.

    --- Merging posts is half the battle ---

    (Hmm. My post didn't save...)

    Sorry, I should've posted this information at the start:

    I home-host my server and it's saved in a folder in my C drive. It's an FTB Unleashed server, so I don't have the typical folders that come with a vanilla server. I don't have a logs folder, nor are there any files named "latest.log".
     
    Last edited by a moderator: Oct 1, 2015
    Boomer likes this.
  4. Offline

    Boomer

    if its built on pre 1.7 minecraft technology, its not a log folder, but a server.log file which grows and grows and grows month after month after month. If its built on 1.7 technology or higher, you have the only minecraft 1.7+ servertech that doesn't have a log folder

    Regarding the obvious -- "multiple homes not working" and the related "kits not working"

    Homes and warps and permissions are special clusters of permission nodes - you typically need one permission JUST to use the command /home, /kit, or /warp without getting a "You dont have permission for this command !" error - yet, that doesn't give you any USE of the command. You need an additional node to set a home, you need an additional command to have ACCESS to multiple homes, and you need an additional node - defined by you in the config file - that communicates to the system how MANY multiple homes a person can use.

    You need one permission node just to type /warp, another one to list the warps or not, another to set one or not, another to have access to all warps available or not, and different nodes - custom made - to grant access to specific warps only if not granting ALL warp access.

    You need one node just to type /kit, another node to list what the kits are, another node- custom made- for each kit.

    And these nodes, you dont just guess at - you work from the table of permissions, because they alternate from warp to warps and kit to kits and kit.all vs kits.all is two totally different things, warps.all and warp.all is two TOTALLY different things - etc.

    Multihomes, warps, and kits are ususally a challange for folks because they either miss the extra nodes that actually give substance to the command, or they mis-spell one and use kit.something when they needed kits.something, and used kits.blah when they needed it to be kit.blah

    ------
    Regarding your /pex = as if nothing problem -- it means you pooched your pex yml file with an edit, then when you started the server, your log spewed forth with great gobs of java errors due to parsing and plugins crying about permissable failures - pex the plugin is dead with the brusted config, doesn't even know if you have permission to use any pex commands or not, can't even CHECK if anyone has permissions, it just ran into the closet and is hiding away.
    You need to fix any yaml parsing errors (or broken logical errors in the file) that are preventing it from loading
    OR
    giving the benefit of the doubt that the pex file is fine, you did a server /reload command - which is a bullet to the head of pex. Never do server /reload with pex on your server, it locks you until you do a clean server stop/start again, then pex can load correctly (if the yml is perfect). If you make an edit to the file while the server is live, you would do /pex reload in order to apply that file change without restarting - however, if pex is working and you do a /pex reload and you have an error int he yaml - the server log will barf parsing errors and java errors all over the console when you do, and the reloaded pex is shot in the head, and now the plugin is dead - you can't use any /pex reload again because /pex is meaningless.

    The main problem here is that you posted your permissions file in a non-structure preserving post - yml files are all about PERFECT, PERFECT spatial alignment of each row in the file in order to define the relationship of the data elements, and PERFECT is not an overstatement as a single missing or extra space will derail the parser; major malfunctions in missing entire levels of indentation, or too many, may result in a legally parsable yaml file - but, break the logic of the data relationships so badly that the plugin is able to parse it but unable to USE it and will spew all sorts of different java errors all over the log.

    Please use www.pastebin.com for posting any yml config files or permission files, so that its spatial formatting is absolutely preserved
     
  5. Offline

    Sage of Souls

    Permissions.yml: http://pastebin.com/Si1jcKNC
    Essentials Conifg: http://pastebin.com/q9x0mPsB

    All of the nodes should be set correctly. I edited my Permissions.yml file (apparently copy/paste spaces don't appear the same), so that might've fixed the PEX and home problem (I'll edit to confirm or deny that once my server's back up). That probably won't fix the kit problem, though, as that was a problem even when I did have homes working correctly (again, I'll edit with a confirm or deny once my server's back up).

    Edit: That didn't fix any of the problems.
     
    Last edited: Oct 2, 2015
    Boomer likes this.
  6. Offline

    Boomer

    Thats not a valid PEX file format. The permissions: block should be lined up with the default: true indentation level
    Move permissions: to the left, and move every listed permission node to the left one indentation level.

    The kit definitions dont stand out as wrong in any way immediately obvious. Try rebooting your server, try to spawn a kit, and pastebin the entire logs/latest.log file after it boots to see if there are any scream-outs about the kit definitions in bootup and/or when the command is used.
     
  7. Offline

    Sage of Souls

    Ok, that got my homes and my PEX commands problem, but I still can't create or delete kits. I can do "/kit" to see them and I can do "/kit <kit name>" to get the kit.

    In case you still need to see the Permissions.yml file:
    http://pastebin.com/VWRRDgzT

    This is the short log from me entering the commands:
    2015-10-02 14:49:11 [INFO] SageofSouls issued server command: /kit
    2015-10-02 14:49:14 [INFO] SageofSouls issued server command: /kit loyalty
    2015-10-02 14:49:20 [INFO] SageofSouls issued server command: /createkit temp
    2015-10-02 14:49:22 [INFO] SageofSouls issued server command: /delkit temp

    In-game, I got the response "Unknown command. Type "help" for help." for the last two of those. The first two worked fine.

    Here's the server.txt file:
    http://pastebin.com/hpJp09MA

    If there's a better log that can be found somewhere in a home-hosted FTB Unleashed server directory, please let me know where I might could find that and I'll get it to you.
     
    Boomer likes this.
  8. Offline

    ZeldoKavira

    We do not support offline servers.
     
Thread Status:
Not open for further replies.

Share This Page