#Run command without permission
1 messages · Page 1 of 1 (latest)
what plugin
That the command is being run from?
I believe its Essentials
Its /enchantment Protection 6
Thats the command
click_commands: - '[console] eenchantment protection 6' - '[message] &8&l⤜ &7You have successfully bought the &a&lProtection 6&7!'
Das what I have so far
your using console so its executing as the console
if you want the player to run it use [player]
If I run it with [player] it says I dont have permission
because the player doesnt have permission to run that command
I want a player to run a command /enchantment, without having the actual permission to use the command
first of all why is it /ee
isnt it /e
/enchanter *
to b exact
be*
- '[console] eenchantment protection 6'
no its /enchantment through essentials, therefor /eenchantment
Yes
this wouldnt work because console running it btw
with - '[console] eenchantment protection 6' its simply not running the command
this cmd is required by player because it doesnt know what slot that players on and what item ect
youd need to either give them the book
Nah it defaults to the held item
or do a little hacky thing
again
IT WONT WORK
with console stuff
you can do a hacky thing
make the permission plugin give temp perms to the cmd and make them run the command
We've tried books, idk how to allow unsafe enchants with books
Anything above Vanilla max defaults to vanilla max
read what I said above
Yes yes the hacky stuff, give temps perms.
perfect do that
Do you know how to have vanilla books enchant over vanilla max?
That'd be the ideal way tbh lol
use the give cmds
instead of diamond sword
do book
/give USERNAME enchanted_book{StoredEnchantments:[{id:sharpness,lvl:6}]} 1
here
try this
Yeah when I give a book with an enchant over vanilla max, say prot 6, when I use it, it only gives prot IV
did you enable the thing in essentials maybe
Yeah I have OP and essentials.enchantments.allowunsafe true
Allow 'unsafe' enchantments in kits and item spawning.
Warning: Mixing and overleveling some enchantments can cause issues with clients, servers and plugins.
unsafe-enchantments: true
ya
Aye is true
Alright, ill try the hacky hack.
kk
How do I add an interval, or wait time, between commands?
Would I have to use Arguments? I havent used those yet
You can add cooldowns with the master cooldowns plugin, examples on their wiki
I'd rather not add another plugin. Can I just use the Args (Arguments)?
I just need commands run in a certain order
you can delay commands with <delay=#>
I thought you meant like a cooldown for clicking it
Aye, i didnt see that in the wiki. Thanks