The Bukkit Consulting Firm - Solving all your Bukkit-related challenges!

Discussion in 'Bukkit Help' started by M1sT3rM4n, Aug 25, 2011.

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

    hammale

    then how r u sure theres nothing living in it?
     
  2. Offline

    tyzoid

    @hammale
    Thats the big question.
     
  3. Offline

    Mrchasez

    Its my current residence, I am not even sure if he knows
     
  4. Offline

    Dargie25

    I'v tried this in its own thread, noone seems t have a clue whats wrong:

    Ok basically upon a /reload seemingly random individuals on the server appear to have been moved to the default group. No other changes take place during these random reassignments only a /reload.

    Im using ichat for prefixes, permissionsbukkit, worldguard and worldedit all the latest recommended build for mc 1.8

    Iv ran all the configs through a yaml parser and all appears to be in order. I'm a little experianced configuring plugins but this really does have me stumped. It may not be the groups themselves that change but only the prefixes, as this the only visual indication i have that the groups may be changing. The config files themselves never actually change, I only see the results ingame in the form of incorrect prefixes being randomly assigned.

    My permissionsbukkit config file:
    Code:
    groups:
        default:
            permissions:
                permissions.build: true
                group.default: true
        Council:
            permissions:
                group.council: true
            inheritance:
            - default
        Queen:
            permissions:
                group.queen: true
            inheritance:
            - default
        Noble:
            permissions:
                group.noble: true
            inheritance:
            - default
    users:
        ilaniol:
            permissions:
                permissions.example: true
            groups:
            - noble
        Wizardy:
            permissions:
                permissions.example: true
            groups:
            - council
        VIROS:
            permissions:
                permissions.example: true
            groups:
            - council
        guitarsolo63:
            permissions:
                permissions.example: true
            groups:
            - noble
        nekusakuraba:
            permissions:
                permissions.example: true
            groups:
            - queen
        reckoner:
            permissions:
                permissions.example: true
            groups:
            - council
        Mai2500:
            permissions:
                permissions.example: true
            groups:
            - council
        reckoner:
            permissions:
                permissions.example: true
            groups:
            - council
        zoomzen:
            permissions:
                permissions.example: true
            groups:
            - council
        Pezzy:
            permissions:
                permissions.example: true
            groups:
            - noble
    
    the iChat variables yml:
    Code:
    # iChat Variable Config
    # This is now the only method for defining variables
    users:
        drakia:
            prefix: '&e'
    groups:
        noble:
            name: noble
            prefix: '&9[Noble]'
            suffix: ''
        default:
            name: default
            prefix: '&3[Citizen]'
            suffix: ''
        council:
            name: council
            prefix: '&4[Council]'
            suffix: ''
        queen:
            name: queen
            prefix: '&d[Queen]'
            suffix: ''
    
    and the ichat config yml:
    Code:
    handle-me: true
    date-format: HH:mm:ss
    message-format: '+iname: +message'
    me-format: '* +name +message'
    iname-format: '+prefix&f +displayname'
     
  5. Offline

    atlantiscze

  6. Offline

    M1sT3rM4n

    It looks as if one of the plugins is conflicting with the terminating sequence of Bukkit. I would disable each plugin individually and test.
     
  7. Offline

    nala3

    @M1sT3rM4n
    I am ashamed to ask, but I must as I am stumped.
    tell me sir what is this error of death and destruction that has been brought upon my server
    Code:
    06.10 22:38:31 [Server] INFO [HawkEye] Version 1.0.5 disabled!
    06.10 22:38:31 [Server] INFO 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    06.10 22:38:31 [Server] INFO 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:404)
    06.10 22:38:31 [Server] INFO 	at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:325)
    06.10 22:38:31 [Server] INFO 	at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:169)
    06.10 22:38:31 [Server] INFO 	at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:289)
    06.10 22:38:31 [Server] INFO 	at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:296)
    06.10 22:38:31 [Server] INFO 	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:962)
    06.10 22:38:31 [Server] INFO 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
    06.10 22:38:31 [Server] INFO 	at com.sk89q.worldedit.bukkit.WorldEditPlugin.onDisable(WorldEditPlugin.java:116)
    06.10 22:38:31 [Server] INFO 	at com.sk89q.worldedit.WorldEdit.getSession(WorldEdit.java:206)
    06.10 22:38:31 [Server] INFO 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
    06.10 22:38:31 [Server] INFO 	at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
    06.10 22:38:31 [Server] INFO 	at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
    06.10 22:38:31 [Server] INFO 	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    06.10 22:38:31 [Server] INFO 	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:32)
    06.10 22:38:31 [Server] INFO 	at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:219)
    06.10 22:38:31 [Server] INFO 	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    06.10 22:38:31 [Server] INFO 	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    06.10 22:38:31 [Server] INFO 	at java.security.AccessController.doPrivileged(Native Method)
    06.10 22:38:31 [Server] INFO 	at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
    06.10 22:38:31 [Server] INFO 	at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
    06.10 22:38:31 [Server] INFO 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
    06.10 22:38:31 [Server] INFO 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    06.10 22:38:31 [Server] INFO 	at java.lang.ClassLoader.defineClass(ClassLoader.java:632)
    06.10 22:38:31 [Server] INFO 	at java.lang.ClassLoader.defineClass1(Native Method)
    06.10 22:38:31 [Server] INFO java.lang.LinkageError: loader constraint violation: loader (instance of org/bukkit/plugin/java/PluginClassLoader) previously initiated loading for a different type with name "com/sk89q/worldedit/LocalConfiguration"
    06.10 22:38:31 [Server] SEVERE Error occurred while disabling WorldEdit v397-68fe0d3 (Is it up to date?): loader constraint violation: loader (instance of org/bukkit/plugin/java/PluginClassLoader) previously initiated loading for a different type with name "com/sk89q/worldedit/LocalConfiguration"
    
    not quite sure *sarcasm* but I do think the mention of WorldEdit over and over again is relevant. Problem is, it is the same version I am using on my other servers... :/
     
  8. Offline

    M1sT3rM4n

    Sure thing, just let me take a look.
     
  9. Offline

    Rayfe

    @Mrchasez or anyone who sees this first @DrAgonmoray @silthus @tyzoid

    Basically, I'm a bit new to Java and Bukkit API.. I would like to use an XML file as my plugin config file. I just need one-way communication to pull the XML data into Java arrays.

    You can see my full post here, but I can supply more information if it's needed. Any help or advice you could assist me with would be greatly appreciated.
     
  10. Offline

    Mrchasez

    I have only ever used, YML.
    It just seems simpler to me, so i am unable to help with this, i am sorry.
     
  11. Offline

    Rayfe

    hmm... ok well my reasoning for using xml is I figured it would be more understandable for the user to input their parameters.. how would you suggest using the yml format?

    basically the plugin will listen to the in-game chat and check to see if the keywords specified in the config file are in the chat... then it will do some stuff.. but i just need to get the keywords into a java array. Initially I thought xml would keep it organized better for the user setting up the configurations, but I'm open to suggestions... yml just didnt seem like the best option.

    Thanks for your feedback.
     
  12. Offline

    Mrchasez

    [Variables here]

    Then something like this. (Could be way different depending on your plugin, this is from my iOP plugin.

    Code:
        void writeToConfig(int type, String player, String additive, CommandSender sender) throws Exception{
            ArrayList<String> file = new ArrayList<String>();
            Scanner reader = new Scanner(myfile);
            FileWriter output = new FileWriter(myfile, false);
    
            while(reader.hasNextLine())
                file.add(reader.nextLine());
    
            for(int i = 0; i < file.size(); i++){
                if(file.get(i).equalsIgnoreCase(player + ":")){
                    if(type == 1)
                        file.set(i++, "    prefix: '&1[" + additive + "]'");
                    else{
                        if(additive != null)
                            try{ file.set(i+2, "    suffix: '&" + Integer.parseInt(additive) + "'"); }
                            catch(Exception e){ sender.sendMessage(ChatColor.RED + "Number format incorrect."); }
                    }
     
  13. Offline

    M1sT3rM4n

    Not if you don't use Notepad ++ to edit :D
     
  14. Offline

    Mrchasez

    i use NotePad++ :confused:
     
  15. Offline

    undefinedarray

    Hello, im having problems banning players. whenever i type the command, "/ban fugie" (my account is named fugie). then i get this error

    [​IMG]

    It doesnt say anything on console, just shows ingame. I have to manually open up my server folders and type in the name in banlist file, then restart server.

    Is there anyway i can fix the problem?

    Info:

    CB: 1240
     
  16. Offline

    Mrchasez

    What plugin are you using?
     
  17. Offline

    undefinedarray

    List of plugins:

    World Guard
    World Edit
    Essentials
    Log Blocks
    HomeX
    SafeFire
    PermissionsBukkit
    Jail
    eMob
    EntitySuppresor
    Simpleprefix


    Thats all, im guessing its the essentials plugin?
     
  18. Offline

    M1sT3rM4n

    Did you give yourself all permissions for Essentials? Sounds like you're having a permission-related issue.
     
  19. Offline

    undefinedarray

    http://pastebin.com/gyVN9zEd

    Thats my permissionsBukkit config,

    I think its correct



    EDIT: still having the same problem after i added the essentails permission nodes
     
  20. Offline

    M1sT3rM4n

    Have you tried using other solutions such as PermissionEx or bPermission?
     
  21. Offline

    Guess?Who

    Code:
    [INFO] Read timed out
    My server crashes everyday with this error,any suggestions?
    Code:
    Plugins:
    BananaPortal
    dynmap
    EasyBan
    Essentials
    EssentialsChat
    EssentialsProtect
    EssentialsSpawn
    gravelclay
    iZone
    LWC
    NoDeathMessage
    oBuJustShutThellUp
    Permissions 3x
    Rakamak
    rawcritics_ore_obfucation_plugin
    serversave
    SimpleTips
    StopLava
    Vanilla
     
  22. Offline

    undefinedarray

    Nope. Is there a converter from where i can change it from permissions bukkit to a new one? I dont feel like rewriting the config just to test something out.
     
  23. Offline

    M1sT3rM4n

    There are auto-converters built in.
     
  24. Offline

    godgodgodgo

    I have hardly any monsters and animals on my server, how can I increase the spawn rate?
     
  25. Offline

    The3vilm0nk3y

    I am having a security issue... all players on my server have access to the bukkit commands.... whitelist,reload,op,give... I have PEX installed for a permissions system and have all the nodes properly configured(after i noticed problem i added all the bukkit nodes in). yet even low classes such as builder have access to the op command. is there a setting i may have changed with bukkit that is allowing all players to use these commands..
    Im using MilkAdmin and RTK for a wrapper. Pex for perms and various other plugins for enhancements to the game.
    server is on a Win7Pro 64bit all updates applied.
     
  26. Offline

    M1sT3rM4n

    Show us your PEx perm config.
     
  27. Offline

    The3vilm0nk3y

    Im going to PM it to you as it has player names in it.

    im assuming by the lack of response that my configs are correct then.
    If you can think of anything that could help me out it would be greatly appreciated. Ive been trying to get help on the PEx forum as well with little luck. I have one thing that may be able to help out but cannot find the info im looking for..... do you know a way to deny a permission... say as an admin i wanted to not have access to a command but to all others.... keeping the - '*' perm is there a way to disable certain permmision nodes? in older permission systems you would just do permission.node: false and that would work but that seems to be the old way of doing things.

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

    M1sT3rM4n

    I've invited a few of our consultants in the PM you sent me :)
     
  29. Offline

    Jet9

    I'm using McMyAdmin and Hamachi, my friends are unable to connect. I can still connect. any solutions?

    Windows 7 64-bit
     
  30. Offline

    M1sT3rM4n

    If you're using Hamachi the program auto port-forwards your IP for you. Did you check whether your port's opened correctly?
     
Thread Status:
Not open for further replies.

Share This Page