[ADMN] CommandPermissions v1.0.1 - Multiworld command-based permissions [1597]

Discussion in 'Inactive/Unsupported Plugins' started by vildaberper, May 7, 2011.

  1. Offline

    vildaberper

    CommandPermissions - Multiworld command-based permissions
    Version: 1.0.1 - Download
    Source: Github

    CommandPermissions makes it a whole lot easier to manage your server. Its an easier alternative to Permissions, much like the build-in permissions for hmod.
    It does not require any support from any plugin, this will work with every one of them, even the "op-commands".

    Use with this if youre having troubles with CommandPermissions! (Itll op all players)

    Commands:
    Template:
    Code:
    Copy: null # Should it ignore thease permissions and copy another world's?
    Groups:
        Default: # The group's name, can be anything.
            Default: true # Should it be one of the default groups for undefined players?
            Permissions: # Add your commands here.
                - '/list' # Allows the members of the group to use /list.
        Admin:
            Default: false
            Permissions:
                - '/time'
                - '/say'
    Users:
        vildaberper: # The user's name.
            Groups: # What groups is the user a member of?
                - 'Default'
                - 'Admin'
            Permissions: # User-specific commands.
                - '/reload'
        Isakksson:
            Groups:
                - 'Default'
            Permissions:
                - '/help'
    
    Changelog:
     
    Legalbob, KillYoy, MalcolmLC and 3 others like this.
  2. Offline

    vildaberper

    Not even admins?
    On the DefultCommands-commands you need to use the full command (dcgive etc.) for it to work, the others is just aliases. :)
     
  3. Offline

    dagrinch

    Ah, good to know, but it still doesn't seem to work. Any ideas?
     
  4. Offline

    vildaberper

    Did you spell the names right? its case sensitive.
    Try issueing '/cperm load'.
     
  5. Offline

    goldenquent

    same problem.
    No command.
     
  6. Offline

    vildaberper

    Did you rename the file to worldname.yml? Thats case sensitive too.
     
  7. Offline

    goldenquent

    Ok !
    sorry

    I did it but I have the same problem.

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

    The_GodFather43

    under permissions do i just put the command i want EX: 'help' or do i put or do i need to put a permissions code EX:essentials.give
    sorry if this is a simple answer i'm new to making servers and plugins and have been trying to figure out permissions all day.
     
  9. Offline

    vildaberper

    This plugin is based on commands, so you would put '/help' in the permissions.
     
  10. Offline

    dynman

    So

    So i was wondering when i try to do something, i cant. I cant spawn stuff i reanamed readme.yml file but i cant do anything and im the owner! like wtf. Please help!
     
  11. Offline

    vildaberper

    Dont quote the first post two times, its bad enough once. xD

    Need more info than that, post your setup.
     
  12. Offline

    The_GodFather43

    can you give some more examples of commands?
     
  13. Offline

    vildaberper

    Its not really necessary since you just add the command you want.
    Really easy:
    If you want the player to be able to use /god you add '/god'. :)
     
  14. Offline

    stormx11

    im guessing the config file. dont hold me to that though
     
  15. Offline

    honk611

    An Exception System would be great. So that I can prohibit some commands to some users

    I have an error message too.

    Code:
    2011-06-22 19:11:37 [SEVERE] Error occurred while enabling CommandPermissions v1.0.0 (Is it up to date?): while parsing a block mapping; expected <block end>, but found BlockMappingStart
    while parsing a block mapping
     in "<reader>", line 1, column 1:
        Copy: null # Should it ignore th ...
        ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 16, column 2:
         Owner:
         ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:82)
        at com.vildaberper.CommandPermissions.Perm.loadPermissions(Perm.java:58)
        at com.vildaberper.CommandPermissions.CommandPermissions.onEnable(CommandPermissions.java:24)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:799)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Here is my World.yml file:

    Code:
    Copy: null
    Groups:
        Default: # The group's name, can be anything.
            Default: true # Should it be one of the default groups for undefined players?
            Permissions: # Add your commands here.
                - '/list' # Allows the members of the group to use /list.
                - '/warp'
                - '/warplist'
                - '/sethome'
                - '/home'
                - '/spawn'
                - '/help'
                - '/kill'
                - '/lock'
    
        Owner:
            Default: false
            Permissions:
                - '*' # This means all commands
    
        Admin:
            Default: false
            Permissions:
                - '/give'
                - '/time'
                - '/kick'
                - '/ban'
                - '/tp'
                - '/pardon'
                - '/say'
                - '/whitelist'
    
    Users:
        honk611: # The user's name.
            Groups: # What groups is the user a member of?
                - 'Default'
                - 'Owner'
            Permissions: # User-specific commands.
                - '/reload'
        jtew:
            Groups:
                - 'Default'
                - 'Admin'
            Permissions:
                - '/help'
    
    Can anyone pls tell me what the error is?

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

    mcflurrie

    Here is the config text says:
    ______________________________________________________________________
    Copy: null # Should it ignore thease permissions and copy another world's?
    Groups:
    Flurbie: # The group's name, can be anything.
    Default: true # Should it be one of the default groups for undefined players?
    Permissions: # Add your commands here.
    - '/list' # Allows the members of the group to use /list.
    - '/spawn'
    - '/home'
    - '/home set'
    - '/pvp on'
    - '/pvp off''
    - '/afk'
    - '/getpos'
    - '/help'
    - '/helpop'
    - '/me'
    - '/msg'
    - '/rules'
    - '/suicide'
    - '/whois'
    - '/lwc'
    - '/cpublic'
    - '/cprivate'
    - '/cpassword'
    - '/cmodify'
    - '/cunlock'
    - '/cinfo'
    - '/lwc'
    Mod: # The group's name, can be anything.
    Default: true # Should it be one of the default groups for undefined players?
    Permissions: # Add your commands here.
    - '/list' # Allows the members of the group to use /list.
    - '/tp'
    - '*'
    Admin:
    Default: false
    Permissions:
    - '*' # This means all commands
    Users:
    mcflurrie: # The user's name.
    Groups: # What groups is the user a member of?
    - 'Default'
    - 'Admin'
    Permissions: # User-specific commands.
    - '/reload'
    Gogoboy4444:
    Groups:
    - 'Admin'
    - 'Default'
    Permissions:
    - '/help'
    Joe424:
    Groups:
    - 'Default'
    Permissions:
    - '/help'
    ___________________________________________________________________________

    When I deop myself or anyone they can't use the specified permissions for there group? Do i need to add them to a group? and if I do how do I?
     
  17. Offline

    Trancedkuja

    How do you add colors and prefixes to your groups?
     
  18. Is this uptodate v. 1.0.1 ?
    my server ask
    than its some error codes .

    And whats sorcecode do I nedd it ?
     
  19. Offline

    blarre

    This might not be exactly for this plugin but anyone might be able to help me.
    I have a server with three different world, now I would like to restrict access to two of them only for my friends and the third map open for everyone. Is this possible some how?
     
  20. Offline

    dynman

    Srry didnt mean to. That was my first time ever posting something on here. I figured it out and love it! Thanks!

    (btw will i have to update my plugins for 1.7?)
     
  21. Offline

    babystompa

    I am having trouble getting dc.do to work with this command permissions. The admin group with the '*' doesn't have any problems but anyone who doesn't have that can't pick up things.
    my file (as you can see I've been trying quite a few things.)
    also my name is spelled wrong for testing purposes.

    Code:
    Copy: null # Should it ignore thease permissions and copy another world's?
    Groups:
        Default: # The group's name, can be anything.
            Default: true # Should it be one of the default groups for undefined players?
            Permissions: # Add your commands here.
                - '/dclist' # Allows the members of the group to use /list.
                - '/dconline'
                - '/dcdo'
                - '/dcdoworld'
                - '/dcspawn'
        Admin:
            Default: false
            Permissions:
                - '*' # This means all commands
    Users:
        babystompar: # The user's name.
            Groups: # What groups is the user a member of?
                - 'Default'
                - 'Admin'
            Permissions: # User-specific commands.
                - '/reload'
    
     
  22. Offline

    Brett

    This doesnt seem to work as i did - '*' and i still cant do any commands i can only do //wand
     
  23. Offline

    vildaberper

    CommandPermissions is command-based and not node-based.
    This means that itll only take commands and not nodes, like 'dc.do'.

    Do you use Permissions?
     
  24. Offline

    philboy11

    So if for example... I use permissions to enable multiverse can I still use this?
     
  25. Offline

    Mrbeatenbagel

    Omg THANK YOU. I realllllllllllllllyyyyyyyy Needed this i want to give you 1 billion cookies for this :) Thanks soooo much!
     
  26. Offline

    Brett

    permissions doesnt seem to work at all i give myself the admin permission - '*' and i cant do anything but world edit stuff. ive tryed deleteing your app and then tried just the other one and it still didnt work..
     
  27. Offline

    RESPRiT

    Wait, so is there a way to make it so that a user has certain permissions in one world, and different permissions in another?
     
  28. Offline

    mrossim

    is there a build permissions like build: true
     
  29. Hey there, I like the concept of your Plugin, however I have run in to some difficulties. When I try to run /cperm load world it always says An internal error has occured. What do you need of my Server to determine the problem?

    Edit: Scrap that, I have gotten rid of the error, I set Admin to default and they have all the commands, I try to do /help and it wont let me? I cannot do nothing and Admins are default!
     
  30. Offline

    GrilledGrenade

    I Put the file in my Plugins folder and started my server but it said "[INFO] Server permissions file permissions.yml is empty ignoring it." what do I do? I just got a Bukkit Server and I'm not familiar with Plugins so if someone could help me set up this plugin I would be very grateful.
     
  31. Offline

    Thickshake

    How do u assign it to one world only?
     

Share This Page