Minecraft PC IP: play.cubecraft.net

thekillerguy

Well-Known Member
May 30, 2015
9
1
79
28
hi staff from cubecraft

oke you don't give the plugin that is what i am not verry happy about but can you tell me please how you make the plugin with votes for op and basic and normal or have you start with a plugin and modify it

please help me please
 

_Patrickk

Dedicated Member
Oct 16, 2014
574
892
168
22
Australia
All of the plugins on the server are made from scratch, the development team don't use anyone else's plugins. I hope I answered your question. :)
 

JordyPwner

Well-Known Member
Apr 28, 2015
484
107
118
Cybertron
They don't give out the plugins. But i can give you a example here.

Code:
    @EventHandler
    public void onInventoryClick(InventoryClickEvent e){
          Player player = (Player) e.getWhoClicked();
          ItemStack clicked = e.getCurrentItem();
          Inventory inventory = e.getInventory();
         
          if (inventory.getName().equals(ChatColor.GOLD + "Skywars Vote Chest Items")){
              if(inventory != null){
                  if(clicked != null){
                      if (clicked.getType() == Material.CHEST){
                          e.setCancelled(true);
                          if(clicked.hasItemMeta()){
                              if(clicked.getItemMeta().getDisplayName().equalsIgnoreCase(ChatColor.GRAY + "Basic Chests")){
                                  Skywars.SetChestType(SWchestType.BASIC);
                                  player.closeInventory();
                              }else if(clicked.getItemMeta().getDisplayName().equalsIgnoreCase(ChatColor.YELLOW + "Normal Chests")){
                                  Skywars.SetChestType(SWchestType.NORMAL);
                                  player.closeInventory();
                              }else if(clicked.getItemMeta().getDisplayName().equalsIgnoreCase(ChatColor.AQUA + "Overpowered Chests")){
                                  Skywars.SetChestType(SWchestType.OVERPOWERED);
                                  player.closeInventory();
                              }
                          }
                      }
                  }
              }
          }
    }
 
Members Online

Members online

Latest posts

Latest profile posts

AnolTongi wrote on Hqteful's profile.
Genuinely thank you for everything you've done, you're very much appreciated. Hope to see you around!
LorilambtheWcubecraftian wrote on Hqteful's profile.
Thanks for all ur help as mod! Enjoy your ccg retirement!! 💛
Kazwa wrote on Hqteful's profile.
Thanks for everything!
iTz1Hamood wrote on Hqteful's profile.
Thanks for everything, Mika. It honestly won’t be the same without you. I’m wishing you all the best in whatever comes next!! You truly deserve all the good things in life 🤍 I’ll always be grateful to you. You accepted my helper app, got me here.. and that meant alooot for me. Will miss you so much!! You’ve had such a positive impact on so many of us. Take care and stay amazing 💙
llvqs wrote on Hqteful's profile.
Thanks for everything and good luck with everything! 💙🧡
Top Bottom