Problem/Bug Cannot set more than 1 Home

Discussion in 'Bukkit Help' started by ThisIsAwesome55, Apr 10, 2018.

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

    ThisIsAwesome55

    I can't set more than 1 home and I am default and deoped. I have restarted my server. EssentialsEX and pastebin below.

    https://pastebin.com/b9vgDHAz
     
  2. Offline

    Concube

    Do you have the permission listed in the config?...

    # Players need essentials.sethome.multiple before they can have more than 1 home.
     
  3. Offline

    PriorityHacker

    Hey @ThisIsAwesome55 , In pex add to your default group the following permission :
    essentials.sethome.multiple

    At the line 520 Of your essentials file you can use defined rank or add one .
    example you use de (default: 99999) just replace 99999 by the number of home .

    Eg: default: 3
    Add the following permissions to the player :
    essentials.sethome.multiple
    essentials.sethome.multiple.default <-- change the default to the rank

    Ps : i'm not sure if the player need those , you will have to test it .

     
  4. Offline

    ThisIsAwesome55

    Theres is nothing in the permissions.yml file. I am a noob at this sorry.
    <EDIT by Moderator: Redacted image that isn't showing>
     
    Last edited by a moderator: Apr 10, 2018
  5. Offline

    yPedx

    Then I suggest making the ranks/groups, then add the permission. Also you may use "-1" instead of "99999"
     
  6. Offline

    ThisIsAwesome55

    So I got that all fixed thanks to all of you <3 . But I have another problem still under the idea of no more than 3 homes.

    So before importing everything into permissionsEX you could set all the homes needed, but now with everything in PermissionsEX no permissions are given to anyone, new pastebin beloww....

    https://pastebin.com/VDqu0mb1

    I am user ThisIsAwesome55 and I was testing it with user lion_soul .

    We run a server on 1.12.2 Spigot MC
    Plugins are:
    CorePortect EssentialsX PermissionsEX PluginConstructorAPI SilkSpawners SimpleFreeze Sudo iDisguise worldeditbukkit

    An error message IDK if connected or not (open)

    [11:18:26] [Server thread/ERROR]: [PermissionsEx]
    ========== UNABLE TO LOAD PERMISSIONS BACKEND =========
    Your configuration must be fixed before PEX will enable
    Details: Error loading permissions file!
    =======================================================
    ru.tehkode.permissions.exceptions.PermissionBackendException: Error loading permissions file!
    at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.java:321) ~[PermissionsEx-1.23.4.jar:?]
    at ru.tehkode.permissions.backends.file.FileBackend.<init>(FileBackend.java:120) ~[PermissionsEx-1.23.4.jar:?]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_112]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_112]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_112]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_112]
    at ru.tehkode.permissions.backends.PermissionBackend.getBackend(PermissionBackend.java:392) ~[PermissionsEx-1.23.4.jar:?]
    at ru.tehkode.permissions.backends.PermissionBackend.getBackend(PermissionBackend.java:367) ~[PermissionsEx-1.23.4.jar:?]
    at ru.tehkode.permissions.PermissionManager.createBackend(PermissionManager.java:624) ~[PermissionsEx-1.23.4.jar:?]
    at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:606) ~[PermissionsEx-1.23.4.jar:?]
    at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:693) ~[PermissionsEx-1.23.4.jar:?]
    at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:67) ~[PermissionsEx-1.23.4.jar:?]
    at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:175) [PermissionsEx-1.23.4.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) [spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381) [spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330) [spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422) [spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383) [spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338) [spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
    Caused by: org.bukkit.configuration.InvalidConfigurationException: mapping values are not allowed here
    in 'string', line 3, column 12:
    default: true
    ^
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at ru.tehkode.permissions.backends.file.FileConfig.loadFromString(FileConfig.java:68) ~[?:?]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:162) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at ru.tehkode.permissions.backends.file.FileConfig.load(FileConfig.java:38) ~[?:?]
    at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.java:309) ~[?:?]
    ... 23 more
    Caused by: org.yaml.snakeyaml.scanner.ScannerException: mapping values are not allowed here
    in 'string', line 3, column 12:
    default: true
    ^
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:872) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:557) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:227) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:154) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:140) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:524) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:437) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at ru.tehkode.permissions.backends.file.FileConfig.loadFromString(FileConfig.java:68) ~[?:?]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:162) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[spigot-1.12.2.jar:git-Spigot-b6ecf3b-9060bfa]
    at ru.tehkode.permissions.backends.file.FileConfig.load(FileConfig.java:38) ~[?:?]
    at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.java:309) ~[?:?]
    ... 23 more
    [11:18:26] [Server thread/INFO]: [PermissionsEx] Disabling PermissionsEx v1.23.4

    This almosts spams my console every 30seconds or so.
     
    Last edited: Apr 11, 2018
  7. Offline

    Shreaders1

    @ThisIsAwesome55 your entire permissions config was riddled with incorrect formatting. For creating/editing configuration files I highly recommend downloading Notepad++, or a similar software that will guide you through the editing process and alert you to any possible formatting errors. That being said, the error your console is spamming you with is telling you exactly what the issues is: Your permissions configuration is not setup properly (i.e. formatting errors.)

    I plugged your code into a yaml parser: http://yaml-online-parser.appspot.com/
    and I made some changes for you.

    I created you a new permissions configuration that should work for you: https://pastebin.com/jmhDwsQE

    The bed issue is another topic that @PriorityHacker seemed to hit right on the money. Follow his post and you should have no problems giving specific ranks set amounts of /homes.
     
Thread Status:
Not open for further replies.

Share This Page