No Vault dependency found

Discussion in 'Plugin Development' started by Kitt3120, Jul 16, 2014.

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

    Kitt3120

    Solved:
    i Just added iConomy and GroupManager and now its working o.o

    I got a problem... i hooked into vault and it worked everytime... but now i get the "No Vault dependency found" error... but i got vault and its in the build path

    OnEnable
    Code:
    public void onEnable() {
            if (!setupEconomy() ) {
                stopPlugin();
                return;
            }
            setupPermissions();
            setupChat();
    ........
    }
    Methods
    Code:
    private void stopPlugin(){
            log.severe(String.format("[%s] - Disabled due to no Vault dependency found!", getDescription().getName()));
            log.severe(String.format("[%s] - Disabled due to no Vault dependency found!", getDescription().getName()));
            log.severe(String.format("[%s] - Disabled due to no Vault dependency found!", getDescription().getName()));
            log.severe(String.format("[%s] - Disabled due to no Vault dependency found!", getDescription().getName()));
            log.severe(String.format("[%s] - Disabled due to no Vault dependency found!", getDescription().getName()));
            getServer().getPluginManager().disablePlugin(this);
        }
     
        private boolean setupPermissions()
        {
            RegisteredServiceProvider<Permission> permissionProvider = getServer().getServicesManager().getRegistration(net.milkbowl.vault.permission.Permission.class);
            if (permissionProvider != null) {
                permission = permissionProvider.getProvider();
            }
            return (permission != null);
        }
     
        private boolean setupChat()
        {
            RegisteredServiceProvider<Chat> chatProvider = getServer().getServicesManager().getRegistration(net.milkbowl.vault.chat.Chat.class);
            if (chatProvider != null) {
                chat = chatProvider.getProvider();
            }
     
            return (chat != null);
        }
     
        private boolean setupEconomy()
        {
            RegisteredServiceProvider<Economy> economyProvider = getServer().getServicesManager().getRegistration(net.milkbowl.vault.economy.Economy.class);
            if (economyProvider != null) {
                economy = economyProvider.getProvider();
            }
     
            return (economy != null);
        }
    Log
    Code:
    [10:20:23] [Server thread/INFO]: Starting minecraft server version 1.7.9
    [10:20:23] [Server thread/INFO]: Loading properties
    [10:20:23] [Server thread/INFO]: Default game type: SURVIVAL
    [10:20:23] [Server thread/INFO]: Generating keypair
    [10:20:23] [Server thread/INFO]: Starting Minecraft server on *:25565
    [10:20:24] [Server thread/INFO]: This server is running CraftBukkit version git-Bukkit-1.7.9-R0.1-b3084jnks (MC: 1.7.9) (Implementing API version 1.7.9-R0.1)
    [10:20:24] [Server thread/INFO]: [VipHealth] Loading VipHealth v2.0 -by Kitt3120
    [10:20:24] [Server thread/INFO]: [HolographicDisplays] Loading HolographicDisplays v1.8.4
    [10:20:24] [Server thread/INFO]: [Vault] Loading Vault v1.4.1-b436
    [10:20:24] [Server thread/INFO]: [SpeechBubbles] Loading SpeechBubbles v7.0
    [10:20:24] [Server thread/INFO]: [Vault] Enabling Vault v1.4.1-b436
    [10:20:24] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system.
    [10:20:24] [Server thread/INFO]: [Vault] Enabled Version 1.4.1-b436
    [10:20:24] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    [10:20:24] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
    [10:20:24] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    [10:20:24] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
    [10:20:24] [Server thread/INFO]: Preparing level "world"
    [10:20:24] [Server thread/INFO]: Preparing start region for level 0 (Seed: -4482030430243357256)
    [10:20:24] [Thread-7/INFO]: ----- Bukkit Auto Updater -----
    [10:20:24] [Thread-7/INFO]: It appears that you're running a Beta Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
    [10:20:24] [Thread-7/INFO]: If you would like to be kept informed about new Beta Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'beta'.
    [10:20:24] [Thread-7/INFO]: With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
    [10:20:24] [Thread-7/INFO]: If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
    [10:20:24] [Thread-7/INFO]: ----- ------------------- -----
    [10:20:25] [Server thread/INFO]: Preparing start region for level 1 (Seed: -3698149039933277979)
    [10:20:25] [Server thread/INFO]: Preparing start region for level 2 (Seed: -3698149039933277979)
    [10:20:25] [Server thread/INFO]: [VipHealth] Enabling VipHealth v2.0 -by Kitt3120
    [10:20:25] [Server thread/INFO]: §c#########################################
    [10:20:25] [Server thread/INFO]: §c#          [VipHealth]Enabled          #
    [10:20:25] [Server thread/INFO]: §c#            by Kitt3120              #
    [10:20:25] [Server thread/INFO]: §c#########################################
    [10:20:25] [Server thread/INFO]: §c          Version 2.0
    [10:20:25] [Server thread/INFO]: §c                ###
    [10:20:25] [Server thread/INFO]: §c                ###
    [10:20:25] [Server thread/INFO]: §c                  ###
    [10:20:25] [Server thread/INFO]: §c                  ###
    [10:20:25] [Server thread/INFO]: §c                    ###
    [10:20:25] [Server thread/INFO]: [HolographicDisplays] Enabling HolographicDisplays v1.8.4
    [10:20:25] [Server thread/INFO]: [SpeechBubbles] Enabling SpeechBubbles v7.0
    [10:20:25] [Server thread/INFO]: §c#########################################
    [10:20:25] [Server thread/INFO]: §c#          [SpeechBubbles]Enabled      #
    [10:20:25] [Server thread/INFO]: §c#            by Kitt3120              #
    [10:20:25] [Server thread/INFO]: §c#########################################
    [10:20:25] [Server thread/INFO]: §c          Version 7.0
    [10:20:25] [Server thread/INFO]: §c                ###
    [10:20:25] [Server thread/INFO]: §c                ###
    [10:20:25] [Server thread/INFO]: §c                  ###
    [10:20:25] [Server thread/INFO]: §c                  ###
    [10:20:25] [Server thread/INFO]: §c                    ###
    [10:20:25] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [10:20:25] [Server thread/INFO]: Done (1,270s)! For help, type "help" or "?"
    [10:20:26] [pool-3-thread-3/INFO]: [Vault] Checking for Updates:
    [10:20:26] [pool-3-thread-3/INFO]: [Vault] No new version available
    [10:20:30] [Server thread/INFO]: §c#########################################
    [10:20:30] [Server thread/INFO]: §c#            [SpeechBubbles]            #
    [10:20:30] [Server thread/INFO]: §c#            Loaded Config            #
    [10:20:30] [Server thread/INFO]: §c#########################################
    [10:20:30] [Server thread/INFO]: §c                ###
    [10:20:30] [Server thread/INFO]: §c                ###
    [10:20:30] [Server thread/INFO]: §c                  ###
    [10:20:30] [Server thread/INFO]: §c                  ###
    [10:20:30] [Server thread/INFO]: §c                    ###
    [10:20:30] [Server thread/INFO]: [Speechbubbles]checking for updates - Current version: 7.0
    [10:20:30] [Server thread/INFO]: §c#########################################
    [10:20:30] [Server thread/INFO]: §c#            [VipHealth]                #
    [10:20:30] [Server thread/INFO]: §c#            Loaded Config            #
    [10:20:30] [Server thread/INFO]: §c#########################################
    [10:20:30] [Server thread/INFO]: §c                ###
    [10:20:30] [Server thread/INFO]: §c                ###
    [10:20:30] [Server thread/INFO]: §c                  ###
    [10:20:30] [Server thread/INFO]: §c                  ###
    [10:20:30] [Server thread/INFO]: §c                    ###
    [10:20:30] [Server thread/ERROR]: [SpeechBubbles] - Disabled due to no Vault dependency found!
    [10:20:30] [Server thread/ERROR]: [SpeechBubbles] - Disabled due to no Vault dependency found!
    [10:20:30] [Server thread/ERROR]: [SpeechBubbles] - Disabled due to no Vault dependency found!
    [10:20:30] [Server thread/ERROR]: [SpeechBubbles] - Disabled due to no Vault dependency found!
    [10:20:30] [Server thread/ERROR]: [SpeechBubbles] - Disabled due to no Vault dependency found!
    [10:20:30] [Server thread/INFO]: [SpeechBubbles] Disabling SpeechBubbles v7.0
    [10:20:30] [Server thread/INFO]: §c#########################################
    [10:20:30] [Server thread/INFO]: §c#          [SpeechBubbles]Disabled      #
    [10:20:30] [Server thread/INFO]: §c#            by Kitt3120              #
    [10:20:30] [Server thread/INFO]: §c#########################################
    [10:20:30] [Server thread/INFO]: §c                ###
    [10:20:30] [Server thread/INFO]: §c                ###
    [10:20:30] [Server thread/INFO]: §c                  ###
    [10:20:30] [Server thread/INFO]: §c                  ###
    [10:20:30] [Server thread/INFO]: §c                    ###
    [10:20:32] [Thread-9/INFO]: [SpeechBubbles] About to download a new update: Speechbubbles v6.0
    [10:20:32] [Thread-9/INFO]: [SpeechBubbles] Downloading update: 20% of 32511 bytes.
    [10:20:32] [Thread-9/INFO]: [SpeechBubbles] Downloading update: 30% of 32511 bytes.
    [10:20:32] [Thread-9/INFO]: [SpeechBubbles] Downloading update: 40% of 32511 bytes.
    [10:20:32] [Thread-9/INFO]: [SpeechBubbles] Downloading update: 90% of 32511 bytes.
    [10:20:32] [Thread-9/INFO]: [SpeechBubbles] Downloading update: 100% of 32511 bytes.
    [10:20:32] [Thread-9/INFO]: [SpeechBubbles] Finished updating.
    
     
  2. Offline

    CorrieKay

    Not too familiar with vault, but maybe it requires a plugin.yml dependency before it can operate?
     
  3. Offline

    Onlineids

    CorrieKay Kitt3120 Vault requires a economy plugin utilizing it such as Essentials, Fe, iConomy ect
     
    CorrieKay likes this.
  4. Offline

    Necrodoom

    CorrieKay Onlineids Bukkit forums also requires the server to not be offline mode for support.
     
  5. Offline

    CorrieKay

    ...Am i going to get an infraction or a strike against my account if i assist developers who use offline mode in their testbed servers?
     
  6. CorrieKay Yep! You'll be publicly branded as such, and do it twice and you'll be banned (even though it's entirely possible not to notice the server is offline)!

    Not really, but the thread will be locked if it's discovered.
     
  7. Offline

    CorrieKay

    I understand that it will be locked (though i dont know why), but i dont see what me and Onlineids were called out for helping the guy out with his problem that had nothing to do with his servers online mode.
     
  8. Offline

    Necrodoom

    CorrieKay The bukkit forums guidelines apply to everyone.
    I dont see what you are doing here if you refuse to follow them.
     
  9. Offline

    CorrieKay

    I dont see anything in the rules that says we cant help people who are in offline mode.

    I'm legitimately curious as to why a person isnt allowed to use offline mode for their test servers. I used to use it all the time when the mojang auth servers were down so i can continue to debug my plugins.

    No need to be condescending, sir.
     
  10. CorrieKay Bukkit's policy is that offline servers are not support. The security aspect of it is the only official reason I've seen stated, so only supporting online mode encourages security. As for any other reasons or reasons I've missed, you'd have to approach a member of the bukkit team.

    In my opinion, Necrodoom was probably just doing it because some aren't aware of such a policy. I'm sure he meant no disrespect.
     
  11. Offline

    MomsKnife

    There's also the consideration that some people use bungee, which actually only supports offline mode for the server - if you want people to be authenticated before joining.
     
  12. MomsKnife I'm not sure how that was relevant but it is true :p
     
  13. Offline

    malandrix_bunny

    Bungee isn't software created by the bukkit team which is why it matters. This forum isn't for bungee or software not by the bukkit team.
     
  14. Offline

    fireblast709

    Offline mode is nice of you need to test something thst requires 2+ players when you lack testers. Then you can just grab a number of alts to test with.
     
  15. Offline

    Kitt3120

    Thx for your support and that with offline mode was new to me :) But it is just my homeserver and i'm testing plugins so yeah :D
     
  16. Offline

    MomsKnife

    yes but bungeecord only links the servers together, you could have 20 servers all running bukkit connected with bungee.
     
  17. MomsKnife Run bungeecord on Bukkit & with online-mode set to true and then it will be supported here, otherwise not. :) But that brings me back to my point - I'm still not seeing why you felt the need to bring up the whole thing, it had nothing to do with this thread.
     
  18. Offline

    Necrodoom

    MomsKnife AdamQpzm there's no such thing as online mode proxy.
    This proxy also requires unofficial builds to work, so there's absolutely no reason it will be supported here.
     
  19. Offline

    MomsKnife

    Well, it had something to do with someone else's post in this thread. If you use online mode false in bungeecord, when you connect it doesn't authenticate you - you have to have it in offline mode, or it won't check the authentication servers.
     
  20. Offline

    TnT

    Locked. Offline mode servers are not possible to be supported.
     
Thread Status:
Not open for further replies.

Share This Page