kiarash gholami

i need a plugin for Server that when player type / link give him a link of discord and telegram and everything else

Kodari AI
KodariAug 29 at 11:22 pm 1
SocialLinker
A Minecraft plugin that provides a /link command for players to access server community links. When a player types /link, the plugin displays clickable chat messages with Discord, Telegram, and other social media links. Includes configurable link storage in config.yml, permission support, and a reload command for admins to update links without restarting the server. Provides a clean, formatted response with hover text and clickable URLs for each platform.
  1. Create a configurable ServerLinks plugin with /link and /links aliases.

  2. Add default Discord, Telegram, website, store, YouTube, TikTok, Instagram, and support links.

  3. Add build files and plugin metadata so it can be compiled and installed directly.

Created the ServerLinks Minecraft plugin.

  • /link command with /links alias

  • Configurable Discord, Telegram, website, store, YouTube, TikTok, Instagram, and support links

  • Customizable colors, title, header, footer, and link format

  • Links can be added or removed through config.yml

  • Built for Paper 1.21.4 using Java 21

Edit the URLs in:

Plain Text
plugins/ServerLinks/config.yml

Then restart the server.

kiarash gholami

this can work

Kodari AI
KodariAug 30 at 7:14 am 1

Yes, it can work.

After compiling and installing the plugin:

  1. Put the generated .jar file in the server’s plugins folder.

  2. Restart the server.

  3. Edit the links in:

    Plain Text
    plugins/ServerLinks/config.yml
    
  4. Use:

    Plain Text
    /link
    

    or:

    Plain Text
    /links
    

Players will see clickable Discord, Telegram, website, store, and other social links. Use complete URLs beginning with https://, for example:

YAML
discord: "https://discord.gg/yourserver"
telegram: "https://t.me/yourserver"
kiarash gholami

my friend need to get a picture to map art for server can you make plugin for that

Kodari AI
KodariAug 30 at 7:18 am 1
  1. Inspect the existing plugin structure and build target.

  2. Add a configurable /mapart command that converts an image URL into a Minecraft map.

  3. Add permissions, size limits, and setup instructions for safe server use.

Added map-art support to the existing plugin.

Command

Plain Text
/mapart <direct-image-url>

Example:

Plain Text
/mapart https://example.com/my-picture.png

The plugin will:

  • Download the PNG or JPG image

  • Convert it to a 128×128 Minecraft map

  • Give the filled map to the player

  • Drop it nearby if the inventory is full

  • Save the map image so it continues working after a restart

  • Allow only operators by default with serverlinks.mapart

The picture must be uploaded somewhere with a direct https:// image URL. A normal webpage link will not work. This creates one Minecraft map and stretches the image to fit it.

kiarash gholami

give file

Kodari AI
KodariAug 30 at 7:20 am 1

The project source files are already created, but there is no compiled .jar file yet.

To create the plugin file:

Shell
gradle build

The compiled plugin will be located at:

Plain Text
build/libs/ServerLinks-1.0.0.jar

Place that .jar file into your server’s:

Plain Text
plugins/

folder, restart the server, then use:

Plain Text
/mapart <direct-image-url>

I can provide the complete source as a ZIP-style file listing, but I cannot attach a compiled binary directly from this chat.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
9 499
src/main/java/com/example/serverlinks/ServerLinksPlugin.java
package com.example.serverlinks;

import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class ServerLinksPlugin extends JavaPlugin {

    private MapArtManager mapArtManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        PluginCommand command = getCommand("link");
        if (command == null) {
            getLogger().severe("The /link command is missing from plugin.yml.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }

        command.setExecutor(new LinkCommand(this));

        mapArtManager = new MapArtManager(this);
        mapArtManager.loadSavedMaps();

        PluginCommand mapArtCommand = getCommand("mapart");
        if (mapArtCommand == null) {
            getLogger().severe("The /mapart command is missing from plugin.yml.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }
        mapArtCommand.setExecutor(new MapArtCommand(this));
    }

    public MapArtManager getMapArtManager() {
        return mapArtManager;
    }
}