RandomGive
PluginMIT

RandomGive

Let the plugin choose which item be given & which command be ran

78
Downloads
0
Followers
1 years ago
Updated
📦
1
Versions

📖About RandomGive

🌟 RandomGive - Minecraft Paper 1.21+ 🌟

Give players random items or execute random commands!

RandomGive is a Minecraft Paper plugin that randomly gives an item to a player or executes a predefined command. Server admins can use /randomgive <player> to distribute rewards easily!


📜 Features:

✔️ Random item or command selection: The plugin randomly picks an item from your list or executes a command.
✔️ Fully customizable: Configure everything in config.yml.
✔️ Permission system: Only authorized players can use the commands.
✔️ Simple and efficient: Works with a single /randomgive <player> command.


🛠 Installation:

1️⃣ Download the plugin and place it in the plugins folder.
2️⃣ Restart your server or use /reload confirm.
3️⃣ Customize config.yml to match your needs.
4️⃣ Use /randomgive reload to apply changes instantly!


🎮 Commands:

Command Description Required Permission
/randomgive <player> Gives a random item or executes a random command for the player. randomgive.admin
/randomgive reload Reloads the config.yml file. randomgive.reload

🔧 Configuring config.yml

You can define items and commands in the config.yml file.

📌 Item Example:

items-list:
  token:
    displayname: '&eToken'
    material: PAPER
    custom_model_data: 10008
    stack: 1
    lore: []

📌 Command Example:

commands-list:
  bank_1000:
    console-command:
      - 'bank add {player} 1000'

📝 {player} will automatically be replaced with the target player’s name.


🔑 Permissions:

Permission Description Default
randomgive.admin Allows using /randomgive <player>. op
randomgive.reload Allows using /randomgive reload. op

⚠️ Supported Versions:

📌 Minecraft: Paper 1.21+
📌 Dependencies: None


🚀 Download now and start using it!
If you have any issues, feel free to ask for support.

🔧 Developer: chatillon7