Jump to content

SK-Perm not working?


Recommended Posts

When I use this code:

command /permission <offline player> <string> <string>:
	aliases: /perm
	permission: cryoperm.admin, op
	usage: /permission <player> <add/remove> <permission>
		if arg-2 is "add":
			add arg-3 to arg-1's permissions
		else if arg-2 is "remove":
			remove arg-3 from arg-1's permissions
			send "/permission <player> <add/remove> <permission>"

it says 

Line 13: Permissions of the 1st argument can't have anything added to it (script.sk, line 13: add arg-3 to arg-1's permissions')
Line 15: Permissions of the 1st argument can't have anything removed from it (script.sk, line 15: remove arg-3 from arg-1's permissions')

even though i'm pretty sure i'm using the correct syntax for sk-perm. Why is this happening?

Link to comment
Share on other sites

No clue.


Edited by Chloe30k

IGN ➣ Pickey ( Soon ) 
Joined MineHut ➣ January 7th 2019
Joined Forums ➣ January 11th 2021
Admin on NotedGens
Manager on NotedGens
Developer on Cropied
Developer on Gennow (Genable)

Best Job: Badlion ( Client Moderator [ Failed Trial / Demoted] )
Retired From: InvadedLands ( Moderator )
Retired From:  MineTime ( Sr.Moderator )
Retired From: Hero Mines ( Helper )
Link to comment
Share on other sites

Maybe try <player> instead of <offline player>. Make sure you have vault, here is the link to the documentation for Vault Universal: Player's Permissions.



Likes are appreciated ❤️


Username: SuperOrca

Discord: Link to Profile

Rank: [VIP]

Joined Minehut: August 10, 2017

Joined Forums: June 10, 2019


Experienced in Python, Java (mainly spigot), Javascript (node.js, basics of react.js), and Web Development. DM on discord me if you want a custom discord bot for your server (i'm bored).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...