Pre-configured Bukkit plugin folder

Discussion in 'Bukkit Help' started by Blank1268, Jan 30, 2011.

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

    Blank1268

    I am a server owner and I am having a really hard time Configuring all my plugins with permissions. Can someone maybe post there server folder to this thread or something. I have like 150 users who are very angry and you could make them all very happy
     
  2. Offline

    Pezmantbh

    I can post my plugins folder if you wish, but it is a last-resort thing. If we do everything for you then you will not be able to edit or do things yourself in future. I would much rather show you how to do things :)

    To start, which plugins do you have installed? And please post your permissions config file :)
     
  3. Offline

    Blank1268

    Well I have essinatails permissions general and magiccarpet
    And i really have no idea how to do the permissions thing
    --- merged: Jan 31, 2011 1:11 AM ---
    if you posted your plugins folder it would help me learn how things are set up and it would allow me to please my users without them raging because i can't get it up soon enough
     
  4. Offline

    Pezmantbh

    If I read that correctly, you have both General and Essentials installed... As far as I know (I only use essentials) they both do similar things.

    here is my config:
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'essentials.motd'
                - 'essentials.help'
                - 'essentials.spawn'
                - 'essentials.tp'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.sell'
                - 'iConomy.payment'
                - 'essentials.list'
                - 'essentials.worth'
                - 'essentials.mail'
                - 'essentials.mail.read'
                - 'magiccarpet.mc'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        darkgrave:
            group: Admins
            permissions:
        sk89q:
            group: Default
            permissions:
                - 'general.time'

    To give groups access to magic carpet, add the "magiccarpet.mc" node... I have done this in the config above, so that all users can use magic carpet.


    Does this help?
     
  5. Offline

    Blank1268

    Ohhhhhh I see now. so the node Has to first have the name of the plugin then the sub-category is the command set you want to give to the group. I guess that makes sense, but I am also having troubles setting up a new group so people who join of the fourms are forced to read the rules before a mod or admin ranks them up. I re-type all the catagorys and add the things that I need but when i get in game I wont allow me to rank people up to that rank, It just says Error, you can not move that person to that group. Any help there?
     
  6. Offline

    Daniel Bang

    <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Dec 15, 2016
  7. Offline

    Blank1268

    Wow! Thanks alot. I am going to look at this as well as try to set it up on me own. thanks both of you so much!
     
  8. Offline

    Pezmantbh

    Sure, no worries. If you still don't manage to get your groups working correctly, post the config file here and I will fix it for you :)
     
  9. Offline

    Daniel Bang

    forgot to say, u might wanna delete my users :)
     
  10. Offline

    Cmars

    By the way I found a tab on your settings at
    Code:
                - 'general.spawn'
     
  11. Offline

    Blank1268

    @ Daniel Umm I just got home and brought up you craftbukkitt folder and it kind of was a mess. I can exaxtly tell what is what and there is like 1000 .dat files that seem to be a map. I am not sure how to make any sense of it.
    @ Pez, how would I got about setting up another group so my default couldn't build and they would have to be upgraded to this rank to be able to build (this is for anti-greifing)
     
  12. Offline

    Pezmantbh

    I have never done it before, but my guess would be something like this:

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'essentials.spawn'
        Builder:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.motd'
                - 'essentials.help'
                - 'essentials.spawn'
                - 'essentials.tp'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.sell'
                - 'iConomy.payment'
                - 'essentials.list'
                - 'essentials.worth'
                - 'essentials.mail'
                - 'essentials.mail.read'
                - 'magiccarpet.mc'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Builder
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        darkgrave:
            group: Admins
            permissions:
        sk89q:
            group: Default
            permissions:
                - 'general.time'
    What I did was (attempt) to create the new group, then add the permissions from the default rank... I then removed the permissions from the default rank (other than /spawn) and stopped the default from being able to build (once again, I have never done it but it should work)


    Let me know if it works :)
     
  13. Offline

    Blank1268

    Ok So I tried it and it looks like this:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
    
        Miner:
            Default: false
            info:
                Prefix:
                suffix:
                Build: true
             Inheritance:
                - Default
            Permissions:
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.afk'
                - 'mywarp.warp'
    
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Miner
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.time'
                - 'essentials.plugin'
                - 'essentials.jump'
                - 'essentials.reloadall'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.kick'
                - 'essentials.modgrp'
                - 'essentials.spawnmob'
                - 'mywarp.*'
    
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
                - 'magiccarpet.mc'
    but then when I load it up I get this error:
    Code:
    2011-01-31 13:01:56 [INFO] Starting minecraft server version Beta 1.2_01
    2011-01-31 13:01:56 [INFO] Loading properties
    2011-01-31 13:01:56 [INFO] Starting Minecraft server on *:25565
    2011-01-31 13:01:56 [INFO] Preparing level "world"
    2011-01-31 13:01:56 [INFO] Preparing start region
    2011-01-31 13:01:57 [INFO] Preparing spawn area: 16%
    2011-01-31 13:01:59 [INFO] Preparing spawn area: 40%
    2011-01-31 13:02:00 [INFO] Preparing spawn area: 48%
    2011-01-31 13:02:01 [INFO] Preparing spawn area: 56%
    2011-01-31 13:02:02 [INFO] Preparing spawn area: 69%
    2011-01-31 13:02:03 [INFO] Preparing spawn area: 85%
    2011-01-31 13:02:04 [INFO] [General] version [2.1] (Salvez) loaded
    Jan 31, 2011 1:02:04 PM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:77)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:117)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:82)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:40)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:154)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:141)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:102)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:179)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:75)
            ... 8 more
    Caused by: while parsing a block mapping
     in "<reader>", line 47, column 9:
               Default: false
               ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 52, column 10:
                 Inheritance:
                 ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.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.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:62)
            at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:46)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    76)
            ... 13 more
    2011-01-31 13:02:04 [INFO] Loaded Essentials b131 by Zenexer, ementalo, Eris, an
    d EggRoll
    2011-01-31 13:02:04 [INFO] [General] Permission system not enabled. Disabling pl
    ugin.
    2011-01-31 13:02:04 [INFO] [General] version [2.1] (Salvez) disabled
    2011-01-31 13:02:04 [INFO] [MagicCarpet] Permission system not enabled. Disablin
    g plugin.
    Magic Carpet disabled. Thanks for trying the plugin!
    2011-01-31 13:02:04 [INFO] Creating folder : lib
    2011-01-31 13:02:04 [INFO] Need to download 2 object(s)
    2011-01-31 13:02:04 [INFO]  - Downloading file : http://stethoscopesmp.com/tkell
    y/lib/sqlite.jar
    2011-01-31 13:02:06 [INFO]   + Download complete
    2011-01-31 13:02:06 [INFO]  - Downloading file : http://stethoscopesmp.com/tkell
    y/lib/win-x86.lib
    2011-01-31 13:02:06 [INFO]   + Download complete
    2011-01-31 13:02:08 [INFO] [MYWARP]: 0 warps loaded
    2011-01-31 13:02:08 [SEVERE] [MYWARP] Permissions isn't loaded, there are no res
    trictions.
    2011-01-31 13:02:08 [INFO] MyWarp 1.8.2 enabled
    2011-01-31 13:02:08 [INFO] Done! For help, type "help" or "?"
    
    Thanks for your continued help again.
     
  14. Offline

    Pezmantbh

    Code:
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
        Miner:
            Default: false
            info:
                Prefix:
                suffix:
                Build: true
             Inheritance:
                - Default
            Permissions:
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.afk'
                - 'mywarp.warp'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Miner
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.time'
                - 'essentials.plugin'
                - 'essentials.jump'
                - 'essentials.reloadall'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.kick'
                - 'essentials.modgrp'
                - 'essentials.spawnmob'
                - 'mywarp.*'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
                - 'magiccarpet.mc'
    I don't think that blank lines are meant to be there, fixed above :)

    Let me know if it works.
     
  15. Offline

    Blank1268

    I found the problem actually. For future reference any time it says something like
    Code:
    Caused by: while parsing a block mapping
     in "<reader>", line 47, column 9:
               Default: false
               ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 52, column 10:
                 Inheritance:
                 ^
    
    it is telling you right where the problem is. Like in that one i had caps and it doesn't like that.
    another question. is there a way to convert warps into essentials from hmod?
     
  16. Offline

    Toasty

    I don't know about converting hMod warps to essentials, but I use Simple Warp on my server and it works perfectly. It even allows you to keep your old hMod warps file.

    Also, keep in mind, NEVER use tabs. That's one of the biggest problems people seem to overlook with these YML files. Another one is failing to make sure all the columns line up (i.e. adding/forgetting an extra space).

    Also, when using the global identifier (the asterisk) by itself, it gives you all permissions. So you don't need to have '*' and 'magiccarpet.mc'. You just need the asterisk.

    Though if I were you, under the Admins group I would list all of your plugins, and use the asterisk as a sub-node for each one of them. Then allow only people with direct access to the server the vanilla commands (under their user name, use the asterisk by itself for permissions).

    That way you can control which admins can stop the server. If one of them stops the server, but doesn't have the ability to restart it, that could be a problem.

    Also note that the prefix and suffix categories can be used to give certain groups a tag before their name. Though you have to have an additional plugin to implement that feature, as Permissions only provides the necessary info.
     
  17. Offline

    Beshimi

    Jake if you want I can take over our permissions file I had one all set up when I was running the server off my computer. Just tell me what we have for plugins and what you want everyone's classes to be.
     
Thread Status:
Not open for further replies.

Share This Page