SlyKits [API Included] 1.8.5

SlyKits brings a new way of looking at kitpvp!

  1. Bear53
    Sly-Kits.png
    A work in progress, this plugin will be updated regularly and soon all features will be added :)
    For versions under 1.8 download a version of 1.6
    -Features.png
    -Scorpion kit - usage: /scorpion
    Hit players to give them poison for 3 seconds!
    Permission: scorpion.use
    -Archer kit - usage: /archer
    Get a headshot and do 2x damage!

    Permission: archer.use
    - Pyro kit - usage: /pyro
    Right click blaze rod to shoot fireballs!
    Permission: pyro.use
    - Pvp kit - usage: /pvp
    Permission: pvp.use
    - Setspawn command - usage: /setspawn sets the spawn to your location.
    Permission: OP
    - Spawn command - usage: /spawn Teleports you to the defined spawn
    - KillStreak Command - usage: /killstreak, /ks Shows your current kill streak
    - Admin Command - usage: /admin toggles admin mode
    Permission: sly.admin
    - ClearChat Command - usage: /clearchat <reason/-s>, /cc <reason/-s> - ClearsChat with reason, also can silently clear chat
    Permission: sly.clearchat
    - Mutechat Command - usage: /mutechat, /mc - Mutes Chat
    Permission: sly.mutechat
    Permission to bypass the muted chat: sly.mutechat.bypass

    Soup Signs:
    To create a soup sign simply type on the first line "soup" and it will create the soup sign!

    How to use the API
    Example of a Main class is below
    Code (Text):
    package com.test;

    import me.bear53.actionbar.Actionbar;
    import me.bear53.actionbar.Actionbar_1_8_R1;
    import me.bear53.actionbar.Actionbar_1_8_R2;
    import me.bear53.tab.Tab;
    import me.bear53.tab.Tab_1_8_R1;
    import me.bear53.tab.Tab_1_8_R2;
    import me.bear53.titlemanager.Titlebar_1_8_R1;
    import me.bear53.titlemanager.Titlebar_1_8_R2;
    import me.bear53.titlemanager.Titlemanager;

    import org.bukkit.Bukkit;
    import org.bukkit.entity.Player;
    import org.bukkit.event.EventHandler;
    import org.bukkit.event.Listener;
    import org.bukkit.event.entity.PlayerDeathEvent;
    import org.bukkit.plugin.java.JavaPlugin;

    public class Test extends JavaPlugin implements Listener {

        public static Actionbar actionbar;
        public static Titlemanager titlemanager;
        public static Tab tab;

        public void onEnable() {

           
    if (setupManagers()) {
                        Bukkit.getServer().getPluginManager()
                                .registerEvents(this, this);
                   
    } else {

                getLogger().severe("Failed to setup SlyKits!");
                getLogger().severe(
                        "Your server version is not compatible with this plugin!");
                Bukkit.getPluginManager().disablePlugin(this);
            }
        }

       
    private boolean setupManagers() {

            String version;

            try {

                version = Bukkit.getServer().getClass().getPackage().getName()
                        .replace(".", ",").split(",")[3];

            } catch (ArrayIndexOutOfBoundsException whatVersionAreYouUsingException) {
                return false;
            }

            getLogger().info("Your server is running version " + version);

            if (version.equals("v1_8_R1")) {
                titlemanager = new Titlebar_1_8_R1();
                actionbar = new Actionbar_1_8_R1();
                tab = new Tab_1_8_R1();

                return true;

            } else if (version.equals("v1_8_R2")) {
                titlemanager = new Titlebar_1_8_R2();
                actionbar = new Actionbar_1_8_R2();
                tab = new Tab_1_8_R2();

                return true;

            }
            return false;
        }

        public Actionbar getActionbar() {
            return actionbar;
        }

        public Tab getTab() {
            return tab;
        }

        public Titlemanager getTitlemanager() {
            return titlemanager;
        }

        @EventHandler
        public void DeathEvent(PlayerDeathEvent e) {
            Player p = e.getEntity();
            Player k = e.getEntity().getKiller();

            actionbar.sendActionbar(
                    p,
                    getConfig().getString("Killed actionbar message").replace(
                            "%killed%", e.getEntity().getKiller().getName()));
            actionbar.sendActionbar(
                    k,
                    getConfig().getString("Killer actionbar message")
                            .replaceAll("ยง", "&")
                            .replace("%killed%", e.getEntity().getName()));
        }
    }
     

    - Blocks Breaking blocks
    - No Hunger
    - No Falldamage
    - Death Messages
    - Give killer money
    Essentials and Vault are required to give money to players
    - Teleport to spawn on join
    - JumpPads To create one place a stone pressure plate on top of a redstone block!
    Coins - /coins shows your coins
    + 50 Coins every kill
    Scoreboard with stats!
    Scorpion Kit
    Ninja Kit
    Spawns a firework when you kill someone
    Spawns ghast tears at a player death area
    Added customizable TAB and a Custom Title message sent on join (see new config)
    No longer depends on anything
    No longer gives players essentials money only Coins
    Adding Coin shop next update
    -Upcoming-Features.png
    - Spawn items
    - Combat Tag
    - Kit GUI
    - Kit unlocker
    - KillStreaks
    - Custom Currency

    - Shop GUI
    - Soup Signs
    - Kit signs
    - Announcer
    - Custom kits
    - NCP Kit Selector
    - Public API
    - GitHub open source
    ScreenShots.png
    slu.png
    slyscore.png
    Ideas-or-bugs.png
    Any Ideas on features you want added leave them here
    Any bugs please leave in discussion

Recent Reviews

  1. TheGamingMoons
    TheGamingMoons
    5/5,
    Version: 1.8.5
    Good coding! Helped a lot! Thnx m8 very good work! :) GG on this!
    Thnx for doing this for people. Thx
  2. Oasis
    Oasis
    5/5,
    Version: 1.0
    gr8 m8 i r8 8/8
    1. Bear53
      Author's Response
      Thanks for the review! More updates coming soon!
  3. superyari95
    superyari95
    4/5,
    Version: 1.0
    Good plugin. Maybe add a kit upgrade system in to it.it will be amazing :-)
    1. Bear53
      Author's Response
      What do you mean by this? and Thanks so much for the review! Expect lots of updates in the near future! (Today)