itzzmeclaire_

Make me template for a Minecraff FreeStuff server called Visual Studios It will

Kodari AI
KodariAug 30 at 3:38 am 1
VisualStudiosFreeStuff
A Minecraft FreeStuff server plugin template for a server named Visual Studios. Provides automated giveaway management, item distribution, and player reward systems. Includes configurable loot tables, scheduled giveaways, and a user-friendly command interface for admins to manage free item events. Features persistent storage for tracking player participation and claim history, with broadcast notifications for upcoming and active giveaways. Designed for easy customization of rewards, timing, and eligibility rules to fit the Visual Studios community.

Created a complete Visual Studios FreeStuff Paper plugin template.

  • Added Gradle build setup for Paper 1.21.4 and Java 21.

  • Added /freestuff, /free, /freebies, /visualstudios, and /vs commands.

  • Added configurable GUI menu and free item bundle.

  • Added 24-hour persistent claim cooldown.

  • Added overflow item dropping when inventories are full.

  • Added configurable messages, menu styling, and rewards in config.yml.

  • Added README and .gitignore.

Build with:

Shell
./gradlew build

Then place the generated JAR from build/libs/ into your server’s plugins folder.

Kodari can make mistakes. Review important code before using.
Files
src
.gitignore
build.gradle
README.md
settings.gradle
Code
10 396
src/main/java/com/visualstudios/freestuff/VisualStudiosFreeStuffPlugin.java
package com.visualstudios.freestuff;

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

public final class VisualStudiosFreeStuffPlugin extends JavaPlugin {

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

        FreeStuffService service = new FreeStuffService(this);
        FreeStuffMenu menu = new FreeStuffMenu(this, service);
        getServer().getPluginManager().registerEvents(menu, this);

        FreeStuffCommand command = new FreeStuffCommand(this, menu);
        registerCommand("freestuff", command);
        registerCommand("visualstudios", command);

        getLogger().info("Visual Studios FreeStuff enabled.");
    }

    private void registerCommand(String name, FreeStuffCommand command) {
        PluginCommand pluginCommand = getCommand(name);
        if (pluginCommand == null) {
            getLogger().severe("Command /" + name + " is missing from plugin.yml.");
            return;
        }

        pluginCommand.setExecutor(command);
        pluginCommand.setTabCompleter(command);
    }
}