/dupe plugin for cosmic tests

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

roastdbacon

Member
Jun 11, 2020
1
0
0
18
Category: dupe

Suggested name: Dupe

Spigot/Skript Version: 1.8.8 #46 spigot

What I want:
A simple dupe command that only dupes books simple - heroic and not ,mastery
because its for cosmic tests to make sets lol and not dupe anything else cuz that will be broken


Ideas for commands:
/dupe
Ideas for permissions:
idk wat a permission is
When I'd like it by: any time
 
Last edited:
Code:
command /dupe:
    trigger:
        player has permission "dupe.use":
            if player's held item is book, book and quill or enchanted book:
                give player's tool to player
                send "&dYour item was duped" to player
            else:
                send "&dYou cannot dupe that item" to player

if you don't want to be able to dupe enchanted book just remove the , next to book and put or and remove enchanted book
 
Code:
command dupe <int=1>:
    permission: dupe.use
    permission message: &cInsufficient permissions!
    usage: &c/dupe [amount]
    trigger:
        give (arg * item amount of player's tool) of player's tool to player if player's tool is book, book and quill or enchanted book
 
Code:
command dupe <int=1>:
    permission: dupe.use
    permission message: &cInsufficient permissions!
    usage: &c/dupe [amount]
    trigger:
        give (arg * item amount of player's tool) of player's tool to player if player's tool is book, book and quill or enchanted book
i already did it