Completely custom plugins

Status
This thread has been locked.

RexlessTazz

Banned
Feedback score
0
Posts
26
Reactions
1
Resources
0
Quick story » When I started learning how to code, I fell in love with the concept of configuration. It may sound dumb but, wouldn't it be better if your favorite plugin was 100% custimize-able? From the messages, the sounds, & even the animations? Well that's my job. I can develop you a cheap plugin or you can choose off of my list. Just click the Spoiler & see if you like anything.

Purchases » If you're looking to purchase anything/test any of these plugins out before purchase, please contact me on Skype » demhaters1

Spoiler »
####################################
# Plugins developed by RexlessTazz #
####################################

» CustomAcheivements » $10
» eTokens » $7
» eTokens + Backpacks » $15
» WarpGUI (One in my Server - AsylumPrison.cubed.pro) » $10
» SellAll (Like Arkham) » $8
» MSG (/msg) Notify » $3
» PickaxeUpgrade (Per block you mine you're able to upgrade your pickaxe - Best for normal Prison Servers) » $10
» MiningCrates » $20
» MCInfected (Like MW3 Infected) » $15
» InvFull + AutoPickup » $5
» Custom /list » $5 (With Donators + Staff + YouTubers + Twitchers)
» Friends (Bungee or normal server) » $10
» MySQLBalance » $10
» MineResetLite (Edited version - No more unknown mine & TP options) » $10
» RegionFly » $8
» ActionAnnounerBar » $6
» PlayerTutorials (Welcomes new players by doing a tutorial for them, that you set) » $10
» EnchantmentLimiter (Limits the Enchantment amount for certain enchantments) » $8

####################################
# Plugins developed by RexlessTazz #
####################################

Have a great day! :)
 

Deep

Full Time Bebosny's Slave/Fan/Son
Supreme
Feedback score
0
Posts
3,546
Reactions
2,040
Resources
0
:rofl: Source code?
 

RexlessTazz

Banned
Feedback score
0
Posts
26
Reactions
1
Resources
0
I am, show us proof you made it.
Okay, well here's a bit of the SellAll plugin I made.
Code:
 public void onInteract(PlayerInteractEvent e) {
    if (e.getClickedBlock() == null) {
        e.setCancelled(true);
      return;
    } if ((e.getClickedBlock().getType() == Material.SIGN) || (e.getClickedBlock().getType() == Material.SIGN_POST) || (e.getClickedBlock().getType() == Material.WALL_SIGN)) {
      Player p = e.getPlayer();
      Sign sign = (Sign)e.getClickedBlock().getState();
      if ((perms.playerHas(p, "Sellall.Break")) && (p.isSneaking()) && (e.getAction() == Action.LEFT_CLICK_BLOCK) && ((sign.getLine(0).equalsIgnoreCase(getConfig().getString("signs.Sign").replace("&", "§"))) || (sign.getLine(0).equalsIgnoreCase(getConfig().getString("signs.Error").replace("&", "§"))))) {
        e.getClickedBlock().setType(Material.AIR);
        p.sendMessage(getConfig().getString("messages.Header").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Sign-Broken").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Footer").replace("&", "§"));
          p.playSound(p.getLocation(), Sound.valueOf(getConfig().getString("sounds.Success")), 1.0F, 1.0F);
        return;
      }
      if ((perms.playerHas(p, "Sellall.Use")) && (sign.getLine(0).equalsIgnoreCase(getConfig().getString("signs.Sign").replace("&", "§"))) && (e.getAction() == Action.RIGHT_CLICK_BLOCK)) {
        int quantityFound = 0;
        Material sellingMaterial = Material.getMaterial(sign.getLine(2));
        for (ItemStack is : p.getInventory()) {
          if (is != null) {
            if (is.getType() == sellingMaterial) {
              quantityFound += is.getAmount();
            }
          }
        }
        if (quantityFound < 1) {
          p.sendMessage(getConfig().getString("messages.Wrong-Items").replace("&", "§").replace("%item%", sellingMaterial.name()));
          e.setCancelled(true);
          return;
        }
        double pricePer = Double.parseDouble(sign.getLine(3).replace("$", "").replace(" /ea", ""));
        p.getInventory().remove(sellingMaterial);
        double amountToGive = quantityFound * pricePer;
        Double globalMult = Double.valueOf(getConfig().getDouble("settings.GlobalMultiplier"));
        Double playerMult = Double.valueOf(getConfig().getDouble("settings.PlayerMultipliers." + p.getUniqueId()));
        double newAmountToGive = amountToGive;
        if ((globalMult.doubleValue() != 1.0D) && (globalMult.doubleValue() != 0.0D)) {
          newAmountToGive *= globalMult.doubleValue();
        }
        if ((playerMult.doubleValue() != 1.0D) && (playerMult.doubleValue() != 0.0D)) {
          newAmountToGive *= playerMult.doubleValue();
        }
        e.setCancelled(false);
        econ.depositPlayer(p, newAmountToGive);
        p.updateInventory();
        p.playSound(p.getLocation(), Sound.valueOf(getConfig().getString("sounds.Sell")), 1.0F, 1.0F);
        p.sendMessage(getConfig().getString("messages.Header").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Sold").replace("&", "§").replace("%money%", this.moneyFormat.format(newAmountToGive)).replace("%amount%", "" + quantityFound).replace("%item%", sellingMaterial.name()));
        p.sendMessage(getConfig().getString("messages.Footer").replace("&", "§"));
        return;
      }
      if (sign.getLine(0).equalsIgnoreCase(getConfig().getString("signs.Error").replace("&", "§"))) {
        e.setCancelled(true);
        return;
      }
    }
  }
  @EventHandler
  public void onSignCreate(SignChangeEvent e) {
    Player p = e.getPlayer();
    if (e.getLine(0).equalsIgnoreCase("[SellAll]")) {
      if (perms.playerHas(p, "Sellall.Create")) {
        Material sellingMaterial = Material.matchMaterial(e.getLine(2));
        int sellingAmount = 0; try {
          sellingAmount = Integer.parseInt(e.getLine(3));
        }
        catch (Exception except) {
        }
        String sellingMaterialLine = sellingMaterial.name();
        String sellingPriceLine = "$" + sellingAmount;
        e.setLine(0, getConfig().getString("signs.Sign").replace("&", "§"));
        e.setLine(1, getConfig().getString("signs.Line-2").replace("&", "§"));
        e.setLine(2, getConfig().getString("signs.Line-3").replace("%material%", sellingMaterialLine).replace("&", "§"));
        e.setLine(3, getConfig().getString("signs.Line-4").replace("%price%", sellingPriceLine).replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Header").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Sellall-Sign-Created").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Footer").replace("&", "§"));
          p.playSound(p.getLocation(), Sound.valueOf(getConfig().getString("sounds.Success")), 1.0F, 1.0F);
          return;
      }
      p.sendMessage(getConfig().getString("messages.Header").replace("&", "§"));
      p.sendMessage(getConfig().getString("messages.No-Permission").replace("&", "§"));
      p.sendMessage(getConfig().getString("messages.Footer").replace("&", "§"));
            p.playSound(p.getLocation(), Sound.valueOf(getConfig().getString("sounds.Error")), 1.0F, 1.0F);
      e.setCancelled(true);
      return;
    }
    if (e.getLine(0).equalsIgnoreCase("§1[Sellall]")) {
        p.sendMessage(getConfig().getString("messages.Header").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Invalid-Format").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Footer").replace("&", "§"));
          p.playSound(p.getLocation(), Sound.valueOf(getConfig().getString("sounds.Error")), 1.0F, 1.0F);
      e.setCancelled(true);
      return;
    }
  }
  @EventHandler
  public void onPlayerJoin(PlayerJoinEvent e) {
    if (!getConfig().isSet("settings.PlayerMultipliers." + e.getPlayer().getUniqueId())) {
      getConfig().set("settings.PlayerMultipliers." + e.getPlayer().getUniqueId(), Double.valueOf(1.0D));
      saveConfig();
    }
  }
}
 
Banned forever. Reason: Creating Multiple Accounts (PCPSells)

Deep

Full Time Bebosny's Slave/Fan/Son
Supreme
Feedback score
0
Posts
3,546
Reactions
2,040
Resources
0
Okay, well he's a bit of the SellAll plugin I made.
Code:
 public void onInteract(PlayerInteractEvent e) {
    if (e.getClickedBlock() == null) {
        e.setCancelled(true);
      return;
    } if ((e.getClickedBlock().getType() == Material.SIGN) || (e.getClickedBlock().getType() == Material.SIGN_POST) || (e.getClickedBlock().getType() == Material.WALL_SIGN)) {
      Player p = e.getPlayer();
      Sign sign = (Sign)e.getClickedBlock().getState();
      if ((perms.playerHas(p, "Sellall.Break")) && (p.isSneaking()) && (e.getAction() == Action.LEFT_CLICK_BLOCK) && ((sign.getLine(0).equalsIgnoreCase(getConfig().getString("signs.Sign").replace("&", "§"))) || (sign.getLine(0).equalsIgnoreCase(getConfig().getString("signs.Error").replace("&", "§"))))) {
        e.getClickedBlock().setType(Material.AIR);
        p.sendMessage(getConfig().getString("messages.Header").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Sign-Broken").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Footer").replace("&", "§"));
          p.playSound(p.getLocation(), Sound.valueOf(getConfig().getString("sounds.Success")), 1.0F, 1.0F);
        return;
      }
      if ((perms.playerHas(p, "Sellall.Use")) && (sign.getLine(0).equalsIgnoreCase(getConfig().getString("signs.Sign").replace("&", "§"))) && (e.getAction() == Action.RIGHT_CLICK_BLOCK)) {
        int quantityFound = 0;
        Material sellingMaterial = Material.getMaterial(sign.getLine(2));
        for (ItemStack is : p.getInventory()) {
          if (is != null) {
            if (is.getType() == sellingMaterial) {
              quantityFound += is.getAmount();
            }
          }
        }
        if (quantityFound < 1) {
          p.sendMessage(getConfig().getString("messages.Wrong-Items").replace("&", "§").replace("%item%", sellingMaterial.name()));
          e.setCancelled(true);
          return;
        }
        double pricePer = Double.parseDouble(sign.getLine(3).replace("$", "").replace(" /ea", ""));
        p.getInventory().remove(sellingMaterial);
        double amountToGive = quantityFound * pricePer;
        Double globalMult = Double.valueOf(getConfig().getDouble("settings.GlobalMultiplier"));
        Double playerMult = Double.valueOf(getConfig().getDouble("settings.PlayerMultipliers." + p.getUniqueId()));
        double newAmountToGive = amountToGive;
        if ((globalMult.doubleValue() != 1.0D) && (globalMult.doubleValue() != 0.0D)) {
          newAmountToGive *= globalMult.doubleValue();
        }
        if ((playerMult.doubleValue() != 1.0D) && (playerMult.doubleValue() != 0.0D)) {
          newAmountToGive *= playerMult.doubleValue();
        }
        e.setCancelled(false);
        econ.depositPlayer(p, newAmountToGive);
        p.updateInventory();
        p.playSound(p.getLocation(), Sound.valueOf(getConfig().getString("sounds.Sell")), 1.0F, 1.0F);
        p.sendMessage(getConfig().getString("messages.Header").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Sold").replace("&", "§").replace("%money%", this.moneyFormat.format(newAmountToGive)).replace("%amount%", "" + quantityFound).replace("%item%", sellingMaterial.name()));
        p.sendMessage(getConfig().getString("messages.Footer").replace("&", "§"));
        return;
      }
      if (sign.getLine(0).equalsIgnoreCase(getConfig().getString("signs.Error").replace("&", "§"))) {
        e.setCancelled(true);
        return;
      }
    }
  }
  @EventHandler
  public void onSignCreate(SignChangeEvent e) {
    Player p = e.getPlayer();
    if (e.getLine(0).equalsIgnoreCase("[SellAll]")) {
      if (perms.playerHas(p, "Sellall.Create")) {
        Material sellingMaterial = Material.matchMaterial(e.getLine(2));
        int sellingAmount = 0; try {
          sellingAmount = Integer.parseInt(e.getLine(3));
        }
        catch (Exception except) {
        }
        String sellingMaterialLine = sellingMaterial.name();
        String sellingPriceLine = "$" + sellingAmount;
        e.setLine(0, getConfig().getString("signs.Sign").replace("&", "§"));
        e.setLine(1, getConfig().getString("signs.Line-2").replace("&", "§"));
        e.setLine(2, getConfig().getString("signs.Line-3").replace("%material%", sellingMaterialLine).replace("&", "§"));
        e.setLine(3, getConfig().getString("signs.Line-4").replace("%price%", sellingPriceLine).replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Header").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Sellall-Sign-Created").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Footer").replace("&", "§"));
          p.playSound(p.getLocation(), Sound.valueOf(getConfig().getString("sounds.Success")), 1.0F, 1.0F);
          return;
      }
      p.sendMessage(getConfig().getString("messages.Header").replace("&", "§"));
      p.sendMessage(getConfig().getString("messages.No-Permission").replace("&", "§"));
      p.sendMessage(getConfig().getString("messages.Footer").replace("&", "§"));
            p.playSound(p.getLocation(), Sound.valueOf(getConfig().getString("sounds.Error")), 1.0F, 1.0F);
      e.setCancelled(true);
      return;
    }
    if (e.getLine(0).equalsIgnoreCase("§1[Sellall]")) {
        p.sendMessage(getConfig().getString("messages.Header").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Invalid-Format").replace("&", "§"));
        p.sendMessage(getConfig().getString("messages.Footer").replace("&", "§"));
          p.playSound(p.getLocation(), Sound.valueOf(getConfig().getString("sounds.Error")), 1.0F, 1.0F);
      e.setCancelled(true);
      return;
    }
  }
  @EventHandler
  public void onPlayerJoin(PlayerJoinEvent e) {
    if (!getConfig().isSet("settings.PlayerMultipliers." + e.getPlayer().getUniqueId())) {
      getConfig().set("settings.PlayerMultipliers." + e.getPlayer().getUniqueId(), Double.valueOf(1.0D));
      saveConfig();
    }
  }
}
Justis Nagi Badger Code/Plugin names seem familiar to you? The names do for me...
 

creeperbottom

Premium
Feedback score
0
Posts
1,057
Reactions
298
Resources
0
Uhm, nope.[DOUBLEPOST=1458084748][/DOUBLEPOST]Deep What exactly is your deal with me? What have I done to you? You're randomly accusing me of things. Like wow.

He is just making sure it's not a scam. One you are being immuture and defensive.
 

RexlessTazz

Banned
Feedback score
0
Posts
26
Reactions
1
Resources
0
He is just making sure it's not a scam. One you are being immuture and defensive.
I'm being defensive because I posted the code.. why ask if I know other dev's if it not another "Oh well they coded this.. or that" when I did the work. I've seen that retarded argument more than once & hell if I'm going to be in one.[DOUBLEPOST=1458086040][/DOUBLEPOST]creeperbottom & Deep This is extremely irrelevant to my post. I've posted proof, have a nice day.
 
Banned forever. Reason: Creating Multiple Accounts (PCPSells)

Badger

Software Developer
Supreme
Feedback score
22
Posts
2,371
Reactions
1,561
Resources
9
Quick story » When I started learning how to code, I fell in love with the concept of configuration. It may sound dumb but, wouldn't it be better if your favorite plugin was 100% custimize-able? From the messages, the sounds, & even the animations? Well that's my job. I can develop you a cheap plugin or you can choose off of my list. Just click the Spoiler & see if you like anything.

Purchases » If you're looking to purchase anything/test any of these plugins out before purchase, please contact me on Skype » demhaters1

Spoiler »
####################################
# Plugins developed by RexlessTazz #
####################################

» CustomAcheivements » $10
» eTokens » $7
» eTokens + Backpacks » $15
» WarpGUI (One in my Server - AsylumPrison.cubed.pro) » $10
» SellAll (Like Arkham) » $8
» MSG (/msg) Notify » $3
» PickaxeUpgrade (Per block you mine you're able to upgrade your pickaxe - Best for normal Prison Servers) » $10
» MiningCrates » $20
» MCInfected (Like MW3 Infected) » $15
» InvFull + AutoPickup » $5
» Custom /list » $5 (With Donators + Staff + YouTubers + Twitchers)
» Friends (Bungee or normal server) » $10
» MySQLBalance » $10
» MineResetLite (Edited version - No more unknown mine & TP options) » $10
» RegionFly » $8
» ActionAnnounerBar » $6
» PlayerTutorials (Welcomes new players by doing a tutorial for them, that you set) » $10
» EnchantmentLimiter (Limits the Enchantment amount for certain enchantments) » $8

####################################
# Plugins developed by RexlessTazz #
####################################

Have a great day! :)
Can we see the code in the IDE?
Justis Nagi Badger Code/Plugin names seem familiar to you? The names do for me...
 

Skionz

ogminecraft.com
Premium
Feedback score
1
Posts
1,547
Reactions
1,527
Resources
0

JJDAHM

Unregistered Member
Supreme
Feedback score
5
Posts
931
Reactions
570
Resources
0
He didn't steal that code. If he was going to steal code I'm sure he would pick code that wasn't terribly written.
This is another perfect example of why we need the rekt rating.
 
Status
This thread has been locked.
Top