Can i make "block" command on all players who join?

Discussion in 'Bukkit Help' started by isleepzzz, Feb 23, 2012.

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

    isleepzzz

    Ok so if you have no clue what the "block" command is, please read this topic very quickly: http://forums.bukkit.org/threads/ad...commands-required-for-a-server-1-1-rc4.43878/

    Ok so now you should know that the "block" command, makes the player NOT able to either set-up blocks or destory blocks ANYWHERE. Is there a way i can make this soo that ALL players are "blocked" except that OPs?

    EDIT: Maybe somehow i can add inside my server.properties something like "all-blocked=true" and that will either enable or disable all players are blocked

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  2. Offline

    ZeroZX4

  3. Offline

    isleepzzz

    i dont understand? What does PermissionEx do with anything? I want the ALL to be on "blocked" right when they login, i dont want them to have the permission to do /block
     
  4. Offline

    ZeroZX4

    look permissions plugins was created to control what command of each plugin will be available for what users or groups

    plugins got permissions for each or most commands and actions

    there is plugin called essentials when u use it you can kick/ban/summon and do more more more stuff like that

    now lets say u going to be op in my server but i dont want you to be able to kick or ban ppl but im ok if u summon them

    there r 2 types fo permissions

    1 is when it give something like being able to kick

    - essentials.kick

    this is how permission for kick look like so someone with that permissions can use command /kick

    now if i dont want someone to be able to kick i just dont give him that permission but if he is in a group that have that permission than u need to use 2nd type of permission

    - -essentials.kick

    this is how you take away permission from someone

    to solve ur problem just install permissions

    https://github.com/PEXPlugins/PermissionsEx/wiki/Modifyworld

    go to blocks section
    and for example to ur ops you give them permissions like

    - modifyworld.blocks.destroy.*
    - modifyworld.blocks.place.*
    - modifyworld.blocks.interact.*

    .* < this mean give all permissions of that kind

    and to rest users u give

    - -modifyworld.blocks.destroy
    - -modifyworld.blocks.place
    - -modifyworld.blocks.interact

    and so ur ops can build destroy and interact with any blocks and rest of your groups cant

    this is how it should look im in group newb and i can build destroy or use doors chest or switches while u r in group admin and you can do anything

    http://pastebin.com/bmUYdWm6
     
  5. Offline

    isleepzzz

    Ok sooo if i was to add the Pex and have my permissions say under the default only "- -modifyworld.blocks.place" they could ONLY place objects and not destory them?
     
  6. Offline

    ZeroZX4

  7. Offline

    isleepzzz

    What about everything else? If i do NOT add a permission under the "admin" dose that mean it automatically allows u to do anything, or noo i have to add it?

    ALSO: What does the Astral star mean? " modifyworld.blocks.destroy.*" instead of " modifyworld.blocks.destroy"

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  8. Offline

    ZeroZX4

    not only star its dot and star .*

    look for EXAMPLE if you have essentials and there is permissions like

    - essentials.warp.use
    - essentials.warp.set
    - essentials.warp.rename
    - essentials.warp.delete

    its stupid to add every of this permissions 1 by 1 and thats where .* come in

    - essentials.warp.*

    this give all permissions with warp functions or commands

    so this

    - essentials.*

    gives all permissions and functions of essentials

    so as we go on

    - commandbin.*

    this give all permissions of command bin got it now ?
     
  9. Offline

    isleepzzz

    Yes i got it, you've been a big help:) Can i ask u stay for a sec tho? Cuz ima test it all out, see if i have any problems/concerns i waana ask.
     
  10. Offline

    ZeroZX4

    ow my i forgot 1st thing from which u will need to start is go to Modifyworld folder in ur plugins folder and there edit config by switching enable to true

    enable: true

    cause by default its false


    here is all info you need read 1st that under configuration

    https://github.com/PEXPlugins/PermissionsEx/wiki/Modifyworld
     
  11. Offline

    isleepzzz

    Ehh crap:\ i do not have a "Modifyworld" folder :(
     
  12. Offline

    ZeroZX4

  13. Offline

    isleepzzz

    Ok.. still i got no "Modifyworld" folder, i now have a "PermissionsEx" and even inside that their is no "modifyworld" :(
     
  14. Offline

    ZeroZX4

    here i zipped them for u

    http://www63.zippyshare.com/v/86707919/file.html

    ow and also u know u need PermissionEX.jar and Permissions.jar from that pack in ur plugins folder?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  15. Offline

    isleepzzz

    ok im sooo confused nd gettin stressed alil:\ i rlllyy want this nd its not wokring out:\

    Ehh... ok.. here i have this in my permissions.yml inside my "PermissionEx" folder

    Code:
    users:
        isleepzzz:
            group:
            - admin
            permissions:
            - ''
        user3:
            group:
            - newbs
            permissions:
            - ''
    groups:
        newbs:
            default: true
            permissions:
            - -modifyworld.blocks.destroy
            - -modifyworld.blocks.place
            - -modifyworld.blocks.interact
            - -repairshop.use
        admin:
            permissions:
            - modifyworld.blocks.destroy.*
            - modifyworld.blocks.place.*
            - modifyworld.blocks.interact.*
            - repairshop.*
            - commandbin.*
    
    All normal players and isleepzzz can add/destory/and interact with blocks but when i try to do commands inside my "commandbin" link for that:http://forums.bukkit.org/threads/ad...commands-required-for-a-server-1-1-rc4.43878/
    It says to me "An internal error occurred attempting to perform this command"


    Soooo idk wtf is happening? Is the PermissionEx even working oorrr what? idkk:( when i run my server i also get:

    Code:
    08:09:35 [INFO] [Modifyworld] Loading Modifyworld v1.18.
    08:09:35 [SEVERE] [Modifyworld] PermissionsEx not found, disabling
    08:09:35 [INFO] [Modifyworld] Unloading Modifyworld v1.18.
    08:09:35 [INFO] [Modifyworld] Modifyworld disabled!
    08:09:35 [INFO] [RepairShop] Loading RepairShop v1.4.
    08:09:35 [INFO] RepairShop version 1.4 is enabled!
    08:09:35 [INFO] [Permissions] Loading Permissions v2.7.7.
    08:09:35 [INFO] [PermissionsCompat] Compatibility layer enabled.
    08:09:35 [INFO] [CommandBin] Loading CommandBin v2.07.
    08:09:35 [INFO] [CommandBin] Registered Commands
    08:09:35 [INFO] [CommandBin] Events registered
    08:09:35 [SEVERE] Error occurred while enabling CommandBin v2.07 (Is it up to da
    te?)
    java.lang.RuntimeException: Permissions manager is not accessable. Is the Permis
    sionsEx plugin enabled?
            at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(Perm
    issionsEx.java:155)
            at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.j
    ava:80)
            at org.cain.cmdbin.CommandBin.setupPermissions(CommandBin.java:159)
            at org.cain.cmdbin.CommandBin.onEnable(CommandBin.java:73)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:343)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:364)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:225)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:208
    )
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:498)
            at org.bukkit.Bukkit.reload(Bukkit.java:170)
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:
    22)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
    28)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:784)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:744)
     
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:732)
            at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
    8)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    08:09:35 [INFO] [ChatManager] Loading ChatManager v1.18.
    08:09:35 [SEVERE] [ChatManager] PermissionsEx not found, disabling
    08:09:35 [INFO] [ChatManager] Unloading ChatManager v1.18.
    08:09:35 [INFO] [ChatManager] ChatManager disabled!
    08:09:35 [INFO] Server permissions file permissions.yml is empty, ignoring it

    Soooo idk if any of that is from the PermissionEx buuuttt its annyoing:\ but if its not then idc i can leave it their for now till i get permissionEx working:\

    EDIT: I believe that my PermissionEx stuff is NOT working:\ Now i know for a fact that the permissions.yml inside my PermissionsEx folder does NOT work! I take off stuff for the default players like build/destory blocks and save and restart server and still lets them do all that. Soooo idk wuts wrong??:(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  16. Offline

    ZeroZX4

    well i 1st of all is isleepzzz ur in game nickname ? cause if not ur not listed in pex than
    2nd if u was so clever to delete me from users list how come u didnt add ur own users isnt that obvious ?

    and before we begin tell me if in your plugin folder you have

    PermissionsEX.jar
    Permissions.jar
    Modifyworld.jar

    and PermissionsEX and Modifyworld folders ?

    u dont need ChatManager.jar


    well with that error it mean ur pex dont work cause they didnt load at all so it would be hard that anything in game would be restricted

    last question do u have bukkit from here ? its R4

    http://cbukk.it/craftbukkit.jar
     
  17. Offline

    isleepzzz

    Ok i have downloaded the craftbukkit u gave me and works good:) Nooww what do i copy over to my old server files that will make the map lyk it was? So my players houses and crap dont get deleted.?
     
  18. Offline

    ZeroZX4

    lololol ?

    put that craftbukkit in to folder of ur old server than from that folder remove old bukkit.jar file and just enjoy
     
  19. Offline

    isleepzzz

    Oh wow thats alot simplier than i thot:p let me try that then..:)

    But hey... when i add the classifiacation of "users" to admin permissions. It always givs sum errrors:\

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  20. Offline

    ZeroZX4

    what error and how u add them ?
     
  21. Offline

    isleepzzz

    Ok i have fixed the problem about the "users" and stuff buuuttt its works all. But when i try and add a permission lyk createing a repair shop thing. It says this biiigg error:

    Code:
    09:58:48 [INFO] [Modifyworld] Loading Modifyworld v1.18.
    09:58:48 [SEVERE] [Modifyworld] PermissionsEx not found, disabling
    09:58:48 [INFO] [Modifyworld] Unloading Modifyworld v1.18.
    09:58:48 [INFO] [Modifyworld] Modifyworld disabled!
    09:58:48 [INFO] [RepairShop] Loading RepairShop v1.4.
    09:58:48 [INFO] RepairShop version 1.4 is enabled!
    09:58:48 [INFO] [Permissions] Loading Permissions v2.7.7.
    09:58:48 [INFO] [PermissionsCompat] Compatibility layer enabled.
    09:58:48 [INFO] [CommandBin] Loading CommandBin v2.07.
    09:58:48 [INFO] [CommandBin] Registered Commands
    09:58:48 [INFO] [CommandBin] Events registered
    09:58:48 [SEVERE] Error occurred while enabling CommandBin v2.07 (Is it up to da
    te?): Permissions manager is not accessable. Is the PermissionsEx plugin enabled
    ?
    java.lang.RuntimeException: Permissions manager is not accessable. Is the Permis
    sionsEx plugin enabled?
            at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(Perm
    issionsEx.java:155)
            at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.j
    ava:80)
            at org.cain.cmdbin.CommandBin.setupPermissions(CommandBin.java:159)
            at org.cain.cmdbin.CommandBin.onEnable(CommandBin.java:73)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:1057)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:380)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:199)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:182
    )
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:471)
            at org.bukkit.Bukkit.reload(Bukkit.java:188)
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:
    22)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
    02)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    98)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:574)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    09:58:48 [INFO] Server permissions file permissions.yml is empty, ignoring it
    09:58:48 [INFO] Reload complete.

    Becuase i am adding in this:

    Code:
    users:
        isleepzzz:
            group:
            - admin
            permissions:
            - ''
     
    groups:
        newbs:
            default: true
            permissions:
            - -modifyworld.blocks.destroy
            - -modifyworld.blocks.place
            - -modifyworld.blocks.interact
            - -RepairShop.use
        admmin:
            permissions:
            - modifyworld.blocks.destroy.*
            - modifyworld.blocks.place.*
            - modifyworld.blocks.interact.*
    - RepairShop.use
    - RepairShop.create
    I added: the RepairShop stuff and got errors.. And i got all RepaisShop stuff right:\
     
  22. Offline

    ZeroZX4

    well for start DO NOT USE TABS never

    now amount of spaces is not randomly it need to be 8 spaces from left for each permission


    look it works like this

    words group: and users: have 0 spaces
    groups and users names got 4 spaces from left
    everything else got 8 spaces

    as i see end of ur file u mess it up

    also no empty space between users and groups u have 1 empty line why ?

    download this notepad ++
    http://notepad-plus-plus.org/download/v5.9.8.html

    and use only it to edit ur ymls

    now this is how look my permissions look how all permissions r in same column

    http://pastebin.com/4XXP813G

    do u see difference ?
     
  23. Offline

    isleepzzz

    Yaaaa defently see the differenance annnddd idkk wth is happening? Buuutt here is my Permissions:

    Code:
    users:
        isleepzzz:
            group:
            - admin
            permissions:
            - ''
     
    groups:
        newbs:
            default: true
            permissions:
            - -modifyworld.blocks.destroy
            - -modifyworld.blocks.place
            - -modifyworld.blocks.interact
     
        admmin:
            permissions:
            - -modifyworld.blocks.destroy.*
            - -modifyworld.blocks.place.*
            - -modifyworld.blocks.interact.*
    

    And im online as "isleepzzz" and it will NOT let me, build, destory, or interact with blocks:'( wth happenin?
     
  24. Offline

    ZeroZX4

    muhahahhahaa welll say now it dont work hahahahha

    no but realy wtf man ?

    admmin:
    permissions:
    - -modifyworld.blocks.destroy.*
    - -modifyworld.blocks.place.*
    - -modifyworld.blocks.interact.*

    wtf MM ? adMMin ? d

    next do u remeber difference between this permissions ?

    - permission < this give permission
    - -permission < this take away permission

    so in other word u took all permissions from admin groups :)
     
  25. Offline

    isleepzzz

    Ok i fixed the admmin name . But now i add a RepairShop permission and it looks like:

    Code:
    users:
        isleepzzz:
            group:
            - admin
            permissions:
            - ''
    groups:
        newbs:
            default: true
            permissions:
            -modifyworld.blocks.destroy
            -modifyworld.blocks.place
            -modifyworld.blocks.interact
            - -RepairShop.create
        admin:
            permissions:
            - modifyworld.blocks.destroy.*
            - modifyworld.blocks.place.*
            - modifyworld.blocks.interact.*
            - RepairShop.*
    
    And i get errors when running:

    Code:
    174 recipes
    27 achievements
    18:37:23 [INFO] Starting minecraft server version 1.1
    18:37:23 [INFO] Loading properties
    18:37:23 [INFO] Starting Minecraft server on 192.168.1.3:25565
    18:37:23 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R4-b19
    38jnks (MC: 1.1) (Implementing API version 1.1-R4)
    18:37:24 [INFO] [PermissionsEx] sql backend registered!
    18:37:24 [INFO] [PermissionsEx] file backend registered!
    18:37:24 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    18:37:24 [INFO] [PermissionsEx] p2compat backend registered!
    18:37:24 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    18:37:24 [INFO] [PermissionsEx] Initializing file backend
    18:37:24 [SEVERE] while scanning a simple key; could not found expected ':' init
    ializing PermissionsEx v1.18 (Is it up to date?)
    while scanning a simple key
    in "<reader>", line 11, column 9:
                -modifyworld.blocks.destroy
                ^
    could not found expected ':'
    in "<reader>", line 12, column 9:
                -modifyworld.blocks.place
                ^
     
            at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(Scanne
    rImpl.java:398)
            at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.jav
    a:229)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:17
    8)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(P
    arserImpl.java:591)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:133)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :237)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :237)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :237)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    3)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
     
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:121)
            at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
            at ru.tehkode.permissions.config.Configuration.load(Configuration.java:6
    5)
            at ru.tehkode.permissions.backends.FileBackend.initialize(FileBackend.ja
    va:104)
            at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager
    .java:423)
            at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManage
    r.java:486)
            at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.jav
    a:52)
            at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java
    :71)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:167)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:140)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:52)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    18:37:24 [WARNING] [PermissionsCompat] PermissionsEx plugin not found. Some plug
    ins may not work.
    18:37:24 [INFO] Preparing level "Sleep Survival"
    18:37:24 [INFO] Default game type: 0
    18:37:24 [INFO] Preparing start region for level 0 (Seed: 5959570915862468021)
    18:37:24 [INFO] Preparing start region for level 1 (Seed: 5959570915862468021)
    18:37:25 [INFO] [PermissionsEx] Loading PermissionsEx v1.18.
    18:37:25 [INFO] [PermissionsEx] Superperms support enabled.
    18:37:25 [SEVERE] Error occurred while enabling PermissionsEx v1.18 (Is it up to
    date?): null
    java.lang.NullPointerException
            at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.ja
    va:107)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:1057)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:380)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:199)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:182
    )
            at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    18:37:25 [INFO] [Modifyworld] Loading Modifyworld v1.18.
    18:37:25 [SEVERE] [Modifyworld] PermissionsEx not found, disabling
    18:37:25 [INFO] [Modifyworld] Unloading Modifyworld v1.18.
    18:37:25 [INFO] [Modifyworld] Modifyworld disabled!
    18:37:25 [INFO] [RepairShop] Loading RepairShop v1.4.
    18:37:25 [INFO] RepairShop version 1.4 is enabled!
    18:37:25 [INFO] [Permissions] Loading Permissions v2.7.7.
    18:37:25 [INFO] [PermissionsCompat] Compatibility layer enabled.
    18:37:25 [INFO] [CommandBin] Loading CommandBin v2.07.
    18:37:25 [INFO] [CommandBin] Registered Commands
    18:37:25 [INFO] [CommandBin] Events registered
    18:37:25 [SEVERE] Error occurred while enabling CommandBin v2.07 (Is it up to da
    te?): Permissions manager is not accessable. Is the PermissionsEx plugin enabled
    ?
    java.lang.RuntimeException: Permissions manager is not accessable. Is the Permis
    sionsEx plugin enabled?
            at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(Perm
    issionsEx.java:155)
            at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.j
    ava:80)
            at org.cain.cmdbin.CommandBin.setupPermissions(CommandBin.java:159)
            at org.cain.cmdbin.CommandBin.onEnable(CommandBin.java:73)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:1057)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:380)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:199)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:182
    )
            at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    18:37:25 [INFO] Server permissions file permissions.yml is empty, ignoring it
    18:37:25 [INFO] Done (1.083s)! For help, type "help" or "?"
     
  26. Offline

    ZeroZX4

    hmmi thought thts obvious too

    in pex all permissions need to be lowercase no big letters fix it
     
  27. Offline

    isleepzzz

    Sorry im new to coding minecraft stuff and i changed all to lower case and still errors win i start server saying:

    Code:
    02:18:22 [INFO] Starting minecraft server version 1.1
    02:18:22 [INFO] Loading properties
    02:18:22 [INFO] Starting Minecraft server on 192.168.1.3:25565
    02:18:22 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R4-b19
    38jnks (MC: 1.1) (Implementing API version 1.1-R4)
    02:18:22 [INFO] [PermissionsEx] sql backend registered!
    02:18:22 [INFO] [PermissionsEx] file backend registered!
    02:18:22 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    02:18:22 [INFO] [PermissionsEx] p2compat backend registered!
    02:18:22 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    02:18:22 [INFO] [PermissionsEx] Initializing file backend
    02:18:22 [SEVERE] while scanning a simple key; could not found expected ':' init
    ializing PermissionsEx v1.18 (Is it up to date?)
    while scanning a simple key
    in "<reader>", line 11, column 9:
                -modifyworld.blocks.destroy
                ^
    could not found expected ':'
    in "<reader>", line 12, column 9:
                -modifyworld.blocks.place
                ^
     
            at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(Scanne
    rImpl.java:398)
            at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.jav
    a:229)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:17
    8)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(P
    arserImpl.java:591)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:133)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :237)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :237)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :237)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    3)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
     
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:121)
            at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
            at ru.tehkode.permissions.config.Configuration.load(Configuration.java:6
    5)
            at ru.tehkode.permissions.backends.FileBackend.initialize(FileBackend.ja
    va:104)
            at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager
    .java:423)
            at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManage
    r.java:486)
            at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.jav
    a:52)
            at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java
    :71)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:167)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:140)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:52)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    02:18:22 [WARNING] [PermissionsCompat] PermissionsEx plugin not found. Some plug
    ins may not work.
    02:18:22 [INFO] Preparing level "Sleep Survival"
    02:18:22 [INFO] Default game type: 0
    02:18:22 [INFO] Preparing start region for level 0 (Seed: 5959570915862468021)
    02:18:23 [INFO] Preparing start region for level 1 (Seed: 5959570915862468021)
    02:18:23 [INFO] [PermissionsEx] Loading PermissionsEx v1.18.
    02:18:23 [INFO] [PermissionsEx] Superperms support enabled.
    02:18:23 [SEVERE] Error occurred while enabling PermissionsEx v1.18 (Is it up to
    date?): null
    java.lang.NullPointerException
            at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.ja
    va:107)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:1057)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:380)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:199)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:182
    )
            at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    02:18:23 [INFO] [Modifyworld] Loading Modifyworld v1.18.
    02:18:23 [SEVERE] [Modifyworld] PermissionsEx not found, disabling
    02:18:23 [INFO] [Modifyworld] Unloading Modifyworld v1.18.
    02:18:23 [INFO] [Modifyworld] Modifyworld disabled!
    02:18:23 [INFO] [RepairShop] Loading RepairShop v1.4.
    02:18:23 [INFO] RepairShop version 1.4 is enabled!
    02:18:23 [INFO] [Permissions] Loading Permissions v2.7.7.
    02:18:23 [INFO] [PermissionsCompat] Compatibility layer enabled.
    02:18:23 [INFO] [CommandBin] Loading CommandBin v2.07.
    02:18:23 [INFO] [CommandBin] Registered Commands
    02:18:23 [INFO] [CommandBin] Events registered
    02:18:23 [SEVERE] Error occurred while enabling CommandBin v2.07 (Is it up to da
    te?): Permissions manager is not accessable. Is the PermissionsEx plugin enabled
    ?
    java.lang.RuntimeException: Permissions manager is not accessable. Is the Permis
    sionsEx plugin enabled?
            at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(Perm
    issionsEx.java:155)
            at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.j
    ava:80)
            at org.cain.cmdbin.CommandBin.setupPermissions(CommandBin.java:159)
            at org.cain.cmdbin.CommandBin.onEnable(CommandBin.java:73)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:1057)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:380)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:199)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:182
    )
            at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    02:18:23 [INFO] Server permissions file permissions.yml is empty, ignoring it
    02:18:23 [INFO] Done (1.084s)! For help, type "help" or "?"
     
  28. Offline

    ZeroZX4

    learn to read

    when u post ur error post also ur permissions

    while scanning a simple key
    in "<reader>", line 11, column 9:
    -modifyworld.blocks.destroy
    ^
    could not found expected ':'
    in "<reader>", line 12, column 9:
    -modifyworld.blocks.place
    problem is no space after -
    and maybe paste it here maybe it will make it easier

    http://pastebin.com/

    anyway dont worry no 1 is alpha omega knowing everything
    there is allot tings of pex even i dont know and even u did start using it like day ago ur taking care pretty good with small mistakes that happens to us all
     
  29. Offline

    isleepzzz

    Ok got it too work! U've been the best help ever and im really appreciated it:) One last question b4 i got:p

    Um.. If i have this under my admins "- commandbin.*" and then under it this "- - commandbin.creative" Will it make admins NOT able to use the /creative command? Cuz the .* make it able to do ALL commands but then under than line is "- - commandbin.createive" sooo will it NOT let them or WILL let them?

    EDIT: Wait... i was testing and found that i do NOT think that the user "isleepzzz" gets transfered to the "admin" permissions.. Cuz on ALL my commands that are under my "admin" permissions, and when im on isleepzzz says that "i do not have permission to use this command" How wud i fix this:\

    http://pastebin.com/3cGXV6kF


    Also i cannot talk :( and idk but i believe others cant either:(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  30. Offline

    ZeroZX4

    as ur question about creative yes it will work as u think but not with that permissions

    wrong
    - - commandbin.creative

    good
    - -commandbin.creative

    no space after - -

    with this u will block ur admins from using /creative

    try now

    http://pastebin.com/K44hWcX3

    i added that negative creative permission

    and here u face biggest problem with permissions when u wanna take 1 u need to take all u cant just pick ones u want and ignore the rest

    this is modifyworld chat permisson

    - modifyworld.chat

    i found it here

    https://github.com/PEXPlugins/PermissionsEx/wiki/Modifyworld

    go to section generic and its 2nd from the top better look on all and see what else could be used in ur permissions

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
Thread Status:
Not open for further replies.

Share This Page