Setting up server - Permissions, dropchest, general stuff. :/

Discussion in 'Bukkit Help' started by ChowFace, Aug 7, 2011.

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

    ChowFace

    This is my first time setting up a server through Bukkit. It's quite frustrating really. Nowhere, that I can find, gives in-depth description of what nodes are and how to use them and what all the settings and nodes are. Particularly for permissions. How do we give someone permissions without knowing all the nodes we can use? Really.

    All the same, this is what my sever yells at me when I start it:

    Show Spoiler
    151 recipes
    16 achievements
    21:09:24 [INFO] Starting minecraft server version Beta 1.7.3
    21:09:24 [INFO] Loading properties
    21:09:24 [INFO] Starting Minecraft server on *:25565
    21:09:24 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    21:09:24 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    21:09:24 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    21:09:24 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    21:09:25 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-
    g73697a4-b1000jnks (MC: 1.7.3)
    21:09:25 [SEVERE] Could not load 'plugins\DropChest.jar' in folder 'plugins':
    expected '<document start>', but found Scalar
    in "<reader>", line 4, column 1:
    waitafterdrop=10
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentStart.produce(Parse
    rImpl.java:233)
    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.getSingleNode(Composer.java:108)

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:250)
    at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.
    java:36)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:69)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:207)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:130)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:128)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:51)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    21:09:25 [SEVERE] mapping values are not allowed here
    in "<reader>", line 2, column 11:
    groups:
    ^

    21:09:25 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(Sca
    nnerImpl.java:745)
    21:09:25 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreToken
    s(ScannerImpl.java:307)
    21:09:25 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(Sca
    nnerImpl.java:183)
    21:09:25 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappin
    gKey.produce(ParserImpl.java:564)
    21:09:25 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    21:09:25 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    21:09:25 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:228)
    21:09:25 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    21:09:25 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    21:09:25 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    21:09:25 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    21:09:25 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    21:09:25 [SEVERE] at org.bukkit.util.config.Configuration.load(Configurati
    on.java:82)
    21:09:25 [SEVERE] at com.nijiko.data.YamlUserStorage.performConversion(Yam
    lUserStorage.java:35)
    21:09:25 [SEVERE] at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorag
    e.java:30)
    21:09:25 [SEVERE] at com.nijiko.data.YamlCreator.getUserStorage(YamlCreato
    r.java:33)
    21:09:25 [SEVERE] at com.nijiko.data.StorageFactory.getUserStorage(Storage
    Factory.java:76)
    21:09:25 [SEVERE] at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:95)
    21:09:25 [SEVERE] at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:86)
    21:09:25 [SEVERE] at com.nijiko.permissions.ModularControl.load(ModularCon
    trol.java:116)
    21:09:25 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:181)
    21:09:25 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:133)
    21:09:25 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:131)
    21:09:25 [SEVERE] at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer
    .java:97)
    21:09:25 [SEVERE] at net.minecraft.server.ServerConfigurationManager.<init
    >(ServerConfigurationManager.java:51)
    21:09:25 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:132)
    21:09:25 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    21:09:25 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    21:09:25 [SEVERE] [Permissions] Unable to load permission data.
    21:09:25 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    21:09:25 [INFO] [Permissions] (Yeti) was initialized.
    21:09:25 [INFO] [Permissions] (Yeti) disabled successfully.
    21:09:25 [INFO] Preparing level "tjangie"
    21:09:25 [INFO] Preparing start region for level 0 (Seed: 618307899392503184)
    21:09:26 [INFO] Preparing spawn area: 89%
    21:09:26 [INFO] Preparing start region for level 1 (Seed: 618307899392503184)
    21:09:27 [INFO] Preparing spawn area: 93%
    21:09:27 [INFO] CraftBukkitUpToDate version 2.5.7 is enabled!
    21:09:27 [INFO] [Permissions] (Yeti) disabled successfully.
    21:09:27 [SEVERE] Error occurred while enabling CraftBukkitUpToDate v2.5.7 (Is i
    t up to date?): com/nijikokun/bukkit/Permissions/Permissions
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
    at de.nofear13.craftbukkituptodate.CraftBukkitUpToDateHelper.setupPermis
    sions(CraftBukkitUpToDateHelper.java:853)
    at de.nofear13.craftbukkituptodate.CraftBukkitUpToDate.onEnable(CraftBuk
    kitUpToDate.java:75)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146
    )
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Pe
    rmissions
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 12 more
    21:09:27 [INFO] [Permissions] SQL Interface enabled!
    21:09:27 [INFO] Done (0.232s)! For help, type "help" or "?"
    >



    this is a screenshot of my bukkit folder:
    Show Spoiler
    [​IMG]


    here is a screenshot of my plugins folder:
    Show Spoiler
    [​IMG]


    This is what I have in my group permissons:
    Show Spoiler
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'lwc.protect'
    - 'essentials.help'
    - 'essentials.home'
    - 'essentials.motd'
    - 'essentials.rules'
    - 'essentials.sethome'
    - 'essentials.list'
    - 'essentials.spawn'
    - 'onlinelist.online'
    - 'bb.admin.info'
    - 'craftbook.mech.elevator.use'
    - 'craftbook.mech.bridge.use'
    - 'craftbook.mech.cauldron'
    -'dropchest'
    -'dropchest*'
    Moderator:
    default: false
    info:
    prefix: '&b'
    suffix: '&f'
    build: true
    inheritance:
    - Default
    permissions:
    - 'world.*'
    - '-world.test'
    Admins:
    default: false
    info:
    prefix: '&4'
    suffix: '&f'
    build: true
    permissions:
    - '*'


    This is what I have in users:
    Show Spoiler
    player: ChowFace
    groups:
    - admins
    permissions:
    - -minecraft.op


    What am I doing wrong? ;-;

    And don't tell me I'm not cut out for this - everyone has to learn somewhere.

    I would really just appreciate any help anyone can give.
     
    sheepyowl likes this.
  2. Offline

    sheepyowl

    (i removed the earlier posting so i wont get warned for double posting, and because it was not relevant enough to keep anyhow)

    first off, i recommend using MC server GUI for automated backups, and it saves creating a .bat file to run the server, and it looks better, and all kinds of stuff.
    Show Spoiler
    ive been using it for a while, its quite nice.

    second: all the plugins in the plugin folder must be .jar, and i see some of them are .zip. you must unpack them.
    third: im not sure what permission plugin that is, but its VERY recommended(and pretty much, after a while, you will be forced to) use bukkitpermissions
    Show Spoiler
    theres a FAQ there, too. also, its recommended to get superpermsbridge.jar too.
    after that, ignore the permissions.yml in your root bukkit folder, and go to plugins\PermissionsBukkit. there you will find a config.yml, and thats the file you want to put your permissions under. there is also an example of permissions in it, and you pretty much NEED to learn from there. heres another small example that works:
    Show Spoiler

    users:
    (4 spaces)adminguy:
    (8 spaces)permissions:
    (8 spaces)groups:
    (8 spaces)- admin
    (4 spaces)inferiormember:
    (8 spaces)permissions:
    (8 spaces)groups:
    (8 spaces)- user
    groups:
    (4 spaces)default:
    (8 spaces)permissions:
    (12 spaces)permissions.build: false
    (12 spaces)something.important.admin: false
    (4 spaces)admin:
    (8 spaces)permissions:
    (12 spaces)permissions.build: true
    (12 spaces)something.important.admin: true
    (4 spaces)member:
    (8 spaces)permissions:
    (12 spaces)permissions.build: true
    (12 spaces)something.important.admin: false

    EDIT: the permissions example i put here broke. hold on. fix'd. kinda.
    instead of (4 spaces) you just put 4 spaces... cant post space spams in here.
    important things to note:
    NEVER use tabs for .yml files in bukkit.
    if anything is wrong with the .yml file, it will give you an error in the console.
    "anything is wrong" includes: a single extra space or missing space in the file, or extra/missing character anywhere.
    its recommended to use notepad+ to edit the .yml files for bukkit, and check the "change tabs to spaces" in the options there.

    GL, let me know if you need more help.
     
  3. Offline

    ChowFace

    Oh wow thank you so much. I'll go through all of that tomorrow and fix everything and we'll see how I stand. I'm too tired to do it now. XD
     
  4. Offline

    sheepyowl

    np. im really not sure how long before i come back to this thread, so PM me if you get tired of waiting for people.
    but im not exactly your mastermind bukkiter, keep in mind there are a lot of things that i wont be able to help you with.

    edit: but im doing what i can :p
    edit2: nevermind, im watching this thread, so no need to PM me.
     
Thread Status:
Not open for further replies.

Share This Page