Free Plugin Development

Status
This thread has been locked.

Hannes

I make stuff move
Supreme
Feedback score
75
Posts
4,227
Reactions
2,124
Resources
0
So I'm trying to expand my knowledge in Java by creating free Spigot plugins, I'm not too good so I won't take on the biggest requests but I'm always open to suggestions! There is a bigger chance I'll do it if I'm allowed to post it on Spigot. ;p
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

iTool

Owner of Dusk Islands - DuskIslands.mcpro.io
Premium
Feedback score
2
Posts
183
Reactions
79
Resources
0
Last edited:

Fantasy

Feedback score
0
Posts
40
Reactions
11
Resources
0
Just compile this code:
Code:
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args)
    {
        if (command.getName().equalsIgnoreCase("opengui")) // Check for the given command.
        {
            if (sender instanceof Player) // Check if the sender of the command is a player and not the console.
            {
                Player player = (Player) sender;
                Inventory inv = Bukkit.createInventory(null, 9, "§8Trashbin");
               
                ItemStack item = new ItemStack(Material.ANVIL);
                ItemMeta meta = item.getItemMeta();
                meta.setDisplayName("§7§nClick me");
                meta.setLore(Arrays.asList("&fClick here to clear your inventory."));
                item.setItemMeta(meta);
               
                inv.setItem(4, item);
                player.openInventory(inv);
            }
           
        }
        return true;
    }
   
    @EventHandler
    public void onInventoryClick(InventoryClickEvent e)
    {
        if (e.getInventory().getTitle().equals("§8Trashbin"))
        {
            if (e.getCurrentItem() != null && e.getCurrentItem().hasItemMeta())
            {
                if (e.getRawSlot() == 4)
                {
                    e.getWhoClicked().getInventory().clear();
                    e.getWhoClicked().closeInventory();
                    e.getWhoClicked().sendMessage("§cCleared inventory for player " + e.getWhoClicked().getName());
                }
            }
        }
    }
 

Hannes

I make stuff move
Supreme
Feedback score
75
Posts
4,227
Reactions
2,124
Resources
0
Just compile this code:
Code:
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args)
    {
        if (command.getName().equalsIgnoreCase("opengui")) // Check for the given command.
        {
            if (sender instanceof Player) // Check if the sender of the command is a player and not the console.
            {
                Player player = (Player) sender;
                Inventory inv = Bukkit.createInventory(null, 9, "§8Trashbin");
              
                ItemStack item = new ItemStack(Material.ANVIL);
                ItemMeta meta = item.getItemMeta();
                meta.setDisplayName("§7§nClick me");
                meta.setLore(Arrays.asList("&fClick here to clear your inventory."));
                item.setItemMeta(meta);
              
                inv.setItem(4, item);
                player.openInventory(inv);
            }
          
        }
        return true;
    }
  
    @EventHandler
    public void onInventoryClick(InventoryClickEvent e)
    {
        if (e.getInventory().getTitle().equals("§8Trashbin"))
        {
            if (e.getCurrentItem() != null && e.getCurrentItem().hasItemMeta())
            {
                if (e.getRawSlot() == 4)
                {
                    e.getWhoClicked().getInventory().clear();
                    e.getWhoClicked().closeInventory();
                    e.getWhoClicked().sendMessage("§cCleared inventory for player " + e.getWhoClicked().getName());
                }
            }
        }
    }
It was a challenge you know, I was almost done and you spoiled it, thanks. ;-; I tried to do it with just documentation.
 

Cyprus

Manager @ https://rankedforex.com
Supreme
Feedback score
32
Posts
421
Reactions
481
Resources
0
Make a plugin that when you do /cyprus it automatically says "&c%Username% &7has just sent a virtual hug to almighty &6Cyprus.
 

Hannes

I make stuff move
Supreme
Feedback score
75
Posts
4,227
Reactions
2,124
Resources
0
Could you make a plugin where you do /mail send (name) and it opens a book and quill where it lets you type in your mail. And when you click "Sign" it gives u the option to title the email.
I don't know if it's even possible but PM me and I'll try.

Make a plugin that when you do /cyprus it automatically says "&c%Username% &7has just sent a virtual hug to almighty &6Cyprus.
Kappa
 

Bobbelty

Feedback score
2
Posts
20
Reactions
5
Resources
0
Please make a plugin which limits the chests placed & owned. Ex: with permission: chestsplaced.1 = can have at max one chest placed at once. Chestsplaced.2 = a player can have 2 chests placed at once. When you break one you can place another one again.

Basically it makes survival harder with limited chests and it will make you rethink everything twice when it comes to what to store. :)
 

Hannes

I make stuff move
Supreme
Feedback score
75
Posts
4,227
Reactions
2,124
Resources
0
Please make a plugin which limits the chests placed & owned. Ex: with permission: chestsplaced.1 = can have at max one chest placed at once. Chestsplaced.2 = a player can have 2 chests placed at once. When you break one you can place another one again.

Basically it makes survival harder with limited chests and it will make you rethink everything twice when it comes to what to store. :)
PM me!
 

Cian

Management
Supreme
Feedback score
16
Posts
1,204
Reactions
192
Resources
3

JavaJack

Feedback score
2
Posts
17
Reactions
7
Resources
0
How experienced would you describe yourself with Java? Like what is an example of the difficulty of plugins you can handle? Tell me this and ill recommend some good teaching plugins to develop.
 

Cian

Management
Supreme
Feedback score
16
Posts
1,204
Reactions
192
Resources
3
Could you do a simple plugin in which it broadcasts everyone who has top a rank & is online. Also When someone purchases something from the store it gives everyone effects? As in ./speed ./haste etc
 

Hannes

I make stuff move
Supreme
Feedback score
75
Posts
4,227
Reactions
2,124
Resources
0
Link me it too!! haha
;p https://www.spigotmc.org/resources/playerrecords.40023/

How experienced would you describe yourself with Java? Like what is an example of the difficulty of plugins you can handle? Tell me this and ill recommend some good teaching plugins to develop.
Well, I know the basics, simple events, chat, config etc.

Could you do a simple plugin in which it broadcasts everyone who has top a rank & is online. Also When someone purchases something from the store it gives everyone effects? As in ./speed ./haste etc
Shoot me a PM! ;p
 
Status
This thread has been locked.
Top